Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 244b59a475c78f58285a57e1d616d41d185ebc19 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-ssh16920935124931856372.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh4315935029760757170.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4448221188310771768.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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 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-ssh5464067276512447255.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14085201513310893357.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 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:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.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.18 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: false 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-20272’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-20273’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-20493’ is offline Running on prd-ubuntu20.04-docker-8c-8g-20495 in /w/workspace/gexfoundry_device-modbus-go_main [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/gexfoundry_device-modbus-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 244b59a475c78f58285a57e1d616d41d185ebc19 (main) > 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 244b59a475c78f58285a57e1d616d41d185ebc19 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 (#362)" > git rev-list --no-walk 973905656be17c6e9e554d1e17f1b70e8c1dc5a7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:13:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:13:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:13:39 ========================================================= 17:13:39 EdgeX Global Pipelines Version Info 17:13:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:13:39 ------------------- 17:13:39 stable info: 17:13:39 ------------------- 17:13:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:13:39 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 17:13:39 Message: update stable to v1.0.238 17:13:40 ------------------- 17:13:40 experimental info: 17:13:40 ------------------- 17:13:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:13:40 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 17:13:40 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:13:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 17:13:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 17:13:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:13:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:13:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:13:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:13:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:13:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:13:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:13:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:13:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:13:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 17:13:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:13:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:13:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:13:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:13:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:13:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:13:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:13:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:13:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:13:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:13:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:13:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:13:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:13:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:13:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:13:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:13:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:13:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:13:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 244b59a475c78f58285a57e1d616d41d185ebc19 [Pipeline] echo 17:13:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 244b59a [Pipeline] echo 17:13:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:13:41 provisioning config files... 17:13:41 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config327035088058638383tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:13:41 ---> docker-login.sh 17:13:41 nexus3.edgexfoundry.org:10001 17:13:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:13:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:13:41 Configure a credential helper to remove this warning. See 17:13:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:13:41 17:13:41 Login Succeeded 17:13:41 nexus3.edgexfoundry.org:10002 17:13:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:13:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:13:41 Configure a credential helper to remove this warning. See 17:13:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:13:41 17:13:41 Login Succeeded 17:13:41 nexus3.edgexfoundry.org:10003 17:13:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:13:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:13:41 Configure a credential helper to remove this warning. See 17:13:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:13:41 17:13:41 Login Succeeded 17:13:41 nexus3.edgexfoundry.org:10004 17:13:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:13:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:13:42 Configure a credential helper to remove this warning. See 17:13:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:13:42 17:13:42 Login Succeeded 17:13:42 docker.io 17:13:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:13:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:13:42 Configure a credential helper to remove this warning. See 17:13:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:13:42 17:13:42 Login Succeeded 17:13:42 ---> docker-login.sh ends [Pipeline] } 17:13:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:13:43 + git rev-list -1 --merges 244b59a475c78f58285a57e1d616d41d185ebc19~1..244b59a475c78f58285a57e1d616d41d185ebc19 [Pipeline] echo 17:13:43 -----------> git rev-list -1 --merges 244b59a475c78f58285a57e1d616d41d185ebc19~1..244b59a475c78f58285a57e1d616d41d185ebc19 244b59a475c78f58285a57e1d616d41d185ebc19 [false] [Pipeline] sh 17:13:43 + git log --format=format:%s -1 244b59a475c78f58285a57e1d616d41d185ebc19 [Pipeline] echo 17:13:43 ========================================================= 17:13:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:13:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:13:43 + git log --format=format:%s -1 244b59a475c78f58285a57e1d616d41d185ebc19 [Pipeline] echo 17:13:43 [semverPrep] GIT_COMMIT: 244b59a475c78f58285a57e1d616d41d185ebc19, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 (#362) [Pipeline] echo 17:13:43 [semverPrep] This is not a build commit. [Pipeline] sh 17:13:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:13:44 + grep -v github /etc/ssh/ssh_known_hosts 17:13:44 + [ -e /tmp/ssh_known_hosts ] 17:13:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:13:44 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:13:44 + sudo tee -a /etc/ssh/ssh_known_hosts 17:13:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:13:44 17:13:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:13:44 0.1.4: Pulling from edgex-devops/py-git-semver 17:13:44 b85a868b505f: Pulling fs layer 17:13:44 e2be974225ed: Pulling fs layer 17:13:44 339a4e72a1f5: Pulling fs layer 17:13:44 988bab9f4d93: Pulling fs layer 17:13:44 1469e6f7b9e6: Pulling fs layer 17:13:44 eaf3925da568: Pulling fs layer 17:13:44 bab4dde63d76: Pulling fs layer 17:13:44 bde34c3a00c8: Pulling fs layer 17:13:44 b352a97aabf1: Pulling fs layer 17:13:44 4872d77fe225: Pulling fs layer 17:13:44 5851b861e8e6: Pulling fs layer 17:13:44 1469e6f7b9e6: Waiting 17:13:44 eaf3925da568: Waiting 17:13:44 bab4dde63d76: Waiting 17:13:44 bde34c3a00c8: Waiting 17:13:44 b352a97aabf1: Waiting 17:13:44 4872d77fe225: Waiting 17:13:44 5851b861e8e6: Waiting 17:13:44 988bab9f4d93: Waiting 17:13:44 e2be974225ed: Download complete 17:13:44 988bab9f4d93: Download complete 17:13:45 339a4e72a1f5: Verifying Checksum 17:13:45 339a4e72a1f5: Download complete 17:13:45 1469e6f7b9e6: Verifying Checksum 17:13:45 1469e6f7b9e6: Download complete 17:13:45 eaf3925da568: Download complete 17:13:45 bde34c3a00c8: Download complete 17:13:45 b352a97aabf1: Verifying Checksum 17:13:45 b352a97aabf1: Download complete 17:13:45 4872d77fe225: Verifying Checksum 17:13:45 4872d77fe225: Download complete 17:13:45 5851b861e8e6: Verifying Checksum 17:13:45 5851b861e8e6: Download complete 17:13:45 b85a868b505f: Verifying Checksum 17:13:45 b85a868b505f: Download complete 17:13:45 bab4dde63d76: Download complete 17:13:46 b85a868b505f: Pull complete 17:13:46 e2be974225ed: Pull complete 17:13:47 339a4e72a1f5: Pull complete 17:13:47 988bab9f4d93: Pull complete 17:13:47 1469e6f7b9e6: Pull complete 17:13:47 eaf3925da568: Pull complete 17:13:49 bab4dde63d76: Pull complete 17:13:50 bde34c3a00c8: Pull complete 17:13:50 b352a97aabf1: Pull complete 17:13:50 4872d77fe225: Pull complete 17:13:50 5851b861e8e6: Pull complete 17:13:50 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:13:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:13:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:13:50 prd-ubuntu20.04-docker-8c-8g-20495 does not seem to be running inside a container 17:13:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:13:51 $ docker top 3f1bcf1922399b7dc7521b66c8bac1d5ead31a3ed612bb612dcd73fed63c15af -eo pid,comm 17:13:52 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:13:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:13:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:13:52 [ssh-agent] Looking for ssh-agent implementation... 17:13:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:13:52 $ docker exec 3f1bcf1922399b7dc7521b66c8bac1d5ead31a3ed612bb612dcd73fed63c15af ssh-agent 17:13:52 SSH_AUTH_SOCK=/tmp/ssh-uqxcDuONFtV5/agent.33 17:13:52 SSH_AGENT_PID=40 17:13:52 Running ssh-add (command line suppressed) 17:13:52 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3975717351525485037.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3975717351525485037.key) 17:13:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:13:52 + git tag --points-at HEAD [Pipeline] } 17:13:52 $ docker exec --env ******** --env ******** 3f1bcf1922399b7dc7521b66c8bac1d5ead31a3ed612bb612dcd73fed63c15af ssh-agent -k 17:13:52 unset SSH_AUTH_SOCK; 17:13:52 unset SSH_AGENT_PID; 17:13:52 echo Agent pid 40 killed; 17:13:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:13:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:13:52 [ssh-agent] Looking for ssh-agent implementation... 17:13:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:13:53 $ docker exec 3f1bcf1922399b7dc7521b66c8bac1d5ead31a3ed612bb612dcd73fed63c15af ssh-agent 17:13:53 SSH_AUTH_SOCK=/tmp/ssh-sXsCzTvZopmK/agent.73 17:13:53 SSH_AGENT_PID=80 17:13:53 Running ssh-add (command line suppressed) 17:13:53 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3183346541355443837.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3183346541355443837.key) 17:13:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:13:53 + git semver init 17:13:53 2022-07-19 17:13:53,883 [run_init] DEBUG init version:0.0.0 force:False 17:13:53 2022-07-19 17:13:53,884 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 17:13:53 2022-07-19 17:13:53,884 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 17:13:53 2022-07-19 17:13:53,885 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 17:13:54 2022-07-19 17:13:54,578 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 17:13:54 2022-07-19 17:13:54,579 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 17:13:54 2022-07-19 17:13:54,579 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 17:13:54 2022-07-19 17:13:54,579 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 17:13:54 2.2.1-dev.7 [Pipeline] } 17:13:54 $ docker exec --env ******** --env ******** 3f1bcf1922399b7dc7521b66c8bac1d5ead31a3ed612bb612dcd73fed63c15af ssh-agent -k 17:13:55 unset SSH_AUTH_SOCK; 17:13:55 unset SSH_AGENT_PID; 17:13:55 echo Agent pid 80 killed; 17:13:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:13:55 + git semver [Pipeline] } 17:13:55 $ docker stop --time=1 3f1bcf1922399b7dc7521b66c8bac1d5ead31a3ed612bb612dcd73fed63c15af 17:13:56 $ docker rm -f 3f1bcf1922399b7dc7521b66c8bac1d5ead31a3ed612bb612dcd73fed63c15af [Pipeline] // withDockerContainer [Pipeline] sh 17:13:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:13:57 Stashed 1 file(s) [Pipeline] echo 17:13:57 [edgeXSemver]: initialized semver on version 2.2.1-dev.7 [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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:13:57 provisioning config files... 17:13:57 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1100122562185399472tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:13:58 ---> docker-login.sh 17:13:58 nexus3.edgexfoundry.org:10001 17:13:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:13:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:13:58 Configure a credential helper to remove this warning. See 17:13:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:13:58 17:13:58 Login Succeeded 17:13:58 nexus3.edgexfoundry.org:10002 17:13:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:13:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:13:58 Configure a credential helper to remove this warning. See 17:13:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:13:58 17:13:58 Login Succeeded 17:13:58 nexus3.edgexfoundry.org:10003 17:13:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:13:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:13:58 Configure a credential helper to remove this warning. See 17:13:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:13:58 17:13:58 Login Succeeded 17:13:58 nexus3.edgexfoundry.org:10004 17:13:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:13:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:13:58 Configure a credential helper to remove this warning. See 17:13:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:13:58 17:13:58 Login Succeeded 17:13:58 docker.io 17:13:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:13:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:13:58 Configure a credential helper to remove this warning. See 17:13:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:13:58 17:13:58 Login Succeeded 17:13:58 ---> docker-login.sh ends [Pipeline] } 17:13:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:13:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:13:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:13:59 ========================================================= 17:13:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:13:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:59 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:13:59 Sending build context to Docker daemon 6.057MB 17:13:59 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 17:13:59 Step 2/10 : FROM ${BASE} AS builder 17:13:59 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:13:59 2408cc74d12b: Pulling fs layer 17:13:59 ea60b727a1ce: Pulling fs layer 17:13:59 30c4a7721957: Pulling fs layer 17:13:59 370296b7ddb6: Pulling fs layer 17:13:59 7c6cee850709: Pulling fs layer 17:13:59 39a5fcdaea64: Pulling fs layer 17:13:59 d94ebbe4e438: Pulling fs layer 17:13:59 bcfd1f05c69d: Pulling fs layer 17:13:59 59ccb84bbe0f: Pulling fs layer 17:13:59 370296b7ddb6: Waiting 17:13:59 d94ebbe4e438: Waiting 17:13:59 7c6cee850709: Waiting 17:13:59 bcfd1f05c69d: Waiting 17:13:59 39a5fcdaea64: Waiting 17:13:59 59ccb84bbe0f: Waiting 17:13:59 30c4a7721957: Verifying Checksum 17:13:59 30c4a7721957: Download complete 17:13:59 ea60b727a1ce: Verifying Checksum 17:13:59 ea60b727a1ce: Download complete 17:13:59 7c6cee850709: Verifying Checksum 17:13:59 7c6cee850709: Download complete 17:13:59 39a5fcdaea64: Verifying Checksum 17:13:59 39a5fcdaea64: Download complete 17:13:59 2408cc74d12b: Verifying Checksum 17:13:59 2408cc74d12b: Download complete 17:13:59 d94ebbe4e438: Verifying Checksum 17:13:59 d94ebbe4e438: Download complete 17:13:59 2408cc74d12b: Pull complete 17:13:59 ea60b727a1ce: Pull complete 17:13:59 30c4a7721957: Pull complete 17:13:59 59ccb84bbe0f: Verifying Checksum 17:13:59 59ccb84bbe0f: Download complete 17:14:00 bcfd1f05c69d: Verifying Checksum 17:14:00 bcfd1f05c69d: Download complete 17:14:00 370296b7ddb6: Verifying Checksum 17:14:00 370296b7ddb6: Download complete 17:14:04 370296b7ddb6: Pull complete 17:14:04 7c6cee850709: Pull complete 17:14:04 39a5fcdaea64: Pull complete 17:14:04 d94ebbe4e438: Pull complete 17:14:07 bcfd1f05c69d: Pull complete 17:14:07 59ccb84bbe0f: Pull complete 17:14:07 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 17:14:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:14:07 ---> a4fb48ad2a94 17:14:07 Step 3/10 : ARG MAKE='make build' 17:14:09 ---> Running in e5c2d29920ba 17:14:09 Removing intermediate container e5c2d29920ba 17:14:09 ---> 627637652230 17:14:09 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:14:09 ---> Running in a88c7043b9ac 17:14:10 Removing intermediate container a88c7043b9ac 17:14:10 ---> 6522fadf1bfd 17:14:10 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 17:14:10 ---> Running in df5914069581 17:14:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:14:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:14:11 (1/8) Installing openssh-keygen (9.0_p1-r1) 17:14:11 (2/8) Installing libedit (20210910.3.1-r0) 17:14:11 (3/8) Installing openssh-client-common (9.0_p1-r1) 17:14:12 (4/8) Installing openssh-client-default (9.0_p1-r1) 17:14:12 (5/8) Installing openssh-sftp-server (9.0_p1-r1) 17:14:12 (6/8) Installing openssh-server-common (9.0_p1-r1) 17:14:12 (7/8) Installing openssh-server (9.0_p1-r1) 17:14:12 (8/8) Installing openssh (9.0_p1-r1) 17:14:12 Executing busybox-1.35.0-r13.trigger 17:14:12 OK: 217 MiB in 59 packages 17:14:12 Still waiting to schedule task 17:14:12 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-20492’ 17:14:12 Removing intermediate container df5914069581 17:14:12 ---> 5536cfe75153 17:14:12 Step 6/10 : WORKDIR /device-modbus-go 17:14:12 ---> Running in ac90343e772b 17:14:13 Removing intermediate container ac90343e772b 17:14:13 ---> c66bd0761c35 17:14:13 Step 7/10 : COPY go.mod vendor* ./ 17:14:13 ---> 06a6f3160129 17:14:13 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:14:13 ---> Running in 1b8b26a19d7e 17:14:28 Removing intermediate container 1b8b26a19d7e 17:14:28 ---> 3fbab04525d8 17:14:28 Step 9/10 : COPY . . 17:14:28 ---> 5d86a695e16a 17:14:28 Step 10/10 : RUN ${MAKE} 17:14:28 ---> Running in 9a602686804c 17:14:28 noop 17:14:28 Removing intermediate container 9a602686804c 17:14:28 ---> 00f2ee425c96 17:14:28 Successfully built 00f2ee425c96 17:14:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:14:29 + docker inspect -f . ci-base-image-x86_64 17:14:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:14:29 prd-ubuntu20.04-docker-8c-8g-20495 does not seem to be running inside a container 17:14:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:14:29 $ docker top d133314fb376b5ccf971850ff978f170e247359cac88ed105f93fa4356739728 -eo pid,comm [Pipeline] { [Pipeline] sh 17:14:29 + go version 17:14:29 go version go1.18.3 linux/amd64 [Pipeline] } 17:14:29 $ docker stop --time=1 d133314fb376b5ccf971850ff978f170e247359cac88ed105f93fa4356739728 17:14:31 $ docker rm -f d133314fb376b5ccf971850ff978f170e247359cac88ed105f93fa4356739728 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:14:31 + docker inspect -f . ci-base-image-x86_64 17:14:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:14:31 prd-ubuntu20.04-docker-8c-8g-20495 does not seem to be running inside a container 17:14:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:14:32 $ docker top dd29c1e4b55b2406bc5f1ae9b5abaf1d1c0ae07edb783b298d7652a17012fa70 -eo pid,comm [Pipeline] { [Pipeline] sh 17:14:32 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 17:14:32 + make test 17:14:32 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 17:14:33 ? github.com/edgexfoundry/device-modbus-go [no test files] 17:14:43 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 17:14:43 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.016s coverage: 46.4% of statements 17:14:49 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 17:14:49 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:14:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:14:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:14:52 ./bin/test-attribution-txt.sh [Pipeline] echo 17:14:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:14:52 $ docker stop --time=1 dd29c1e4b55b2406bc5f1ae9b5abaf1d1c0ae07edb783b298d7652a17012fa70 17:14:54 $ docker rm -f dd29c1e4b55b2406bc5f1ae9b5abaf1d1c0ae07edb783b298d7652a17012fa70 [Pipeline] // withDockerContainer [Pipeline] sh 17:14:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:14:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:14:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:14:56 + ls -al . 17:14:56 total 184 17:14:56 drwxrwxr-x 10 jenkins jenkins 4096 Jul 19 17:14 . 17:14:56 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 17:13 .. 17:14:56 -rw-rw-r-- 1 jenkins jenkins 140 Jul 19 17:13 .dockerignore 17:14:56 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 17:14 .git 17:14:56 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 17:13 .github 17:14:56 -rw-rw-r-- 1 jenkins jenkins 331 Jul 19 17:13 .gitignore 17:14:56 -rw-rw-r-- 1 jenkins jenkins 41 Jul 19 17:13 .golangci.yml 17:14:56 drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 17:13 .semver 17:14:56 -rw-rw-r-- 1 jenkins jenkins 9636 Jul 19 17:13 Attribution.txt 17:14:56 -rw-rw-r-- 1 jenkins jenkins 10001 Jul 19 17:13 CHANGELOG.md 17:14:56 -rw-rw-r-- 1 jenkins jenkins 1550 Jul 19 17:13 Dockerfile 17:14:56 -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 17:13 GOVERNANCE.md 17:14:56 -rw-rw-r-- 1 jenkins jenkins 680 Jul 19 17:13 Jenkinsfile 17:14:56 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 19 17:13 LICENSE 17:14:56 -rw-rw-r-- 1 jenkins jenkins 1892 Jul 19 17:13 Makefile 17:14:56 -rw-rw-r-- 1 jenkins jenkins 622 Jul 19 17:13 OWNERS.md 17:14:56 -rw-rw-r-- 1 jenkins jenkins 3397 Jul 19 17:13 README.md 17:14:56 -rw-rw-r-- 1 jenkins jenkins 11 Jul 19 17:13 VERSION 17:14:56 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 17:13 bin 17:14:56 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 17:13 cmd 17:14:56 -rw-r--r-- 1 jenkins jenkins 24065 Jul 19 17:14 coverage.out 17:14:56 -rw-rw-r-- 1 jenkins jenkins 3405 Jul 19 17:13 go.mod 17:14:56 -rw-rw-r-- 1 jenkins jenkins 35448 Jul 19 17:13 go.sum 17:14:56 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 17:13 internal 17:14:56 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 17:13 simulator 17:14:56 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 17:13 snap 17:14:56 -rw-rw-r-- 1 jenkins jenkins 229 Jul 19 17:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:14:56 + 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=244b59a475c78f58285a57e1d616d41d185ebc19 --label arch=amd64 --label version=2.2.1-dev.7 . 17:14:56 Sending build context to Docker daemon 6.083MB 17:14:56 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 17:14:56 Step 2/23 : FROM ${BASE} AS builder 17:14:56 ---> 00f2ee425c96 17:14:56 Step 3/23 : ARG MAKE='make build' 17:14:56 ---> Running in 111bf39ea682 17:14:56 Removing intermediate container 111bf39ea682 17:14:56 ---> 161ac018f142 17:14:56 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:14:56 ---> Running in 9f9d63277502 17:14:57 Removing intermediate container 9f9d63277502 17:14:57 ---> be1bde85ba44 17:14:57 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 17:14:57 ---> Running in f6aac5b99e72 17:14:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:14:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:14:58 OK: 217 MiB in 59 packages 17:14:58 Removing intermediate container f6aac5b99e72 17:14:58 ---> 51d3d1333624 17:14:58 Step 6/23 : WORKDIR /device-modbus-go 17:14:59 ---> Running in b0728c1c3bb3 17:14:59 Removing intermediate container b0728c1c3bb3 17:14:59 ---> 5be063a79dd5 17:14:59 Step 7/23 : COPY go.mod vendor* ./ 17:14:59 ---> c157436c03d8 17:14:59 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:14:59 ---> Running in a1d213020a51 17:14:59 Removing intermediate container a1d213020a51 17:14:59 ---> 19e428a82296 17:14:59 Step 9/23 : COPY . . 17:15:00 ---> f5265a042e8e 17:15:00 Step 10/23 : RUN ${MAKE} 17:15:00 ---> Running in 1527cfd857e7 17:15:00 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.1-dev.7" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 17:15:22 Removing intermediate container 1527cfd857e7 17:15:22 ---> 37cb50211f59 17:15:22 Step 11/23 : FROM alpine:3.14 17:15:22 3.14: Pulling from library/alpine 17:15:22 8663204ce13b: Pulling fs layer 17:15:22 8663204ce13b: Verifying Checksum 17:15:22 8663204ce13b: Download complete 17:15:22 8663204ce13b: Pull complete 17:15:22 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 17:15:22 Status: Downloaded newer image for alpine:3.14 17:15:22 ---> e04c818066af 17:15:22 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 17:15:22 ---> Running in c51251daa176 17:15:22 Removing intermediate container c51251daa176 17:15:22 ---> 298079990d0b 17:15:22 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:15:22 ---> Running in dcacf8f87570 17:15:22 Removing intermediate container dcacf8f87570 17:15:22 ---> 5a3e94596548 17:15:22 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 17:15:22 ---> Running in 87a605359d22 17:15:22 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 17:15:23 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 17:15:23 (1/6) Installing dumb-init (1.2.5-r1) 17:15:23 (2/6) Installing libgcc (10.3.1_git20210424-r2) 17:15:24 (3/6) Installing libsodium (1.0.18-r0) 17:15:24 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 17:15:24 (5/6) Installing libzmq (4.3.4-r0) 17:15:24 (6/6) Installing zeromq (4.3.4-r0) 17:15:24 Executing busybox-1.33.1-r7.trigger 17:15:24 OK: 8 MiB in 20 packages 17:15:24 Removing intermediate container 87a605359d22 17:15:24 ---> 706fe5cb5bce 17:15:24 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 17:15:25 ---> d9c5397840d6 17:15:25 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 17:15:25 ---> bf3d5d954b3f 17:15:25 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 17:15:25 ---> 8370d4956c32 17:15:25 Step 18/23 : EXPOSE 59901 17:15:25 ---> Running in 43dba5344f1d 17:15:25 Removing intermediate container 43dba5344f1d 17:15:25 ---> 3c91ca878599 17:15:25 Step 19/23 : ENTRYPOINT ["/device-modbus"] 17:15:25 ---> Running in d5a898a5e4e7 17:15:26 Removing intermediate container d5a898a5e4e7 17:15:26 ---> e348167c0b7b 17:15:26 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:15:26 ---> Running in 8c5a8e278b29 17:15:26 Removing intermediate container 8c5a8e278b29 17:15:26 ---> b328a52074db 17:15:26 Step 21/23 : LABEL arch=amd64 17:15:26 ---> Running in 9dc8150b8939 17:15:26 Removing intermediate container 9dc8150b8939 17:15:26 ---> 1e661572628d 17:15:26 Step 22/23 : LABEL git_sha=244b59a475c78f58285a57e1d616d41d185ebc19 17:15:26 ---> Running in 24c040c4af28 17:15:26 Removing intermediate container 24c040c4af28 17:15:26 ---> 6fa9ea70c1ce 17:15:26 Step 23/23 : LABEL version=2.2.1-dev.7 17:15:26 ---> Running in a213d01ddfcf 17:15:26 Removing intermediate container a213d01ddfcf 17:15:26 ---> 003e1e474644 17:15:26 [Warning] One or more build-args [ARCH] were not consumed 17:15:26 Successfully built 003e1e474644 17:15:26 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:15:26 provisioning config files... 17:15:26 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6266290028136315462tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:15:26 ---> docker-login.sh 17:15:26 nexus3.edgexfoundry.org:10001 17:15:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:15:26 Configure a credential helper to remove this warning. See 17:15:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:15:26 17:15:26 Login Succeeded 17:15:26 nexus3.edgexfoundry.org:10002 17:15:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:15:27 Configure a credential helper to remove this warning. See 17:15:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:15:27 17:15:27 Login Succeeded 17:15:27 nexus3.edgexfoundry.org:10003 17:15:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:15:27 Configure a credential helper to remove this warning. See 17:15:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:15:27 17:15:27 Login Succeeded 17:15:27 nexus3.edgexfoundry.org:10004 17:15:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:15:27 Configure a credential helper to remove this warning. See 17:15:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:15:27 17:15:27 Login Succeeded 17:15:27 docker.io 17:15:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:15:27 Configure a credential helper to remove this warning. See 17:15:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:15:27 17:15:27 Login Succeeded 17:15:27 ---> docker-login.sh ends [Pipeline] } 17:15:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:15:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:15:27 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 17:15:27 244b59a475c78f58285a57e1d616d41d185ebc19 17:15:27 latest 17:15:27 2.2.1-dev.7 17:15:27 244b59a475c78f58285a57e1d616d41d185ebc19-2.2.1-dev.7 17:15:27 main 17:15:27 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:28 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:244b59a475c78f58285a57e1d616d41d185ebc19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:28 + docker push nexus3.edgexfoundry.org:10004/device-modbus:244b59a475c78f58285a57e1d616d41d185ebc19 17:15:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 17:15:28 70ddcfadaf4f: Preparing 17:15:28 6fea3a7e401f: Preparing 17:15:28 ef622c082b25: Preparing 17:15:28 b0520297539d: Preparing 17:15:28 382f8878412d: Preparing 17:15:28 b541d28bf3b4: Preparing 17:15:28 70ddcfadaf4f: Pushed 17:15:28 6fea3a7e401f: Pushed 17:15:28 382f8878412d: Pushed 17:15:28 b541d28bf3b4: Layer already exists 17:15:28 b0520297539d: Pushed 17:15:31 ef622c082b25: Pushed 17:15:31 244b59a475c78f58285a57e1d616d41d185ebc19: digest: sha256:618a29c8333515bfa1553bd49ddf514b229279a68d14351f61098cb567a2fc2e size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:31 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:31 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 17:15:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 17:15:31 70ddcfadaf4f: Preparing 17:15:31 6fea3a7e401f: Preparing 17:15:31 ef622c082b25: Preparing 17:15:31 b0520297539d: Preparing 17:15:31 382f8878412d: Preparing 17:15:31 b541d28bf3b4: Preparing 17:15:31 b541d28bf3b4: Waiting 17:15:31 ef622c082b25: Layer already exists 17:15:31 b0520297539d: Layer already exists 17:15:31 382f8878412d: Layer already exists 17:15:31 6fea3a7e401f: Layer already exists 17:15:31 70ddcfadaf4f: Layer already exists 17:15:31 b541d28bf3b4: Layer already exists 17:15:31 latest: digest: sha256:618a29c8333515bfa1553bd49ddf514b229279a68d14351f61098cb567a2fc2e size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:32 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.1-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:32 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.1-dev.7 17:15:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 17:15:32 70ddcfadaf4f: Preparing 17:15:32 6fea3a7e401f: Preparing 17:15:32 ef622c082b25: Preparing 17:15:32 b0520297539d: Preparing 17:15:32 382f8878412d: Preparing 17:15:32 b541d28bf3b4: Preparing 17:15:32 b541d28bf3b4: Waiting 17:15:32 382f8878412d: Layer already exists 17:15:32 70ddcfadaf4f: Layer already exists 17:15:32 ef622c082b25: Layer already exists 17:15:32 b0520297539d: Layer already exists 17:15:32 6fea3a7e401f: Layer already exists 17:15:32 b541d28bf3b4: Layer already exists 17:15:32 2.2.1-dev.7: digest: sha256:618a29c8333515bfa1553bd49ddf514b229279a68d14351f61098cb567a2fc2e size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:33 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:244b59a475c78f58285a57e1d616d41d185ebc19-2.2.1-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:33 + docker push nexus3.edgexfoundry.org:10004/device-modbus:244b59a475c78f58285a57e1d616d41d185ebc19-2.2.1-dev.7 17:15:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 17:15:33 70ddcfadaf4f: Preparing 17:15:33 6fea3a7e401f: Preparing 17:15:33 ef622c082b25: Preparing 17:15:33 b0520297539d: Preparing 17:15:33 382f8878412d: Preparing 17:15:33 b541d28bf3b4: Preparing 17:15:33 b541d28bf3b4: Waiting 17:15:33 70ddcfadaf4f: Layer already exists 17:15:33 6fea3a7e401f: Layer already exists 17:15:33 b0520297539d: Layer already exists 17:15:33 ef622c082b25: Layer already exists 17:15:33 382f8878412d: Layer already exists 17:15:33 b541d28bf3b4: Layer already exists 17:15:33 244b59a475c78f58285a57e1d616d41d185ebc19-2.2.1-dev.7: digest: sha256:618a29c8333515bfa1553bd49ddf514b229279a68d14351f61098cb567a2fc2e size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:33 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:33 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 17:15:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 17:15:33 70ddcfadaf4f: Preparing 17:15:33 6fea3a7e401f: Preparing 17:15:33 ef622c082b25: Preparing 17:15:33 b0520297539d: Preparing 17:15:33 382f8878412d: Preparing 17:15:33 b541d28bf3b4: Preparing 17:15:33 70ddcfadaf4f: Layer already exists 17:15:33 382f8878412d: Layer already exists 17:15:33 b0520297539d: Layer already exists 17:15:33 ef622c082b25: Layer already exists 17:15:33 6fea3a7e401f: Layer already exists 17:15:33 b541d28bf3b4: Layer already exists 17:15:33 main: digest: sha256:618a29c8333515bfa1553bd49ddf514b229279a68d14351f61098cb567a2fc2e size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:15:34 ===================================================== [Pipeline] echo 17:15:34 taggedImages: 17:15:34 - nexus3.edgexfoundry.org:10004/device-modbus:244b59a475c78f58285a57e1d616d41d185ebc19 17:15:34 - nexus3.edgexfoundry.org:10004/device-modbus:latest 17:15:34 - nexus3.edgexfoundry.org:10004/device-modbus:2.2.1-dev.7 17:15:34 - nexus3.edgexfoundry.org:10004/device-modbus:244b59a475c78f58285a57e1d616d41d185ebc19-2.2.1-dev.7 17:15:34 - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:15:34 17:15:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:15:34 latest: Pulling from edgex-lftools-log-publisher 17:15:34 5eb5b503b376: Pulling fs layer 17:15:34 5c69ac0246d0: Pulling fs layer 17:15:34 ec43610c2a17: Pulling fs layer 17:15:34 3a2ae6a8a46f: Pulling fs layer 17:15:34 33b1e0a273af: Pulling fs layer 17:15:34 5d3b04190fa2: Pulling fs layer 17:15:34 2f39f015ded8: Pulling fs layer 17:15:34 3a2ae6a8a46f: Waiting 17:15:34 33b1e0a273af: Waiting 17:15:34 2f39f015ded8: Waiting 17:15:34 5d3b04190fa2: Waiting 17:15:34 5c69ac0246d0: Verifying Checksum 17:15:34 5c69ac0246d0: Download complete 17:15:34 3a2ae6a8a46f: Download complete 17:15:34 33b1e0a273af: Verifying Checksum 17:15:34 33b1e0a273af: Download complete 17:15:34 5d3b04190fa2: Verifying Checksum 17:15:34 5d3b04190fa2: Download complete 17:15:34 ec43610c2a17: Verifying Checksum 17:15:34 5eb5b503b376: Verifying Checksum 17:15:34 5eb5b503b376: Download complete 17:15:35 2f39f015ded8: Download complete 17:15:36 5eb5b503b376: Pull complete 17:15:36 5c69ac0246d0: Pull complete 17:15:36 ec43610c2a17: Pull complete 17:15:36 3a2ae6a8a46f: Pull complete 17:15:37 33b1e0a273af: Pull complete 17:15:37 5d3b04190fa2: Pull complete 17:15:42 2f39f015ded8: Pull complete 17:15:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:15:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:15:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:15:42 prd-ubuntu20.04-docker-8c-8g-20495 does not seem to be running inside a container 17:15:42 $ 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/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:15:44 $ docker top d2b30c69358b5150d0410bc0654482123964e66edd0dba8a900d3380dc238880 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:15:44 ---> job-cost.sh 17:15:44 lf-activate-venv: SKIPPING 17:15:44 INFO: No Stack... 17:15:44 INFO: Retrieving Pricing Info for: v3-standard-8 17:15:45 INFO: Archiving Costs [Pipeline] sh 17:15:45 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 17:15:45 + cut -d, -f6 [Pipeline] lock 17:15:45 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-46-stack-cost] 17:15:45 Resource [jenkins-edgexfoundry-device-modbus-go-main-46-stack-cost] did not exist. Created. 17:15:45 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-46-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:15:46 + echo total: 0.2199999988079071 [Pipeline] stash 17:15:46 Stashed 1 file(s) [Pipeline] } 17:15:46 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-46-stack-cost] [Pipeline] // lock [Pipeline] } 17:15:46 $ docker stop --time=1 d2b30c69358b5150d0410bc0654482123964e66edd0dba8a900d3380dc238880 17:15:47 $ docker rm -f d2b30c69358b5150d0410bc0654482123964e66edd0dba8a900d3380dc238880 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:16:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20499 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 17:16:58 Running in /w/workspace/device-modbus-go/46 [Pipeline] { [Pipeline] checkout 17:16:58 Selected Git installation does not exist. Using Default 17:16:58 The recommended git tool is: NONE 17:17:07 using credential edgex-jenkins-ssh 17:17:07 Cloning the remote Git repository 17:17:07 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 17:17:07 > git init /w/workspace/device-modbus-go/46 # timeout=10 17:17:07 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 17:17:07 > git --version # timeout=10 17:17:07 > git --version # 'git version 2.25.1' 17:17:07 using GIT_SSH to set credentials SSH Credentials for GitHub 17:17:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:17:09 Avoid second fetch 17:17:09 Checking out Revision 244b59a475c78f58285a57e1d616d41d185ebc19 (main) 17:17:09 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 17:17:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:17:09 > git config core.sparsecheckout # timeout=10 17:17:09 > git checkout -f 244b59a475c78f58285a57e1d616d41d185ebc19 # timeout=10 17:17:14 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 (#362)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:17:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:17:14 % Total % Received % Xferd Average Speed Time Time Time Current 17:17:14 Dload Upload Total Spent Left Speed 17:17:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 169k 0 --:--:-- --:--:-- --:--:-- 172k [Pipeline] sh 17:17:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:17:16 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:17:16 + sudo tee /etc/docker/daemon.new 17:17:16 { 17:17:16 "registry-mirrors": [ 17:17:16 "https://nexus3.edgexfoundry.org:10001" 17:17:16 ], 17:17:16 "bip": "10.250.0.254/24", 17:17:16 "hosts": [ 17:17:16 "tcp://0.0.0.0:5555", 17:17:16 "unix:///var/run/docker.sock" 17:17:16 ], 17:17:16 "mtu": 1458, 17:17:16 "selinux-enabled": true, 17:17:16 "seccomp-profile": "/etc/docker/seccomp.json" 17:17:16 } [Pipeline] sh 17:17:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:17:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:17:35 provisioning config files... 17:17:35 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/46@tmp/config1715860870946757881tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:17:35 ---> docker-login.sh 17:17:35 nexus3.edgexfoundry.org:10001 17:17:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:17:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:17:36 Configure a credential helper to remove this warning. See 17:17:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:17:36 17:17:36 Login Succeeded 17:17:36 nexus3.edgexfoundry.org:10002 17:17:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:17:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:17:37 Configure a credential helper to remove this warning. See 17:17:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:17:37 17:17:37 Login Succeeded 17:17:37 nexus3.edgexfoundry.org:10003 17:17:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:17:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:17:37 Configure a credential helper to remove this warning. See 17:17:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:17:37 17:17:37 Login Succeeded 17:17:37 nexus3.edgexfoundry.org:10004 17:17:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:17:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:17:38 Configure a credential helper to remove this warning. See 17:17:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:17:38 17:17:38 Login Succeeded 17:17:38 docker.io 17:17:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:17:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:17:39 Configure a credential helper to remove this warning. See 17:17:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:17:39 17:17:39 Login Succeeded 17:17:39 ---> docker-login.sh ends [Pipeline] } 17:17:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:17:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:17:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:17:39 ========================================================= 17:17:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:17:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:17:40 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:17:40 Sending build context to Docker daemon 3.146MB 17:17:40 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 17:17:40 Step 2/10 : FROM ${BASE} AS builder 17:17:40 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:17:40 b3c136eddcbf: Pulling fs layer 17:17:40 c0a3192eca97: Pulling fs layer 17:17:40 a050256f5b6f: Pulling fs layer 17:17:40 656be50a0ddc: Pulling fs layer 17:17:40 2bbca73fdf42: Pulling fs layer 17:17:40 46d945488cbd: Pulling fs layer 17:17:40 8a5474983e97: Pulling fs layer 17:17:40 329c88fbcd65: Pulling fs layer 17:17:40 656be50a0ddc: Waiting 17:17:40 329c88fbcd65: Waiting 17:17:40 8a5474983e97: Waiting 17:17:40 46d945488cbd: Waiting 17:17:40 2bbca73fdf42: Waiting 17:17:40 a050256f5b6f: Verifying Checksum 17:17:40 a050256f5b6f: Download complete 17:17:40 c0a3192eca97: Verifying Checksum 17:17:40 c0a3192eca97: Download complete 17:17:40 2bbca73fdf42: Verifying Checksum 17:17:40 2bbca73fdf42: Download complete 17:17:40 46d945488cbd: Verifying Checksum 17:17:40 46d945488cbd: Download complete 17:17:40 b3c136eddcbf: Verifying Checksum 17:17:41 b3c136eddcbf: Pull complete 17:17:41 329c88fbcd65: Verifying Checksum 17:17:41 329c88fbcd65: Download complete 17:17:42 c0a3192eca97: Pull complete 17:17:42 a050256f5b6f: Pull complete 17:17:43 8a5474983e97: Verifying Checksum 17:17:43 8a5474983e97: Download complete 17:17:44 656be50a0ddc: Download complete 17:17:59 656be50a0ddc: Pull complete 17:17:59 2bbca73fdf42: Pull complete 17:17:59 46d945488cbd: Pull complete 17:18:04 8a5474983e97: Pull complete 17:18:06 329c88fbcd65: Pull complete 17:18:06 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 17:18:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:18:06 ---> ff4287adb874 17:18:06 Step 3/10 : ARG MAKE='make build' 17:18:06 ---> Running in bb216a4c8712 17:18:07 Removing intermediate container bb216a4c8712 17:18:07 ---> 45a9e2da783f 17:18:07 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:18:07 ---> Running in ab3921e33c26 17:18:09 Removing intermediate container ab3921e33c26 17:18:09 ---> 571663b8b07e 17:18:09 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 17:18:09 ---> Running in 37e50c957607 17:18:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:18:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:18:12 (1/8) Installing openssh-keygen (9.0_p1-r1) 17:18:12 (2/8) Installing libedit (20210910.3.1-r0) 17:18:12 (3/8) Installing openssh-client-common (9.0_p1-r1) 17:18:13 (4/8) Installing openssh-client-default (9.0_p1-r1) 17:18:13 (5/8) Installing openssh-sftp-server (9.0_p1-r1) 17:18:13 (6/8) Installing openssh-server-common (9.0_p1-r1) 17:18:13 (7/8) Installing openssh-server (9.0_p1-r1) 17:18:13 (8/8) Installing openssh (9.0_p1-r1) 17:18:13 Executing busybox-1.35.0-r13.trigger 17:18:13 OK: 228 MiB in 59 packages 17:18:14 Removing intermediate container 37e50c957607 17:18:14 ---> ee0c267f44d2 17:18:14 Step 6/10 : WORKDIR /device-modbus-go 17:18:14 ---> Running in 5b28748f3472 17:18:15 Removing intermediate container 5b28748f3472 17:18:15 ---> 0ce62b1c584d 17:18:15 Step 7/10 : COPY go.mod vendor* ./ 17:18:15 ---> b50db40f5521 17:18:15 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:18:16 ---> Running in 1814845f5aa4 17:19:03 Removing intermediate container 1814845f5aa4 17:19:03 ---> 653491af77aa 17:19:03 Step 9/10 : COPY . . 17:19:03 ---> 8d9f29b1ab48 17:19:03 Step 10/10 : RUN ${MAKE} 17:19:03 ---> Running in 267b93b1b5c8 17:19:03 noop 17:19:03 Removing intermediate container 267b93b1b5c8 17:19:03 ---> ffd3b049ef8e 17:19:03 Successfully built ffd3b049ef8e 17:19:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:19:04 + docker inspect -f . ci-base-image-arm64 17:19:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:19:04 prd-ubuntu20.04-docker-arm64-4c-16g-20499 does not seem to be running inside a container 17:19:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/46 -v /w/workspace/device-modbus-go/46:/w/workspace/device-modbus-go/46:rw,z -v /w/workspace/device-modbus-go/46@tmp:/w/workspace/device-modbus-go/46@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:19:05 $ docker top 37ba17a3159b1dd69ccd05bc9bb59dd59746b764070685526198192d0025ded1 -eo pid,comm [Pipeline] { [Pipeline] sh 17:19:06 + go version 17:19:06 go version go1.18.3 linux/arm64 [Pipeline] } 17:19:06 $ docker stop --time=1 37ba17a3159b1dd69ccd05bc9bb59dd59746b764070685526198192d0025ded1 17:19:08 $ docker rm -f 37ba17a3159b1dd69ccd05bc9bb59dd59746b764070685526198192d0025ded1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:19:09 + docker inspect -f . ci-base-image-arm64 17:19:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:19:09 prd-ubuntu20.04-docker-arm64-4c-16g-20499 does not seem to be running inside a container 17:19:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-modbus-go/46 -v /w/workspace/device-modbus-go/46:/w/workspace/device-modbus-go/46:rw,z -v /w/workspace/device-modbus-go/46@tmp:/w/workspace/device-modbus-go/46@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:19:11 $ docker top 2dd68a0a463630768ddd53437934fb13cd272c4b9b5e9a2677269b4e926db8e7 -eo pid,comm [Pipeline] { [Pipeline] sh 17:19:12 + git config --global --add safe.directory /w/workspace/device-modbus-go/46 [Pipeline] fileExists [Pipeline] sh 17:19:12 + make test 17:19:12 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 17:19:14 ? github.com/edgexfoundry/device-modbus-go [no test files] 17:20:51 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 17:20:51 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.057s coverage: 46.4% of statements 17:20:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:20:51 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:21:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:21:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:21:04 ./bin/test-attribution-txt.sh [Pipeline] echo 17:21:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:21:04 $ docker stop --time=1 2dd68a0a463630768ddd53437934fb13cd272c4b9b5e9a2677269b4e926db8e7 17:21:06 $ docker rm -f 2dd68a0a463630768ddd53437934fb13cd272c4b9b5e9a2677269b4e926db8e7 [Pipeline] // withDockerContainer [Pipeline] sh 17:21:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:21:07 Warning: overwriting stash ‘coverage-report’ 17:21:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:21:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:21:08 + ls -al . 17:21:08 total 180 17:21:08 drwxrwxr-x 9 jenkins jenkins 4096 Jul 19 17:19 . 17:21:08 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 17:17 .. 17:21:08 -rw-rw-r-- 1 jenkins jenkins 140 Jul 19 17:17 .dockerignore 17:21:08 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 17:17 .git 17:21:08 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 17:17 .github 17:21:08 -rw-rw-r-- 1 jenkins jenkins 331 Jul 19 17:17 .gitignore 17:21:08 -rw-rw-r-- 1 jenkins jenkins 41 Jul 19 17:17 .golangci.yml 17:21:08 -rw-rw-r-- 1 jenkins jenkins 9636 Jul 19 17:17 Attribution.txt 17:21:08 -rw-rw-r-- 1 jenkins jenkins 10001 Jul 19 17:17 CHANGELOG.md 17:21:08 -rw-rw-r-- 1 jenkins jenkins 1550 Jul 19 17:17 Dockerfile 17:21:08 -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 17:17 GOVERNANCE.md 17:21:08 -rw-rw-r-- 1 jenkins jenkins 680 Jul 19 17:17 Jenkinsfile 17:21:08 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 19 17:17 LICENSE 17:21:08 -rw-rw-r-- 1 jenkins jenkins 1892 Jul 19 17:17 Makefile 17:21:08 -rw-rw-r-- 1 jenkins jenkins 622 Jul 19 17:17 OWNERS.md 17:21:08 -rw-rw-r-- 1 jenkins jenkins 3397 Jul 19 17:17 README.md 17:21:08 -rw-rw-r-- 1 jenkins jenkins 11 Jul 19 17:13 VERSION 17:21:08 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 17:17 bin 17:21:08 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 17:17 cmd 17:21:08 -rw-r--r-- 1 jenkins jenkins 24065 Jul 19 17:20 coverage.out 17:21:08 -rw-rw-r-- 1 jenkins jenkins 3405 Jul 19 17:17 go.mod 17:21:08 -rw-rw-r-- 1 jenkins jenkins 35448 Jul 19 17:17 go.sum 17:21:08 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 17:17 internal 17:21:08 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 17:17 simulator 17:21:08 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 17:17 snap 17:21:08 -rw-rw-r-- 1 jenkins jenkins 229 Jul 19 17:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:21:08 + 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=244b59a475c78f58285a57e1d616d41d185ebc19 --label arch=arm64 --label version=2.2.1-dev.7 . 17:21:09 Sending build context to Docker daemon 3.171MB 17:21:09 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 17:21:09 Step 2/23 : FROM ${BASE} AS builder 17:21:09 ---> ffd3b049ef8e 17:21:09 Step 3/23 : ARG MAKE='make build' 17:21:09 ---> Running in 4e85136f9ce6 17:21:09 Removing intermediate container 4e85136f9ce6 17:21:09 ---> 74ad3136b0e8 17:21:09 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:21:09 ---> Running in 25f9a0a4f8ee 17:21:11 Removing intermediate container 25f9a0a4f8ee 17:21:11 ---> 5899b4d8da4e 17:21:11 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 17:21:11 ---> Running in 6dff44a49dd4 17:21:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:21:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:21:14 OK: 228 MiB in 59 packages 17:21:15 Removing intermediate container 6dff44a49dd4 17:21:15 ---> d76fa8d6589d 17:21:15 Step 6/23 : WORKDIR /device-modbus-go 17:21:15 ---> Running in e44ec1b57377 17:21:15 Removing intermediate container e44ec1b57377 17:21:15 ---> 6beff0744d4b 17:21:15 Step 7/23 : COPY go.mod vendor* ./ 17:21:16 ---> 3966c1a9e6cc 17:21:16 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:21:16 ---> Running in fa8ee6ba5e46 17:21:18 Removing intermediate container fa8ee6ba5e46 17:21:18 ---> bade3e25a70f 17:21:18 Step 9/23 : COPY . . 17:21:19 ---> 9234567f6206 17:21:19 Step 10/23 : RUN ${MAKE} 17:21:19 ---> Running in 3b05c4aaf9c0 17:21:20 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.1-dev.7" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 17:23:42 Removing intermediate container 3b05c4aaf9c0 17:23:42 ---> 89226f663f98 17:23:42 Step 11/23 : FROM alpine:3.14 17:23:42 3.14: Pulling from library/alpine 17:23:42 455c02918c45: Pulling fs layer 17:23:42 455c02918c45: Verifying Checksum 17:23:42 455c02918c45: Download complete 17:23:42 455c02918c45: Pull complete 17:23:42 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 17:23:42 Status: Downloaded newer image for alpine:3.14 17:23:42 ---> ac73e934f311 17:23:42 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 17:23:42 ---> Running in 0314ab6324a3 17:23:42 Removing intermediate container 0314ab6324a3 17:23:42 ---> 108d84990407 17:23:42 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:23:42 ---> Running in d08b631b4116 17:23:42 Removing intermediate container d08b631b4116 17:23:42 ---> ad2a62287ba2 17:23:42 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 17:23:42 ---> Running in 46ffb28b002d 17:23:42 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 17:23:42 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 17:23:43 (1/6) Installing dumb-init (1.2.5-r1) 17:23:43 (2/6) Installing libgcc (10.3.1_git20210424-r2) 17:23:44 (3/6) Installing libsodium (1.0.18-r0) 17:23:44 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 17:23:44 (5/6) Installing libzmq (4.3.4-r0) 17:23:44 (6/6) Installing zeromq (4.3.4-r0) 17:23:44 Executing busybox-1.33.1-r7.trigger 17:23:44 OK: 8 MiB in 20 packages 17:23:45 Removing intermediate container 46ffb28b002d 17:23:45 ---> 553c47447f68 17:23:45 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 17:23:46 ---> 9057da422ae3 17:23:46 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 17:23:47 ---> 3eec27db2672 17:23:47 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 17:23:48 ---> ea54130ea512 17:23:48 Step 18/23 : EXPOSE 59901 17:23:48 ---> Running in af06a62b988d 17:23:48 Removing intermediate container af06a62b988d 17:23:48 ---> 1f19f4a6e1cd 17:23:48 Step 19/23 : ENTRYPOINT ["/device-modbus"] 17:23:48 ---> Running in 5813b7e7e385 17:23:48 Removing intermediate container 5813b7e7e385 17:23:48 ---> bbb2de0efccd 17:23:48 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:23:48 ---> Running in 90286cb0afc5 17:23:49 Removing intermediate container 90286cb0afc5 17:23:49 ---> 0d8da57888e7 17:23:49 Step 21/23 : LABEL arch=arm64 17:23:49 ---> Running in f5f7999c982c 17:23:49 Removing intermediate container f5f7999c982c 17:23:49 ---> 5e31304b91a8 17:23:49 Step 22/23 : LABEL git_sha=244b59a475c78f58285a57e1d616d41d185ebc19 17:23:49 ---> Running in 6ef2999ae8ef 17:23:50 Removing intermediate container 6ef2999ae8ef 17:23:50 ---> 5cc66ff40fbe 17:23:50 Step 23/23 : LABEL version=2.2.1-dev.7 17:23:50 ---> Running in 8e94c0c68472 17:23:50 Removing intermediate container 8e94c0c68472 17:23:50 ---> 67a2d335934a 17:23:50 [Warning] One or more build-args [ARCH] were not consumed 17:23:50 Successfully built 67a2d335934a 17:23:50 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:23:50 provisioning config files... 17:23:50 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/46@tmp/config1875199014457110004tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:23:51 ---> docker-login.sh 17:23:51 nexus3.edgexfoundry.org:10001 17:23:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:51 Configure a credential helper to remove this warning. See 17:23:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:51 17:23:51 Login Succeeded 17:23:51 nexus3.edgexfoundry.org:10002 17:23:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:51 Configure a credential helper to remove this warning. See 17:23:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:51 17:23:51 Login Succeeded 17:23:51 nexus3.edgexfoundry.org:10003 17:23:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:52 Configure a credential helper to remove this warning. See 17:23:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:52 17:23:52 Login Succeeded 17:23:52 nexus3.edgexfoundry.org:10004 17:23:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:53 Configure a credential helper to remove this warning. See 17:23:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:53 17:23:53 Login Succeeded 17:23:53 docker.io 17:23:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:53 Configure a credential helper to remove this warning. See 17:23:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:53 17:23:53 Login Succeeded 17:23:53 ---> docker-login.sh ends [Pipeline] } 17:23:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:23:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:23:54 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 17:23:54 244b59a475c78f58285a57e1d616d41d185ebc19 17:23:54 latest 17:23:54 2.2.1-dev.7 17:23:54 244b59a475c78f58285a57e1d616d41d185ebc19-2.2.1-dev.7 17:23:54 main 17:23:54 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:54 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:244b59a475c78f58285a57e1d616d41d185ebc19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:54 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:244b59a475c78f58285a57e1d616d41d185ebc19 17:23:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 17:23:54 fb977cd76e38: Preparing 17:23:54 b7ec0ab89948: Preparing 17:23:54 a7bf49b078b9: Preparing 17:23:54 a79980ad8a1f: Preparing 17:23:54 f3006ad7dc74: Preparing 17:23:54 f73e7dbfee58: Preparing 17:23:54 f73e7dbfee58: Waiting 17:23:55 b7ec0ab89948: Pushed 17:23:55 fb977cd76e38: Pushed 17:23:55 f3006ad7dc74: Pushed 17:23:55 f73e7dbfee58: Layer already exists 17:23:55 a79980ad8a1f: Pushed 17:24:01 a7bf49b078b9: Pushed 17:24:01 244b59a475c78f58285a57e1d616d41d185ebc19: digest: sha256:6edd6f5ec0f263b9be3027c35f568f77b82f12d043c00c9f56e5a7fd7451b97c size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:01 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:01 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 17:24:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 17:24:01 fb977cd76e38: Preparing 17:24:01 b7ec0ab89948: Preparing 17:24:01 a7bf49b078b9: Preparing 17:24:01 a79980ad8a1f: Preparing 17:24:01 f3006ad7dc74: Preparing 17:24:01 f73e7dbfee58: Preparing 17:24:01 f73e7dbfee58: Waiting 17:24:01 a79980ad8a1f: Layer already exists 17:24:01 a7bf49b078b9: Layer already exists 17:24:01 f3006ad7dc74: Layer already exists 17:24:01 fb977cd76e38: Layer already exists 17:24:01 b7ec0ab89948: Layer already exists 17:24:02 f73e7dbfee58: Layer already exists 17:24:02 latest: digest: sha256:6edd6f5ec0f263b9be3027c35f568f77b82f12d043c00c9f56e5a7fd7451b97c size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:02 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.1-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:02 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.1-dev.7 17:24:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 17:24:02 fb977cd76e38: Preparing 17:24:02 b7ec0ab89948: Preparing 17:24:02 a7bf49b078b9: Preparing 17:24:02 a79980ad8a1f: Preparing 17:24:02 f3006ad7dc74: Preparing 17:24:02 f73e7dbfee58: Preparing 17:24:02 f73e7dbfee58: Waiting 17:24:02 f3006ad7dc74: Layer already exists 17:24:02 fb977cd76e38: Layer already exists 17:24:02 a79980ad8a1f: Layer already exists 17:24:02 b7ec0ab89948: Layer already exists 17:24:02 a7bf49b078b9: Layer already exists 17:24:03 f73e7dbfee58: Layer already exists 17:24:03 2.2.1-dev.7: digest: sha256:6edd6f5ec0f263b9be3027c35f568f77b82f12d043c00c9f56e5a7fd7451b97c size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:03 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:244b59a475c78f58285a57e1d616d41d185ebc19-2.2.1-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:03 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:244b59a475c78f58285a57e1d616d41d185ebc19-2.2.1-dev.7 17:24:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 17:24:03 fb977cd76e38: Preparing 17:24:03 b7ec0ab89948: Preparing 17:24:03 a7bf49b078b9: Preparing 17:24:03 a79980ad8a1f: Preparing 17:24:03 f3006ad7dc74: Preparing 17:24:03 f73e7dbfee58: Preparing 17:24:03 f73e7dbfee58: Waiting 17:24:03 f3006ad7dc74: Layer already exists 17:24:03 b7ec0ab89948: Layer already exists 17:24:03 fb977cd76e38: Layer already exists 17:24:03 a79980ad8a1f: Layer already exists 17:24:03 a7bf49b078b9: Layer already exists 17:24:04 f73e7dbfee58: Layer already exists 17:24:04 244b59a475c78f58285a57e1d616d41d185ebc19-2.2.1-dev.7: digest: sha256:6edd6f5ec0f263b9be3027c35f568f77b82f12d043c00c9f56e5a7fd7451b97c size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:04 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:04 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 17:24:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 17:24:04 fb977cd76e38: Preparing 17:24:04 b7ec0ab89948: Preparing 17:24:04 a7bf49b078b9: Preparing 17:24:04 a79980ad8a1f: Preparing 17:24:04 f3006ad7dc74: Preparing 17:24:04 f73e7dbfee58: Preparing 17:24:04 f73e7dbfee58: Waiting 17:24:04 a79980ad8a1f: Layer already exists 17:24:04 b7ec0ab89948: Layer already exists 17:24:04 f3006ad7dc74: Layer already exists 17:24:04 fb977cd76e38: Layer already exists 17:24:04 a7bf49b078b9: Layer already exists 17:24:04 f73e7dbfee58: Layer already exists 17:24:05 main: digest: sha256:6edd6f5ec0f263b9be3027c35f568f77b82f12d043c00c9f56e5a7fd7451b97c size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:24:05 ===================================================== [Pipeline] echo 17:24:05 taggedImages: 17:24:05 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:244b59a475c78f58285a57e1d616d41d185ebc19 17:24:05 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 17:24:05 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.1-dev.7 17:24:05 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:244b59a475c78f58285a57e1d616d41d185ebc19-2.2.1-dev.7 17:24:05 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:24:05 17:24:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:24:06 arm64: Pulling from edgex-lftools-log-publisher 17:24:06 8998bd30e6a1: Pulling fs layer 17:24:06 04944245beec: Pulling fs layer 17:24:06 699f458cf7ca: Pulling fs layer 17:24:06 765212b225bb: Pulling fs layer 17:24:06 f23df028b6ca: Pulling fs layer 17:24:06 d65c8cfc05b1: Pulling fs layer 17:24:06 2437ff75d9bd: Pulling fs layer 17:24:06 765212b225bb: Waiting 17:24:06 f23df028b6ca: Waiting 17:24:06 d65c8cfc05b1: Waiting 17:24:06 2437ff75d9bd: Waiting 17:24:06 04944245beec: Verifying Checksum 17:24:06 04944245beec: Download complete 17:24:06 765212b225bb: Verifying Checksum 17:24:06 765212b225bb: Download complete 17:24:06 f23df028b6ca: Verifying Checksum 17:24:06 f23df028b6ca: Download complete 17:24:06 d65c8cfc05b1: Verifying Checksum 17:24:06 d65c8cfc05b1: Download complete 17:24:06 699f458cf7ca: Verifying Checksum 17:24:06 699f458cf7ca: Download complete 17:24:06 8998bd30e6a1: Verifying Checksum 17:24:06 8998bd30e6a1: Download complete 17:24:09 2437ff75d9bd: Verifying Checksum 17:24:09 2437ff75d9bd: Download complete 17:24:11 8998bd30e6a1: Pull complete 17:24:11 04944245beec: Pull complete 17:24:13 699f458cf7ca: Pull complete 17:24:13 765212b225bb: Pull complete 17:24:14 f23df028b6ca: Pull complete 17:24:14 d65c8cfc05b1: Pull complete 17:24:29 2437ff75d9bd: Pull complete 17:24:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:24:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:24:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:24:29 prd-ubuntu20.04-docker-arm64-4c-16g-20499 does not seem to be running inside a container 17:24:29 $ 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/46 -v /w/workspace/device-modbus-go/46:/w/workspace/device-modbus-go/46:rw,z -v /w/workspace/device-modbus-go/46@tmp:/w/workspace/device-modbus-go/46@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:24:32 $ docker top 40097c14c829eff7cef0ee2bc9c7b51aabf9a4f7bf35948252d7fed780f1b9aa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:24:33 ---> job-cost.sh 17:24:33 lf-activate-venv: SKIPPING 17:24:33 INFO: No Stack... 17:24:34 INFO: Retrieving Pricing Info for: v3-standard-4 17:24:35 INFO: Archiving Costs [Pipeline] sh 17:24:36 + cat /w/workspace/device-modbus-go/46/archives/cost.csv 17:24:36 + cut -d, -f6 [Pipeline] lock 17:24:36 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-46-stack-cost] 17:24:36 Resource [jenkins-edgexfoundry-device-modbus-go-main-46-stack-cost] did not exist. Created. 17:24:36 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-46-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:24:36 /w/workspace/device-modbus-go/46@tmp/durable-5439c21a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:24:37 + echo total: 0.10999999940395355 [Pipeline] stash 17:24:37 Warning: overwriting stash ‘stack-cost’ 17:24:37 Stashed 1 file(s) [Pipeline] } 17:24:37 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-46-stack-cost] [Pipeline] // lock [Pipeline] } 17:24:37 $ docker stop --time=1 40097c14c829eff7cef0ee2bc9c7b51aabf9a4f7bf35948252d7fed780f1b9aa 17:24:39 $ docker rm -f 40097c14c829eff7cef0ee2bc9c7b51aabf9a4f7bf35948252d7fed780f1b9aa [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 17:24:39 provisioning config files... 17:24:39 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config826748168750632028tmp [Pipeline] { [Pipeline] sh 17:24:39 + set +x 17:24:39 + + bashcurl -s -s -- https://codecov.io/bash 17:24:39 17:24:39 17:24:39 _____ _ 17:24:39 / ____| | | 17:24:39 | | ___ __| | ___ ___ _____ __ 17:24:39 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:24:39 | |___| (_) | (_| | __/ (_| (_) \ V / 17:24:39 \_____\___/ \__,_|\___|\___\___/ \_/ 17:24:39 Bash-1.0.6 17:24:39 17:24:39 17:24:39 ==> git version 2.25.1 found 17:24:39 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 17:24:39 Release-Date: 2020-01-08 17:24:39 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:24:39 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:24:39 ==> Jenkins CI detected. 17:24:39 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 17:24:39 project root: . 17:24:39 --> token set from env 17:24:39 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:24:39 ==> Running gcov in . (disable via -X gcov) 17:24:39 ==> Python coveragepy not found 17:24:39 ==> Searching for coverage reports in: 17:24:39 + . 17:24:39 -> Found 1 reports 17:24:39 ==> Detecting git/mercurial file structure 17:24:39 ==> Reading reports 17:24:39 + ./coverage.out bytes=24065 17:24:39 ==> Appending adjustments 17:24:39 https://docs.codecov.io/docs/fixing-reports 17:24:40 + Found adjustments 17:24:40 ==> Gzipping contents 17:24:40 4.0K /tmp/codecov.FCgm4W.gz 17:24:40 ==> Uploading reports 17:24:40 url: https://codecov.io 17:24:40 query: branch=main&commit=244b59a475c78f58285a57e1d616d41d185ebc19&build=46&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F46%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:24:40 -> Pinging Codecov 17:24:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=main&commit=244b59a475c78f58285a57e1d616d41d185ebc19&build=46&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F46%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:24:40 -> Uploading to 17:24:40 https://storage.googleapis.com/codecov/v4/raw/2022-07-19/55DBCA73C666E3227836607328DD7E49/244b59a475c78f58285a57e1d616d41d185ebc19/18a4906d-c3cd-41a6-a87b-ca72f04449cf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220719%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220719T172440Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2d3316d06109346a8df2adc8578da7228c2180b6f5e731062715f3479f6d9dbf 17:24:40 % Total % Received % Xferd Average Speed Time Time Time Current 17:24:40 Dload Upload Total Spent Left Speed 17:24:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4044 0 0 100 4044 0 18216 --:--:-- --:--:-- --:--:-- 18134 100 4044 0 0 100 4044 0 14289 --:--:-- --:--:-- --:--:-- 14239 17:24:40 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/244b59a475c78f58285a57e1d616d41d185ebc19 [Pipeline] } 17:24:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:24:40 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:24:40 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:24:41 17:24:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:24:41 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:24:41 df9b9388f04a: Pulling fs layer 17:24:41 52dc419b0ee2: Pulling fs layer 17:24:41 25bc292e5bac: Pulling fs layer 17:24:41 114826534d7a: Pulling fs layer 17:24:41 4657fd5d0bcf: Pulling fs layer 17:24:41 6ad1cebc031e: Pulling fs layer 17:24:41 8a3aa393b2d8: Pulling fs layer 17:24:41 4657fd5d0bcf: Waiting 17:24:41 8a3aa393b2d8: Waiting 17:24:41 6ad1cebc031e: Waiting 17:24:41 25bc292e5bac: Verifying Checksum 17:24:41 25bc292e5bac: Download complete 17:24:41 52dc419b0ee2: Verifying Checksum 17:24:41 52dc419b0ee2: Download complete 17:24:41 4657fd5d0bcf: Verifying Checksum 17:24:41 4657fd5d0bcf: Download complete 17:24:41 df9b9388f04a: Verifying Checksum 17:24:41 df9b9388f04a: Download complete 17:24:41 df9b9388f04a: Pull complete 17:24:41 6ad1cebc031e: Verifying Checksum 17:24:41 6ad1cebc031e: Download complete 17:24:41 52dc419b0ee2: Pull complete 17:24:41 25bc292e5bac: Pull complete 17:24:42 114826534d7a: Download complete 17:24:42 8a3aa393b2d8: Verifying Checksum 17:24:42 8a3aa393b2d8: Download complete 17:24:46 114826534d7a: Pull complete 17:24:46 4657fd5d0bcf: Pull complete 17:24:46 6ad1cebc031e: Pull complete 17:24:49 8a3aa393b2d8: Pull complete 17:24:49 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:24:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:24:49 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:24:49 prd-ubuntu20.04-docker-8c-8g-20495 does not seem to be running inside a container 17:24:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 17:24:51 $ docker top d812b5644a8b60a1421caeead6f34dc5e8e16db512c233ca2cc2235d4098c7f0 -eo pid,comm [Pipeline] { [Pipeline] echo 17:24:51 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 17:24:51 + set -o pipefail 17:24:51 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 17:24:58 17:24:58 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 17:24:58 17:24:58 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/f755a19d-49cf-4e18-b254-c1f815e30b81 17:24:58 17:24:58 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 17:24:58 17:24:58 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:24:58 17:24:58 [Pipeline] } 17:24:58 $ docker stop --time=1 d812b5644a8b60a1421caeead6f34dc5e8e16db512c233ca2cc2235d4098c7f0 17:25:00 $ docker rm -f d812b5644a8b60a1421caeead6f34dc5e8e16db512c233ca2cc2235d4098c7f0 [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 17:25:00 + git log --format=format:%s -1 244b59a475c78f58285a57e1d616d41d185ebc19 [Pipeline] sh 17:25:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:25:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:25:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:25:01 prd-ubuntu20.04-docker-8c-8g-20495 does not seem to be running inside a container 17:25:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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/py-git-semver:0.1.4 cat 17:25:02 $ docker top 38c2d7ab7f3f3af4f6380c652c47f11aa327f2a702cf65cdd98ebdd7332712ac -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:25:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:25:02 [ssh-agent] Looking for ssh-agent implementation... 17:25:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:25:02 $ docker exec 38c2d7ab7f3f3af4f6380c652c47f11aa327f2a702cf65cdd98ebdd7332712ac ssh-agent 17:25:02 SSH_AUTH_SOCK=/tmp/ssh-jAy3mrSkcgD8/agent.34 17:25:02 SSH_AGENT_PID=40 17:25:02 Running ssh-add (command line suppressed) 17:25:02 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8058663068353194179.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8058663068353194179.key) 17:25:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:25:03 + git semver tag 17:25:03 2022-07-19 17:25:03,215 [run_tag] DEBUG tag force:False 17:25:03 2022-07-19 17:25:03,216 [check_head_tag] DEBUG check head tag 17:25:03 2022-07-19 17:25:03,216 [execute] INFO git cat-file --batch-check 17:25:03 2022-07-19 17:25:03,217 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 17:25:03 2022-07-19 17:25:03,221 [execute] INFO git cat-file --batch 17:25:03 2022-07-19 17:25:03,222 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 17:25:03 2022-07-19 17:25:03,232 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 17:25:03 2022-07-19 17:25:03,232 [execute] INFO git tag -a v2.2.1-dev.7 -m v2.2.1-dev.7 17:25:03 2022-07-19 17:25:03,232 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.7', '-m', 'v2.2.1-dev.7'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 17:25:03 2022-07-19 17:25:03,238 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 17:25:03 2.2.1-dev.7 [Pipeline] } 17:25:03 $ docker exec --env ******** --env ******** 38c2d7ab7f3f3af4f6380c652c47f11aa327f2a702cf65cdd98ebdd7332712ac ssh-agent -k 17:25:03 unset SSH_AUTH_SOCK; 17:25:03 unset SSH_AGENT_PID; 17:25:03 echo Agent pid 40 killed; 17:25:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:25:03 + git semver [Pipeline] } 17:25:03 $ docker stop --time=1 38c2d7ab7f3f3af4f6380c652c47f11aa327f2a702cf65cdd98ebdd7332712ac 17:25:05 $ docker rm -f 38c2d7ab7f3f3af4f6380c652c47f11aa327f2a702cf65cdd98ebdd7332712ac [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:25:05 17:25:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:25:05 0.23.1-centos7: Pulling from edgex-lftools 17:25:05 ab5ef0e58194: Pulling fs layer 17:25:05 9712f1f96733: Pulling fs layer 17:25:05 63f879dbbcfc: Pulling fs layer 17:25:05 0d9ebad4ef96: Pulling fs layer 17:25:05 e9a5061849ea: Pulling fs layer 17:25:05 d747dcd14b5f: Pulling fs layer 17:25:05 2de7ff778b66: Pulling fs layer 17:25:05 0d9ebad4ef96: Waiting 17:25:05 e9a5061849ea: Waiting 17:25:05 d747dcd14b5f: Waiting 17:25:05 2de7ff778b66: Waiting 17:25:05 9712f1f96733: Verifying Checksum 17:25:05 9712f1f96733: Download complete 17:25:06 63f879dbbcfc: Verifying Checksum 17:25:06 63f879dbbcfc: Download complete 17:25:06 e9a5061849ea: Verifying Checksum 17:25:06 e9a5061849ea: Download complete 17:25:06 ab5ef0e58194: Verifying Checksum 17:25:06 ab5ef0e58194: Download complete 17:25:06 0d9ebad4ef96: Verifying Checksum 17:25:06 0d9ebad4ef96: Download complete 17:25:06 d747dcd14b5f: Download complete 17:25:06 2de7ff778b66: Verifying Checksum 17:25:06 2de7ff778b66: Download complete 17:25:09 ab5ef0e58194: Pull complete 17:25:09 9712f1f96733: Pull complete 17:25:10 63f879dbbcfc: Pull complete 17:25:14 0d9ebad4ef96: Pull complete 17:25:14 e9a5061849ea: Pull complete 17:25:14 d747dcd14b5f: Pull complete 17:25:15 2de7ff778b66: Pull complete 17:25:15 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:25:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:25:15 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:25:15 prd-ubuntu20.04-docker-8c-8g-20495 does not seem to be running inside a container 17:25:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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:0.23.1-centos7 cat 17:25:17 $ docker top 52332c6068a1bf9980253cdbf22d24808e41e5aeb22b34917fb2aa4650133991 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:25:17 provisioning config files... 17:25:17 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1354652867311912288tmp 17:25:17 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6917386532348914036tmp 17:25:17 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8897117592353965960tmp [Pipeline] { [Pipeline] echo 17:25:17 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:25:17 ---> sigul-configuration.sh 17:25:17 gpg: directory `/root/.gnupg' created 17:25:17 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:25:17 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:25:17 gpg: keyring `/root/.gnupg/secring.gpg' created 17:25:17 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:25:17 gpg: CAST5 encrypted data 17:25:17 gpg: encrypted with 1 passphrase 17:25:17 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:25:18 + mkdir /home/jenkins 17:25:18 + mkdir /home/jenkins/sigul [Pipeline] sh 17:25:18 + 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 17:25:18 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:25:18 ---> sigul-install.sh 17:25:18 Sigul already installed; skipping installation. [Pipeline] sh 17:25:19 + git tag --list 17:25:19 0.7.1 17:25:19 v1.0.0 17:25:19 v1.1.0 17:25:19 v1.1.1 17:25:19 v1.2.2 17:25:19 v1.3.0 17:25:19 v1.3.1 17:25:19 v2.0.0 17:25:19 v2.1.0 17:25:19 v2.1.1 17:25:19 v2.1.1-dev.1 17:25:19 v2.1.1-dev.2 17:25:19 v2.1.1-dev.3 17:25:19 v2.2.0 17:25:19 v2.2.1-dev.1 17:25:19 v2.2.1-dev.2 17:25:19 v2.2.1-dev.3 17:25:19 v2.2.1-dev.4 17:25:19 v2.2.1-dev.5 17:25:19 v2.2.1-dev.6 17:25:19 v2.2.1-dev.7 [Pipeline] sh 17:25:19 + lftools sign git-tag v2.2.1-dev.7 17:25:19 Signing Git tag with Sigul... 17:25:19 Signing v2.2.1-dev.7 [Pipeline] echo 17:25:20 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:25:20 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:25:20 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:25:20 $ docker stop --time=1 52332c6068a1bf9980253cdbf22d24808e41e5aeb22b34917fb2aa4650133991 17:25:21 $ docker rm -f 52332c6068a1bf9980253cdbf22d24808e41e5aeb22b34917fb2aa4650133991 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:25:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:25:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:25:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:25:22 prd-ubuntu20.04-docker-8c-8g-20495 does not seem to be running inside a container 17:25:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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/py-git-semver:0.1.4 cat 17:25:23 $ docker top d553e52815716c5c7e740f30282352476686d26c81aac7843cd7a4848a0a54b8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:25:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:25:23 [ssh-agent] Looking for ssh-agent implementation... 17:25:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:25:23 $ docker exec d553e52815716c5c7e740f30282352476686d26c81aac7843cd7a4848a0a54b8 ssh-agent 17:25:23 SSH_AUTH_SOCK=/tmp/ssh-OL9ISisK5aIm/agent.34 17:25:23 SSH_AGENT_PID=41 17:25:23 Running ssh-add (command line suppressed) 17:25:23 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8508232143469269744.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8508232143469269744.key) 17:25:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:25:23 + git semver bump pre 17:25:24 2022-07-19 17:25:24,172 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 17:25:24 2022-07-19 17:25:24,172 [bump_version] DEBUG bumping version:2.2.1-dev.7 on axis:pre with prefix:dev 17:25:24 2022-07-19 17:25:24,172 [bump_version] DEBUG bumped version:2.2.1-dev.8 17:25:24 2022-07-19 17:25:24,172 [write_version] DEBUG write version:2.2.1-dev.8 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 17:25:24 2022-07-19 17:25:24,172 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 17:25:24 2022-07-19 17:25:24,172 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 17:25:24 2022-07-19 17:25:24,174 [execute] INFO git cat-file --batch-check 17:25:24 2022-07-19 17:25:24,174 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:25:24 2022-07-19 17:25:24,180 [execute] INFO git cat-file --batch 17:25:24 2022-07-19 17:25:24,180 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:25:24 2022-07-19 17:25:24,185 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 17:25:24 2.2.1-dev.8 [Pipeline] } 17:25:24 $ docker exec --env ******** --env ******** d553e52815716c5c7e740f30282352476686d26c81aac7843cd7a4848a0a54b8 ssh-agent -k 17:25:24 unset SSH_AUTH_SOCK; 17:25:24 unset SSH_AGENT_PID; 17:25:24 echo Agent pid 41 killed; 17:25:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:25:24 + git semver [Pipeline] } 17:25:24 $ docker stop --time=1 d553e52815716c5c7e740f30282352476686d26c81aac7843cd7a4848a0a54b8 17:25:26 $ docker rm -f d553e52815716c5c7e740f30282352476686d26c81aac7843cd7a4848a0a54b8 [Pipeline] // withDockerContainer [Pipeline] sh 17:25:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:25:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:25:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:25:26 prd-ubuntu20.04-docker-8c-8g-20495 does not seem to be running inside a container 17:25:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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/py-git-semver:0.1.4 cat 17:25:27 $ docker top 4ef3fe9744b87e7b23284a1854c08a3c55d16f0075ef83e0d84d68f384f18b21 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:25:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:25:27 [ssh-agent] Looking for ssh-agent implementation... 17:25:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:25:27 $ docker exec 4ef3fe9744b87e7b23284a1854c08a3c55d16f0075ef83e0d84d68f384f18b21 ssh-agent 17:25:27 SSH_AUTH_SOCK=/tmp/ssh-DL8GYZsrBCHc/agent.34 17:25:27 SSH_AGENT_PID=41 17:25:27 Running ssh-add (command line suppressed) 17:25:27 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6206659909155914880.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6206659909155914880.key) 17:25:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:25:28 + git semver push 17:25:28 2022-07-19 17:25:28,387 [run_push] DEBUG push 17:25:28 2022-07-19 17:25:28,387 [execute] INFO git cat-file --batch-check 17:25:28 2022-07-19 17:25:28,388 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:25:28 2022-07-19 17:25:28,392 [execute] INFO git rev-list d225dab3cc8c486f0f92861fd7f5dc8a7719c8db -- 17:25:28 2022-07-19 17:25:28,392 [execute] DEBUG Popen(['git', 'rev-list', 'd225dab3cc8c486f0f92861fd7f5dc8a7719c8db', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 17:25:28 2022-07-19 17:25:28,398 [execute] INFO git fetch -v origin 17:25:28 2022-07-19 17:25:28,398 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 17:25:29 2022-07-19 17:25:28,888 [run_push] DEBUG no remote changes detected 17:25:29 2022-07-19 17:25:28,889 [execute] INFO git push origin semver 17:25:29 2022-07-19 17:25:28,889 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 17:25:29 2022-07-19 17:25:29,629 [run_push] DEBUG push all version tags 17:25:29 2022-07-19 17:25:29,630 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:25:29 2022-07-19 17:25:29,630 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 17:25:30 2022-07-19 17:25:30,311 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 17:25:30 2.2.1-dev.8 [Pipeline] } 17:25:30 $ docker exec --env ******** --env ******** 4ef3fe9744b87e7b23284a1854c08a3c55d16f0075ef83e0d84d68f384f18b21 ssh-agent -k 17:25:30 unset SSH_AUTH_SOCK; 17:25:30 unset SSH_AGENT_PID; 17:25:30 echo Agent pid 41 killed; 17:25:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:25:30 + git semver [Pipeline] } 17:25:31 $ docker stop --time=1 4ef3fe9744b87e7b23284a1854c08a3c55d16f0075ef83e0d84d68f384f18b21 17:25:32 $ docker rm -f 4ef3fe9744b87e7b23284a1854c08a3c55d16f0075ef83e0d84d68f384f18b21 [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 17:25:33 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 17:25:33 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 17:25:33 total 16 17:25:33 drwxr-xr-x 3 root root 4096 Jul 19 17:15 . 17:25:33 drwxrwxr-x 11 jenkins jenkins 4096 Jul 19 17:25 .. 17:25:33 drwxr-xr-x 2 root root 4096 Jul 19 17:15 cost 17:25:33 -rw-r--r-- 1 root root 86 Jul 19 17:15 cost.csv 17:25:33 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 17:25:33 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 17:25:33 total 16 17:25:33 drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 17:15 . 17:25:33 drwxrwxr-x 11 jenkins jenkins 4096 Jul 19 17:25 .. 17:25:33 drwxr-xr-x 2 jenkins jenkins 4096 Jul 19 17:15 cost 17:25:33 -rw-r--r-- 1 jenkins jenkins 86 Jul 19 17:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:25:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:25:34 ---> package-listing.sh 17:25:34 ++ facter osfamily 17:25:34 ++ tr '[:upper:]' '[:lower:]' 17:25:34 + OS_FAMILY=debian 17:25:34 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 17:25:34 + START_PACKAGES=/tmp/packages_start.txt 17:25:34 + END_PACKAGES=/tmp/packages_end.txt 17:25:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:25:34 + PACKAGES=/tmp/packages_start.txt 17:25:34 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 17:25:34 + PACKAGES=/tmp/packages_end.txt 17:25:34 + case "${OS_FAMILY}" in 17:25:34 + dpkg -l 17:25:34 + grep '^ii' 17:25:34 + '[' -f /tmp/packages_start.txt ']' 17:25:34 + '[' -f /tmp/packages_end.txt ']' 17:25:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:25:34 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 17:25:34 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 17:25:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 17:25:34 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:25:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:25:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:25:35 prd-ubuntu20.04-docker-8c-8g-20495 does not seem to be running inside a container 17:25:35 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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:latest cat 17:25:35 $ docker top 6026e599ee171b198b4f090034d08041baa135ee0a8ab9b8af58bfd502543a60 -eo pid,comm [Pipeline] { [Pipeline] sh 17:25:36 + touch /tmp/pre-build-complete [Pipeline] sh 17:25:36 + mkdir -p /var/log/sysstat [Pipeline] sh 17:25:36 + ls /var/log/sa-host 17:25:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:25:36 provisioning config files... 17:25:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5066985517311176751tmp [Pipeline] { [Pipeline] echo 17:25:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:25:37 ---> create-netrc.sh [Pipeline] } 17:25:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:25:37 ---> python-tools-install.sh [Pipeline] echo 17:25:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:25:37 ---> sudo-logs.sh 17:25:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:25:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:25:38 ---> job-cost.sh 17:25:38 lf-activate-venv: SKIPPING 17:25:38 DEBUG: total: 0.2199999988079071 17:25:38 INFO: Retrieving Stack Cost... 17:25:38 INFO: Retrieving Pricing Info for: v3-standard-8 17:25:38 INFO: Archiving Costs [Pipeline] echo 17:25:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:25:39 ---> logs-deploy.sh 17:25:39 lf-activate-venv: SKIPPING 17:25:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/46 17:25:39 INFO: archiving workspace using pattern(s): 17:25:40 Archives upload complete. 17:25:40 INFO: archiving logs to Nexus 17:25:41 ---> uname -a: 17:25:41 Linux prd-ubuntu20-04-docker-8c-8g-20495 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 17:25:41 17:25:41 17:25:41 ---> lscpu: 17:25:41 Architecture: x86_64 17:25:41 CPU op-mode(s): 32-bit, 64-bit 17:25:41 Byte Order: Little Endian 17:25:41 Address sizes: 40 bits physical, 48 bits virtual 17:25:41 CPU(s): 8 17:25:41 On-line CPU(s) list: 0-7 17:25:41 Thread(s) per core: 1 17:25:41 Core(s) per socket: 1 17:25:41 Socket(s): 8 17:25:41 NUMA node(s): 1 17:25:41 Vendor ID: AuthenticAMD 17:25:41 CPU family: 23 17:25:41 Model: 49 17:25:41 Model name: AMD EPYC-Rome Processor 17:25:41 Stepping: 0 17:25:41 CPU MHz: 2799.998 17:25:41 BogoMIPS: 5599.99 17:25:41 Virtualization: AMD-V 17:25:41 Hypervisor vendor: KVM 17:25:41 Virtualization type: full 17:25:41 L1d cache: 256 KiB 17:25:41 L1i cache: 256 KiB 17:25:41 L2 cache: 4 MiB 17:25:41 L3 cache: 128 MiB 17:25:41 NUMA node0 CPU(s): 0-7 17:25:41 Vulnerability Itlb multihit: Not affected 17:25:41 Vulnerability L1tf: Not affected 17:25:41 Vulnerability Mds: Not affected 17:25:41 Vulnerability Meltdown: Not affected 17:25:41 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 17:25:41 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 17:25:41 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 17:25:41 Vulnerability Srbds: Not affected 17:25:41 Vulnerability Tsx async abort: Not affected 17:25:41 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 rep_good nopl cpuid extd_apicid tsc_known_freq 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 ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 17:25:41 17:25:41 17:25:41 ---> nproc: 17:25:41 8 17:25:41 17:25:41 17:25:41 ---> df -h: 17:25:41 Filesystem Size Used Avail Use% Mounted on 17:25:41 overlay 155G 12G 143G 8% / 17:25:41 tmpfs 64M 0 64M 0% /dev 17:25:41 tmpfs 16G 0 16G 0% /sys/fs/cgroup 17:25:41 shm 64M 0 64M 0% /dev/shm 17:25:41 /dev/vda1 155G 12G 143G 8% /facter-os 17:25:41 17:25:41 17:25:41 ---> sar -b -r -n DEV: 17:25:41 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-20495) 07/19/22 _x86_64_ (8 CPU) 17:25:41 17:25:41 17:13:00 LINUX RESTART (8 CPU) 17:25:41 17:25:41 17:14:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 17:25:41 17:15:01 205.81 1.57 204.25 0.00 21.99 62197.13 0.00 17:25:41 17:16:01 121.78 0.10 121.68 0.00 13.73 33282.45 0.00 17:25:41 17:17:01 1.38 0.02 1.37 0.00 0.13 16.28 0.00 17:25:41 17:18:01 1.87 0.00 1.87 0.00 0.00 23.19 0.00 17:25:41 17:19:01 0.98 0.02 0.97 0.00 0.13 11.60 0.00 17:25:41 17:20:01 1.50 0.00 1.50 0.00 0.00 17.73 0.00 17:25:41 17:21:01 1.02 0.00 1.02 0.00 0.00 12.13 0.00 17:25:41 17:22:01 1.20 0.00 1.20 0.00 0.00 14.66 0.00 17:25:41 17:23:01 0.97 0.00 0.97 0.00 0.00 11.46 0.00 17:25:41 17:24:01 1.67 0.00 1.67 0.00 0.00 23.86 0.00 17:25:41 17:25:01 58.23 0.27 57.96 0.00 15.19 34987.40 0.00 17:25:41 Average: 36.04 0.18 35.86 0.00 4.65 11872.93 0.00 17:25:41 17:25:41 17:14:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 17:25:41 17:15:01 28289388 31632936 656892 2.00 161588 3386840 2361524 6.96 1368224 2766328 5700 17:25:41 17:16:01 27695984 31768052 522500 1.59 171696 4052796 1846128 5.44 1282328 3393924 172 17:25:41 17:17:01 27695856 31768184 521804 1.59 171732 4052796 1846128 5.44 1282856 3393928 192 17:25:41 17:18:01 27703148 31775692 514356 1.56 171772 4052808 1846128 5.44 1275044 3394096 44 17:25:41 17:19:01 27703028 31775660 514272 1.56 171796 4052816 1846128 5.44 1275288 3394108 16 17:25:41 17:20:01 27704596 31777232 512660 1.56 171836 4052816 1846128 5.44 1273464 3394108 16 17:25:41 17:21:01 27708192 31780968 508892 1.55 171884 4052820 1846128 5.44 1270284 3394188 8 17:25:41 17:22:01 27708176 31780964 508812 1.55 171912 4052824 1846128 5.44 1270168 3394192 188 17:25:41 17:23:01 27708200 31781052 508768 1.55 171936 4052816 1846128 5.44 1269836 3394196 12 17:25:41 17:24:01 27708368 31781248 508736 1.55 171968 4052804 1846128 5.44 1270204 3394180 12 17:25:41 17:25:01 26895240 31748552 540028 1.64 194844 4756900 2043696 6.02 1365332 4060008 224 17:25:41 Average: 27683652 31760958 528884 1.61 172997 4056276 1910943 5.63 1291184 3397569 599 17:25:41 17:25:41 17:14:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 17:25:41 17:15:01 lo 0.27 0.27 0.03 0.03 0.00 0.00 0.00 0.00 17:25:41 17:15:01 veth5377afc 0.03 0.15 0.00 0.01 0.00 0.00 0.00 0.00 17:25:41 17:15:01 docker0 109.66 133.52 8.65 1097.31 0.00 0.00 0.00 0.00 17:25:41 17:15:01 ens3 211.66 164.36 1147.50 78.66 0.00 0.00 0.00 0.00 17:25:41 17:16:01 lo 7.80 7.80 0.76 0.76 0.00 0.00 0.00 0.00 17:25:41 17:16:01 docker0 5.67 8.02 0.33 51.63 0.00 0.00 0.00 0.00 17:25:41 17:16:01 ens3 198.00 152.81 2658.20 276.33 0.00 0.00 0.00 0.00 17:25:41 17:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:25:41 17:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:25:41 17:17:01 ens3 3.30 1.18 0.80 0.52 0.00 0.00 0.00 0.00 17:25:41 17:18:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:25:41 17:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:25:41 17:18:01 ens3 2.03 0.83 1.76 0.42 0.00 0.00 0.00 0.00 17:25:41 17:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:25:41 17:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:25:41 17:19:01 ens3 0.58 0.27 0.33 0.25 0.00 0.00 0.00 0.00 17:25:41 17:20:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:25:41 17:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:25:41 17:20:01 ens3 0.22 0.08 0.01 0.01 0.00 0.00 0.00 0.00 17:25:41 17:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:25:41 17:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:25:41 17:21:01 ens3 0.28 0.12 0.10 0.01 0.00 0.00 0.00 0.00 17:25:41 17:22:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:25:41 17:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:25:41 17:22:01 ens3 0.17 0.12 0.01 0.01 0.00 0.00 0.00 0.00 17:25:41 17:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:25:41 17:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:25:41 17:23:01 ens3 0.12 0.00 0.01 0.00 0.00 0.00 0.00 0.00 17:25:41 17:24:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:25:41 17:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:25:41 17:24:01 ens3 0.25 0.25 0.08 0.08 0.00 0.00 0.00 0.00 17:25:41 17:25:01 lo 1.07 1.07 0.10 0.10 0.00 0.00 0.00 0.00 17:25:41 17:25:01 docker0 40.12 48.98 3.46 684.67 0.00 0.00 0.00 0.00 17:25:41 17:25:01 ens3 222.79 143.72 4669.68 49.58 0.00 0.00 0.00 0.00 17:25:41 Average: lo 0.90 0.90 0.09 0.09 0.00 0.00 0.00 0.00 17:25:41 Average: docker0 14.13 17.32 1.13 166.70 0.00 0.00 0.00 0.00 17:25:41 Average: ens3 58.13 42.16 770.79 36.89 0.00 0.00 0.00 0.00 17:25:41 17:25:41