Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 614889a0cf4a23ea025e87d34781dd0af86a92c0 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-ssh3502077331340747534.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-ssh1038929088670801676.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-ssh6910881410330821359.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-ssh8203783737169245566.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 6e371aaf151bd5004dee8fa40be4413046746612 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-ssh6344050757647959878.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 6e371aaf151bd5004dee8fa40be4413046746612 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e371aaf151bd5004dee8fa40be4413046746612 # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.1" > 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-21590 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 Avoid second fetch Checking out Revision 614889a0cf4a23ea025e87d34781dd0af86a92c0 (main) 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 > 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 614889a0cf4a23ea025e87d34781dd0af86a92c0 # timeout=10 Commit message: "Merge pull request #365 from SE-I-T-Digital/refactor/cast-attributes" > git rev-list --no-walk 614ae84661cd4d2e63503d03981b6b7977916d03 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:09:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:09:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:09:48 ========================================================= 06:09:48 EdgeX Global Pipelines Version Info 06:09:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:09:49 ------------------- 06:09:49 stable info: 06:09:49 ------------------- 06:09:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:09:49 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 06:09:49 Message: update stable to v1.0.238 06:09:49 ------------------- 06:09:49 experimental info: 06:09:49 ------------------- 06:09:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:09:49 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 06:09:49 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:09:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 06:09:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 06:09:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:09:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:09:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:09:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 06:09:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:09:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:09:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:09:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:09:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:09:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 06:09:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:09:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:09:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:09:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:09:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:09:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:09:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:09:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:09:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:09:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:09:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:09:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:09:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:09:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:09:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:09:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:09:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:09:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:09:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 614889a0cf4a23ea025e87d34781dd0af86a92c0 [Pipeline] echo 06:09:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 614889a [Pipeline] echo 06:09:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:09:50 provisioning config files... 06:09:50 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9124957062027663706tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:09:50 ---> docker-login.sh 06:09:50 nexus3.edgexfoundry.org:10001 06:09:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:51 Configure a credential helper to remove this warning. See 06:09:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:51 06:09:51 Login Succeeded 06:09:51 nexus3.edgexfoundry.org:10002 06:09:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:51 Configure a credential helper to remove this warning. See 06:09:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:51 06:09:51 Login Succeeded 06:09:51 nexus3.edgexfoundry.org:10003 06:09:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:51 Configure a credential helper to remove this warning. See 06:09:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:51 06:09:51 Login Succeeded 06:09:51 nexus3.edgexfoundry.org:10004 06:09:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:51 Configure a credential helper to remove this warning. See 06:09:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:51 06:09:51 Login Succeeded 06:09:51 docker.io 06:09:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:52 Configure a credential helper to remove this warning. See 06:09:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:52 06:09:52 Login Succeeded 06:09:52 ---> docker-login.sh ends [Pipeline] } 06:09:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:09:52 + git rev-list -1 --merges 614889a0cf4a23ea025e87d34781dd0af86a92c0~1..614889a0cf4a23ea025e87d34781dd0af86a92c0 [Pipeline] echo 06:09:52 -----------> git rev-list -1 --merges 614889a0cf4a23ea025e87d34781dd0af86a92c0~1..614889a0cf4a23ea025e87d34781dd0af86a92c0 614889a0cf4a23ea025e87d34781dd0af86a92c0 06:09:52 614889a0cf4a23ea025e87d34781dd0af86a92c0 [false] [Pipeline] sh 06:09:52 + git log --format=format:%s -1 614889a0cf4a23ea025e87d34781dd0af86a92c0 [Pipeline] echo 06:09:53 ========================================================= 06:09:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:09:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:09:53 + git log --format=format:%s -1 614889a0cf4a23ea025e87d34781dd0af86a92c0 [Pipeline] echo 06:09:53 [semverPrep] GIT_COMMIT: 614889a0cf4a23ea025e87d34781dd0af86a92c0, Commit Message: Merge pull request #365 from SE-I-T-Digital/refactor/cast-attributes [Pipeline] echo 06:09:53 [semverPrep] This is not a build commit. [Pipeline] sh 06:09:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:09:53 + grep -v github /etc/ssh/ssh_known_hosts 06:09:53 + [ -e /tmp/ssh_known_hosts ] 06:09:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:09:53 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:09:53 + sudo tee -a /etc/ssh/ssh_known_hosts 06:09:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:09:54 06:09:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:09:54 0.1.4: Pulling from edgex-devops/py-git-semver 06:09:54 b85a868b505f: Pulling fs layer 06:09:54 e2be974225ed: Pulling fs layer 06:09:54 339a4e72a1f5: Pulling fs layer 06:09:54 988bab9f4d93: Pulling fs layer 06:09:54 1469e6f7b9e6: Pulling fs layer 06:09:54 eaf3925da568: Pulling fs layer 06:09:54 bab4dde63d76: Pulling fs layer 06:09:54 bde34c3a00c8: Pulling fs layer 06:09:54 b352a97aabf1: Pulling fs layer 06:09:54 4872d77fe225: Pulling fs layer 06:09:54 5851b861e8e6: Pulling fs layer 06:09:54 988bab9f4d93: Waiting 06:09:54 1469e6f7b9e6: Waiting 06:09:54 b352a97aabf1: Waiting 06:09:54 eaf3925da568: Waiting 06:09:54 bab4dde63d76: Waiting 06:09:54 4872d77fe225: Waiting 06:09:54 bde34c3a00c8: Waiting 06:09:54 5851b861e8e6: Waiting 06:09:54 e2be974225ed: Download complete 06:09:54 988bab9f4d93: Verifying Checksum 06:09:54 988bab9f4d93: Download complete 06:09:54 339a4e72a1f5: Verifying Checksum 06:09:54 339a4e72a1f5: Download complete 06:09:54 eaf3925da568: Download complete 06:09:54 1469e6f7b9e6: Verifying Checksum 06:09:54 1469e6f7b9e6: Download complete 06:09:54 bde34c3a00c8: Verifying Checksum 06:09:54 bde34c3a00c8: Download complete 06:09:54 b352a97aabf1: Verifying Checksum 06:09:54 b352a97aabf1: Download complete 06:09:54 4872d77fe225: Download complete 06:09:54 5851b861e8e6: Download complete 06:09:54 b85a868b505f: Verifying Checksum 06:09:54 b85a868b505f: Download complete 06:09:55 bab4dde63d76: Verifying Checksum 06:09:55 bab4dde63d76: Download complete 06:09:55 b85a868b505f: Pull complete 06:09:56 e2be974225ed: Pull complete 06:09:56 339a4e72a1f5: Pull complete 06:09:56 988bab9f4d93: Pull complete 06:09:57 1469e6f7b9e6: Pull complete 06:09:57 eaf3925da568: Pull complete 06:09:59 bab4dde63d76: Pull complete 06:09:59 bde34c3a00c8: Pull complete 06:09:59 b352a97aabf1: Pull complete 06:09:59 4872d77fe225: Pull complete 06:09:59 5851b861e8e6: Pull complete 06:09:59 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:09:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:09:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:09:59 prd-ubuntu20.04-docker-8c-8g-21590 does not seem to be running inside a container 06:09:59 $ 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 06:10:01 $ docker top a50191d284bc225db6babc13c290acb5244f7acd6b77aa49deb43b24a1ef3ba9 -eo pid,comm 06:10:01 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). 06:10:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:10:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:10:01 [ssh-agent] Looking for ssh-agent implementation... 06:10:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:10:01 $ docker exec a50191d284bc225db6babc13c290acb5244f7acd6b77aa49deb43b24a1ef3ba9 ssh-agent 06:10:01 SSH_AUTH_SOCK=/tmp/ssh-tIX7MPlYTahd/agent.32 06:10:01 SSH_AGENT_PID=38 06:10:01 Running ssh-add (command line suppressed) 06:10:01 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3310962567515262474.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3310962567515262474.key) 06:10:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:10:01 + git tag --points-at HEAD [Pipeline] } 06:10:01 $ docker exec --env ******** --env ******** a50191d284bc225db6babc13c290acb5244f7acd6b77aa49deb43b24a1ef3ba9 ssh-agent -k 06:10:01 unset SSH_AUTH_SOCK; 06:10:01 unset SSH_AGENT_PID; 06:10:01 echo Agent pid 38 killed; 06:10:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:10:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:10:02 [ssh-agent] Looking for ssh-agent implementation... 06:10:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:10:02 $ docker exec a50191d284bc225db6babc13c290acb5244f7acd6b77aa49deb43b24a1ef3ba9 ssh-agent 06:10:02 SSH_AUTH_SOCK=/tmp/ssh-jr7g7vvLuj52/agent.73 06:10:02 SSH_AGENT_PID=79 06:10:02 Running ssh-add (command line suppressed) 06:10:02 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8999568137231748965.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8999568137231748965.key) 06:10:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:10:02 + git semver init 06:10:02 2022-07-31 06:10:02,888 [run_init] DEBUG init version:0.0.0 force:False 06:10:02 2022-07-31 06:10:02,889 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 06:10:02 2022-07-31 06:10:02,889 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 06:10:02 2022-07-31 06:10:02,890 [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) 06:10:03 2022-07-31 06:10:03,602 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 06:10:03 2022-07-31 06:10:03,602 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 06:10:03 2022-07-31 06:10:03,602 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:10:03 2022-07-31 06:10:03,602 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:10:03 2.3.0-dev.9 [Pipeline] } 06:10:03 $ docker exec --env ******** --env ******** a50191d284bc225db6babc13c290acb5244f7acd6b77aa49deb43b24a1ef3ba9 ssh-agent -k 06:10:04 unset SSH_AUTH_SOCK; 06:10:04 unset SSH_AGENT_PID; 06:10:04 echo Agent pid 79 killed; 06:10:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:10:04 + git semver [Pipeline] } 06:10:04 $ docker stop --time=1 a50191d284bc225db6babc13c290acb5244f7acd6b77aa49deb43b24a1ef3ba9 06:10:06 $ docker rm -f a50191d284bc225db6babc13c290acb5244f7acd6b77aa49deb43b24a1ef3ba9 [Pipeline] // withDockerContainer [Pipeline] sh 06:10:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:10:06 Stashed 1 file(s) [Pipeline] echo 06:10:06 [edgeXSemver]: initialized semver on version 2.3.0-dev.9 [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 06:10:06 provisioning config files... 06:10:06 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5599516216625400071tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:10:07 ---> docker-login.sh 06:10:07 nexus3.edgexfoundry.org:10001 06:10:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:07 Configure a credential helper to remove this warning. See 06:10:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:07 06:10:07 Login Succeeded 06:10:07 nexus3.edgexfoundry.org:10002 06:10:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:07 Configure a credential helper to remove this warning. See 06:10:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:07 06:10:07 Login Succeeded 06:10:07 nexus3.edgexfoundry.org:10003 06:10:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:07 Configure a credential helper to remove this warning. See 06:10:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:07 06:10:07 Login Succeeded 06:10:07 nexus3.edgexfoundry.org:10004 06:10:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:07 Configure a credential helper to remove this warning. See 06:10:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:07 06:10:07 Login Succeeded 06:10:07 docker.io 06:10:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:07 Configure a credential helper to remove this warning. See 06:10:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:07 06:10:07 Login Succeeded 06:10:07 ---> docker-login.sh ends [Pipeline] } 06:10:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:10:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:10:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:10:07 ========================================================= 06:10:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 06:10:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:08 + 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 . 06:10:08 Sending build context to Docker daemon 6.099MB 06:10:08 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 06:10:08 Step 2/10 : FROM ${BASE} AS builder 06:10:08 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 06:10:08 2408cc74d12b: Pulling fs layer 06:10:08 ea60b727a1ce: Pulling fs layer 06:10:08 30c4a7721957: Pulling fs layer 06:10:08 370296b7ddb6: Pulling fs layer 06:10:08 7c6cee850709: Pulling fs layer 06:10:08 39a5fcdaea64: Pulling fs layer 06:10:08 d94ebbe4e438: Pulling fs layer 06:10:08 bcfd1f05c69d: Pulling fs layer 06:10:08 59ccb84bbe0f: Pulling fs layer 06:10:08 370296b7ddb6: Waiting 06:10:08 39a5fcdaea64: Waiting 06:10:08 d94ebbe4e438: Waiting 06:10:08 bcfd1f05c69d: Waiting 06:10:08 59ccb84bbe0f: Waiting 06:10:08 7c6cee850709: Waiting 06:10:08 30c4a7721957: Verifying Checksum 06:10:08 30c4a7721957: Download complete 06:10:08 ea60b727a1ce: Download complete 06:10:08 7c6cee850709: Download complete 06:10:08 39a5fcdaea64: Download complete 06:10:08 2408cc74d12b: Verifying Checksum 06:10:08 2408cc74d12b: Download complete 06:10:08 d94ebbe4e438: Verifying Checksum 06:10:08 d94ebbe4e438: Download complete 06:10:08 2408cc74d12b: Pull complete 06:10:08 ea60b727a1ce: Pull complete 06:10:08 30c4a7721957: Pull complete 06:10:08 59ccb84bbe0f: Verifying Checksum 06:10:08 59ccb84bbe0f: Download complete 06:10:09 bcfd1f05c69d: Download complete 06:10:09 370296b7ddb6: Verifying Checksum 06:10:09 370296b7ddb6: Download complete 06:10:13 370296b7ddb6: Pull complete 06:10:13 7c6cee850709: Pull complete 06:10:13 39a5fcdaea64: Pull complete 06:10:13 d94ebbe4e438: Pull complete 06:10:14 bcfd1f05c69d: Pull complete 06:10:15 59ccb84bbe0f: Pull complete 06:10:15 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 06:10:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 06:10:15 ---> a4fb48ad2a94 06:10:15 Step 3/10 : ARG MAKE='make build' 06:10:18 ---> Running in 5df2504d4dfd 06:10:19 Removing intermediate container 5df2504d4dfd 06:10:19 ---> 0a713d74ce3f 06:10:19 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:10:19 ---> Running in 10d6434edda4 06:10:19 Removing intermediate container 10d6434edda4 06:10:19 ---> 21e5ec0e84ac 06:10:19 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 06:10:19 ---> Running in 1320e2a62306 06:10:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:10:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:10:21 (1/8) Installing openssh-keygen (9.0_p1-r2) 06:10:21 (2/8) Installing libedit (20210910.3.1-r0) 06:10:21 (3/8) Installing openssh-client-common (9.0_p1-r2) 06:10:21 (4/8) Installing openssh-client-default (9.0_p1-r2) 06:10:21 Still waiting to schedule task 06:10:21 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:10:21 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 06:10:21 (6/8) Installing openssh-server-common (9.0_p1-r2) 06:10:21 (7/8) Installing openssh-server (9.0_p1-r2) 06:10:21 (8/8) Installing openssh (9.0_p1-r2) 06:10:21 Executing busybox-1.35.0-r13.trigger 06:10:21 OK: 217 MiB in 59 packages 06:10:22 Removing intermediate container 1320e2a62306 06:10:22 ---> 1e4a89f5632e 06:10:22 Step 6/10 : WORKDIR /device-modbus-go 06:10:22 ---> Running in b40fc25059e9 06:10:22 Removing intermediate container b40fc25059e9 06:10:22 ---> 90f96db7880f 06:10:22 Step 7/10 : COPY go.mod vendor* ./ 06:10:22 ---> 4a1889d491c6 06:10:22 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:10:22 ---> Running in 6ef4e6f49885 06:10:44 Removing intermediate container 6ef4e6f49885 06:10:44 ---> a72b79cf5acd 06:10:44 Step 9/10 : COPY . . 06:10:44 ---> e32241881054 06:10:44 Step 10/10 : RUN ${MAKE} 06:10:44 ---> Running in 010fd83301ac 06:10:44 noop 06:10:44 Removing intermediate container 010fd83301ac 06:10:44 ---> 6bba805379e6 06:10:44 Successfully built 6bba805379e6 06:10:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:44 + docker inspect -f . ci-base-image-x86_64 06:10:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:44 prd-ubuntu20.04-docker-8c-8g-21590 does not seem to be running inside a container 06:10:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/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 06:10:45 $ docker top 814f359e5be5b6ff9353e86f604b3693fd5b89f428b19a259ba5f72a366d6efa -eo pid,comm [Pipeline] { [Pipeline] sh 06:10:45 + go version 06:10:45 go version go1.18.3 linux/amd64 [Pipeline] } 06:10:45 $ docker stop --time=1 814f359e5be5b6ff9353e86f604b3693fd5b89f428b19a259ba5f72a366d6efa 06:10:46 $ docker rm -f 814f359e5be5b6ff9353e86f604b3693fd5b89f428b19a259ba5f72a366d6efa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:47 + docker inspect -f . ci-base-image-x86_64 06:10:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:47 prd-ubuntu20.04-docker-8c-8g-21590 does not seem to be running inside a container 06:10:47 $ 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 06:10:47 $ docker top 437d07a5f3c070842588fe6702d40fbcfeb1d2f38bbbdccc6cdaa9c78a93ff96 -eo pid,comm [Pipeline] { [Pipeline] sh 06:10:48 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 06:10:48 + make test 06:10:48 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:10:48 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:10:57 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:10:57 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 47.7% of statements 06:11:02 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." 06:11:02 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:11:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:11:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:11:05 ./bin/test-attribution-txt.sh [Pipeline] echo 06:11:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:11:05 $ docker stop --time=1 437d07a5f3c070842588fe6702d40fbcfeb1d2f38bbbdccc6cdaa9c78a93ff96 06:11:07 $ docker rm -f 437d07a5f3c070842588fe6702d40fbcfeb1d2f38bbbdccc6cdaa9c78a93ff96 [Pipeline] // withDockerContainer [Pipeline] sh 06:11:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:11:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:11:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:11:09 + ls -al . 06:11:09 total 184 06:11:09 drwxrwxr-x 10 jenkins jenkins 4096 Jul 31 06:10 . 06:11:09 drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 06:09 .. 06:11:09 -rw-rw-r-- 1 jenkins jenkins 140 Jul 31 06:09 .dockerignore 06:11:09 drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 06:10 .git 06:11:09 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 06:09 .github 06:11:09 -rw-rw-r-- 1 jenkins jenkins 331 Jul 31 06:09 .gitignore 06:11:09 -rw-rw-r-- 1 jenkins jenkins 41 Jul 31 06:09 .golangci.yml 06:11:09 drwxr-xr-x 3 jenkins jenkins 4096 Jul 31 06:10 .semver 06:11:09 -rw-rw-r-- 1 jenkins jenkins 9744 Jul 31 06:09 Attribution.txt 06:11:09 -rw-rw-r-- 1 jenkins jenkins 10001 Jul 31 06:09 CHANGELOG.md 06:11:09 -rw-rw-r-- 1 jenkins jenkins 1550 Jul 31 06:09 Dockerfile 06:11:09 -rw-rw-r-- 1 jenkins jenkins 677 Jul 31 06:09 GOVERNANCE.md 06:11:09 -rw-rw-r-- 1 jenkins jenkins 680 Jul 31 06:09 Jenkinsfile 06:11:09 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 31 06:09 LICENSE 06:11:09 -rw-rw-r-- 1 jenkins jenkins 1892 Jul 31 06:09 Makefile 06:11:09 -rw-rw-r-- 1 jenkins jenkins 622 Jul 31 06:09 OWNERS.md 06:11:09 -rw-rw-r-- 1 jenkins jenkins 3397 Jul 31 06:09 README.md 06:11:09 -rw-rw-r-- 1 jenkins jenkins 11 Jul 31 06:10 VERSION 06:11:09 drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 06:09 bin 06:11:09 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 06:09 cmd 06:11:09 -rw-r--r-- 1 jenkins jenkins 23241 Jul 31 06:10 coverage.out 06:11:09 -rw-rw-r-- 1 jenkins jenkins 3435 Jul 31 06:09 go.mod 06:11:09 -rw-rw-r-- 1 jenkins jenkins 35695 Jul 31 06:09 go.sum 06:11:09 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 06:09 internal 06:11:09 drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 06:09 simulator 06:11:09 drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 06:09 snap 06:11:09 -rw-rw-r-- 1 jenkins jenkins 229 Jul 31 06:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:09 + 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=614889a0cf4a23ea025e87d34781dd0af86a92c0 --label arch=amd64 --label version=2.3.0-dev.9 . 06:11:09 Sending build context to Docker daemon 6.123MB 06:11:09 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 06:11:09 Step 2/23 : FROM ${BASE} AS builder 06:11:09 ---> 6bba805379e6 06:11:09 Step 3/23 : ARG MAKE='make build' 06:11:09 ---> Running in ab34653516de 06:11:09 Removing intermediate container ab34653516de 06:11:09 ---> 1a2a3bbad52a 06:11:09 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:11:09 ---> Running in 35c3a740acca 06:11:10 Removing intermediate container 35c3a740acca 06:11:10 ---> 943254df0fdb 06:11:10 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 06:11:10 ---> Running in 99069d3cae01 06:11:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:11:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:11:11 OK: 217 MiB in 59 packages 06:11:11 Removing intermediate container 99069d3cae01 06:11:11 ---> 493492e58571 06:11:11 Step 6/23 : WORKDIR /device-modbus-go 06:11:11 ---> Running in a7518643490e 06:11:11 Removing intermediate container a7518643490e 06:11:11 ---> 7ace4a5845f4 06:11:11 Step 7/23 : COPY go.mod vendor* ./ 06:11:11 ---> 34f1d7d0b069 06:11:11 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:11:11 ---> Running in 085cdd61975b 06:11:12 Removing intermediate container 085cdd61975b 06:11:12 ---> 50e3700cd079 06:11:12 Step 9/23 : COPY . . 06:11:13 ---> f60673057374 06:11:13 Step 10/23 : RUN ${MAKE} 06:11:13 ---> Running in f7944ff42757 06:11:13 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0-dev.9" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 06:11:34 Removing intermediate container f7944ff42757 06:11:34 ---> 8dc3941f1cd4 06:11:34 Step 11/23 : FROM alpine:3.14 06:11:34 3.14: Pulling from library/alpine 06:11:34 decfdc335d9b: Pulling fs layer 06:11:34 decfdc335d9b: Verifying Checksum 06:11:34 decfdc335d9b: Download complete 06:11:34 decfdc335d9b: Pull complete 06:11:34 Digest: sha256:43eb8f0d8215d8661f745f3d88563c026614d843b668b233bbe1666b6d026f61 06:11:34 Status: Downloaded newer image for alpine:3.14 06:11:34 ---> 5977be310a9d 06:11:34 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:11:34 ---> Running in 60d73fee8d5c 06:11:34 Removing intermediate container 60d73fee8d5c 06:11:34 ---> b142d433dbb9 06:11:34 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:11:34 ---> Running in dafff74e42df 06:11:34 Removing intermediate container dafff74e42df 06:11:34 ---> d621e1949d11 06:11:34 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 06:11:34 ---> Running in ad67d48e8e8f 06:11:34 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 06:11:34 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 06:11:34 (1/6) Installing dumb-init (1.2.5-r1) 06:11:34 (2/6) Installing libgcc (10.3.1_git20210424-r2) 06:11:34 (3/6) Installing libsodium (1.0.18-r0) 06:11:34 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 06:11:34 (5/6) Installing libzmq (4.3.4-r0) 06:11:34 (6/6) Installing zeromq (4.3.4-r0) 06:11:34 Executing busybox-1.33.1-r8.trigger 06:11:34 OK: 8 MiB in 20 packages 06:11:35 Removing intermediate container ad67d48e8e8f 06:11:35 ---> 4d12e05dfe00 06:11:35 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 06:11:36 ---> 867dc453326f 06:11:36 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 06:11:36 ---> 30e133ca52dc 06:11:36 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:11:36 ---> 7d57700c2cf7 06:11:36 Step 18/23 : EXPOSE 59901 06:11:36 ---> Running in 7e997bd95eb2 06:11:36 Removing intermediate container 7e997bd95eb2 06:11:36 ---> 124d2ff7c5f4 06:11:36 Step 19/23 : ENTRYPOINT ["/device-modbus"] 06:11:36 ---> Running in c00aa82d2df9 06:11:36 Removing intermediate container c00aa82d2df9 06:11:36 ---> 60a0fdf45a17 06:11:36 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:11:36 ---> Running in e446a3d71701 06:11:36 Removing intermediate container e446a3d71701 06:11:36 ---> a661678f7031 06:11:36 Step 21/23 : LABEL arch=amd64 06:11:36 ---> Running in e0ba1957ec82 06:11:36 Removing intermediate container e0ba1957ec82 06:11:36 ---> 0aaedfe72f09 06:11:36 Step 22/23 : LABEL git_sha=614889a0cf4a23ea025e87d34781dd0af86a92c0 06:11:36 ---> Running in bb335729e2c0 06:11:36 Removing intermediate container bb335729e2c0 06:11:36 ---> f55cef060a2c 06:11:36 Step 23/23 : LABEL version=2.3.0-dev.9 06:11:36 ---> Running in 81988073c3fc 06:11:36 Removing intermediate container 81988073c3fc 06:11:36 ---> 2905e40485be 06:11:36 [Warning] One or more build-args [ARCH] were not consumed 06:11:36 Successfully built 2905e40485be 06:11:36 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:11:37 provisioning config files... 06:11:37 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8216095537998368780tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:11:37 ---> docker-login.sh 06:11:37 nexus3.edgexfoundry.org:10001 06:11:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:37 Configure a credential helper to remove this warning. See 06:11:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:37 06:11:37 Login Succeeded 06:11:37 nexus3.edgexfoundry.org:10002 06:11:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:37 Configure a credential helper to remove this warning. See 06:11:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:37 06:11:37 Login Succeeded 06:11:37 nexus3.edgexfoundry.org:10003 06:11:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:37 Configure a credential helper to remove this warning. See 06:11:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:37 06:11:37 Login Succeeded 06:11:37 nexus3.edgexfoundry.org:10004 06:11:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:37 Configure a credential helper to remove this warning. See 06:11:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:37 06:11:37 Login Succeeded 06:11:37 docker.io 06:11:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:38 Configure a credential helper to remove this warning. See 06:11:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:38 06:11:38 Login Succeeded 06:11:38 ---> docker-login.sh ends [Pipeline] } 06:11:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:11:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:11:38 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 06:11:38 614889a0cf4a23ea025e87d34781dd0af86a92c0 06:11:38 latest 06:11:38 2.3.0-dev.9 06:11:38 614889a0cf4a23ea025e87d34781dd0af86a92c0-2.3.0-dev.9 06:11:38 main 06:11:38 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:38 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:614889a0cf4a23ea025e87d34781dd0af86a92c0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:38 + docker push nexus3.edgexfoundry.org:10004/device-modbus:614889a0cf4a23ea025e87d34781dd0af86a92c0 06:11:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:11:38 ef1beda7e08e: Preparing 06:11:38 f9352f12f808: Preparing 06:11:38 34bf3ef0953c: Preparing 06:11:38 f05d9df5fc4c: Preparing 06:11:38 61623ff50f64: Preparing 06:11:38 713e7675e2c1: Preparing 06:11:38 713e7675e2c1: Waiting 06:11:38 ef1beda7e08e: Pushed 06:11:38 61623ff50f64: Pushed 06:11:38 f9352f12f808: Pushed 06:11:38 713e7675e2c1: Layer already exists 06:11:39 f05d9df5fc4c: Pushed 06:11:41 34bf3ef0953c: Pushed 06:11:41 614889a0cf4a23ea025e87d34781dd0af86a92c0: digest: sha256:f32d8b934db0e1e0fb0b9250156d85e3a9d902c85585900a097c3e3360b003e4 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:41 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:42 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 06:11:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:11:42 ef1beda7e08e: Preparing 06:11:42 f9352f12f808: Preparing 06:11:42 34bf3ef0953c: Preparing 06:11:42 f05d9df5fc4c: Preparing 06:11:42 61623ff50f64: Preparing 06:11:42 713e7675e2c1: Preparing 06:11:42 61623ff50f64: Layer already exists 06:11:42 f9352f12f808: Layer already exists 06:11:42 ef1beda7e08e: Layer already exists 06:11:42 f05d9df5fc4c: Layer already exists 06:11:42 34bf3ef0953c: Layer already exists 06:11:42 713e7675e2c1: Layer already exists 06:11:42 latest: digest: sha256:f32d8b934db0e1e0fb0b9250156d85e3a9d902c85585900a097c3e3360b003e4 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:42 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:42 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.9 06:11:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:11:42 ef1beda7e08e: Preparing 06:11:42 f9352f12f808: Preparing 06:11:42 34bf3ef0953c: Preparing 06:11:42 f05d9df5fc4c: Preparing 06:11:42 61623ff50f64: Preparing 06:11:42 713e7675e2c1: Preparing 06:11:42 713e7675e2c1: Waiting 06:11:42 f05d9df5fc4c: Layer already exists 06:11:42 34bf3ef0953c: Layer already exists 06:11:42 ef1beda7e08e: Layer already exists 06:11:42 f9352f12f808: Layer already exists 06:11:42 61623ff50f64: Layer already exists 06:11:42 713e7675e2c1: Layer already exists 06:11:42 2.3.0-dev.9: digest: sha256:f32d8b934db0e1e0fb0b9250156d85e3a9d902c85585900a097c3e3360b003e4 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:43 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:614889a0cf4a23ea025e87d34781dd0af86a92c0-2.3.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:43 + docker push nexus3.edgexfoundry.org:10004/device-modbus:614889a0cf4a23ea025e87d34781dd0af86a92c0-2.3.0-dev.9 06:11:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:11:43 ef1beda7e08e: Preparing 06:11:43 f9352f12f808: Preparing 06:11:43 34bf3ef0953c: Preparing 06:11:43 f05d9df5fc4c: Preparing 06:11:43 61623ff50f64: Preparing 06:11:43 713e7675e2c1: Preparing 06:11:43 713e7675e2c1: Waiting 06:11:43 ef1beda7e08e: Layer already exists 06:11:43 f05d9df5fc4c: Layer already exists 06:11:43 61623ff50f64: Layer already exists 06:11:43 f9352f12f808: Layer already exists 06:11:43 34bf3ef0953c: Layer already exists 06:11:43 713e7675e2c1: Layer already exists 06:11:43 614889a0cf4a23ea025e87d34781dd0af86a92c0-2.3.0-dev.9: digest: sha256:f32d8b934db0e1e0fb0b9250156d85e3a9d902c85585900a097c3e3360b003e4 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:43 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:44 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 06:11:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:11:44 ef1beda7e08e: Preparing 06:11:44 f9352f12f808: Preparing 06:11:44 34bf3ef0953c: Preparing 06:11:44 f05d9df5fc4c: Preparing 06:11:44 61623ff50f64: Preparing 06:11:44 713e7675e2c1: Preparing 06:11:44 f05d9df5fc4c: Layer already exists 06:11:44 61623ff50f64: Layer already exists 06:11:44 34bf3ef0953c: Layer already exists 06:11:44 f9352f12f808: Layer already exists 06:11:44 ef1beda7e08e: Layer already exists 06:11:44 713e7675e2c1: Layer already exists 06:11:44 main: digest: sha256:f32d8b934db0e1e0fb0b9250156d85e3a9d902c85585900a097c3e3360b003e4 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:11:44 ===================================================== [Pipeline] echo 06:11:44 taggedImages: 06:11:44 - nexus3.edgexfoundry.org:10004/device-modbus:614889a0cf4a23ea025e87d34781dd0af86a92c0 06:11:44 - nexus3.edgexfoundry.org:10004/device-modbus:latest 06:11:44 - nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.9 06:11:44 - nexus3.edgexfoundry.org:10004/device-modbus:614889a0cf4a23ea025e87d34781dd0af86a92c0-2.3.0-dev.9 06:11:44 - 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 06:11:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:11:44 06:11:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:11:44 latest: Pulling from edgex-lftools-log-publisher 06:11:44 5eb5b503b376: Pulling fs layer 06:11:44 5c69ac0246d0: Pulling fs layer 06:11:44 ec43610c2a17: Pulling fs layer 06:11:44 3a2ae6a8a46f: Pulling fs layer 06:11:44 33b1e0a273af: Pulling fs layer 06:11:44 5d3b04190fa2: Pulling fs layer 06:11:44 2f39f015ded8: Pulling fs layer 06:11:44 3a2ae6a8a46f: Waiting 06:11:44 33b1e0a273af: Waiting 06:11:44 2f39f015ded8: Waiting 06:11:44 5d3b04190fa2: Waiting 06:11:44 5c69ac0246d0: Download complete 06:11:44 3a2ae6a8a46f: Download complete 06:11:44 33b1e0a273af: Verifying Checksum 06:11:44 33b1e0a273af: Download complete 06:11:44 5d3b04190fa2: Download complete 06:11:44 ec43610c2a17: Verifying Checksum 06:11:44 ec43610c2a17: Download complete 06:11:45 5eb5b503b376: Verifying Checksum 06:11:45 5eb5b503b376: Download complete 06:11:45 2f39f015ded8: Verifying Checksum 06:11:45 2f39f015ded8: Download complete 06:11:46 5eb5b503b376: Pull complete 06:11:46 5c69ac0246d0: Pull complete 06:11:46 ec43610c2a17: Pull complete 06:11:47 3a2ae6a8a46f: Pull complete 06:11:47 33b1e0a273af: Pull complete 06:11:47 5d3b04190fa2: Pull complete 06:11:51 2f39f015ded8: Pull complete 06:11:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:11:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:11:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:11:51 prd-ubuntu20.04-docker-8c-8g-21590 does not seem to be running inside a container 06:11:51 $ 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 06:11:54 $ docker top 2b08755ec717adc4903478c66510f241ffa5a93cc21edcb5305ca676345b22f4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:11:55 ---> job-cost.sh 06:11:55 lf-activate-venv: SKIPPING 06:11:55 INFO: No Stack... 06:11:55 INFO: Retrieving Pricing Info for: v3-standard-8 06:11:55 INFO: Archiving Costs [Pipeline] sh 06:11:56 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv+ 06:11:56 cut -d, -f6 [Pipeline] lock 06:11:56 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-48-stack-cost] 06:11:56 Resource [jenkins-edgexfoundry-device-modbus-go-main-48-stack-cost] did not exist. Created. 06:11:56 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-48-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:11:56 + echo total: 0.2199999988079071 [Pipeline] stash 06:11:56 Stashed 1 file(s) [Pipeline] } 06:11:56 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-48-stack-cost] [Pipeline] // lock [Pipeline] } 06:11:56 $ docker stop --time=1 2b08755ec717adc4903478c66510f241ffa5a93cc21edcb5305ca676345b22f4 06:11:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21591 in /w/workspace/gexfoundry_device-modbus-go_main 06:11:57 $ docker rm -f 2b08755ec717adc4903478c66510f241ffa5a93cc21edcb5305ca676345b22f4 [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] ws 06:11:58 Running in /w/workspace/device-modbus-go/48 [Pipeline] { [Pipeline] checkout [Pipeline] } [Pipeline] // withEnv [Pipeline] } 06:11:58 Selected Git installation does not exist. Using Default 06:11:58 The recommended git tool is: NONE [Pipeline] // stage [Pipeline] } 06:12:04 using credential edgex-jenkins-ssh 06:12:04 Cloning the remote Git repository 06:12:04 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:12:04 > git init /w/workspace/device-modbus-go/48 # timeout=10 06:12:04 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:12:04 > git --version # timeout=10 06:12:04 > git --version # 'git version 2.25.1' 06:12:04 using GIT_SSH to set credentials SSH Credentials for GitHub 06:12:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:12:05 Avoid second fetch 06:12:05 Checking out Revision 614889a0cf4a23ea025e87d34781dd0af86a92c0 (main) 06:12:05 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:12:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:12:05 > git config core.sparsecheckout # timeout=10 06:12:05 > git checkout -f 614889a0cf4a23ea025e87d34781dd0af86a92c0 # timeout=10 06:12:10 Commit message: "Merge pull request #365 from SE-I-T-Digital/refactor/cast-attributes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:12:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:12:10 % Total % Received % Xferd Average Speed Time Time Time Current 06:12:10 Dload Upload Total Spent Left Speed 06:12:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 97873 0 --:--:-- --:--:-- --:--:-- 98656 [Pipeline] sh 06:12:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:12:12 + sudo tee /etc/docker/daemon.new 06:12:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:12:12 { 06:12:12 "registry-mirrors": [ 06:12:12 "https://nexus3.edgexfoundry.org:10001" 06:12:12 ], 06:12:12 "bip": "10.250.0.254/24", 06:12:12 "hosts": [ 06:12:12 "tcp://0.0.0.0:5555", 06:12:12 "unix:///var/run/docker.sock" 06:12:12 ], 06:12:12 "mtu": 1458, 06:12:12 "selinux-enabled": true, 06:12:12 "seccomp-profile": "/etc/docker/seccomp.json" 06:12:12 } [Pipeline] sh 06:12:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:12:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:12:31 provisioning config files... 06:12:31 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/48@tmp/config3690818547689435968tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:12:31 ---> docker-login.sh 06:12:31 nexus3.edgexfoundry.org:10001 06:12:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:32 Configure a credential helper to remove this warning. See 06:12:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:32 06:12:32 Login Succeeded 06:12:32 nexus3.edgexfoundry.org:10002 06:12:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:33 Configure a credential helper to remove this warning. See 06:12:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:33 06:12:33 Login Succeeded 06:12:33 nexus3.edgexfoundry.org:10003 06:12:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:33 Configure a credential helper to remove this warning. See 06:12:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:33 06:12:33 Login Succeeded 06:12:33 nexus3.edgexfoundry.org:10004 06:12:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:33 Configure a credential helper to remove this warning. See 06:12:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:33 06:12:33 Login Succeeded 06:12:33 docker.io 06:12:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:34 Configure a credential helper to remove this warning. See 06:12:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:34 06:12:34 Login Succeeded 06:12:34 ---> docker-login.sh ends [Pipeline] } 06:12:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:12:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:12:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:12:35 ========================================================= 06:12:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 06:12:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:35 + 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 . 06:12:35 Sending build context to Docker daemon 3.167MB 06:12:35 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 06:12:35 Step 2/10 : FROM ${BASE} AS builder 06:12:36 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:12:36 b3c136eddcbf: Pulling fs layer 06:12:36 c0a3192eca97: Pulling fs layer 06:12:36 a050256f5b6f: Pulling fs layer 06:12:36 656be50a0ddc: Pulling fs layer 06:12:36 2bbca73fdf42: Pulling fs layer 06:12:36 46d945488cbd: Pulling fs layer 06:12:36 8a5474983e97: Pulling fs layer 06:12:36 329c88fbcd65: Pulling fs layer 06:12:36 2bbca73fdf42: Waiting 06:12:36 46d945488cbd: Waiting 06:12:36 656be50a0ddc: Waiting 06:12:36 329c88fbcd65: Waiting 06:12:36 8a5474983e97: Waiting 06:12:36 a050256f5b6f: Verifying Checksum 06:12:36 a050256f5b6f: Download complete 06:12:36 c0a3192eca97: Download complete 06:12:36 2bbca73fdf42: Verifying Checksum 06:12:36 2bbca73fdf42: Download complete 06:12:37 46d945488cbd: Verifying Checksum 06:12:37 46d945488cbd: Download complete 06:12:37 b3c136eddcbf: Verifying Checksum 06:12:37 b3c136eddcbf: Download complete 06:12:38 b3c136eddcbf: Pull complete 06:12:38 329c88fbcd65: Verifying Checksum 06:12:38 329c88fbcd65: Download complete 06:12:39 c0a3192eca97: Pull complete 06:12:39 a050256f5b6f: Pull complete 06:12:39 656be50a0ddc: Verifying Checksum 06:12:39 656be50a0ddc: Download complete 06:12:39 8a5474983e97: Verifying Checksum 06:12:39 8a5474983e97: Download complete 06:12:52 656be50a0ddc: Pull complete 06:12:52 2bbca73fdf42: Pull complete 06:12:52 46d945488cbd: Pull complete 06:12:59 8a5474983e97: Pull complete 06:13:00 329c88fbcd65: Pull complete 06:13:00 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 06:13:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 06:13:00 ---> ff4287adb874 06:13:00 Step 3/10 : ARG MAKE='make build' 06:13:02 ---> Running in a1c6faf0c5b9 06:13:02 Removing intermediate container a1c6faf0c5b9 06:13:02 ---> c67bc977c628 06:13:02 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:13:02 ---> Running in 7dc58ee939ff 06:13:05 Removing intermediate container 7dc58ee939ff 06:13:05 ---> 4be0d5d40107 06:13:05 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 06:13:05 ---> Running in 88899d308158 06:13:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:13:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:13:08 (1/8) Installing openssh-keygen (9.0_p1-r2) 06:13:08 (2/8) Installing libedit (20210910.3.1-r0) 06:13:08 (3/8) Installing openssh-client-common (9.0_p1-r2) 06:13:08 (4/8) Installing openssh-client-default (9.0_p1-r2) 06:13:08 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 06:13:08 (6/8) Installing openssh-server-common (9.0_p1-r2) 06:13:08 (7/8) Installing openssh-server (9.0_p1-r2) 06:13:08 (8/8) Installing openssh (9.0_p1-r2) 06:13:09 Executing busybox-1.35.0-r13.trigger 06:13:09 OK: 228 MiB in 59 packages 06:13:10 Removing intermediate container 88899d308158 06:13:10 ---> a6b6fecd0100 06:13:10 Step 6/10 : WORKDIR /device-modbus-go 06:13:10 ---> Running in 8deb78f3366e 06:13:10 Removing intermediate container 8deb78f3366e 06:13:10 ---> 47a5471f297f 06:13:10 Step 7/10 : COPY go.mod vendor* ./ 06:13:11 ---> 559ac94522f2 06:13:11 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:13:11 ---> Running in 77042d66168d 06:13:58 Removing intermediate container 77042d66168d 06:13:58 ---> 88b0daf8d259 06:13:58 Step 9/10 : COPY . . 06:13:58 ---> 157243efecc8 06:13:58 Step 10/10 : RUN ${MAKE} 06:13:58 ---> Running in 2378f9927798 06:13:58 noop 06:13:58 Removing intermediate container 2378f9927798 06:13:58 ---> 97fd54e581f0 06:13:58 Successfully built 97fd54e581f0 06:13:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:13:58 + docker inspect -f . ci-base-image-arm64 06:13:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:13:58 prd-ubuntu20.04-docker-arm64-4c-16g-21591 does not seem to be running inside a container 06:13:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/48 -v /w/workspace/device-modbus-go/48:/w/workspace/device-modbus-go/48:rw,z -v /w/workspace/device-modbus-go/48@tmp:/w/workspace/device-modbus-go/48@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 06:14:00 $ docker top 69ab351ffb67f590e0643a9a8f2a5fb337eebc1b5257f6ca3fb0c85e47eafefc -eo pid,comm [Pipeline] { [Pipeline] sh 06:14:01 + go version 06:14:01 go version go1.18.3 linux/arm64 [Pipeline] } 06:14:01 $ docker stop --time=1 69ab351ffb67f590e0643a9a8f2a5fb337eebc1b5257f6ca3fb0c85e47eafefc 06:14:02 $ docker rm -f 69ab351ffb67f590e0643a9a8f2a5fb337eebc1b5257f6ca3fb0c85e47eafefc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:03 + docker inspect -f . ci-base-image-arm64 06:14:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:14:03 prd-ubuntu20.04-docker-arm64-4c-16g-21591 does not seem to be running inside a container 06:14:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-modbus-go/48 -v /w/workspace/device-modbus-go/48:/w/workspace/device-modbus-go/48:rw,z -v /w/workspace/device-modbus-go/48@tmp:/w/workspace/device-modbus-go/48@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 06:14:05 $ docker top 57ba2acca2235c7efa2711acc791152a7885c73d1f2fb0458d4efda0fa971a09 -eo pid,comm [Pipeline] { [Pipeline] sh 06:14:05 + git config --global --add safe.directory /w/workspace/device-modbus-go/48 [Pipeline] fileExists [Pipeline] sh 06:14:06 + make test 06:14:06 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:14:08 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:15:29 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:15:29 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.060s coverage: 47.7% of statements 06:15:29 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:15:29 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:15:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:15:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:15:45 ./bin/test-attribution-txt.sh [Pipeline] echo 06:15:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:15:45 $ docker stop --time=1 57ba2acca2235c7efa2711acc791152a7885c73d1f2fb0458d4efda0fa971a09 06:15:46 $ docker rm -f 57ba2acca2235c7efa2711acc791152a7885c73d1f2fb0458d4efda0fa971a09 [Pipeline] // withDockerContainer [Pipeline] sh 06:15:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:15:47 Warning: overwriting stash ‘coverage-report’ 06:15:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:15:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:15:49 + ls -al . 06:15:49 total 180 06:15:49 drwxrwxr-x 9 jenkins jenkins 4096 Jul 31 06:14 . 06:15:49 drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 06:12 .. 06:15:49 -rw-rw-r-- 1 jenkins jenkins 140 Jul 31 06:12 .dockerignore 06:15:49 drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 06:12 .git 06:15:49 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 06:12 .github 06:15:49 -rw-rw-r-- 1 jenkins jenkins 331 Jul 31 06:12 .gitignore 06:15:49 -rw-rw-r-- 1 jenkins jenkins 41 Jul 31 06:12 .golangci.yml 06:15:49 -rw-rw-r-- 1 jenkins jenkins 9744 Jul 31 06:12 Attribution.txt 06:15:49 -rw-rw-r-- 1 jenkins jenkins 10001 Jul 31 06:12 CHANGELOG.md 06:15:49 -rw-rw-r-- 1 jenkins jenkins 1550 Jul 31 06:12 Dockerfile 06:15:49 -rw-rw-r-- 1 jenkins jenkins 677 Jul 31 06:12 GOVERNANCE.md 06:15:49 -rw-rw-r-- 1 jenkins jenkins 680 Jul 31 06:12 Jenkinsfile 06:15:49 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 31 06:12 LICENSE 06:15:49 -rw-rw-r-- 1 jenkins jenkins 1892 Jul 31 06:12 Makefile 06:15:49 -rw-rw-r-- 1 jenkins jenkins 622 Jul 31 06:12 OWNERS.md 06:15:49 -rw-rw-r-- 1 jenkins jenkins 3397 Jul 31 06:12 README.md 06:15:49 -rw-rw-r-- 1 jenkins jenkins 11 Jul 31 06:10 VERSION 06:15:49 drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 06:12 bin 06:15:49 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 06:12 cmd 06:15:49 -rw-r--r-- 1 jenkins jenkins 23241 Jul 31 06:15 coverage.out 06:15:49 -rw-rw-r-- 1 jenkins jenkins 3435 Jul 31 06:12 go.mod 06:15:49 -rw-rw-r-- 1 jenkins jenkins 35695 Jul 31 06:12 go.sum 06:15:49 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 06:12 internal 06:15:49 drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 06:12 simulator 06:15:49 drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 06:12 snap 06:15:49 -rw-rw-r-- 1 jenkins jenkins 229 Jul 31 06:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:49 + 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=614889a0cf4a23ea025e87d34781dd0af86a92c0 --label arch=arm64 --label version=2.3.0-dev.9 . 06:15:49 Sending build context to Docker daemon 3.191MB 06:15:49 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 06:15:49 Step 2/23 : FROM ${BASE} AS builder 06:15:49 ---> 97fd54e581f0 06:15:49 Step 3/23 : ARG MAKE='make build' 06:15:50 ---> Running in 4c81df92485f 06:15:50 Removing intermediate container 4c81df92485f 06:15:50 ---> 47b41a68b64e 06:15:50 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:15:50 ---> Running in 91693f1611f3 06:15:52 Removing intermediate container 91693f1611f3 06:15:52 ---> 081b8423c36a 06:15:52 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 06:15:52 ---> Running in 87ce636f27b8 06:15:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:15:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:15:54 OK: 228 MiB in 59 packages 06:15:55 Removing intermediate container 87ce636f27b8 06:15:55 ---> 5924400aa41f 06:15:55 Step 6/23 : WORKDIR /device-modbus-go 06:15:55 ---> Running in b3d7857fce20 06:15:56 Removing intermediate container b3d7857fce20 06:15:56 ---> 4bbb79c11926 06:15:56 Step 7/23 : COPY go.mod vendor* ./ 06:15:56 ---> 9061f618c011 06:15:56 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:15:56 ---> Running in 12b299d18c31 06:15:58 Removing intermediate container 12b299d18c31 06:15:58 ---> f1d323e247c0 06:15:58 Step 9/23 : COPY . . 06:15:59 ---> b9d4179a02cd 06:15:59 Step 10/23 : RUN ${MAKE} 06:15:59 ---> Running in 829241d801d0 06:16:00 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0-dev.9" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 06:18:07 Removing intermediate container 829241d801d0 06:18:07 ---> 1e5ea64a8f80 06:18:07 Step 11/23 : FROM alpine:3.14 06:18:07 3.14: Pulling from library/alpine 06:18:07 f4bf3852c6cc: Pulling fs layer 06:18:07 f4bf3852c6cc: Download complete 06:18:07 f4bf3852c6cc: Pull complete 06:18:07 Digest: sha256:43eb8f0d8215d8661f745f3d88563c026614d843b668b233bbe1666b6d026f61 06:18:07 Status: Downloaded newer image for alpine:3.14 06:18:07 ---> f19c924ebacc 06:18:07 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:18:07 ---> Running in 515f36b13808 06:18:07 Removing intermediate container 515f36b13808 06:18:07 ---> f366edbfe95c 06:18:07 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:18:07 ---> Running in fc5ddd99fee7 06:18:07 Removing intermediate container fc5ddd99fee7 06:18:07 ---> 136b517b6572 06:18:07 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 06:18:07 ---> Running in a22f48a8cadf 06:18:07 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 06:18:07 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 06:18:07 (1/6) Installing dumb-init (1.2.5-r1) 06:18:07 (2/6) Installing libgcc (10.3.1_git20210424-r2) 06:18:07 (3/6) Installing libsodium (1.0.18-r0) 06:18:07 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 06:18:07 (5/6) Installing libzmq (4.3.4-r0) 06:18:07 (6/6) Installing zeromq (4.3.4-r0) 06:18:07 Executing busybox-1.33.1-r8.trigger 06:18:07 OK: 8 MiB in 20 packages 06:18:07 Removing intermediate container a22f48a8cadf 06:18:07 ---> f1894a36509f 06:18:07 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 06:18:09 ---> 9c175c1bd49f 06:18:09 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 06:18:10 ---> 488e4e954f95 06:18:10 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:18:10 ---> 6346b3177077 06:18:10 Step 18/23 : EXPOSE 59901 06:18:10 ---> Running in 56b32487d291 06:18:10 Removing intermediate container 56b32487d291 06:18:10 ---> 9f8d807356a7 06:18:10 Step 19/23 : ENTRYPOINT ["/device-modbus"] 06:18:11 ---> Running in 690989c79f35 06:18:11 Removing intermediate container 690989c79f35 06:18:11 ---> 407dced538c5 06:18:11 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:18:11 ---> Running in 84c3ab3ccedb 06:18:11 Removing intermediate container 84c3ab3ccedb 06:18:11 ---> e93f060231cc 06:18:11 Step 21/23 : LABEL arch=arm64 06:18:11 ---> Running in a7642854e38a 06:18:12 Removing intermediate container a7642854e38a 06:18:12 ---> a963c160125a 06:18:12 Step 22/23 : LABEL git_sha=614889a0cf4a23ea025e87d34781dd0af86a92c0 06:18:12 ---> Running in 37521201edf4 06:18:12 Removing intermediate container 37521201edf4 06:18:12 ---> 8fd479203f4b 06:18:12 Step 23/23 : LABEL version=2.3.0-dev.9 06:18:12 ---> Running in b225b27b3c38 06:18:12 Removing intermediate container b225b27b3c38 06:18:12 ---> e3782b6cd2fd 06:18:12 [Warning] One or more build-args [ARCH] were not consumed 06:18:12 Successfully built e3782b6cd2fd 06:18:12 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 06:18:12 provisioning config files... 06:18:12 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/48@tmp/config7131649036593107123tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:18:13 ---> docker-login.sh 06:18:13 nexus3.edgexfoundry.org:10001 06:18:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:13 Configure a credential helper to remove this warning. See 06:18:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:13 06:18:13 Login Succeeded 06:18:13 nexus3.edgexfoundry.org:10002 06:18:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:14 Configure a credential helper to remove this warning. See 06:18:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:14 06:18:14 Login Succeeded 06:18:14 nexus3.edgexfoundry.org:10003 06:18:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:14 Configure a credential helper to remove this warning. See 06:18:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:14 06:18:14 Login Succeeded 06:18:14 nexus3.edgexfoundry.org:10004 06:18:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:15 Configure a credential helper to remove this warning. See 06:18:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:15 06:18:15 Login Succeeded 06:18:15 docker.io 06:18:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:15 Configure a credential helper to remove this warning. See 06:18:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:15 06:18:15 Login Succeeded 06:18:15 ---> docker-login.sh ends [Pipeline] } 06:18:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:18:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:18:15 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 06:18:15 614889a0cf4a23ea025e87d34781dd0af86a92c0 06:18:15 latest 06:18:15 2.3.0-dev.9 06:18:15 614889a0cf4a23ea025e87d34781dd0af86a92c0-2.3.0-dev.9 06:18:15 main 06:18:15 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:16 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:614889a0cf4a23ea025e87d34781dd0af86a92c0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:16 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:614889a0cf4a23ea025e87d34781dd0af86a92c0 06:18:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:18:16 c5546f2c8fbd: Preparing 06:18:16 f86a69a8a323: Preparing 06:18:16 0330c6159da3: Preparing 06:18:16 482da809ca8e: Preparing 06:18:16 1c091ca37628: Preparing 06:18:16 51fe7c9ea229: Preparing 06:18:16 51fe7c9ea229: Waiting 06:18:16 f86a69a8a323: Pushed 06:18:16 c5546f2c8fbd: Pushed 06:18:16 1c091ca37628: Pushed 06:18:16 51fe7c9ea229: Layer already exists 06:18:17 482da809ca8e: Pushed 06:18:21 0330c6159da3: Pushed 06:18:22 614889a0cf4a23ea025e87d34781dd0af86a92c0: digest: sha256:f4a86ef6db9f8c2c07d89fac4dd35883e469c59e22e461fa833d071d95e9ed59 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:22 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:22 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 06:18:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:18:22 c5546f2c8fbd: Preparing 06:18:22 f86a69a8a323: Preparing 06:18:22 0330c6159da3: Preparing 06:18:22 482da809ca8e: Preparing 06:18:22 1c091ca37628: Preparing 06:18:22 51fe7c9ea229: Preparing 06:18:22 51fe7c9ea229: Waiting 06:18:22 1c091ca37628: Layer already exists 06:18:22 f86a69a8a323: Layer already exists 06:18:22 c5546f2c8fbd: Layer already exists 06:18:22 482da809ca8e: Layer already exists 06:18:22 0330c6159da3: Layer already exists 06:18:22 51fe7c9ea229: Layer already exists 06:18:23 latest: digest: sha256:f4a86ef6db9f8c2c07d89fac4dd35883e469c59e22e461fa833d071d95e9ed59 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:23 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:23 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.9 06:18:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:18:23 c5546f2c8fbd: Preparing 06:18:23 f86a69a8a323: Preparing 06:18:23 0330c6159da3: Preparing 06:18:23 482da809ca8e: Preparing 06:18:23 1c091ca37628: Preparing 06:18:23 51fe7c9ea229: Preparing 06:18:23 51fe7c9ea229: Waiting 06:18:23 f86a69a8a323: Layer already exists 06:18:23 0330c6159da3: Layer already exists 06:18:23 482da809ca8e: Layer already exists 06:18:23 1c091ca37628: Layer already exists 06:18:23 c5546f2c8fbd: Layer already exists 06:18:23 51fe7c9ea229: Layer already exists 06:18:24 2.3.0-dev.9: digest: sha256:f4a86ef6db9f8c2c07d89fac4dd35883e469c59e22e461fa833d071d95e9ed59 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:24 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:614889a0cf4a23ea025e87d34781dd0af86a92c0-2.3.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:24 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:614889a0cf4a23ea025e87d34781dd0af86a92c0-2.3.0-dev.9 06:18:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:18:24 c5546f2c8fbd: Preparing 06:18:24 f86a69a8a323: Preparing 06:18:24 0330c6159da3: Preparing 06:18:24 482da809ca8e: Preparing 06:18:24 1c091ca37628: Preparing 06:18:24 51fe7c9ea229: Preparing 06:18:24 51fe7c9ea229: Waiting 06:18:24 482da809ca8e: Layer already exists 06:18:24 f86a69a8a323: Layer already exists 06:18:24 0330c6159da3: Layer already exists 06:18:24 1c091ca37628: Layer already exists 06:18:24 c5546f2c8fbd: Layer already exists 06:18:24 51fe7c9ea229: Layer already exists 06:18:25 614889a0cf4a23ea025e87d34781dd0af86a92c0-2.3.0-dev.9: digest: sha256:f4a86ef6db9f8c2c07d89fac4dd35883e469c59e22e461fa833d071d95e9ed59 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:25 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:25 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 06:18:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:18:25 c5546f2c8fbd: Preparing 06:18:25 f86a69a8a323: Preparing 06:18:25 0330c6159da3: Preparing 06:18:25 482da809ca8e: Preparing 06:18:25 1c091ca37628: Preparing 06:18:25 51fe7c9ea229: Preparing 06:18:25 51fe7c9ea229: Waiting 06:18:25 0330c6159da3: Layer already exists 06:18:25 482da809ca8e: Layer already exists 06:18:25 1c091ca37628: Layer already exists 06:18:25 c5546f2c8fbd: Layer already exists 06:18:25 f86a69a8a323: Layer already exists 06:18:25 51fe7c9ea229: Layer already exists 06:18:26 main: digest: sha256:f4a86ef6db9f8c2c07d89fac4dd35883e469c59e22e461fa833d071d95e9ed59 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:18:26 ===================================================== [Pipeline] echo 06:18:26 taggedImages: 06:18:26 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:614889a0cf4a23ea025e87d34781dd0af86a92c0 06:18:26 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 06:18:26 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.9 06:18:26 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:614889a0cf4a23ea025e87d34781dd0af86a92c0-2.3.0-dev.9 06:18:26 - 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 06:18:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:18:26 06:18:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:18:26 arm64: Pulling from edgex-lftools-log-publisher 06:18:26 8998bd30e6a1: Pulling fs layer 06:18:26 04944245beec: Pulling fs layer 06:18:26 699f458cf7ca: Pulling fs layer 06:18:26 765212b225bb: Pulling fs layer 06:18:26 f23df028b6ca: Pulling fs layer 06:18:26 d65c8cfc05b1: Pulling fs layer 06:18:26 2437ff75d9bd: Pulling fs layer 06:18:26 765212b225bb: Waiting 06:18:26 f23df028b6ca: Waiting 06:18:26 d65c8cfc05b1: Waiting 06:18:26 2437ff75d9bd: Waiting 06:18:27 04944245beec: Verifying Checksum 06:18:27 04944245beec: Download complete 06:18:27 765212b225bb: Verifying Checksum 06:18:27 765212b225bb: Download complete 06:18:27 f23df028b6ca: Verifying Checksum 06:18:27 f23df028b6ca: Download complete 06:18:27 d65c8cfc05b1: Verifying Checksum 06:18:27 d65c8cfc05b1: Download complete 06:18:27 699f458cf7ca: Verifying Checksum 06:18:27 699f458cf7ca: Download complete 06:18:27 8998bd30e6a1: Verifying Checksum 06:18:27 8998bd30e6a1: Download complete 06:18:29 2437ff75d9bd: Verifying Checksum 06:18:29 2437ff75d9bd: Download complete 06:18:32 8998bd30e6a1: Pull complete 06:18:32 04944245beec: Pull complete 06:18:33 699f458cf7ca: Pull complete 06:18:34 765212b225bb: Pull complete 06:18:34 f23df028b6ca: Pull complete 06:18:35 d65c8cfc05b1: Pull complete 06:18:50 2437ff75d9bd: Pull complete 06:18:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:18:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:18:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:18:50 prd-ubuntu20.04-docker-arm64-4c-16g-21591 does not seem to be running inside a container 06:18:50 $ 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/48 -v /w/workspace/device-modbus-go/48:/w/workspace/device-modbus-go/48:rw,z -v /w/workspace/device-modbus-go/48@tmp:/w/workspace/device-modbus-go/48@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 06:18:53 $ docker top 02dc1f674e6c466b68a6e0afd9bf26ca3b5e4a47952ba534dad26cb222d1bace -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:18:54 ---> job-cost.sh 06:18:54 lf-activate-venv: SKIPPING 06:18:54 INFO: No Stack... 06:18:54 INFO: Retrieving Pricing Info for: v3-standard-4 06:18:55 INFO: Archiving Costs [Pipeline] sh 06:18:56 + cat /w/workspace/device-modbus-go/48/archives/cost.csv 06:18:56 + cut -d, -f6 [Pipeline] lock 06:18:56 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-48-stack-cost] 06:18:56 Resource [jenkins-edgexfoundry-device-modbus-go-main-48-stack-cost] did not exist. Created. 06:18:56 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-48-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:18:57 /w/workspace/device-modbus-go/48@tmp/durable-ba0e0782/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:18:57 + echo total: 0.10999999940395355 [Pipeline] stash 06:18:57 Warning: overwriting stash ‘stack-cost’ 06:18:58 Stashed 1 file(s) [Pipeline] } 06:18:58 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-48-stack-cost] [Pipeline] // lock [Pipeline] } 06:18:58 $ docker stop --time=1 02dc1f674e6c466b68a6e0afd9bf26ca3b5e4a47952ba534dad26cb222d1bace 06:18:59 $ docker rm -f 02dc1f674e6c466b68a6e0afd9bf26ca3b5e4a47952ba534dad26cb222d1bace [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 06:18:59 provisioning config files... 06:19:00 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1041305066763616881tmp [Pipeline] { [Pipeline] sh 06:19:00 + set +x 06:19:00 + curl -s https://codecov.io/bash 06:19:00 + bash -s -- 06:19:00 06:19:00 _____ _ 06:19:00 / ____| | | 06:19:00 | | ___ __| | ___ ___ _____ __ 06:19:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:19:00 | |___| (_) | (_| | __/ (_| (_) \ V / 06:19:00 \_____\___/ \__,_|\___|\___\___/ \_/ 06:19:00 Bash-1.0.6 06:19:00 06:19:00 06:19:00 ==> git version 2.25.1 found 06:19:00 ==> 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 06:19:00 Release-Date: 2020-01-08 06:19:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:19:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:19:00 ==> Jenkins CI detected. 06:19:00 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 06:19:00 project root: . 06:19:00 --> token set from env 06:19:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:19:00 ==> Running gcov in . (disable via -X gcov) 06:19:00 ==> Python coveragepy not found 06:19:00 ==> Searching for coverage reports in: 06:19:00 + . 06:19:00 -> Found 1 reports 06:19:00 ==> Detecting git/mercurial file structure 06:19:00 ==> Reading reports 06:19:00 + ./coverage.out bytes=23241 06:19:00 ==> Appending adjustments 06:19:00 https://docs.codecov.io/docs/fixing-reports 06:19:00 + Found adjustments 06:19:00 ==> Gzipping contents 06:19:00 4.0K /tmp/codecov.gziqFR.gz 06:19:00 ==> Uploading reports 06:19:00 url: https://codecov.io 06:19:00 query: branch=main&commit=614889a0cf4a23ea025e87d34781dd0af86a92c0&build=48&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F48%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:19:00 -> Pinging Codecov 06:19:00 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=614889a0cf4a23ea025e87d34781dd0af86a92c0&build=48&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F48%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:19:00 -> Uploading to 06:19:00 https://storage.googleapis.com/codecov/v4/raw/2022-07-31/55DBCA73C666E3227836607328DD7E49/614889a0cf4a23ea025e87d34781dd0af86a92c0/65d83aca-ecef-41a6-8646-7fc5786999f8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220731%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220731T061900Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dd1392b8b0f870354ea69763726e6e664dc4081183ee4eb934eab626277f8b56 06:19:00 % Total % Received % Xferd Average Speed Time Time Time Current 06:19:00 Dload Upload Total Spent Left Speed 06:19:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3926 0 0 100 3926 0 17371 --:--:-- --:--:-- --:--:-- 17371 06:19:01 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/614889a0cf4a23ea025e87d34781dd0af86a92c0 [Pipeline] } 06:19:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:19:01 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:19:01 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:19:01 06:19:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:19:01 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:19:01 df9b9388f04a: Pulling fs layer 06:19:01 52dc419b0ee2: Pulling fs layer 06:19:01 25bc292e5bac: Pulling fs layer 06:19:01 114826534d7a: Pulling fs layer 06:19:01 4657fd5d0bcf: Pulling fs layer 06:19:01 6ad1cebc031e: Pulling fs layer 06:19:01 8a3aa393b2d8: Pulling fs layer 06:19:01 6ad1cebc031e: Waiting 06:19:01 114826534d7a: Waiting 06:19:01 8a3aa393b2d8: Waiting 06:19:01 4657fd5d0bcf: Waiting 06:19:01 25bc292e5bac: Verifying Checksum 06:19:01 25bc292e5bac: Download complete 06:19:01 52dc419b0ee2: Verifying Checksum 06:19:01 52dc419b0ee2: Download complete 06:19:01 4657fd5d0bcf: Verifying Checksum 06:19:01 4657fd5d0bcf: Download complete 06:19:01 df9b9388f04a: Download complete 06:19:02 df9b9388f04a: Pull complete 06:19:02 6ad1cebc031e: Verifying Checksum 06:19:02 6ad1cebc031e: Download complete 06:19:02 52dc419b0ee2: Pull complete 06:19:02 25bc292e5bac: Pull complete 06:19:02 114826534d7a: Verifying Checksum 06:19:02 114826534d7a: Download complete 06:19:02 8a3aa393b2d8: Verifying Checksum 06:19:02 8a3aa393b2d8: Download complete 06:19:06 114826534d7a: Pull complete 06:19:06 4657fd5d0bcf: Pull complete 06:19:06 6ad1cebc031e: Pull complete 06:19:09 8a3aa393b2d8: Pull complete 06:19:09 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 06:19:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:19:09 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:19:09 prd-ubuntu20.04-docker-8c-8g-21590 does not seem to be running inside a container 06:19:09 $ 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 06:19:13 $ docker top e6333222fc7770fc5b803e59cf76ee225a30c7ce5a44bc10e1dc5df003c7b27b -eo pid,comm [Pipeline] { [Pipeline] echo 06:19:13 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 06:19:13 + set -o pipefail 06:19:13 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 06:19:18 06:19:18 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 06:19:18 06:19:18 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/f6144b16-3eac-4dfa-b638-e6da62114b07 06:19:18 06:19:18 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 06:19:18 06:19:18 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:19:18 06:19:18 [Pipeline] } 06:19:18 $ docker stop --time=1 e6333222fc7770fc5b803e59cf76ee225a30c7ce5a44bc10e1dc5df003c7b27b 06:19:22 $ docker rm -f e6333222fc7770fc5b803e59cf76ee225a30c7ce5a44bc10e1dc5df003c7b27b [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 06:19:22 + git log --format=format:%s -1 614889a0cf4a23ea025e87d34781dd0af86a92c0 [Pipeline] sh 06:19:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:19:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:19:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:19:23 prd-ubuntu20.04-docker-8c-8g-21590 does not seem to be running inside a container 06:19:23 $ 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 06:19:23 $ docker top 3ba6eeee2b0d0f0bcc515764f4a2b7bf6e9176493986820e3495b20aaacac718 -eo pid,comm 06:19:23 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). 06:19:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:19:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:19:24 [ssh-agent] Looking for ssh-agent implementation... 06:19:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:19:24 $ docker exec 3ba6eeee2b0d0f0bcc515764f4a2b7bf6e9176493986820e3495b20aaacac718 ssh-agent 06:19:24 SSH_AUTH_SOCK=/tmp/ssh-Gmzx8aPnLuua/agent.32 06:19:24 SSH_AGENT_PID=39 06:19:24 Running ssh-add (command line suppressed) 06:19:24 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_643012649351164951.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_643012649351164951.key) 06:19:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:19:24 + git semver tag 06:19:25 2022-07-31 06:19:24,979 [run_tag] DEBUG tag force:False 06:19:25 2022-07-31 06:19:24,979 [check_head_tag] DEBUG check head tag 06:19:25 2022-07-31 06:19:24,979 [execute] INFO git cat-file --batch-check 06:19:25 2022-07-31 06:19:24,979 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 06:19:25 2022-07-31 06:19:24,983 [execute] INFO git cat-file --batch 06:19:25 2022-07-31 06:19:24,983 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 06:19:25 2022-07-31 06:19:24,992 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:19:25 2022-07-31 06:19:24,992 [execute] INFO git tag -a v2.3.0-dev.9 -m v2.3.0-dev.9 06:19:25 2022-07-31 06:19:24,992 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.9', '-m', 'v2.3.0-dev.9'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 06:19:25 2022-07-31 06:19:24,997 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:19:25 2.3.0-dev.9 [Pipeline] } 06:19:25 $ docker exec --env ******** --env ******** 3ba6eeee2b0d0f0bcc515764f4a2b7bf6e9176493986820e3495b20aaacac718 ssh-agent -k 06:19:25 unset SSH_AUTH_SOCK; 06:19:25 unset SSH_AGENT_PID; 06:19:25 echo Agent pid 39 killed; 06:19:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:19:25 + git semver [Pipeline] } 06:19:25 $ docker stop --time=1 3ba6eeee2b0d0f0bcc515764f4a2b7bf6e9176493986820e3495b20aaacac718 06:19:27 $ docker rm -f 3ba6eeee2b0d0f0bcc515764f4a2b7bf6e9176493986820e3495b20aaacac718 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:19:27 06:19:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:19:27 0.23.1-centos7: Pulling from edgex-lftools 06:19:27 ab5ef0e58194: Pulling fs layer 06:19:27 9712f1f96733: Pulling fs layer 06:19:27 63f879dbbcfc: Pulling fs layer 06:19:27 0d9ebad4ef96: Pulling fs layer 06:19:27 e9a5061849ea: Pulling fs layer 06:19:27 d747dcd14b5f: Pulling fs layer 06:19:27 2de7ff778b66: Pulling fs layer 06:19:27 0d9ebad4ef96: Waiting 06:19:27 e9a5061849ea: Waiting 06:19:27 d747dcd14b5f: Waiting 06:19:27 9712f1f96733: Verifying Checksum 06:19:27 9712f1f96733: Download complete 06:19:28 63f879dbbcfc: Download complete 06:19:28 e9a5061849ea: Verifying Checksum 06:19:28 e9a5061849ea: Download complete 06:19:28 d747dcd14b5f: Verifying Checksum 06:19:28 d747dcd14b5f: Download complete 06:19:28 0d9ebad4ef96: Verifying Checksum 06:19:28 0d9ebad4ef96: Download complete 06:19:28 ab5ef0e58194: Verifying Checksum 06:19:28 ab5ef0e58194: Download complete 06:19:28 2de7ff778b66: Verifying Checksum 06:19:28 2de7ff778b66: Download complete 06:19:31 ab5ef0e58194: Pull complete 06:19:31 9712f1f96733: Pull complete 06:19:31 63f879dbbcfc: Pull complete 06:19:36 0d9ebad4ef96: Pull complete 06:19:36 e9a5061849ea: Pull complete 06:19:36 d747dcd14b5f: Pull complete 06:19:36 2de7ff778b66: Pull complete 06:19:36 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:19:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:19:36 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:19:37 prd-ubuntu20.04-docker-8c-8g-21590 does not seem to be running inside a container 06:19:37 $ 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 06:19:40 $ docker top 7642bfbe658bddff95df9eea882467a4b2b4c6ea8d00ab6507826df75a795cf2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:19:40 provisioning config files... 06:19:40 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5370335281272171610tmp 06:19:40 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5592208274504505929tmp 06:19:40 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4225243408477480312tmp [Pipeline] { [Pipeline] echo 06:19:40 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:19:41 ---> sigul-configuration.sh 06:19:41 gpg: directory `/root/.gnupg' created 06:19:41 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:19:41 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:19:41 gpg: keyring `/root/.gnupg/secring.gpg' created 06:19:41 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:19:41 gpg: CAST5 encrypted data 06:19:41 gpg: encrypted with 1 passphrase 06:19:41 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:19:41 + mkdir /home/jenkins 06:19:41 + mkdir /home/jenkins/sigul [Pipeline] sh 06:19:41 + 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 06:19:41 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:19:41 ---> sigul-install.sh 06:19:41 Sigul already installed; skipping installation. [Pipeline] sh 06:19:42 + git tag --list 06:19:42 0.7.1 06:19:42 v1.0.0 06:19:42 v1.1.0 06:19:42 v1.1.1 06:19:42 v1.2.2 06:19:42 v1.3.0 06:19:42 v1.3.1 06:19:42 v2.0.0 06:19:42 v2.1.0 06:19:42 v2.1.1 06:19:42 v2.1.1-dev.1 06:19:42 v2.1.1-dev.2 06:19:42 v2.1.1-dev.3 06:19:42 v2.2.0 06:19:42 v2.2.1-dev.1 06:19:42 v2.2.1-dev.2 06:19:42 v2.2.1-dev.3 06:19:42 v2.2.1-dev.4 06:19:42 v2.2.1-dev.5 06:19:42 v2.2.1-dev.6 06:19:42 v2.2.1-dev.7 06:19:42 v2.3.0-dev.7 06:19:42 v2.3.0-dev.8 06:19:42 v2.3.0-dev.9 [Pipeline] sh 06:19:42 + lftools sign git-tag v2.3.0-dev.9 06:19:43 Signing Git tag with Sigul... 06:19:43 Signing v2.3.0-dev.9 [Pipeline] echo 06:19:43 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:19:43 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:19:43 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:19:43 $ docker stop --time=1 7642bfbe658bddff95df9eea882467a4b2b4c6ea8d00ab6507826df75a795cf2 06:19:44 $ docker rm -f 7642bfbe658bddff95df9eea882467a4b2b4c6ea8d00ab6507826df75a795cf2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:19:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:19:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:19:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:19:45 prd-ubuntu20.04-docker-8c-8g-21590 does not seem to be running inside a container 06:19:45 $ 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 06:19:46 $ docker top eff596031ee8f24c079fd42558fbc7fa03990ca88c1f87beb6b2f424a1e43fa5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:19:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:19:46 [ssh-agent] Looking for ssh-agent implementation... 06:19:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:19:46 $ docker exec eff596031ee8f24c079fd42558fbc7fa03990ca88c1f87beb6b2f424a1e43fa5 ssh-agent 06:19:46 SSH_AUTH_SOCK=/tmp/ssh-uRZ3hJYMn6Hj/agent.32 06:19:46 SSH_AGENT_PID=38 06:19:46 Running ssh-add (command line suppressed) 06:19:46 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3138277681335817211.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3138277681335817211.key) 06:19:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:19:46 + git semver bump pre 06:19:47 2022-07-31 06:19:47,029 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:19:47 2022-07-31 06:19:47,029 [bump_version] DEBUG bumping version:2.3.0-dev.9 on axis:pre with prefix:dev 06:19:47 2022-07-31 06:19:47,029 [bump_version] DEBUG bumped version:2.3.0-dev.10 06:19:47 2022-07-31 06:19:47,029 [write_version] DEBUG write version:2.3.0-dev.10 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 06:19:47 2022-07-31 06:19:47,029 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:19:47 2022-07-31 06:19:47,029 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:19:47 2022-07-31 06:19:47,031 [execute] INFO git cat-file --batch-check 06:19:47 2022-07-31 06:19:47,031 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:19:47 2022-07-31 06:19:47,036 [execute] INFO git cat-file --batch 06:19:47 2022-07-31 06:19:47,036 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:19:47 2022-07-31 06:19:47,041 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:19:47 2.3.0-dev.10 [Pipeline] } 06:19:47 $ docker exec --env ******** --env ******** eff596031ee8f24c079fd42558fbc7fa03990ca88c1f87beb6b2f424a1e43fa5 ssh-agent -k 06:19:47 unset SSH_AUTH_SOCK; 06:19:47 unset SSH_AGENT_PID; 06:19:47 echo Agent pid 38 killed; 06:19:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:19:47 + git semver [Pipeline] } 06:19:47 $ docker stop --time=1 eff596031ee8f24c079fd42558fbc7fa03990ca88c1f87beb6b2f424a1e43fa5 06:19:49 $ docker rm -f eff596031ee8f24c079fd42558fbc7fa03990ca88c1f87beb6b2f424a1e43fa5 [Pipeline] // withDockerContainer [Pipeline] sh 06:19:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:19:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:19:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:19:49 prd-ubuntu20.04-docker-8c-8g-21590 does not seem to be running inside a container 06:19:49 $ 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 06:19:50 $ docker top aff29d7ec8d9013f00ae7f7638680feb0830150ceb988c1db5fa131f27dc9615 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:19:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:19:50 [ssh-agent] Looking for ssh-agent implementation... 06:19:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:19:50 $ docker exec aff29d7ec8d9013f00ae7f7638680feb0830150ceb988c1db5fa131f27dc9615 ssh-agent 06:19:50 SSH_AUTH_SOCK=/tmp/ssh-LL2PbVYlYMhl/agent.33 06:19:50 SSH_AGENT_PID=40 06:19:50 Running ssh-add (command line suppressed) 06:19:50 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9154796540459982499.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9154796540459982499.key) 06:19:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:19:51 + git semver push 06:19:51 2022-07-31 06:19:51,195 [run_push] DEBUG push 06:19:51 2022-07-31 06:19:51,195 [execute] INFO git cat-file --batch-check 06:19:51 2022-07-31 06:19:51,195 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:19:51 2022-07-31 06:19:51,198 [execute] INFO git rev-list 374e041c23e99322fcd9bfff90a1aabfdc99c468 -- 06:19:51 2022-07-31 06:19:51,198 [execute] DEBUG Popen(['git', 'rev-list', '374e041c23e99322fcd9bfff90a1aabfdc99c468', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:19:51 2022-07-31 06:19:51,204 [execute] INFO git fetch -v origin 06:19:51 2022-07-31 06:19:51,204 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 06:19:51 2022-07-31 06:19:51,672 [run_push] DEBUG no remote changes detected 06:19:51 2022-07-31 06:19:51,672 [execute] INFO git push origin semver 06:19:51 2022-07-31 06:19:51,672 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:19:52 2022-07-31 06:19:52,365 [run_push] DEBUG push all version tags 06:19:52 2022-07-31 06:19:52,365 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:19:52 2022-07-31 06:19:52,366 [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) 06:19:53 2022-07-31 06:19:53,056 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:19:53 2.3.0-dev.10 [Pipeline] } 06:19:53 $ docker exec --env ******** --env ******** aff29d7ec8d9013f00ae7f7638680feb0830150ceb988c1db5fa131f27dc9615 ssh-agent -k 06:19:53 unset SSH_AUTH_SOCK; 06:19:53 unset SSH_AGENT_PID; 06:19:53 echo Agent pid 40 killed; 06:19:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:19:53 + git semver [Pipeline] } 06:19:54 $ docker stop --time=1 aff29d7ec8d9013f00ae7f7638680feb0830150ceb988c1db5fa131f27dc9615 06:19:55 $ docker rm -f aff29d7ec8d9013f00ae7f7638680feb0830150ceb988c1db5fa131f27dc9615 [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 06:19:56 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 06:19:56 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 06:19:56 total 16 06:19:56 drwxr-xr-x 3 root root 4096 Jul 31 06:11 . 06:19:56 drwxrwxr-x 11 jenkins jenkins 4096 Jul 31 06:19 .. 06:19:56 drwxr-xr-x 2 root root 4096 Jul 31 06:11 cost 06:19:56 -rw-r--r-- 1 root root 87 Jul 31 06:11 cost.csv 06:19:56 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 06:19:56 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 06:19:56 total 16 06:19:56 drwxr-xr-x 3 jenkins jenkins 4096 Jul 31 06:11 . 06:19:56 drwxrwxr-x 11 jenkins jenkins 4096 Jul 31 06:19 .. 06:19:56 drwxr-xr-x 2 jenkins jenkins 4096 Jul 31 06:11 cost 06:19:56 -rw-r--r-- 1 jenkins jenkins 87 Jul 31 06:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:19:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:19:57 ---> package-listing.sh 06:19:57 ++ facter osfamily 06:19:57 ++ tr '[:upper:]' '[:lower:]' 06:19:57 + OS_FAMILY=debian 06:19:57 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 06:19:57 + START_PACKAGES=/tmp/packages_start.txt 06:19:57 + END_PACKAGES=/tmp/packages_end.txt 06:19:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:19:57 + PACKAGES=/tmp/packages_start.txt 06:19:57 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 06:19:57 + PACKAGES=/tmp/packages_end.txt 06:19:57 + case "${OS_FAMILY}" in 06:19:57 + dpkg -l 06:19:57 + grep '^ii' 06:19:57 + '[' -f /tmp/packages_start.txt ']' 06:19:57 + '[' -f /tmp/packages_end.txt ']' 06:19:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:19:57 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 06:19:57 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 06:19:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 06:19:57 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 06:19:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:19:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:19:58 prd-ubuntu20.04-docker-8c-8g-21590 does not seem to be running inside a container 06:19:58 $ 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 06:19:58 $ docker top 99a779c414b5464bdcda864a1347feab08825396d92fb5aa6ccbd5086b8f0869 -eo pid,comm [Pipeline] { [Pipeline] sh 06:19:59 + touch /tmp/pre-build-complete [Pipeline] sh 06:19:59 + mkdir -p /var/log/sysstat [Pipeline] sh 06:19:59 + ls /var/log/sa-host 06:19:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:20:00 provisioning config files... 06:20:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2755015679334660792tmp [Pipeline] { [Pipeline] echo 06:20:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:20:00 ---> create-netrc.sh [Pipeline] } 06:20:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:20:00 ---> python-tools-install.sh [Pipeline] echo 06:20:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:20:00 ---> sudo-logs.sh 06:20:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:20:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:20:01 ---> job-cost.sh 06:20:01 lf-activate-venv: SKIPPING 06:20:01 DEBUG: total: 0.2199999988079071 06:20:01 INFO: Retrieving Stack Cost... 06:20:01 INFO: Retrieving Pricing Info for: v3-standard-8 06:20:02 INFO: Archiving Costs [Pipeline] echo 06:20:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:20:02 ---> logs-deploy.sh 06:20:02 lf-activate-venv: SKIPPING 06:20:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/48 06:20:02 INFO: archiving workspace using pattern(s): 06:20:03 Archives upload complete. 06:20:03 INFO: archiving logs to Nexus 06:20:04 ---> uname -a: 06:20:04 Linux prd-ubuntu20-04-docker-8c-8g-21590 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 06:20:04 06:20:04 06:20:04 ---> lscpu: 06:20:04 Architecture: x86_64 06:20:04 CPU op-mode(s): 32-bit, 64-bit 06:20:04 Byte Order: Little Endian 06:20:04 Address sizes: 40 bits physical, 48 bits virtual 06:20:04 CPU(s): 8 06:20:04 On-line CPU(s) list: 0-7 06:20:04 Thread(s) per core: 1 06:20:04 Core(s) per socket: 1 06:20:04 Socket(s): 8 06:20:04 NUMA node(s): 1 06:20:04 Vendor ID: AuthenticAMD 06:20:04 CPU family: 23 06:20:04 Model: 49 06:20:04 Model name: AMD EPYC-Rome Processor 06:20:04 Stepping: 0 06:20:04 CPU MHz: 2799.994 06:20:04 BogoMIPS: 5599.98 06:20:04 Virtualization: AMD-V 06:20:04 Hypervisor vendor: KVM 06:20:04 Virtualization type: full 06:20:04 L1d cache: 256 KiB 06:20:04 L1i cache: 256 KiB 06:20:04 L2 cache: 4 MiB 06:20:04 L3 cache: 128 MiB 06:20:04 NUMA node0 CPU(s): 0-7 06:20:04 Vulnerability Itlb multihit: Not affected 06:20:04 Vulnerability L1tf: Not affected 06:20:04 Vulnerability Mds: Not affected 06:20:04 Vulnerability Meltdown: Not affected 06:20:04 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:20:04 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 06:20:04 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 06:20:04 Vulnerability Srbds: Not affected 06:20:04 Vulnerability Tsx async abort: Not affected 06:20:04 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 06:20:04 06:20:04 06:20:04 ---> nproc: 06:20:04 8 06:20:04 06:20:04 06:20:04 ---> df -h: 06:20:04 Filesystem Size Used Avail Use% Mounted on 06:20:04 overlay 155G 12G 143G 8% / 06:20:04 tmpfs 64M 0 64M 0% /dev 06:20:04 tmpfs 16G 0 16G 0% /sys/fs/cgroup 06:20:04 shm 64M 0 64M 0% /dev/shm 06:20:04 /dev/vda1 155G 12G 143G 8% /facter-os 06:20:04 06:20:04 06:20:04 ---> sar -b -r -n DEV: 06:20:04 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-21590) 07/31/22 _x86_64_ (8 CPU) 06:20:04 06:20:04 06:09:11 LINUX RESTART (8 CPU) 06:20:04 06:20:04 06:10:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:20:04 06:11:01 161.11 1.68 159.43 0.00 41.35 63472.63 0.00 06:20:04 06:12:01 171.24 0.10 171.14 0.00 8.40 39397.43 0.00 06:20:04 06:13:01 1.63 0.00 1.63 0.00 0.00 24.81 0.00 06:20:04 06:14:01 1.48 0.00 1.48 0.00 0.00 17.46 0.00 06:20:04 06:15:01 1.22 0.02 1.20 0.00 0.13 14.00 0.00 06:20:04 06:16:01 1.72 0.00 1.72 0.00 0.00 19.73 0.00 06:20:04 06:17:01 0.98 0.02 0.97 0.00 0.13 10.26 0.00 06:20:04 06:18:01 1.68 0.00 1.68 0.00 0.00 19.06 0.00 06:20:04 06:19:01 1.00 0.10 0.90 0.00 10.26 11.73 0.00 06:20:04 06:20:01 137.48 0.45 137.03 0.00 21.20 58640.76 0.00 06:20:04 Average: 47.76 0.23 47.53 0.00 8.09 16083.55 0.00 06:20:04 06:20:04 06:10:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:20:04 06:11:01 27821888 31287044 1006352 3.06 159356 3495156 2454296 7.23 1706460 2883452 128632 06:20:04 06:12:01 27688156 31766716 526196 1.60 171664 4056600 1842280 5.43 1286864 3400776 304 06:20:04 06:13:01 27695888 31774544 518288 1.58 171700 4056604 1842280 5.43 1274216 3400780 28 06:20:04 06:14:01 27700428 31779148 513568 1.56 171736 4056612 1842280 5.43 1270380 3400788 36 06:20:04 06:15:01 27706140 31784948 507776 1.54 171788 4056612 1842280 5.43 1265032 3400880 20 06:20:04 06:16:01 27706572 31785412 507232 1.54 171812 4056624 1842280 5.43 1264560 3400888 16 06:20:04 06:17:01 27715184 31794076 498512 1.52 171836 4056620 1842280 5.43 1255804 3400888 16 06:20:04 06:18:01 27715648 31794628 497736 1.51 171856 4056628 1858332 5.48 1255704 3400892 24 06:20:04 06:19:01 27717096 31796160 496236 1.51 171872 4056632 1860292 5.48 1256428 3400940 20 06:20:04 06:20:01 26192992 31756388 527552 1.60 215516 5365928 2005704 5.91 1391128 4646412 224 06:20:04 Average: 27565999 31731906 559945 1.70 174914 4131402 1923230 5.67 1322658 3473670 12932 06:20:04 06:20:04 06:10:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:20:04 06:11:01 vethea141b0 0.00 0.17 0.00 0.02 0.00 0.00 0.00 0.00 06:20:04 06:11:01 docker0 119.03 150.99 9.56 1123.11 0.00 0.00 0.00 0.00 06:20:04 06:11:01 lo 2.78 2.78 0.27 0.27 0.00 0.00 0.00 0.00 06:20:04 06:11:01 ens3 354.57 252.91 5160.43 89.65 0.00 0.00 0.00 0.00 06:20:04 06:12:01 docker0 16.58 20.33 0.98 92.58 0.00 0.00 0.00 0.00 06:20:04 06:12:01 lo 8.20 8.20 0.80 0.80 0.00 0.00 0.00 0.00 06:20:04 06:12:01 ens3 213.03 166.64 2707.35 284.89 0.00 0.00 0.00 0.00 06:20:04 06:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:04 06:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:04 06:13:01 ens3 0.80 0.70 0.05 0.08 0.00 0.00 0.00 0.00 06:20:04 06:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:04 06:14:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 06:20:04 06:14:01 ens3 10.11 6.15 14.30 0.43 0.00 0.00 0.00 0.00 06:20:04 06:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:04 06:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:04 06:15:01 ens3 0.58 0.27 0.31 0.19 0.00 0.00 0.00 0.00 06:20:04 06:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:04 06:16:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 06:20:04 06:16:01 ens3 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 06:20:04 06:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:04 06:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:04 06:17:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:04 06:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:04 06:18:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 06:20:04 06:18:01 ens3 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 06:20:04 06:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:04 06:19:01 lo 0.20 0.20 0.02 0.02 0.00 0.00 0.00 0.00 06:20:04 06:19:01 ens3 4.53 3.28 4.86 1.61 0.00 0.00 0.00 0.00 06:20:04 06:20:01 docker0 35.16 43.51 3.40 685.36 0.00 0.00 0.00 0.00 06:20:04 06:20:01 lo 2.33 2.33 0.23 0.23 0.00 0.00 0.00 0.00 06:20:04 06:20:01 ens3 401.35 275.27 7925.11 123.28 0.00 0.00 0.00 0.00 06:20:04 Average: docker0 16.91 21.27 1.38 188.54 0.00 0.00 0.00 0.00 06:20:04 Average: lo 1.41 1.41 0.14 0.14 0.00 0.00 0.00 0.00 06:20:04 Average: ens3 98.10 70.24 1575.24 49.95 0.00 0.00 0.00 0.00 06:20:04 06:20:04 06:20:04 ---> sar -P ALL: 06:20:04 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-21590) 07/31/22 _x86_64_ (8 CPU) 06:20:04 06:20:04 06:09:11 LINUX RESTART (8 CPU) 06:20:04 06:20:04 06:10:02 CPU %user %nice %system %iowait %steal %idle 06:20:04 06:11:01 all 22.06 0.00 5.04 2.55 0.10 70.25 06:20:04 06:11:01 0 22.21 0.00 5.81 10.47 0.10 61.40 06:20:04 06:11:01 1 21.11 0.00 5.42 1.12 0.19 72.16 06:20:04 06:11:01 2 23.11 0.00 4.71 0.56 0.07 71.55 06:20:04 06:11:01 3 21.42 0.00 4.73 5.38 0.07 68.40 06:20:04 06:11:01 4 22.04 0.00 5.39 0.57 0.09 71.92 06:20:04 06:11:01 5 22.45 0.00 4.43 0.38 0.09 72.66 06:20:04 06:11:01 6 22.55 0.00 4.74 1.81 0.10 70.80 06:20:04 06:11:01 7 21.62 0.00 5.06 0.10 0.12 73.10 06:20:04 06:12:01 all 21.87 0.00 4.75 1.54 0.11 71.73 06:20:04 06:12:01 0 21.96 0.00 4.44 2.34 0.10 71.16 06:20:04 06:12:01 1 21.95 0.00 4.82 1.25 0.08 71.90 06:20:04 06:12:01 2 21.61 0.00 5.72 4.07 0.13 68.47 06:20:04 06:12:01 3 21.04 0.00 4.55 0.44 0.08 73.89 06:20:04 06:12:01 4 22.92 0.00 4.77 0.10 0.10 72.11 06:20:04 06:12:01 5 21.50 0.00 4.74 1.70 0.07 71.99 06:20:04 06:12:01 6 22.01 0.00 4.68 2.17 0.08 71.06 06:20:04 06:12:01 7 21.99 0.00 4.31 0.22 0.19 73.30 06:20:04 06:13:01 all 0.10 0.00 0.02 0.00 0.01 99.87 06:20:04 06:13:01 0 0.00 0.00 0.03 0.00 0.00 99.97 06:20:04 06:13:01 1 0.00 0.00 0.00 0.02 0.00 99.98 06:20:04 06:13:01 2 0.03 0.00 0.02 0.00 0.02 99.93 06:20:04 06:13:01 3 0.05 0.00 0.02 0.00 0.02 99.92 06:20:04 06:13:01 4 0.00 0.00 0.02 0.00 0.02 99.97 06:20:04 06:13:01 5 0.67 0.00 0.03 0.02 0.02 99.27 06:20:04 06:13:01 6 0.00 0.00 0.02 0.00 0.00 99.98 06:20:04 06:13:01 7 0.03 0.00 0.00 0.00 0.00 99.97 06:20:04 06:14:01 all 0.04 0.00 0.03 0.00 0.01 99.92 06:20:04 06:14:01 0 0.00 0.00 0.00 0.00 0.00 100.00 06:20:04 06:14:01 1 0.02 0.00 0.03 0.02 0.02 99.92 06:20:04 06:14:01 2 0.10 0.00 0.07 0.02 0.03 99.78 06:20:04 06:14:01 3 0.07 0.00 0.00 0.00 0.00 99.93 06:20:04 06:14:01 4 0.03 0.00 0.00 0.00 0.00 99.97 06:20:04 06:14:01 5 0.03 0.00 0.02 0.00 0.00 99.95 06:20:04 06:14:01 6 0.02 0.00 0.00 0.00 0.00 99.98 06:20:04 06:14:01 7 0.05 0.00 0.08 0.00 0.00 99.87 06:20:04 06:15:01 all 0.21 0.00 0.01 0.00 0.00 99.77 06:20:04 06:15:01 0 0.02 0.00 0.02 0.00 0.00 99.97 06:20:04 06:15:01 1 0.03 0.00 0.00 0.02 0.00 99.95 06:20:04 06:15:01 2 1.53 0.00 0.03 0.00 0.02 98.42 06:20:04 06:15:01 3 0.02 0.00 0.03 0.00 0.00 99.95 06:20:04 06:15:01 4 0.02 0.00 0.02 0.00 0.00 99.97 06:20:04 06:15:01 5 0.00 0.00 0.02 0.00 0.00 99.98 06:20:04 06:15:01 6 0.03 0.00 0.00 0.00 0.00 99.97 06:20:04 06:15:01 7 0.00 0.00 0.00 0.00 0.00 100.00 06:20:04 06:16:01 all 0.27 0.00 0.01 0.01 0.01 99.70 06:20:04 06:16:01 0 0.02 0.00 0.02 0.00 0.00 99.97 06:20:04 06:16:01 1 0.03 0.00 0.02 0.03 0.00 99.92 06:20:04 06:16:01 2 2.00 0.00 0.00 0.02 0.00 97.98 06:20:04 06:16:01 3 0.03 0.00 0.03 0.00 0.02 99.92 06:20:04 06:16:01 4 0.05 0.00 0.02 0.00 0.02 99.92 06:20:04 06:16:01 5 0.00 0.00 0.02 0.02 0.02 99.95 06:20:04 06:16:01 6 0.00 0.00 0.00 0.00 0.00 100.00 06:20:04 06:16:01 7 0.02 0.00 0.00 0.00 0.00 99.98 06:20:04 06:17:01 all 0.06 0.00 0.01 0.00 0.01 99.92 06:20:04 06:17:01 0 0.03 0.00 0.03 0.00 0.00 99.93 06:20:04 06:17:01 1 0.02 0.00 0.02 0.00 0.02 99.95 06:20:04 06:17:01 2 0.37 0.00 0.00 0.00 0.02 99.62 06:20:04 06:17:01 3 0.02 0.00 0.02 0.00 0.00 99.97 06:20:04 06:17:01 4 0.02 0.00 0.03 0.00 0.02 99.93 06:20:04 06:17:01 5 0.00 0.00 0.00 0.00 0.00 100.00 06:20:04 06:17:01 6 0.02 0.00 0.00 0.00 0.00 99.98 06:20:04 06:17:01 7 0.00 0.00 0.00 0.00 0.00 100.00 06:20:04 06:18:01 all 0.04 0.00 0.01 0.00 0.01 99.94 06:20:04 06:18:01 0 0.00 0.00 0.02 0.00 0.02 99.97 06:20:04 06:18:01 1 0.00 0.00 0.00 0.02 0.00 99.98 06:20:04 06:18:01 2 0.07 0.00 0.02 0.02 0.00 99.90 06:20:04 06:18:01 3 0.02 0.00 0.03 0.00 0.00 99.95 06:20:04 06:18:01 4 0.15 0.00 0.02 0.00 0.03 99.80 06:20:04 06:18:01 5 0.02 0.00 0.00 0.00 0.00 99.98 06:20:04 06:18:01 6 0.10 0.00 0.00 0.00 0.00 99.90 06:20:04 06:18:01 7 0.00 0.00 0.00 0.00 0.00 100.00 06:20:04 06:19:01 all 0.07 0.00 0.08 0.01 0.00 99.84 06:20:04 06:19:01 0 0.07 0.00 0.10 0.00 0.00 99.83 06:20:04 06:19:01 1 0.02 0.00 0.05 0.05 0.00 99.88 06:20:04 06:19:01 2 0.12 0.00 0.12 0.00 0.02 99.75 06:20:04 06:19:01 3 0.05 0.00 0.05 0.00 0.00 99.90 06:20:04 06:19:01 4 0.17 0.00 0.10 0.00 0.02 99.72 06:20:04 06:19:01 5 0.03 0.00 0.08 0.02 0.00 99.87 06:20:04 06:19:01 6 0.05 0.00 0.07 0.00 0.00 99.88 06:20:04 06:19:01 7 0.05 0.00 0.05 0.00 0.00 99.90 06:20:04 06:20:01 all 10.10 0.00 3.86 2.31 0.09 83.65 06:20:04 06:20:01 0 11.57 0.00 3.80 0.46 0.07 84.10 06:20:04 06:20:01 1 9.60 0.00 3.48 1.94 0.07 84.92 06:20:04 06:20:01 2 9.12 0.00 3.15 0.50 0.17 87.06 06:20:04 06:20:01 3 10.75 0.00 3.58 2.56 0.07 83.04 06:20:04 06:20:01 4 10.74 0.00 3.88 0.69 0.05 84.64 06:20:04 06:20:01 5 9.28 0.00 5.15 11.46 0.15 73.95 06:20:04 06:20:01 6 10.08 0.00 3.95 0.29 0.07 85.62 06:20:04 06:20:01 7 9.65 0.00 3.87 0.59 0.07 85.82 06:20:04 Average: all 5.41 0.00 1.36 0.63 0.03 92.56 06:20:04 Average: 0 5.51 0.00 1.41 1.30 0.03 91.75 06:20:04 Average: 1 5.21 0.00 1.37 0.44 0.04 92.95 06:20:04 Average: 2 5.74 0.00 1.37 0.51 0.05 92.34 06:20:04 Average: 3 5.27 0.00 1.29 0.82 0.03 92.60 06:20:04 Average: 4 5.53 0.00 1.40 0.13 0.03 92.90 06:20:04 Average: 5 5.32 0.00 1.43 1.35 0.03 91.86 06:20:04 Average: 6 5.42 0.00 1.33 0.42 0.03 92.81 06:20:04 Average: 7 5.26 0.00 1.32 0.09 0.04 93.30 06:20:04 06:20:04 06:20:04