Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 19276090c2e057c4cba34782a88296b78f541de3 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-ssh4667574743841002286.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-ssh8373129914154346704.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-ssh16502267539878228193.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-ssh9050724599010340871.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d 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-ssh6046223711975893407.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-22777 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 19276090c2e057c4cba34782a88296b78f541de3 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 19276090c2e057c4cba34782a88296b78f541de3 # timeout=10 Commit message: "Merge pull request #368 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.19" > git rev-list --no-walk bb07e7e09273fde4df233cc08be8d273e9c828cd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:16:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:16:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:16:29 ========================================================= 05:16:29 EdgeX Global Pipelines Version Info 05:16:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:16:29 ------------------- 05:16:29 stable info: 05:16:29 ------------------- 05:16:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:16:29 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 05:16:29 Message: update stable to v1.0.238 05:16:30 ------------------- 05:16:30 experimental info: 05:16:30 ------------------- 05:16:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:16:30 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 05:16:30 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:16:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:16:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:16:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:16:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:16:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:16:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:16:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:16:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:16:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:16:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:16:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:16:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:16:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:16:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:16:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:16:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:16:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:16:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:16:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:16:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:16:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:16:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:16:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:16:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:16:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:16:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:16:30 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:16:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:16:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:16:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:16:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 19276090c2e057c4cba34782a88296b78f541de3 [Pipeline] echo 05:16:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1927609 [Pipeline] echo 05:16:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:16:31 provisioning config files... 05:16:31 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config732003773525652933tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:16:31 ---> docker-login.sh 05:16:31 nexus3.edgexfoundry.org:10001 05:16:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:16:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:16:31 Configure a credential helper to remove this warning. See 05:16:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:16:31 05:16:31 Login Succeeded 05:16:31 nexus3.edgexfoundry.org:10002 05:16:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:16:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:16:31 Configure a credential helper to remove this warning. See 05:16:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:16:31 05:16:31 Login Succeeded 05:16:31 nexus3.edgexfoundry.org:10003 05:16:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:16:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:16:32 Configure a credential helper to remove this warning. See 05:16:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:16:32 05:16:32 Login Succeeded 05:16:32 nexus3.edgexfoundry.org:10004 05:16:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:16:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:16:32 Configure a credential helper to remove this warning. See 05:16:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:16:32 05:16:32 Login Succeeded 05:16:32 docker.io 05:16:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:16:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:16:32 Configure a credential helper to remove this warning. See 05:16:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:16:32 05:16:32 Login Succeeded 05:16:32 ---> docker-login.sh ends [Pipeline] } 05:16:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:16:33 + git rev-list -1 --merges 19276090c2e057c4cba34782a88296b78f541de3~1..19276090c2e057c4cba34782a88296b78f541de3 [Pipeline] echo 05:16:33 -----------> git rev-list -1 --merges 19276090c2e057c4cba34782a88296b78f541de3~1..19276090c2e057c4cba34782a88296b78f541de3 19276090c2e057c4cba34782a88296b78f541de3 05:16:33 19276090c2e057c4cba34782a88296b78f541de3 [false] [Pipeline] sh 05:16:33 + git log --format=format:%s -1 19276090c2e057c4cba34782a88296b78f541de3 [Pipeline] echo 05:16:33 ========================================================= 05:16:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:16:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:16:33 + git log --format=format:%s -1 19276090c2e057c4cba34782a88296b78f541de3 [Pipeline] echo 05:16:33 [semverPrep] GIT_COMMIT: 19276090c2e057c4cba34782a88296b78f541de3, Commit Message: Merge pull request #368 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.19 [Pipeline] echo 05:16:33 [semverPrep] This is not a build commit. [Pipeline] sh 05:16:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:16:34 + grep -v github /etc/ssh/ssh_known_hosts 05:16:34 + [ -e /tmp/ssh_known_hosts ] 05:16:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:16:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:16:34 + sudo tee -a /etc/ssh/ssh_known_hosts 05:16:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:16:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:16:34 05:16:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:16:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:16:34 0.1.4: Pulling from edgex-devops/py-git-semver 05:16:34 b85a868b505f: Pulling fs layer 05:16:34 e2be974225ed: Pulling fs layer 05:16:34 339a4e72a1f5: Pulling fs layer 05:16:34 988bab9f4d93: Pulling fs layer 05:16:34 1469e6f7b9e6: Pulling fs layer 05:16:34 eaf3925da568: Pulling fs layer 05:16:34 bab4dde63d76: Pulling fs layer 05:16:34 bde34c3a00c8: Pulling fs layer 05:16:34 b352a97aabf1: Pulling fs layer 05:16:34 4872d77fe225: Pulling fs layer 05:16:34 5851b861e8e6: Pulling fs layer 05:16:34 988bab9f4d93: Waiting 05:16:34 1469e6f7b9e6: Waiting 05:16:34 eaf3925da568: Waiting 05:16:34 bab4dde63d76: Waiting 05:16:34 bde34c3a00c8: Waiting 05:16:34 5851b861e8e6: Waiting 05:16:34 4872d77fe225: Waiting 05:16:34 b352a97aabf1: Waiting 05:16:34 e2be974225ed: Verifying Checksum 05:16:34 e2be974225ed: Download complete 05:16:34 988bab9f4d93: Verifying Checksum 05:16:34 988bab9f4d93: Download complete 05:16:35 1469e6f7b9e6: Verifying Checksum 05:16:35 1469e6f7b9e6: Download complete 05:16:35 eaf3925da568: Verifying Checksum 05:16:35 eaf3925da568: Download complete 05:16:35 339a4e72a1f5: Verifying Checksum 05:16:35 339a4e72a1f5: Download complete 05:16:35 bde34c3a00c8: Download complete 05:16:35 b352a97aabf1: Verifying Checksum 05:16:35 b352a97aabf1: Download complete 05:16:35 4872d77fe225: Verifying Checksum 05:16:35 4872d77fe225: Download complete 05:16:35 5851b861e8e6: Verifying Checksum 05:16:35 5851b861e8e6: Download complete 05:16:35 b85a868b505f: Download complete 05:16:35 bab4dde63d76: Verifying Checksum 05:16:35 bab4dde63d76: Download complete 05:16:36 b85a868b505f: Pull complete 05:16:36 e2be974225ed: Pull complete 05:16:37 339a4e72a1f5: Pull complete 05:16:37 988bab9f4d93: Pull complete 05:16:37 1469e6f7b9e6: Pull complete 05:16:37 eaf3925da568: Pull complete 05:16:39 bab4dde63d76: Pull complete 05:16:39 bde34c3a00c8: Pull complete 05:16:40 b352a97aabf1: Pull complete 05:16:40 4872d77fe225: Pull complete 05:16:40 5851b861e8e6: Pull complete 05:16:40 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:16:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:16:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:16:40 prd-ubuntu20.04-docker-8c-8g-22777 does not seem to be running inside a container 05:16:40 $ 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 05:16:41 $ docker top dd6497ad7afef134eed427e9e71e385464bc509bd02a06889935601ccbc4c6d1 -eo pid,comm 05:16:41 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). 05:16:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:16:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:16:42 [ssh-agent] Looking for ssh-agent implementation... 05:16:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:16:42 $ docker exec dd6497ad7afef134eed427e9e71e385464bc509bd02a06889935601ccbc4c6d1 ssh-agent 05:16:42 SSH_AUTH_SOCK=/tmp/ssh-3AvLdTkCiMZw/agent.35 05:16:42 SSH_AGENT_PID=42 05:16:42 Running ssh-add (command line suppressed) 05:16:42 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6421054658254018376.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6421054658254018376.key) 05:16:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:16:42 + git tag --points-at HEAD [Pipeline] } 05:16:42 $ docker exec --env ******** --env ******** dd6497ad7afef134eed427e9e71e385464bc509bd02a06889935601ccbc4c6d1 ssh-agent -k 05:16:42 unset SSH_AUTH_SOCK; 05:16:42 unset SSH_AGENT_PID; 05:16:42 echo Agent pid 42 killed; 05:16:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:16:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:16:42 [ssh-agent] Looking for ssh-agent implementation... 05:16:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:16:43 $ docker exec dd6497ad7afef134eed427e9e71e385464bc509bd02a06889935601ccbc4c6d1 ssh-agent 05:16:43 SSH_AUTH_SOCK=/tmp/ssh-5DoGI9f9oDU5/agent.75 05:16:43 SSH_AGENT_PID=82 05:16:43 Running ssh-add (command line suppressed) 05:16:43 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1864253483870988401.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1864253483870988401.key) 05:16:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:16:43 + git semver init 05:16:43 2022-08-15 05:16:43,845 [run_init] DEBUG init version:0.0.0 force:False 05:16:43 2022-08-15 05:16:43,845 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 05:16:43 2022-08-15 05:16:43,846 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 05:16:43 2022-08-15 05:16:43,846 [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) 05:16:44 2022-08-15 05:16:44,584 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 05:16:44 2022-08-15 05:16:44,584 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 05:16:44 2022-08-15 05:16:44,585 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:16:44 2022-08-15 05:16:44,585 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:16:44 2.3.0-dev.11 [Pipeline] } 05:16:44 $ docker exec --env ******** --env ******** dd6497ad7afef134eed427e9e71e385464bc509bd02a06889935601ccbc4c6d1 ssh-agent -k 05:16:44 unset SSH_AUTH_SOCK; 05:16:44 unset SSH_AGENT_PID; 05:16:44 echo Agent pid 82 killed; 05:16:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:16:45 + git semver [Pipeline] } 05:16:45 $ docker stop --time=1 dd6497ad7afef134eed427e9e71e385464bc509bd02a06889935601ccbc4c6d1 05:16:46 $ docker rm -f dd6497ad7afef134eed427e9e71e385464bc509bd02a06889935601ccbc4c6d1 [Pipeline] // withDockerContainer [Pipeline] sh 05:16:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:16:47 Stashed 1 file(s) [Pipeline] echo 05:16:47 [edgeXSemver]: initialized semver on version 2.3.0-dev.11 [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 05:16:47 provisioning config files... 05:16:47 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config142950144264309166tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:16:47 ---> docker-login.sh 05:16:47 nexus3.edgexfoundry.org:10001 05:16:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:16:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:16:47 Configure a credential helper to remove this warning. See 05:16:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:16:47 05:16:47 Login Succeeded 05:16:47 nexus3.edgexfoundry.org:10002 05:16:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:16:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:16:48 Configure a credential helper to remove this warning. See 05:16:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:16:48 05:16:48 Login Succeeded 05:16:48 nexus3.edgexfoundry.org:10003 05:16:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:16:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:16:48 Configure a credential helper to remove this warning. See 05:16:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:16:48 05:16:48 Login Succeeded 05:16:48 nexus3.edgexfoundry.org:10004 05:16:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:16:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:16:48 Configure a credential helper to remove this warning. See 05:16:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:16:48 05:16:48 Login Succeeded 05:16:48 docker.io 05:16:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:16:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:16:48 Configure a credential helper to remove this warning. See 05:16:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:16:48 05:16:48 Login Succeeded 05:16:48 ---> docker-login.sh ends [Pipeline] } 05:16:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:16:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:16:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:16:48 ========================================================= 05:16:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:16:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:16:49 + 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 . 05:16:49 Sending build context to Docker daemon 6.105MB 05:16:49 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 05:16:49 Step 2/10 : FROM ${BASE} AS builder 05:16:49 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:16:49 2408cc74d12b: Pulling fs layer 05:16:49 ea60b727a1ce: Pulling fs layer 05:16:49 30c4a7721957: Pulling fs layer 05:16:49 370296b7ddb6: Pulling fs layer 05:16:49 7c6cee850709: Pulling fs layer 05:16:49 39a5fcdaea64: Pulling fs layer 05:16:49 d94ebbe4e438: Pulling fs layer 05:16:49 bcfd1f05c69d: Pulling fs layer 05:16:49 59ccb84bbe0f: Pulling fs layer 05:16:49 39a5fcdaea64: Waiting 05:16:49 d94ebbe4e438: Waiting 05:16:49 bcfd1f05c69d: Waiting 05:16:49 59ccb84bbe0f: Waiting 05:16:49 7c6cee850709: Waiting 05:16:49 30c4a7721957: Verifying Checksum 05:16:49 30c4a7721957: Download complete 05:16:49 ea60b727a1ce: Download complete 05:16:49 7c6cee850709: Verifying Checksum 05:16:49 7c6cee850709: Download complete 05:16:49 39a5fcdaea64: Download complete 05:16:49 2408cc74d12b: Verifying Checksum 05:16:49 2408cc74d12b: Download complete 05:16:49 d94ebbe4e438: Download complete 05:16:49 2408cc74d12b: Pull complete 05:16:49 ea60b727a1ce: Pull complete 05:16:49 30c4a7721957: Pull complete 05:16:49 59ccb84bbe0f: Verifying Checksum 05:16:49 59ccb84bbe0f: Download complete 05:16:49 bcfd1f05c69d: Verifying Checksum 05:16:50 370296b7ddb6: Verifying Checksum 05:16:50 370296b7ddb6: Download complete 05:16:54 370296b7ddb6: Pull complete 05:16:54 7c6cee850709: Pull complete 05:16:54 39a5fcdaea64: Pull complete 05:16:54 d94ebbe4e438: Pull complete 05:16:57 bcfd1f05c69d: Pull complete 05:16:57 59ccb84bbe0f: Pull complete 05:16:57 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 05:16:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:16:57 ---> a4fb48ad2a94 05:16:57 Step 3/10 : ARG MAKE='make build' 05:16:59 ---> Running in 8b9442831b59 05:16:59 Removing intermediate container 8b9442831b59 05:16:59 ---> ceb020e63463 05:16:59 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:16:59 ---> Running in a62054965950 05:17:00 Removing intermediate container a62054965950 05:17:00 ---> a1b9c96e2c90 05:17:00 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:17:00 ---> Running in 0e8944b281d6 05:17:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:17:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:17:01 (1/8) Installing openssh-keygen (9.0_p1-r2) 05:17:01 (2/8) Installing libedit (20210910.3.1-r0) 05:17:01 (3/8) Installing openssh-client-common (9.0_p1-r2) 05:17:01 (4/8) Installing openssh-client-default (9.0_p1-r2) 05:17:01 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 05:17:01 (6/8) Installing openssh-server-common (9.0_p1-r2) 05:17:02 (7/8) Installing openssh-server (9.0_p1-r2) 05:17:02 (8/8) Installing openssh (9.0_p1-r2) 05:17:02 Executing busybox-1.35.0-r13.trigger 05:17:02 OK: 217 MiB in 59 packages 05:17:02 Still waiting to schedule task 05:17:02 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:17:02 Removing intermediate container 0e8944b281d6 05:17:02 ---> d0760d75ae99 05:17:02 Step 6/10 : WORKDIR /device-modbus-go 05:17:02 ---> Running in f71feaaabe5d 05:17:03 Removing intermediate container f71feaaabe5d 05:17:03 ---> f53a26f6bb79 05:17:03 Step 7/10 : COPY go.mod vendor* ./ 05:17:03 ---> 358778761a17 05:17:03 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:17:03 ---> Running in 446fbcf11cfe 05:17:21 Removing intermediate container 446fbcf11cfe 05:17:21 ---> 654c976eb04c 05:17:21 Step 9/10 : COPY . . 05:17:21 ---> 965f4fdfb1b8 05:17:21 Step 10/10 : RUN ${MAKE} 05:17:21 ---> Running in 1f4a77545ee3 05:17:21 noop 05:17:21 Removing intermediate container 1f4a77545ee3 05:17:21 ---> af888651199a 05:17:21 Successfully built af888651199a 05:17:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:17:21 + docker inspect -f . ci-base-image-x86_64 05:17:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:17:21 prd-ubuntu20.04-docker-8c-8g-22777 does not seem to be running inside a container 05:17:21 $ 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 05:17:22 $ docker top 7ce322e08201c1079a182b9e8350db791890832fee46acc9a6d1f68c24b1a9e0 -eo pid,comm [Pipeline] { [Pipeline] sh 05:17:22 + go version 05:17:22 go version go1.18.3 linux/amd64 [Pipeline] } 05:17:22 $ docker stop --time=1 7ce322e08201c1079a182b9e8350db791890832fee46acc9a6d1f68c24b1a9e0 05:17:23 $ docker rm -f 7ce322e08201c1079a182b9e8350db791890832fee46acc9a6d1f68c24b1a9e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:17:24 + docker inspect -f . ci-base-image-x86_64 05:17:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:17:24 prd-ubuntu20.04-docker-8c-8g-22777 does not seem to be running inside a container 05:17:24 $ 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 05:17:24 $ docker top 6ad0b178af06d75172e5c58e81114047a2ca42dd3f31d23f3f3555b01eeb419c -eo pid,comm [Pipeline] { [Pipeline] sh 05:17:25 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 05:17:25 + make test 05:17:25 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:17:26 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:17:36 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:17:36 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.010s coverage: 47.7% of statements 05:17:42 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." 05:17:42 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:17:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:17:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:17:46 ./bin/test-attribution-txt.sh 05:17:46 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 05:17:46 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 05:17:46 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 05:17:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:17:47 $ docker stop --time=1 6ad0b178af06d75172e5c58e81114047a2ca42dd3f31d23f3f3555b01eeb419c 05:17:48 $ docker rm -f 6ad0b178af06d75172e5c58e81114047a2ca42dd3f31d23f3f3555b01eeb419c [Pipeline] // withDockerContainer [Pipeline] sh 05:17:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:17:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:17:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:17:50 + ls -al . 05:17:50 total 188 05:17:50 drwxrwxr-x 10 jenkins jenkins 4096 Aug 15 05:17 . 05:17:50 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 05:16 .. 05:17:50 -rw-rw-r-- 1 jenkins jenkins 140 Aug 15 05:16 .dockerignore 05:17:50 drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 05:17 .git 05:17:50 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:16 .github 05:17:50 -rw-rw-r-- 1 jenkins jenkins 331 Aug 15 05:16 .gitignore 05:17:50 -rw-rw-r-- 1 jenkins jenkins 41 Aug 15 05:16 .golangci.yml 05:17:50 drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 05:16 .semver 05:17:50 -rw-rw-r-- 1 jenkins jenkins 9744 Aug 15 05:16 Attribution.txt 05:17:50 -rw-rw-r-- 1 jenkins jenkins 10001 Aug 15 05:16 CHANGELOG.md 05:17:50 -rw-rw-r-- 1 jenkins jenkins 1550 Aug 15 05:16 Dockerfile 05:17:50 -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 05:16 GOVERNANCE.md 05:17:50 -rw-rw-r-- 1 jenkins jenkins 680 Aug 15 05:16 Jenkinsfile 05:17:50 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 15 05:16 LICENSE 05:17:50 -rw-rw-r-- 1 jenkins jenkins 1892 Aug 15 05:16 Makefile 05:17:50 -rw-rw-r-- 1 jenkins jenkins 622 Aug 15 05:16 OWNERS.md 05:17:50 -rw-rw-r-- 1 jenkins jenkins 3397 Aug 15 05:16 README.md 05:17:50 -rw-rw-r-- 1 jenkins jenkins 12 Aug 15 05:16 VERSION 05:17:50 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 05:16 bin 05:17:50 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:16 cmd 05:17:50 -rw-r--r-- 1 jenkins jenkins 23241 Aug 15 05:17 coverage.out 05:17:50 -rw-rw-r-- 1 jenkins jenkins 3572 Aug 15 05:16 go.mod 05:17:50 -rw-rw-r-- 1 jenkins jenkins 37058 Aug 15 05:16 go.sum 05:17:50 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:16 internal 05:17:50 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 05:16 simulator 05:17:50 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 05:16 snap 05:17:50 -rw-rw-r-- 1 jenkins jenkins 229 Aug 15 05:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:17:50 + 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=19276090c2e057c4cba34782a88296b78f541de3 --label arch=amd64 --label version=2.3.0-dev.11 . 05:17:50 Sending build context to Docker daemon 6.129MB 05:17:50 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 05:17:50 Step 2/23 : FROM ${BASE} AS builder 05:17:50 ---> af888651199a 05:17:50 Step 3/23 : ARG MAKE='make build' 05:17:50 ---> Running in 4195f3e0308f 05:17:50 Removing intermediate container 4195f3e0308f 05:17:50 ---> cb33e2eb12eb 05:17:50 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:17:50 ---> Running in d43e1c93b060 05:17:51 Removing intermediate container d43e1c93b060 05:17:51 ---> 7ef9eea12a2c 05:17:51 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:17:51 ---> Running in fb9cb57939ea 05:17:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:17:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:17:52 OK: 217 MiB in 59 packages 05:17:53 Removing intermediate container fb9cb57939ea 05:17:53 ---> f7cf6fa0e13e 05:17:53 Step 6/23 : WORKDIR /device-modbus-go 05:17:53 ---> Running in b8728060dc38 05:17:53 Removing intermediate container b8728060dc38 05:17:53 ---> 86cb295e9e68 05:17:53 Step 7/23 : COPY go.mod vendor* ./ 05:17:53 ---> f53429dca0ab 05:17:53 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:17:53 ---> Running in a37d1f1774ef 05:17:54 Removing intermediate container a37d1f1774ef 05:17:54 ---> 5476b2f6d7f9 05:17:54 Step 9/23 : COPY . . 05:17:54 ---> aeaa60989987 05:17:54 Step 10/23 : RUN ${MAKE} 05:17:54 ---> Running in 73d02ff04694 05:17:54 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0-dev.11" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 05:18:16 Removing intermediate container 73d02ff04694 05:18:16 ---> 85a0aa076b37 05:18:16 Step 11/23 : FROM alpine:3.14 05:18:16 3.14: Pulling from library/alpine 05:18:16 c7ed990a2339: Pulling fs layer 05:18:16 c7ed990a2339: Verifying Checksum 05:18:16 c7ed990a2339: Download complete 05:18:16 c7ed990a2339: Pull complete 05:18:16 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 05:18:16 Status: Downloaded newer image for alpine:3.14 05:18:16 ---> dd53f409bf0b 05:18:16 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:18:16 ---> Running in 34504b842393 05:18:16 Removing intermediate container 34504b842393 05:18:16 ---> c4a96eb83ef4 05:18:16 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:18:16 ---> Running in 3e9f90a9c0ad 05:18:17 Removing intermediate container 3e9f90a9c0ad 05:18:17 ---> ac1386900f97 05:18:17 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 05:18:17 ---> Running in 35cc00dc6dbb 05:18:17 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:18:18 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:18:18 (1/6) Installing dumb-init (1.2.5-r1) 05:18:18 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:18:18 (3/6) Installing libsodium (1.0.18-r0) 05:18:18 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:18:19 (5/6) Installing libzmq (4.3.4-r0) 05:18:19 (6/6) Installing zeromq (4.3.4-r0) 05:18:19 Executing busybox-1.33.1-r8.trigger 05:18:19 OK: 8 MiB in 20 packages 05:18:19 Removing intermediate container 35cc00dc6dbb 05:18:19 ---> 4f1b78cd1ce4 05:18:19 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:18:20 ---> bcba7cbef18f 05:18:20 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:18:20 ---> 7f1fcd6365b9 05:18:20 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:18:20 ---> f525a2b181dd 05:18:20 Step 18/23 : EXPOSE 59901 05:18:20 ---> Running in 841b37920bc4 05:18:20 Removing intermediate container 841b37920bc4 05:18:20 ---> 83a52cc992fe 05:18:20 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:18:20 ---> Running in cd88066b524c 05:18:20 Removing intermediate container cd88066b524c 05:18:20 ---> d446e69ce600 05:18:20 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:18:20 ---> Running in 5c037690db4c 05:18:21 Removing intermediate container 5c037690db4c 05:18:21 ---> ec89f586fe4e 05:18:21 Step 21/23 : LABEL arch=amd64 05:18:21 ---> Running in 4ee03cf22a81 05:18:21 Removing intermediate container 4ee03cf22a81 05:18:21 ---> 137fcb8d3e74 05:18:21 Step 22/23 : LABEL git_sha=19276090c2e057c4cba34782a88296b78f541de3 05:18:21 ---> Running in 0e8d4d017559 05:18:21 Removing intermediate container 0e8d4d017559 05:18:21 ---> 1caa11b5e9d4 05:18:21 Step 23/23 : LABEL version=2.3.0-dev.11 05:18:21 ---> Running in b157d1261578 05:18:21 Removing intermediate container b157d1261578 05:18:21 ---> cab1d0c5ed92 05:18:21 [Warning] One or more build-args [ARCH] were not consumed 05:18:21 Successfully built cab1d0c5ed92 05:18:21 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:18:21 provisioning config files... 05:18:21 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2157869360430937035tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:18:21 ---> docker-login.sh 05:18:21 nexus3.edgexfoundry.org:10001 05:18:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:18:21 Configure a credential helper to remove this warning. See 05:18:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:18:21 05:18:21 Login Succeeded 05:18:21 nexus3.edgexfoundry.org:10002 05:18:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:18:22 Configure a credential helper to remove this warning. See 05:18:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:18:22 05:18:22 Login Succeeded 05:18:22 nexus3.edgexfoundry.org:10003 05:18:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:18:22 Configure a credential helper to remove this warning. See 05:18:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:18:22 05:18:22 Login Succeeded 05:18:22 nexus3.edgexfoundry.org:10004 05:18:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:18:22 Configure a credential helper to remove this warning. See 05:18:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:18:22 05:18:22 Login Succeeded 05:18:22 docker.io 05:18:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:18:22 Configure a credential helper to remove this warning. See 05:18:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:18:22 05:18:22 Login Succeeded 05:18:22 ---> docker-login.sh ends [Pipeline] } 05:18:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:18:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:18:22 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 05:18:22 19276090c2e057c4cba34782a88296b78f541de3 05:18:22 latest 05:18:22 2.3.0-dev.11 05:18:22 19276090c2e057c4cba34782a88296b78f541de3-2.3.0-dev.11 05:18:22 main 05:18:22 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:22 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:19276090c2e057c4cba34782a88296b78f541de3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:23 + docker push nexus3.edgexfoundry.org:10004/device-modbus:19276090c2e057c4cba34782a88296b78f541de3 05:18:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:18:23 50bdf65ec9d0: Preparing 05:18:23 cea2b4bfa770: Preparing 05:18:23 9952f58813b9: Preparing 05:18:23 9b7768371bc4: Preparing 05:18:23 4816ae6dc4ad: Preparing 05:18:23 63493a9ab2d4: Preparing 05:18:23 63493a9ab2d4: Waiting 05:18:23 cea2b4bfa770: Pushed 05:18:23 50bdf65ec9d0: Pushed 05:18:23 4816ae6dc4ad: Pushed 05:18:23 9b7768371bc4: Pushed 05:18:24 63493a9ab2d4: Pushed 05:18:26 9952f58813b9: Pushed 05:18:26 19276090c2e057c4cba34782a88296b78f541de3: digest: sha256:fd90370d12764c49ff6334926490e8511566b3221dc1333a2e15cab531e1bf9d size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:26 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:26 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 05:18:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:18:26 50bdf65ec9d0: Preparing 05:18:26 cea2b4bfa770: Preparing 05:18:26 9952f58813b9: Preparing 05:18:26 9b7768371bc4: Preparing 05:18:26 4816ae6dc4ad: Preparing 05:18:26 63493a9ab2d4: Preparing 05:18:26 63493a9ab2d4: Waiting 05:18:26 9952f58813b9: Layer already exists 05:18:26 cea2b4bfa770: Layer already exists 05:18:26 9b7768371bc4: Layer already exists 05:18:26 50bdf65ec9d0: Layer already exists 05:18:26 4816ae6dc4ad: Layer already exists 05:18:26 63493a9ab2d4: Layer already exists 05:18:26 latest: digest: sha256:fd90370d12764c49ff6334926490e8511566b3221dc1333a2e15cab531e1bf9d size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:26 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:27 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.11 05:18:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:18:27 50bdf65ec9d0: Preparing 05:18:27 cea2b4bfa770: Preparing 05:18:27 9952f58813b9: Preparing 05:18:27 9b7768371bc4: Preparing 05:18:27 4816ae6dc4ad: Preparing 05:18:27 63493a9ab2d4: Preparing 05:18:27 63493a9ab2d4: Waiting 05:18:27 50bdf65ec9d0: Layer already exists 05:18:27 4816ae6dc4ad: Layer already exists 05:18:27 9952f58813b9: Layer already exists 05:18:27 cea2b4bfa770: Layer already exists 05:18:27 9b7768371bc4: Layer already exists 05:18:27 63493a9ab2d4: Layer already exists 05:18:27 2.3.0-dev.11: digest: sha256:fd90370d12764c49ff6334926490e8511566b3221dc1333a2e15cab531e1bf9d size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:27 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:19276090c2e057c4cba34782a88296b78f541de3-2.3.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:27 + docker push nexus3.edgexfoundry.org:10004/device-modbus:19276090c2e057c4cba34782a88296b78f541de3-2.3.0-dev.11 05:18:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:18:27 50bdf65ec9d0: Preparing 05:18:27 cea2b4bfa770: Preparing 05:18:27 9952f58813b9: Preparing 05:18:27 9b7768371bc4: Preparing 05:18:27 4816ae6dc4ad: Preparing 05:18:27 63493a9ab2d4: Preparing 05:18:27 9952f58813b9: Layer already exists 05:18:27 9b7768371bc4: Layer already exists 05:18:27 4816ae6dc4ad: Layer already exists 05:18:27 50bdf65ec9d0: Layer already exists 05:18:27 cea2b4bfa770: Layer already exists 05:18:27 63493a9ab2d4: Layer already exists 05:18:27 19276090c2e057c4cba34782a88296b78f541de3-2.3.0-dev.11: digest: sha256:fd90370d12764c49ff6334926490e8511566b3221dc1333a2e15cab531e1bf9d size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:28 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:28 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 05:18:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:18:28 50bdf65ec9d0: Preparing 05:18:28 cea2b4bfa770: Preparing 05:18:28 9952f58813b9: Preparing 05:18:28 9b7768371bc4: Preparing 05:18:28 4816ae6dc4ad: Preparing 05:18:28 63493a9ab2d4: Preparing 05:18:28 63493a9ab2d4: Waiting 05:18:28 50bdf65ec9d0: Layer already exists 05:18:28 4816ae6dc4ad: Layer already exists 05:18:28 9b7768371bc4: Layer already exists 05:18:28 cea2b4bfa770: Layer already exists 05:18:28 9952f58813b9: Layer already exists 05:18:28 63493a9ab2d4: Layer already exists 05:18:28 main: digest: sha256:fd90370d12764c49ff6334926490e8511566b3221dc1333a2e15cab531e1bf9d size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:18:28 ===================================================== [Pipeline] echo 05:18:28 taggedImages: 05:18:28 - nexus3.edgexfoundry.org:10004/device-modbus:19276090c2e057c4cba34782a88296b78f541de3 05:18:28 - nexus3.edgexfoundry.org:10004/device-modbus:latest 05:18:28 - nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.11 05:18:28 - nexus3.edgexfoundry.org:10004/device-modbus:19276090c2e057c4cba34782a88296b78f541de3-2.3.0-dev.11 05:18:28 - 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 05:18:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:18:28 05:18:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:18:29 latest: Pulling from edgex-lftools-log-publisher 05:18:29 5eb5b503b376: Pulling fs layer 05:18:29 5c69ac0246d0: Pulling fs layer 05:18:29 ec43610c2a17: Pulling fs layer 05:18:29 3a2ae6a8a46f: Pulling fs layer 05:18:29 33b1e0a273af: Pulling fs layer 05:18:29 5d3b04190fa2: Pulling fs layer 05:18:29 2f39f015ded8: Pulling fs layer 05:18:29 3a2ae6a8a46f: Waiting 05:18:29 33b1e0a273af: Waiting 05:18:29 5d3b04190fa2: Waiting 05:18:29 2f39f015ded8: Waiting 05:18:29 5c69ac0246d0: Download complete 05:18:29 3a2ae6a8a46f: Verifying Checksum 05:18:29 3a2ae6a8a46f: Download complete 05:18:29 ec43610c2a17: Verifying Checksum 05:18:29 ec43610c2a17: Download complete 05:18:29 33b1e0a273af: Verifying Checksum 05:18:29 33b1e0a273af: Download complete 05:18:29 5d3b04190fa2: Verifying Checksum 05:18:29 5d3b04190fa2: Download complete 05:18:29 5eb5b503b376: Verifying Checksum 05:18:29 5eb5b503b376: Download complete 05:18:30 2f39f015ded8: Download complete 05:18:31 5eb5b503b376: Pull complete 05:18:31 5c69ac0246d0: Pull complete 05:18:31 ec43610c2a17: Pull complete 05:18:31 3a2ae6a8a46f: Pull complete 05:18:31 33b1e0a273af: Pull complete 05:18:31 5d3b04190fa2: Pull complete 05:18:37 2f39f015ded8: Pull complete 05:18:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:18:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:18:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:18:37 prd-ubuntu20.04-docker-8c-8g-22777 does not seem to be running inside a container 05:18:37 $ 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 05:18:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22779 in /w/workspace/gexfoundry_device-modbus-go_main 05:18:39 $ docker top d871e144e95eaa4a57701855195b53a12626b78f2955108176a93960b7867e31 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 05:18:39 Running in /w/workspace/device-modbus-go/50 [Pipeline] { [Pipeline] checkout 05:18:39 Selected Git installation does not exist. Using Default 05:18:39 The recommended git tool is: NONE 05:18:39 ---> job-cost.sh 05:18:39 lf-activate-venv: SKIPPING 05:18:39 INFO: No Stack... 05:18:39 INFO: Retrieving Pricing Info for: v3-standard-8 05:18:40 INFO: Archiving Costs [Pipeline] sh 05:18:40 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 05:18:40 + cut -d, -f6 [Pipeline] lock 05:18:40 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-50-stack-cost] 05:18:40 Resource [jenkins-edgexfoundry-device-modbus-go-main-50-stack-cost] did not exist. Created. 05:18:40 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-50-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:18:41 + echo total: 0.2199999988079071 [Pipeline] stash 05:18:41 Stashed 1 file(s) [Pipeline] } 05:18:41 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-50-stack-cost] [Pipeline] // lock [Pipeline] } 05:18:41 $ docker stop --time=1 d871e144e95eaa4a57701855195b53a12626b78f2955108176a93960b7867e31 05:18:42 $ docker rm -f d871e144e95eaa4a57701855195b53a12626b78f2955108176a93960b7867e31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:18:45 using credential edgex-jenkins-ssh 05:18:45 Cloning the remote Git repository 05:18:45 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:18:46 > git init /w/workspace/device-modbus-go/50 # timeout=10 05:18:47 Avoid second fetch 05:18:47 Checking out Revision 19276090c2e057c4cba34782a88296b78f541de3 (main) 05:18:46 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:18:46 > git --version # timeout=10 05:18:46 > git --version # 'git version 2.25.1' 05:18:46 using GIT_SSH to set credentials SSH Credentials for GitHub 05:18:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:18:47 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:18:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:18:47 > git config core.sparsecheckout # timeout=10 05:18:47 > git checkout -f 19276090c2e057c4cba34782a88296b78f541de3 # timeout=10 05:18:51 Commit message: "Merge pull request #368 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.19" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:18:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:18:52 % Total % Received % Xferd Average Speed Time Time Time Current 05:18:52 Dload Upload Total Spent Left Speed 05:18:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 103k 0 --:--:-- --:--:-- --:--:-- 103k [Pipeline] sh 05:18:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:18:53 + sudo tee /etc/docker/daemon.new 05:18:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:18:53 { 05:18:53 "registry-mirrors": [ 05:18:53 "https://nexus3.edgexfoundry.org:10001" 05:18:53 ], 05:18:53 "bip": "10.250.0.254/24", 05:18:53 "hosts": [ 05:18:53 "tcp://0.0.0.0:5555", 05:18:53 "unix:///var/run/docker.sock" 05:18:53 ], 05:18:53 "mtu": 1458, 05:18:53 "selinux-enabled": true, 05:18:53 "seccomp-profile": "/etc/docker/seccomp.json" 05:18:53 } [Pipeline] sh 05:18:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:18:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:19:12 provisioning config files... 05:19:12 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/50@tmp/config8414529430748304620tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:19:13 ---> docker-login.sh 05:19:13 nexus3.edgexfoundry.org:10001 05:19:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:14 Configure a credential helper to remove this warning. See 05:19:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:14 05:19:14 Login Succeeded 05:19:14 nexus3.edgexfoundry.org:10002 05:19:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:14 Configure a credential helper to remove this warning. See 05:19:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:14 05:19:14 Login Succeeded 05:19:14 nexus3.edgexfoundry.org:10003 05:19:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:15 Configure a credential helper to remove this warning. See 05:19:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:15 05:19:15 Login Succeeded 05:19:15 nexus3.edgexfoundry.org:10004 05:19:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:16 Configure a credential helper to remove this warning. See 05:19:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:16 05:19:16 Login Succeeded 05:19:16 docker.io 05:19:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:16 Configure a credential helper to remove this warning. See 05:19:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:16 05:19:16 Login Succeeded 05:19:16 ---> docker-login.sh ends [Pipeline] } 05:19:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:19:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:19:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:19:17 ========================================================= 05:19:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 05:19:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:17 + 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 . 05:19:17 Sending build context to Docker daemon 3.17MB 05:19:17 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 05:19:17 Step 2/10 : FROM ${BASE} AS builder 05:19:18 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:19:18 b3c136eddcbf: Pulling fs layer 05:19:18 c0a3192eca97: Pulling fs layer 05:19:18 a050256f5b6f: Pulling fs layer 05:19:18 656be50a0ddc: Pulling fs layer 05:19:18 2bbca73fdf42: Pulling fs layer 05:19:18 46d945488cbd: Pulling fs layer 05:19:18 8a5474983e97: Pulling fs layer 05:19:18 329c88fbcd65: Pulling fs layer 05:19:18 2bbca73fdf42: Waiting 05:19:18 656be50a0ddc: Waiting 05:19:18 46d945488cbd: Waiting 05:19:18 8a5474983e97: Waiting 05:19:18 329c88fbcd65: Waiting 05:19:18 a050256f5b6f: Verifying Checksum 05:19:18 a050256f5b6f: Download complete 05:19:18 c0a3192eca97: Verifying Checksum 05:19:18 c0a3192eca97: Download complete 05:19:18 2bbca73fdf42: Download complete 05:19:18 46d945488cbd: Verifying Checksum 05:19:18 46d945488cbd: Download complete 05:19:18 b3c136eddcbf: Verifying Checksum 05:19:18 b3c136eddcbf: Download complete 05:19:19 b3c136eddcbf: Pull complete 05:19:19 329c88fbcd65: Verifying Checksum 05:19:19 329c88fbcd65: Download complete 05:19:20 c0a3192eca97: Pull complete 05:19:20 a050256f5b6f: Pull complete 05:19:20 8a5474983e97: Verifying Checksum 05:19:20 8a5474983e97: Download complete 05:19:21 656be50a0ddc: Verifying Checksum 05:19:21 656be50a0ddc: Download complete 05:19:36 656be50a0ddc: Pull complete 05:19:36 2bbca73fdf42: Pull complete 05:19:36 46d945488cbd: Pull complete 05:19:41 8a5474983e97: Pull complete 05:19:43 329c88fbcd65: Pull complete 05:19:43 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 05:19:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:19:43 ---> ff4287adb874 05:19:43 Step 3/10 : ARG MAKE='make build' 05:19:44 ---> Running in 4225fb083c46 05:19:44 Removing intermediate container 4225fb083c46 05:19:44 ---> 8556b0ffb315 05:19:44 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:19:44 ---> Running in 8802da0ce8d3 05:19:48 Removing intermediate container 8802da0ce8d3 05:19:48 ---> 25e034dc80d2 05:19:48 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:19:48 ---> Running in bbbd0096cf0e 05:19:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:19:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:19:50 (1/8) Installing openssh-keygen (9.0_p1-r2) 05:19:51 (2/8) Installing libedit (20210910.3.1-r0) 05:19:51 (3/8) Installing openssh-client-common (9.0_p1-r2) 05:19:51 (4/8) Installing openssh-client-default (9.0_p1-r2) 05:19:51 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 05:19:51 (6/8) Installing openssh-server-common (9.0_p1-r2) 05:19:51 (7/8) Installing openssh-server (9.0_p1-r2) 05:19:51 (8/8) Installing openssh (9.0_p1-r2) 05:19:51 Executing busybox-1.35.0-r13.trigger 05:19:51 OK: 228 MiB in 59 packages 05:19:52 Removing intermediate container bbbd0096cf0e 05:19:52 ---> ed66942c8528 05:19:52 Step 6/10 : WORKDIR /device-modbus-go 05:19:53 ---> Running in 5557cdf99985 05:19:53 Removing intermediate container 5557cdf99985 05:19:53 ---> d9c34c16794c 05:19:53 Step 7/10 : COPY go.mod vendor* ./ 05:19:53 ---> 3a33c5a99f51 05:19:53 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:19:53 ---> Running in ee22fb09f050 05:20:50 Removing intermediate container ee22fb09f050 05:20:50 ---> 1a4858d128e6 05:20:50 Step 9/10 : COPY . . 05:20:50 ---> fa50d9ee6593 05:20:50 Step 10/10 : RUN ${MAKE} 05:20:50 ---> Running in 85fc606db3d3 05:20:50 noop 05:20:50 Removing intermediate container 85fc606db3d3 05:20:50 ---> 6b566fb57d91 05:20:50 Successfully built 6b566fb57d91 05:20:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:50 + docker inspect -f . ci-base-image-arm64 05:20:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:20:51 prd-ubuntu20.04-docker-arm64-4c-16g-22779 does not seem to be running inside a container 05:20:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/50 -v /w/workspace/device-modbus-go/50:/w/workspace/device-modbus-go/50:rw,z -v /w/workspace/device-modbus-go/50@tmp:/w/workspace/device-modbus-go/50@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 05:20:52 $ docker top 81658bd6047943140637f363ab9aca38c67393bcb108ea16152b307dc3529727 -eo pid,comm [Pipeline] { [Pipeline] sh 05:20:53 + go version 05:20:53 go version go1.18.3 linux/arm64 [Pipeline] } 05:20:53 $ docker stop --time=1 81658bd6047943140637f363ab9aca38c67393bcb108ea16152b307dc3529727 05:20:55 $ docker rm -f 81658bd6047943140637f363ab9aca38c67393bcb108ea16152b307dc3529727 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:55 + docker inspect -f . ci-base-image-arm64 05:20:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:20:56 prd-ubuntu20.04-docker-arm64-4c-16g-22779 does not seem to be running inside a container 05:20:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-modbus-go/50 -v /w/workspace/device-modbus-go/50:/w/workspace/device-modbus-go/50:rw,z -v /w/workspace/device-modbus-go/50@tmp:/w/workspace/device-modbus-go/50@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 05:20:57 $ docker top baea16af13077a1c4aa5e599c3280ec11a7f030503ed04555ce36ece3d5d9be5 -eo pid,comm [Pipeline] { [Pipeline] sh 05:20:58 + git config --global --add safe.directory /w/workspace/device-modbus-go/50 [Pipeline] fileExists [Pipeline] sh 05:20:58 + make test 05:20:58 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:21:00 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:22:22 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:22:22 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.060s coverage: 47.7% of statements 05:22:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:22:22 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:22:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:22:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:22:44 ./bin/test-attribution-txt.sh 05:22:44 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 05:22:44 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 05:22:44 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 05:22:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:22:44 $ docker stop --time=1 baea16af13077a1c4aa5e599c3280ec11a7f030503ed04555ce36ece3d5d9be5 05:22:46 $ docker rm -f baea16af13077a1c4aa5e599c3280ec11a7f030503ed04555ce36ece3d5d9be5 [Pipeline] // withDockerContainer [Pipeline] sh 05:22:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:22:47 Warning: overwriting stash ‘coverage-report’ 05:22:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:22:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:22:49 + ls -al . 05:22:49 total 184 05:22:49 drwxrwxr-x 9 jenkins jenkins 4096 Aug 15 05:20 . 05:22:49 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 05:18 .. 05:22:49 -rw-rw-r-- 1 jenkins jenkins 140 Aug 15 05:18 .dockerignore 05:22:49 drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 05:18 .git 05:22:49 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:18 .github 05:22:49 -rw-rw-r-- 1 jenkins jenkins 331 Aug 15 05:18 .gitignore 05:22:49 -rw-rw-r-- 1 jenkins jenkins 41 Aug 15 05:18 .golangci.yml 05:22:49 -rw-rw-r-- 1 jenkins jenkins 9744 Aug 15 05:18 Attribution.txt 05:22:49 -rw-rw-r-- 1 jenkins jenkins 10001 Aug 15 05:18 CHANGELOG.md 05:22:49 -rw-rw-r-- 1 jenkins jenkins 1550 Aug 15 05:18 Dockerfile 05:22:49 -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 05:18 GOVERNANCE.md 05:22:49 -rw-rw-r-- 1 jenkins jenkins 680 Aug 15 05:18 Jenkinsfile 05:22:49 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 15 05:18 LICENSE 05:22:49 -rw-rw-r-- 1 jenkins jenkins 1892 Aug 15 05:18 Makefile 05:22:49 -rw-rw-r-- 1 jenkins jenkins 622 Aug 15 05:18 OWNERS.md 05:22:49 -rw-rw-r-- 1 jenkins jenkins 3397 Aug 15 05:18 README.md 05:22:49 -rw-rw-r-- 1 jenkins jenkins 12 Aug 15 05:16 VERSION 05:22:49 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 05:18 bin 05:22:49 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:18 cmd 05:22:49 -rw-r--r-- 1 jenkins jenkins 23241 Aug 15 05:22 coverage.out 05:22:49 -rw-rw-r-- 1 jenkins jenkins 3572 Aug 15 05:18 go.mod 05:22:49 -rw-rw-r-- 1 jenkins jenkins 37058 Aug 15 05:18 go.sum 05:22:49 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:18 internal 05:22:49 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 05:18 simulator 05:22:49 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 05:18 snap 05:22:49 -rw-rw-r-- 1 jenkins jenkins 229 Aug 15 05:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22: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=19276090c2e057c4cba34782a88296b78f541de3 --label arch=arm64 --label version=2.3.0-dev.11 . 05:22:49 Sending build context to Docker daemon 3.194MB 05:22:50 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 05:22:50 Step 2/23 : FROM ${BASE} AS builder 05:22:50 ---> 6b566fb57d91 05:22:50 Step 3/23 : ARG MAKE='make build' 05:22:50 ---> Running in acc0d78008f2 05:22:50 Removing intermediate container acc0d78008f2 05:22:50 ---> 2d3d88e496ba 05:22:50 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:22:50 ---> Running in 39a84b91e28d 05:22:52 Removing intermediate container 39a84b91e28d 05:22:52 ---> eddd66b85d6b 05:22:52 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:22:52 ---> Running in c4d333b0e51f 05:22:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:22:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:22:55 OK: 228 MiB in 59 packages 05:22:56 Removing intermediate container c4d333b0e51f 05:22:56 ---> 656ba0420485 05:22:56 Step 6/23 : WORKDIR /device-modbus-go 05:22:56 ---> Running in 79400919dd30 05:22:56 Removing intermediate container 79400919dd30 05:22:56 ---> 1d229177b657 05:22:56 Step 7/23 : COPY go.mod vendor* ./ 05:22:57 ---> af742a502646 05:22:57 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:22:57 ---> Running in 76097a031907 05:22:59 Removing intermediate container 76097a031907 05:22:59 ---> 0514f5203e3b 05:22:59 Step 9/23 : COPY . . 05:23:00 ---> f73d39df5925 05:23:00 Step 10/23 : RUN ${MAKE} 05:23:00 ---> Running in 2e29b75f8fad 05:23:01 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0-dev.11" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 05:25:23 Removing intermediate container 2e29b75f8fad 05:25:23 ---> 4dbb2eb92182 05:25:23 Step 11/23 : FROM alpine:3.14 05:25:23 3.14: Pulling from library/alpine 05:25:23 90cda3b7c325: Pulling fs layer 05:25:23 90cda3b7c325: Verifying Checksum 05:25:23 90cda3b7c325: Download complete 05:25:23 90cda3b7c325: Pull complete 05:25:23 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 05:25:23 Status: Downloaded newer image for alpine:3.14 05:25:23 ---> 376ba31ae3da 05:25:23 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:25:23 ---> Running in b21b86fa2f85 05:25:23 Removing intermediate container b21b86fa2f85 05:25:23 ---> bbcd7657492d 05:25:23 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:25:23 ---> Running in 8ac375892931 05:25:23 Removing intermediate container 8ac375892931 05:25:23 ---> e6ab55e20349 05:25:23 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 05:25:23 ---> Running in a60d062ffcb2 05:25:23 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:25:23 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:25:23 (1/6) Installing dumb-init (1.2.5-r1) 05:25:23 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:25:23 (3/6) Installing libsodium (1.0.18-r0) 05:25:23 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:25:23 (5/6) Installing libzmq (4.3.4-r0) 05:25:23 (6/6) Installing zeromq (4.3.4-r0) 05:25:23 Executing busybox-1.33.1-r8.trigger 05:25:23 OK: 8 MiB in 20 packages 05:25:23 Removing intermediate container a60d062ffcb2 05:25:23 ---> 02c040399e21 05:25:23 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:25:23 ---> b441db47c5b3 05:25:23 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:25:23 ---> ae160ec9551d 05:25:23 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:25:23 ---> 3218ff1e156f 05:25:23 Step 18/23 : EXPOSE 59901 05:25:23 ---> Running in e4384cd6a78d 05:25:23 Removing intermediate container e4384cd6a78d 05:25:23 ---> 91a2d6c2a6c3 05:25:23 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:25:23 ---> Running in 9d4960b04113 05:25:23 Removing intermediate container 9d4960b04113 05:25:23 ---> dfddcc8f4e93 05:25:23 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:25:23 ---> Running in 36d6e55cf769 05:25:23 Removing intermediate container 36d6e55cf769 05:25:23 ---> ecc99e422e90 05:25:23 Step 21/23 : LABEL arch=arm64 05:25:23 ---> Running in 8be0d88f6321 05:25:23 Removing intermediate container 8be0d88f6321 05:25:23 ---> e12a8e6d8f34 05:25:23 Step 22/23 : LABEL git_sha=19276090c2e057c4cba34782a88296b78f541de3 05:25:23 ---> Running in b45c07bfcf73 05:25:23 Removing intermediate container b45c07bfcf73 05:25:23 ---> a8ca43110879 05:25:23 Step 23/23 : LABEL version=2.3.0-dev.11 05:25:23 ---> Running in 36fa0156b4b4 05:25:23 Removing intermediate container 36fa0156b4b4 05:25:23 ---> cfc47544aef6 05:25:23 [Warning] One or more build-args [ARCH] were not consumed 05:25:23 Successfully built cfc47544aef6 05:25:23 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 05:25:24 provisioning config files... 05:25:24 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/50@tmp/config7834256532559372269tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:25:24 ---> docker-login.sh 05:25:24 nexus3.edgexfoundry.org:10001 05:25:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:25:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:25:24 Configure a credential helper to remove this warning. See 05:25:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:25:24 05:25:24 Login Succeeded 05:25:24 nexus3.edgexfoundry.org:10002 05:25:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:25:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:25:25 Configure a credential helper to remove this warning. See 05:25:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:25:25 05:25:25 Login Succeeded 05:25:25 nexus3.edgexfoundry.org:10003 05:25:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:25:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:25:25 Configure a credential helper to remove this warning. See 05:25:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:25:25 05:25:25 Login Succeeded 05:25:25 nexus3.edgexfoundry.org:10004 05:25:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:25:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:25:26 Configure a credential helper to remove this warning. See 05:25:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:25:26 05:25:26 Login Succeeded 05:25:26 docker.io 05:25:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:25:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:25:26 Configure a credential helper to remove this warning. See 05:25:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:25:26 05:25:26 Login Succeeded 05:25:26 ---> docker-login.sh ends [Pipeline] } 05:25:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:25:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:25:26 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 05:25:26 19276090c2e057c4cba34782a88296b78f541de3 05:25:26 latest 05:25:26 2.3.0-dev.11 05:25:26 19276090c2e057c4cba34782a88296b78f541de3-2.3.0-dev.11 05:25:26 main 05:25:26 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:25:27 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:19276090c2e057c4cba34782a88296b78f541de3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:25:27 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:19276090c2e057c4cba34782a88296b78f541de3 05:25:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:25:27 ea2323fa8f2f: Preparing 05:25:27 66d5d71f4a6c: Preparing 05:25:27 e8e9d2d6bb23: Preparing 05:25:27 fbc9409efd30: Preparing 05:25:27 c6e4c490cecf: Preparing 05:25:27 28c3ef001483: Preparing 05:25:27 28c3ef001483: Waiting 05:25:27 66d5d71f4a6c: Pushed 05:25:27 c6e4c490cecf: Pushed 05:25:27 ea2323fa8f2f: Pushed 05:25:28 fbc9409efd30: Pushed 05:25:29 28c3ef001483: Pushed 05:25:33 e8e9d2d6bb23: Pushed 05:25:33 19276090c2e057c4cba34782a88296b78f541de3: digest: sha256:1990db389088c2064fc1b45fe32fd59c09fc44c565e5bb5f584384871900598e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:25:33 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:25:34 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 05:25:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:25:34 ea2323fa8f2f: Preparing 05:25:34 66d5d71f4a6c: Preparing 05:25:34 e8e9d2d6bb23: Preparing 05:25:34 fbc9409efd30: Preparing 05:25:34 c6e4c490cecf: Preparing 05:25:34 28c3ef001483: Preparing 05:25:34 28c3ef001483: Waiting 05:25:34 fbc9409efd30: Layer already exists 05:25:34 e8e9d2d6bb23: Layer already exists 05:25:34 66d5d71f4a6c: Layer already exists 05:25:34 c6e4c490cecf: Layer already exists 05:25:34 ea2323fa8f2f: Layer already exists 05:25:34 28c3ef001483: Layer already exists 05:25:34 latest: digest: sha256:1990db389088c2064fc1b45fe32fd59c09fc44c565e5bb5f584384871900598e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:25:34 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:25:35 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.11 05:25:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:25:35 ea2323fa8f2f: Preparing 05:25:35 66d5d71f4a6c: Preparing 05:25:35 e8e9d2d6bb23: Preparing 05:25:35 fbc9409efd30: Preparing 05:25:35 c6e4c490cecf: Preparing 05:25:35 28c3ef001483: Preparing 05:25:35 28c3ef001483: Waiting 05:25:35 ea2323fa8f2f: Layer already exists 05:25:35 66d5d71f4a6c: Layer already exists 05:25:35 c6e4c490cecf: Layer already exists 05:25:35 fbc9409efd30: Layer already exists 05:25:35 e8e9d2d6bb23: Layer already exists 05:25:35 28c3ef001483: Layer already exists 05:25:35 2.3.0-dev.11: digest: sha256:1990db389088c2064fc1b45fe32fd59c09fc44c565e5bb5f584384871900598e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:25:35 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:19276090c2e057c4cba34782a88296b78f541de3-2.3.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:25:36 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:19276090c2e057c4cba34782a88296b78f541de3-2.3.0-dev.11 05:25:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:25:36 ea2323fa8f2f: Preparing 05:25:36 66d5d71f4a6c: Preparing 05:25:36 e8e9d2d6bb23: Preparing 05:25:36 fbc9409efd30: Preparing 05:25:36 c6e4c490cecf: Preparing 05:25:36 28c3ef001483: Preparing 05:25:36 28c3ef001483: Waiting 05:25:36 ea2323fa8f2f: Layer already exists 05:25:36 e8e9d2d6bb23: Layer already exists 05:25:36 c6e4c490cecf: Layer already exists 05:25:36 fbc9409efd30: Layer already exists 05:25:36 66d5d71f4a6c: Layer already exists 05:25:36 28c3ef001483: Layer already exists 05:25:36 19276090c2e057c4cba34782a88296b78f541de3-2.3.0-dev.11: digest: sha256:1990db389088c2064fc1b45fe32fd59c09fc44c565e5bb5f584384871900598e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:25:36 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:25:37 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 05:25:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:25:37 ea2323fa8f2f: Preparing 05:25:37 66d5d71f4a6c: Preparing 05:25:37 e8e9d2d6bb23: Preparing 05:25:37 fbc9409efd30: Preparing 05:25:37 c6e4c490cecf: Preparing 05:25:37 28c3ef001483: Preparing 05:25:37 28c3ef001483: Waiting 05:25:37 e8e9d2d6bb23: Layer already exists 05:25:37 66d5d71f4a6c: Layer already exists 05:25:37 c6e4c490cecf: Layer already exists 05:25:37 ea2323fa8f2f: Layer already exists 05:25:37 fbc9409efd30: Layer already exists 05:25:37 28c3ef001483: Layer already exists 05:25:37 main: digest: sha256:1990db389088c2064fc1b45fe32fd59c09fc44c565e5bb5f584384871900598e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:25:37 ===================================================== [Pipeline] echo 05:25:37 taggedImages: 05:25:37 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:19276090c2e057c4cba34782a88296b78f541de3 05:25:37 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 05:25:37 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.11 05:25:37 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:19276090c2e057c4cba34782a88296b78f541de3-2.3.0-dev.11 05:25:37 - 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 05:25:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:25:38 05:25:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:25:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:25:38 arm64: Pulling from edgex-lftools-log-publisher 05:25:38 8998bd30e6a1: Pulling fs layer 05:25:38 04944245beec: Pulling fs layer 05:25:38 699f458cf7ca: Pulling fs layer 05:25:38 765212b225bb: Pulling fs layer 05:25:38 f23df028b6ca: Pulling fs layer 05:25:38 d65c8cfc05b1: Pulling fs layer 05:25:38 2437ff75d9bd: Pulling fs layer 05:25:38 f23df028b6ca: Waiting 05:25:38 d65c8cfc05b1: Waiting 05:25:38 2437ff75d9bd: Waiting 05:25:38 765212b225bb: Waiting 05:25:38 04944245beec: Verifying Checksum 05:25:38 04944245beec: Download complete 05:25:38 765212b225bb: Download complete 05:25:38 f23df028b6ca: Verifying Checksum 05:25:38 f23df028b6ca: Download complete 05:25:38 d65c8cfc05b1: Verifying Checksum 05:25:38 d65c8cfc05b1: Download complete 05:25:38 699f458cf7ca: Verifying Checksum 05:25:38 699f458cf7ca: Download complete 05:25:39 8998bd30e6a1: Verifying Checksum 05:25:39 8998bd30e6a1: Download complete 05:25:41 2437ff75d9bd: Download complete 05:25:43 8998bd30e6a1: Pull complete 05:25:43 04944245beec: Pull complete 05:25:45 699f458cf7ca: Pull complete 05:25:45 765212b225bb: Pull complete 05:25:46 f23df028b6ca: Pull complete 05:25:46 d65c8cfc05b1: Pull complete 05:26:01 2437ff75d9bd: Pull complete 05:26:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:26:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:26:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:26:02 prd-ubuntu20.04-docker-arm64-4c-16g-22779 does not seem to be running inside a container 05:26:02 $ 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/50 -v /w/workspace/device-modbus-go/50:/w/workspace/device-modbus-go/50:rw,z -v /w/workspace/device-modbus-go/50@tmp:/w/workspace/device-modbus-go/50@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 05:26:04 $ docker top 15188a9a0789775fed3b57bc4b6a29a3a2ccc8f695ccb4399d7a72090197f99a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:26:05 ---> job-cost.sh 05:26:05 lf-activate-venv: SKIPPING 05:26:05 INFO: No Stack... 05:26:06 INFO: Retrieving Pricing Info for: v3-standard-4 05:26:06 INFO: Archiving Costs [Pipeline] sh 05:26:07 + cut -d, -f6 05:26:07 + cat /w/workspace/device-modbus-go/50/archives/cost.csv [Pipeline] lock 05:26:07 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-50-stack-cost] 05:26:07 Resource [jenkins-edgexfoundry-device-modbus-go-main-50-stack-cost] did not exist. Created. 05:26:07 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-50-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:26:08 /w/workspace/device-modbus-go/50@tmp/durable-7b94083d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:26:09 + echo total: 0.10999999940395355 [Pipeline] stash 05:26:09 Warning: overwriting stash ‘stack-cost’ 05:26:09 Stashed 1 file(s) [Pipeline] } 05:26:09 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-50-stack-cost] [Pipeline] // lock [Pipeline] } 05:26:09 $ docker stop --time=1 15188a9a0789775fed3b57bc4b6a29a3a2ccc8f695ccb4399d7a72090197f99a 05:26:10 $ docker rm -f 15188a9a0789775fed3b57bc4b6a29a3a2ccc8f695ccb4399d7a72090197f99a [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 05:26:11 provisioning config files... 05:26:11 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7270170431942718718tmp [Pipeline] { [Pipeline] sh 05:26:11 + set +x 05:26:11 + curl -s https://codecov.io/bash 05:26:11 + bash -s -- 05:26:11 05:26:11 _____ _ 05:26:11 / ____| | | 05:26:11 | | ___ __| | ___ ___ _____ __ 05:26:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:26:11 | |___| (_) | (_| | __/ (_| (_) \ V / 05:26:11 \_____\___/ \__,_|\___|\___\___/ \_/ 05:26:11 Bash-1.0.6 05:26:11 05:26:11 05:26:11 ==> git version 2.25.1 found 05:26:11 ==> 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 05:26:11 Release-Date: 2020-01-08 05:26:11 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:26:11 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:26:11 ==> Jenkins CI detected. 05:26:11 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 05:26:11 project root: . 05:26:11 --> token set from env 05:26:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:26:11 ==> Running gcov in . (disable via -X gcov) 05:26:11 ==> Python coveragepy not found 05:26:11 ==> Searching for coverage reports in: 05:26:11 + . 05:26:11 -> Found 1 reports 05:26:11 ==> Detecting git/mercurial file structure 05:26:11 ==> Reading reports 05:26:11 + ./coverage.out bytes=23241 05:26:11 ==> Appending adjustments 05:26:11 https://docs.codecov.io/docs/fixing-reports 05:26:11 + Found adjustments 05:26:11 ==> Gzipping contents 05:26:11 4.0K /tmp/codecov.2Tzw9T.gz 05:26:11 ==> Uploading reports 05:26:11 url: https://codecov.io 05:26:11 query: branch=main&commit=19276090c2e057c4cba34782a88296b78f541de3&build=50&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F50%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:26:11 -> Pinging Codecov 05:26:11 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=19276090c2e057c4cba34782a88296b78f541de3&build=50&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F50%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:26:11 -> Uploading to 05:26:11 https://storage.googleapis.com/codecov/v4/raw/2022-08-15/55DBCA73C666E3227836607328DD7E49/19276090c2e057c4cba34782a88296b78f541de3/c3787d37-c44c-4613-8fc8-6e1eb8383f58.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220815%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220815T052611Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2347585c039d86ad9ae3d0224f1cca00b1e35fa81c97b4f5aa337fcacae40d42 05:26:11 % Total % Received % Xferd Average Speed Time Time Time Current 05:26:11 Dload Upload Total Spent Left Speed 05:26:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3937 0 0 100 3937 0 16542 --:--:-- --:--:-- --:--:-- 16542 05:26:12 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/19276090c2e057c4cba34782a88296b78f541de3 [Pipeline] } 05:26:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:26:12 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:26:12 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:26:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:26:12 05:26:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:26:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:26:12 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:26:12 df9b9388f04a: Pulling fs layer 05:26:12 52dc419b0ee2: Pulling fs layer 05:26:12 25bc292e5bac: Pulling fs layer 05:26:12 114826534d7a: Pulling fs layer 05:26:12 4657fd5d0bcf: Pulling fs layer 05:26:12 6ad1cebc031e: Pulling fs layer 05:26:12 8a3aa393b2d8: Pulling fs layer 05:26:12 4657fd5d0bcf: Waiting 05:26:12 6ad1cebc031e: Waiting 05:26:12 114826534d7a: Waiting 05:26:12 8a3aa393b2d8: Waiting 05:26:12 25bc292e5bac: Verifying Checksum 05:26:12 25bc292e5bac: Download complete 05:26:13 52dc419b0ee2: Verifying Checksum 05:26:13 52dc419b0ee2: Download complete 05:26:13 4657fd5d0bcf: Download complete 05:26:13 df9b9388f04a: Download complete 05:26:13 6ad1cebc031e: Verifying Checksum 05:26:13 6ad1cebc031e: Download complete 05:26:13 df9b9388f04a: Pull complete 05:26:13 52dc419b0ee2: Pull complete 05:26:13 25bc292e5bac: Pull complete 05:26:13 114826534d7a: Verifying Checksum 05:26:13 114826534d7a: Download complete 05:26:13 8a3aa393b2d8: Verifying Checksum 05:26:13 8a3aa393b2d8: Download complete 05:26:18 114826534d7a: Pull complete 05:26:18 4657fd5d0bcf: Pull complete 05:26:18 6ad1cebc031e: Pull complete 05:26:20 8a3aa393b2d8: Pull complete 05:26:20 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 05:26:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:26:20 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:26:20 prd-ubuntu20.04-docker-8c-8g-22777 does not seem to be running inside a container 05:26:20 $ 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 05:26:23 $ docker top 4501e93260a6061e29e4696fc043e9f4ae3ce620983f5cfe4520ffb78cdb1a6b -eo pid,comm [Pipeline] { [Pipeline] echo 05:26:23 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 05:26:23 + set -o pipefail 05:26:23 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 05:26:28 05:26:28 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 05:26:28 05:26:28 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/fd7d0305-0bbf-4623-8370-307f32402df0 05:26:28 05:26:28 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 05:26:28 05:26:28 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:26:28 05:26:28 [Pipeline] } 05:26:28 $ docker stop --time=1 4501e93260a6061e29e4696fc043e9f4ae3ce620983f5cfe4520ffb78cdb1a6b 05:26:30 $ docker rm -f 4501e93260a6061e29e4696fc043e9f4ae3ce620983f5cfe4520ffb78cdb1a6b [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 05:26:31 + git log --format=format:%s -1 19276090c2e057c4cba34782a88296b78f541de3 [Pipeline] sh 05:26:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:26:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:26:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:26:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:26:32 prd-ubuntu20.04-docker-8c-8g-22777 does not seem to be running inside a container 05:26:32 $ 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 05:26:32 $ docker top e3b844989f6abc8b74a1e5b390e4d603bc26743d54f8ffd1d83de1e90a93247f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:26:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:26:32 [ssh-agent] Looking for ssh-agent implementation... 05:26:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:26:33 $ docker exec e3b844989f6abc8b74a1e5b390e4d603bc26743d54f8ffd1d83de1e90a93247f ssh-agent 05:26:33 SSH_AUTH_SOCK=/tmp/ssh-yia01W01Ioub/agent.33 05:26:33 SSH_AGENT_PID=39 05:26:33 Running ssh-add (command line suppressed) 05:26:33 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6623459872778698362.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6623459872778698362.key) 05:26:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:26:33 + git semver tag 05:26:33 2022-08-15 05:26:33,831 [run_tag] DEBUG tag force:False 05:26:33 2022-08-15 05:26:33,831 [check_head_tag] DEBUG check head tag 05:26:33 2022-08-15 05:26:33,832 [execute] INFO git cat-file --batch-check 05:26:33 2022-08-15 05:26:33,832 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 05:26:33 2022-08-15 05:26:33,836 [execute] INFO git cat-file --batch 05:26:33 2022-08-15 05:26:33,837 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 05:26:33 2022-08-15 05:26:33,849 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:26:33 2022-08-15 05:26:33,849 [execute] INFO git tag -a v2.3.0-dev.11 -m v2.3.0-dev.11 05:26:33 2022-08-15 05:26:33,850 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.11', '-m', 'v2.3.0-dev.11'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 05:26:33 2022-08-15 05:26:33,856 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:26:33 2.3.0-dev.11 [Pipeline] } 05:26:33 $ docker exec --env ******** --env ******** e3b844989f6abc8b74a1e5b390e4d603bc26743d54f8ffd1d83de1e90a93247f ssh-agent -k 05:26:34 unset SSH_AUTH_SOCK; 05:26:34 unset SSH_AGENT_PID; 05:26:34 echo Agent pid 39 killed; 05:26:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:26:34 + git semver [Pipeline] } 05:26:34 $ docker stop --time=1 e3b844989f6abc8b74a1e5b390e4d603bc26743d54f8ffd1d83de1e90a93247f 05:26:35 $ docker rm -f e3b844989f6abc8b74a1e5b390e4d603bc26743d54f8ffd1d83de1e90a93247f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:26:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:26:36 05:26:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:26:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:26:36 0.23.1-centos7: Pulling from edgex-lftools 05:26:36 ab5ef0e58194: Pulling fs layer 05:26:36 9712f1f96733: Pulling fs layer 05:26:36 63f879dbbcfc: Pulling fs layer 05:26:36 0d9ebad4ef96: Pulling fs layer 05:26:36 e9a5061849ea: Pulling fs layer 05:26:36 d747dcd14b5f: Pulling fs layer 05:26:36 2de7ff778b66: Pulling fs layer 05:26:36 2de7ff778b66: Waiting 05:26:36 e9a5061849ea: Waiting 05:26:36 d747dcd14b5f: Waiting 05:26:36 9712f1f96733: Verifying Checksum 05:26:36 9712f1f96733: Download complete 05:26:36 63f879dbbcfc: Verifying Checksum 05:26:36 63f879dbbcfc: Download complete 05:26:37 0d9ebad4ef96: Verifying Checksum 05:26:37 0d9ebad4ef96: Download complete 05:26:37 e9a5061849ea: Verifying Checksum 05:26:37 e9a5061849ea: Download complete 05:26:37 d747dcd14b5f: Download complete 05:26:37 ab5ef0e58194: Verifying Checksum 05:26:37 ab5ef0e58194: Download complete 05:26:37 2de7ff778b66: Verifying Checksum 05:26:37 2de7ff778b66: Download complete 05:26:40 ab5ef0e58194: Pull complete 05:26:40 9712f1f96733: Pull complete 05:26:41 63f879dbbcfc: Pull complete 05:26:46 0d9ebad4ef96: Pull complete 05:26:46 e9a5061849ea: Pull complete 05:26:46 d747dcd14b5f: Pull complete 05:26:47 2de7ff778b66: Pull complete 05:26:47 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:26:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:26:47 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:26:47 prd-ubuntu20.04-docker-8c-8g-22777 does not seem to be running inside a container 05:26:47 $ 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 05:26:49 $ docker top 05a1cab1db2e7d01cb534c4a7717a087bbad491bf4351bf47472571133bdc09c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:26:49 provisioning config files... 05:26:49 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5651254069094044970tmp 05:26:49 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3636821995690163448tmp 05:26:49 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3240596953186801549tmp [Pipeline] { [Pipeline] echo 05:26:49 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:26:49 ---> sigul-configuration.sh 05:26:49 gpg: directory `/root/.gnupg' created 05:26:49 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:26:49 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:26:49 gpg: keyring `/root/.gnupg/secring.gpg' created 05:26:49 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:26:49 gpg: CAST5 encrypted data 05:26:49 gpg: encrypted with 1 passphrase 05:26:49 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:26:50 + mkdir /home/jenkins 05:26:50 + mkdir /home/jenkins/sigul [Pipeline] sh 05:26:50 + 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 05:26:50 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:26:50 ---> sigul-install.sh 05:26:50 Sigul already installed; skipping installation. [Pipeline] sh 05:26:50 + git tag --list 05:26:50 0.7.1 05:26:50 v1.0.0 05:26:50 v1.1.0 05:26:50 v1.1.1 05:26:50 v1.2.2 05:26:50 v1.3.0 05:26:50 v1.3.1 05:26:50 v2.0.0 05:26:50 v2.1.0 05:26:50 v2.1.1 05:26:50 v2.1.1-dev.1 05:26:50 v2.1.1-dev.2 05:26:50 v2.1.1-dev.3 05:26:50 v2.2.0 05:26:50 v2.2.1-dev.1 05:26:50 v2.2.1-dev.2 05:26:50 v2.2.1-dev.3 05:26:50 v2.2.1-dev.4 05:26:50 v2.2.1-dev.5 05:26:50 v2.2.1-dev.6 05:26:50 v2.2.1-dev.7 05:26:50 v2.3.0-dev.10 05:26:50 v2.3.0-dev.11 05:26:50 v2.3.0-dev.7 05:26:50 v2.3.0-dev.8 05:26:50 v2.3.0-dev.9 [Pipeline] sh 05:26:51 + lftools sign git-tag v2.3.0-dev.11 05:26:51 Signing Git tag with Sigul... 05:26:51 Signing v2.3.0-dev.11 [Pipeline] echo 05:26:52 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:26:52 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:26:52 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:26:52 $ docker stop --time=1 05a1cab1db2e7d01cb534c4a7717a087bbad491bf4351bf47472571133bdc09c 05:26:53 $ docker rm -f 05a1cab1db2e7d01cb534c4a7717a087bbad491bf4351bf47472571133bdc09c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:26:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:26:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:26:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:26:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:26:54 prd-ubuntu20.04-docker-8c-8g-22777 does not seem to be running inside a container 05:26:54 $ 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 05:26:55 $ docker top a32e9f45734e396ad282c8ca25bb602b92576d864fb736f28b3df6bd0f0f7ca6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:26:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:26:55 [ssh-agent] Looking for ssh-agent implementation... 05:26:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:26:55 $ docker exec a32e9f45734e396ad282c8ca25bb602b92576d864fb736f28b3df6bd0f0f7ca6 ssh-agent 05:26:55 SSH_AUTH_SOCK=/tmp/ssh-cT0q4Ws0dHXz/agent.32 05:26:55 SSH_AGENT_PID=39 05:26:55 Running ssh-add (command line suppressed) 05:26:55 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8087253922085065659.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8087253922085065659.key) 05:26:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:26:55 + git semver bump pre 05:26:56 2022-08-15 05:26:56,017 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:26:56 2022-08-15 05:26:56,017 [bump_version] DEBUG bumping version:2.3.0-dev.11 on axis:pre with prefix:dev 05:26:56 2022-08-15 05:26:56,017 [bump_version] DEBUG bumped version:2.3.0-dev.12 05:26:56 2022-08-15 05:26:56,017 [write_version] DEBUG write version:2.3.0-dev.12 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 05:26:56 2022-08-15 05:26:56,017 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:26:56 2022-08-15 05:26:56,017 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:26:56 2022-08-15 05:26:56,020 [execute] INFO git cat-file --batch-check 05:26:56 2022-08-15 05:26:56,020 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:26:56 2022-08-15 05:26:56,026 [execute] INFO git cat-file --batch 05:26:56 2022-08-15 05:26:56,026 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:26:56 2022-08-15 05:26:56,032 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:26:56 2.3.0-dev.12 [Pipeline] } 05:26:56 $ docker exec --env ******** --env ******** a32e9f45734e396ad282c8ca25bb602b92576d864fb736f28b3df6bd0f0f7ca6 ssh-agent -k 05:26:56 unset SSH_AUTH_SOCK; 05:26:56 unset SSH_AGENT_PID; 05:26:56 echo Agent pid 39 killed; 05:26:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:26:56 + git semver [Pipeline] } 05:26:56 $ docker stop --time=1 a32e9f45734e396ad282c8ca25bb602b92576d864fb736f28b3df6bd0f0f7ca6 05:26:58 $ docker rm -f a32e9f45734e396ad282c8ca25bb602b92576d864fb736f28b3df6bd0f0f7ca6 [Pipeline] // withDockerContainer [Pipeline] sh 05:26:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:26:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:26:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:26:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:26:58 prd-ubuntu20.04-docker-8c-8g-22777 does not seem to be running inside a container 05:26:58 $ 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 05:26:59 $ docker top 7f6732cfd71ddf1a92421b7a82b5be4c092872ff751c75cd43515d94c70c4758 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:26:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:26:59 [ssh-agent] Looking for ssh-agent implementation... 05:26:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:26:59 $ docker exec 7f6732cfd71ddf1a92421b7a82b5be4c092872ff751c75cd43515d94c70c4758 ssh-agent 05:26:59 SSH_AUTH_SOCK=/tmp/ssh-r7YOACc2Cxxq/agent.33 05:26:59 SSH_AGENT_PID=39 05:26:59 Running ssh-add (command line suppressed) 05:26:59 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9139471354730367338.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9139471354730367338.key) 05:26:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:27:00 + git semver push 05:27:00 2022-08-15 05:27:00,356 [run_push] DEBUG push 05:27:00 2022-08-15 05:27:00,357 [execute] INFO git cat-file --batch-check 05:27:00 2022-08-15 05:27:00,358 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:27:00 2022-08-15 05:27:00,363 [execute] INFO git rev-list 95f3088a165d45897aadafe9dea2ee03ed91210f -- 05:27:00 2022-08-15 05:27:00,363 [execute] DEBUG Popen(['git', 'rev-list', '95f3088a165d45897aadafe9dea2ee03ed91210f', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:27:00 2022-08-15 05:27:00,372 [execute] INFO git fetch -v origin 05:27:00 2022-08-15 05:27:00,372 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 05:27:00 2022-08-15 05:27:00,867 [run_push] DEBUG no remote changes detected 05:27:00 2022-08-15 05:27:00,867 [execute] INFO git push origin semver 05:27:00 2022-08-15 05:27:00,868 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:27:02 2022-08-15 05:27:01,936 [run_push] DEBUG push all version tags 05:27:02 2022-08-15 05:27:01,937 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:27:02 2022-08-15 05:27:01,937 [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) 05:27:02 2022-08-15 05:27:02,650 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:27:02 2.3.0-dev.12 [Pipeline] } 05:27:02 $ docker exec --env ******** --env ******** 7f6732cfd71ddf1a92421b7a82b5be4c092872ff751c75cd43515d94c70c4758 ssh-agent -k 05:27:03 unset SSH_AUTH_SOCK; 05:27:03 unset SSH_AGENT_PID; 05:27:03 echo Agent pid 39 killed; 05:27:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:27:03 + git semver [Pipeline] } 05:27:03 $ docker stop --time=1 7f6732cfd71ddf1a92421b7a82b5be4c092872ff751c75cd43515d94c70c4758 05:27:04 $ docker rm -f 7f6732cfd71ddf1a92421b7a82b5be4c092872ff751c75cd43515d94c70c4758 [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 05:27:05 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 05:27:05 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 05:27:05 total 16 05:27:05 drwxr-xr-x 3 root root 4096 Aug 15 05:18 . 05:27:05 drwxrwxr-x 11 jenkins jenkins 4096 Aug 15 05:26 .. 05:27:05 drwxr-xr-x 2 root root 4096 Aug 15 05:18 cost 05:27:05 -rw-r--r-- 1 root root 87 Aug 15 05:18 cost.csv 05:27:05 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 05:27:05 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 05:27:05 total 16 05:27:05 drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 05:18 . 05:27:05 drwxrwxr-x 11 jenkins jenkins 4096 Aug 15 05:26 .. 05:27:05 drwxr-xr-x 2 jenkins jenkins 4096 Aug 15 05:18 cost 05:27:05 -rw-r--r-- 1 jenkins jenkins 87 Aug 15 05:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:27:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:27:06 ---> package-listing.sh 05:27:06 ++ facter osfamily 05:27:06 ++ tr '[:upper:]' '[:lower:]' 05:27:06 + OS_FAMILY=debian 05:27:06 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 05:27:06 + START_PACKAGES=/tmp/packages_start.txt 05:27:06 + END_PACKAGES=/tmp/packages_end.txt 05:27:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:27:06 + PACKAGES=/tmp/packages_start.txt 05:27:06 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 05:27:06 + PACKAGES=/tmp/packages_end.txt 05:27:06 + case "${OS_FAMILY}" in 05:27:06 + dpkg -l 05:27:06 + grep '^ii' 05:27:06 + '[' -f /tmp/packages_start.txt ']' 05:27:06 + '[' -f /tmp/packages_end.txt ']' 05:27:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:27:06 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 05:27:06 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 05:27:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 05:27:06 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 05:27:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:27:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:27:07 prd-ubuntu20.04-docker-8c-8g-22777 does not seem to be running inside a container 05:27:07 $ 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 05:27:08 $ docker top adbe4f6e90ec63aef38b40147490e62dee55064862d3d61d29c810bcf50461cc -eo pid,comm [Pipeline] { [Pipeline] sh 05:27:08 + touch /tmp/pre-build-complete [Pipeline] sh 05:27:08 + mkdir -p /var/log/sysstat [Pipeline] sh 05:27:09 + ls /var/log/sa-host 05:27:09 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:27:09 provisioning config files... 05:27:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3814320703680494617tmp [Pipeline] { [Pipeline] echo 05:27:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:27:09 ---> create-netrc.sh [Pipeline] } 05:27:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:27:09 ---> python-tools-install.sh [Pipeline] echo 05:27:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:27:10 ---> sudo-logs.sh 05:27:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:27:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:27:10 ---> job-cost.sh 05:27:10 lf-activate-venv: SKIPPING 05:27:10 DEBUG: total: 0.2199999988079071 05:27:10 INFO: Retrieving Stack Cost... 05:27:10 INFO: Retrieving Pricing Info for: v3-standard-8 05:27:11 INFO: Archiving Costs [Pipeline] echo 05:27:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:27:11 ---> logs-deploy.sh 05:27:11 lf-activate-venv: SKIPPING 05:27:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/50 05:27:11 INFO: archiving workspace using pattern(s): 05:27:12 Archives upload complete. 05:27:13 INFO: archiving logs to Nexus