Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 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-ssh12521788105455222989.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh13526765717652736405.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh9032210078357311230.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh14416088838618677654.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-ssh8913144554053552552.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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-1915 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 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 (main) Commit message: "refactor!: Rework code for refactored MessageBus Configuration (#399)" > 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 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 # timeout=10 > git rev-list --no-walk def1cc71e63d04479355a5672fe2144ca0f9c836 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:30:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:30:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:30:53 ========================================================= 18:30:53 EdgeX Global Pipelines Version Info 18:30:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:30:54 ------------------- 18:30:54 stable info: 18:30:54 ------------------- 18:30:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:30:54 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:30:54 Message: update stable to v1.0.244 18:30:54 ------------------- 18:30:54 experimental info: 18:30:54 ------------------- 18:30:54 Commited By: **** collab-it+edgex@linuxfoundation.org 18:30:54 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:30:54 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:30:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 18:30:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 18:30:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:30:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:30:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:30:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:30:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:30:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:30:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:30:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:30:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:30:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 18:30:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:30:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:30:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:30:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:30:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:30:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:30:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:30:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:30:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:30:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:30:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:30:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:30:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:30:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:30:55 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:30:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:30:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:30:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:30:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 [Pipeline] echo 18:30:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8c18bb9 [Pipeline] echo 18:30:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:30:55 provisioning config files... 18:30:55 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11148665343447798671tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:30:55 ---> docker-login.sh 18:30:55 nexus3.edgexfoundry.org:10001 18:30:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:30:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:30:56 Configure a credential helper to remove this warning. See 18:30:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:30:56 18:30:56 Login Succeeded 18:30:56 nexus3.edgexfoundry.org:10002 18:30:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:30:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:30:56 Configure a credential helper to remove this warning. See 18:30:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:30:56 18:30:56 Login Succeeded 18:30:56 nexus3.edgexfoundry.org:10003 18:30:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:30:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:30:56 Configure a credential helper to remove this warning. See 18:30:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:30:56 18:30:56 Login Succeeded 18:30:56 nexus3.edgexfoundry.org:10004 18:30:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:30:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:30:56 Configure a credential helper to remove this warning. See 18:30:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:30:56 18:30:56 Login Succeeded 18:30:56 docker.io 18:30:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:30:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:30:56 Configure a credential helper to remove this warning. See 18:30:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:30:56 18:30:56 Login Succeeded 18:30:56 ---> docker-login.sh ends [Pipeline] } 18:30:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:30:57 + git rev-list -1 --merges 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1~1..8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 [Pipeline] echo 18:30:57 -----------> git rev-list -1 --merges 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1~1..8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 [false] [Pipeline] sh 18:30:57 + git log --format=format:%s -1 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 [Pipeline] echo 18:30:57 ========================================================= 18:30:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:30:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:30:57 + git log --format=format:%s -1 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 [Pipeline] echo 18:30:57 [semverPrep] GIT_COMMIT: 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1, Commit Message: refactor!: Rework code for refactored MessageBus Configuration (#399) [Pipeline] echo 18:30:57 [semverPrep] This is not a build commit. [Pipeline] sh 18:30:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:30:58 + grep -v github /etc/ssh/ssh_known_hosts 18:30:58 + [ -e /tmp/ssh_known_hosts ] 18:30:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:30:58 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:30:58 + sudo tee -a /etc/ssh/ssh_known_hosts 18:30:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:30:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:30:58 18:30:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:30:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:30:58 0.1.4: Pulling from edgex-devops/py-git-semver 18:30:58 b85a868b505f: Pulling fs layer 18:30:58 e2be974225ed: Pulling fs layer 18:30:58 339a4e72a1f5: Pulling fs layer 18:30:58 988bab9f4d93: Pulling fs layer 18:30:58 1469e6f7b9e6: Pulling fs layer 18:30:58 eaf3925da568: Pulling fs layer 18:30:58 bab4dde63d76: Pulling fs layer 18:30:58 bde34c3a00c8: Pulling fs layer 18:30:58 b352a97aabf1: Pulling fs layer 18:30:58 4872d77fe225: Pulling fs layer 18:30:58 5851b861e8e6: Pulling fs layer 18:30:58 1469e6f7b9e6: Waiting 18:30:58 eaf3925da568: Waiting 18:30:58 bab4dde63d76: Waiting 18:30:58 bde34c3a00c8: Waiting 18:30:58 b352a97aabf1: Waiting 18:30:58 4872d77fe225: Waiting 18:30:58 5851b861e8e6: Waiting 18:30:58 988bab9f4d93: Waiting 18:30:58 e2be974225ed: Verifying Checksum 18:30:58 e2be974225ed: Download complete 18:30:58 988bab9f4d93: Verifying Checksum 18:30:58 988bab9f4d93: Download complete 18:30:59 1469e6f7b9e6: Verifying Checksum 18:30:59 1469e6f7b9e6: Download complete 18:30:59 eaf3925da568: Verifying Checksum 18:30:59 eaf3925da568: Download complete 18:30:59 339a4e72a1f5: Verifying Checksum 18:30:59 339a4e72a1f5: Download complete 18:30:59 bde34c3a00c8: Verifying Checksum 18:30:59 bde34c3a00c8: Download complete 18:30:59 b352a97aabf1: Verifying Checksum 18:30:59 b352a97aabf1: Download complete 18:30:59 4872d77fe225: Verifying Checksum 18:30:59 4872d77fe225: Download complete 18:30:59 5851b861e8e6: Verifying Checksum 18:30:59 5851b861e8e6: Download complete 18:30:59 b85a868b505f: Verifying Checksum 18:30:59 b85a868b505f: Download complete 18:30:59 bab4dde63d76: Verifying Checksum 18:30:59 bab4dde63d76: Download complete 18:31:00 b85a868b505f: Pull complete 18:31:00 e2be974225ed: Pull complete 18:31:01 339a4e72a1f5: Pull complete 18:31:01 988bab9f4d93: Pull complete 18:31:01 1469e6f7b9e6: Pull complete 18:31:01 eaf3925da568: Pull complete 18:31:03 bab4dde63d76: Pull complete 18:31:03 bde34c3a00c8: Pull complete 18:31:03 b352a97aabf1: Pull complete 18:31:03 4872d77fe225: Pull complete 18:31:03 5851b861e8e6: Pull complete 18:31:03 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:31:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:31:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:31:03 prd-ubuntu20.04-docker-8c-8g-1915 does not seem to be running inside a container 18:31:03 $ 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 18:31:05 $ docker top 3dc5639c47102d4a8c5fbba7d2e49d1cfb21a193aa4f76b0162601777ff9a7d8 -eo pid,comm 18:31:05 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). 18:31:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:31:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:31:05 [ssh-agent] Looking for ssh-agent implementation... 18:31:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:31:05 $ docker exec 3dc5639c47102d4a8c5fbba7d2e49d1cfb21a193aa4f76b0162601777ff9a7d8 ssh-agent 18:31:05 SSH_AUTH_SOCK=/tmp/ssh-tjYGqhH7hUDJ/agent.34 18:31:05 SSH_AGENT_PID=40 18:31:05 Running ssh-add (command line suppressed) 18:31:05 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1068640580421099010.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1068640580421099010.key) 18:31:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:31:05 + git tag --points-at HEAD [Pipeline] } 18:31:05 $ docker exec --env ******** --env ******** 3dc5639c47102d4a8c5fbba7d2e49d1cfb21a193aa4f76b0162601777ff9a7d8 ssh-agent -k 18:31:06 unset SSH_AUTH_SOCK; 18:31:06 unset SSH_AGENT_PID; 18:31:06 echo Agent pid 40 killed; 18:31:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:31:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:31:06 [ssh-agent] Looking for ssh-agent implementation... 18:31:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:31:06 $ docker exec 3dc5639c47102d4a8c5fbba7d2e49d1cfb21a193aa4f76b0162601777ff9a7d8 ssh-agent 18:31:06 SSH_AUTH_SOCK=/tmp/ssh-uju7zewuXj4u/agent.72 18:31:06 SSH_AGENT_PID=78 18:31:06 Running ssh-add (command line suppressed) 18:31:06 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8128439018590619672.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8128439018590619672.key) 18:31:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:31:06 + git semver init 18:31:06 2023-01-11 18:31:06,843 [run_init] DEBUG init version:0.0.0 force:False 18:31:06 2023-01-11 18:31:06,844 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 18:31:06 2023-01-11 18:31:06,844 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 18:31:06 2023-01-11 18:31:06,844 [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) 18:31:07 2023-01-11 18:31:07,809 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 18:31:07 2023-01-11 18:31:07,809 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 18:31:07 2023-01-11 18:31:07,809 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 18:31:07 2023-01-11 18:31:07,810 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 18:31:07 3.0.0-dev.5 [Pipeline] } 18:31:07 $ docker exec --env ******** --env ******** 3dc5639c47102d4a8c5fbba7d2e49d1cfb21a193aa4f76b0162601777ff9a7d8 ssh-agent -k 18:31:07 unset SSH_AUTH_SOCK; 18:31:07 unset SSH_AGENT_PID; 18:31:07 echo Agent pid 78 killed; 18:31:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:31:08 + git semver [Pipeline] } 18:31:08 $ docker stop --time=1 3dc5639c47102d4a8c5fbba7d2e49d1cfb21a193aa4f76b0162601777ff9a7d8 18:31:09 $ docker rm -f --volumes 3dc5639c47102d4a8c5fbba7d2e49d1cfb21a193aa4f76b0162601777ff9a7d8 [Pipeline] // withDockerContainer [Pipeline] sh 18:31:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:31:10 Stashed 1 file(s) [Pipeline] echo 18:31:10 [edgeXSemver]: initialized semver on version 3.0.0-dev.5 [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 18:31:10 provisioning config files... 18:31:10 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15545908354900268333tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:31:10 ---> docker-login.sh 18:31:10 nexus3.edgexfoundry.org:10001 18:31:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:31:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:31:10 Configure a credential helper to remove this warning. See 18:31:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:31:10 18:31:10 Login Succeeded 18:31:10 nexus3.edgexfoundry.org:10002 18:31:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:31:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:31:10 Configure a credential helper to remove this warning. See 18:31:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:31:10 18:31:10 Login Succeeded 18:31:10 nexus3.edgexfoundry.org:10003 18:31:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:31:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:31:11 Configure a credential helper to remove this warning. See 18:31:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:31:11 18:31:11 Login Succeeded 18:31:11 nexus3.edgexfoundry.org:10004 18:31:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:31:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:31:11 Configure a credential helper to remove this warning. See 18:31:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:31:11 18:31:11 Login Succeeded 18:31:11 docker.io 18:31:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:31:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:31:11 Configure a credential helper to remove this warning. See 18:31:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:31:11 18:31:11 Login Succeeded 18:31:11 ---> docker-login.sh ends [Pipeline] } 18:31:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:31:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:31:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:31:11 ========================================================= 18:31:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:31:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:31:11 + 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 . 18:31:11 Sending build context to Docker daemon 6.305MB 18:31:11 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 18:31:11 Step 2/10 : FROM ${BASE} AS builder 18:31:11 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:31:11 213ec9aee27d: Pulling fs layer 18:31:11 4583459ba037: Pulling fs layer 18:31:11 93c1e223e6f2: Pulling fs layer 18:31:11 53926ce57604: Pulling fs layer 18:31:11 21b2b0c7a3f4: Pulling fs layer 18:31:11 22ff95d597cd: Pulling fs layer 18:31:11 12d6caf4c0d1: Pulling fs layer 18:31:11 96b7cbca73a9: Pulling fs layer 18:31:11 a7acece74701: Pulling fs layer 18:31:11 21b2b0c7a3f4: Waiting 18:31:11 22ff95d597cd: Waiting 18:31:11 12d6caf4c0d1: Waiting 18:31:11 96b7cbca73a9: Waiting 18:31:11 a7acece74701: Waiting 18:31:11 53926ce57604: Waiting 18:31:11 93c1e223e6f2: Verifying Checksum 18:31:11 93c1e223e6f2: Download complete 18:31:11 4583459ba037: Verifying Checksum 18:31:11 4583459ba037: Download complete 18:31:11 21b2b0c7a3f4: Verifying Checksum 18:31:11 21b2b0c7a3f4: Download complete 18:31:11 22ff95d597cd: Download complete 18:31:12 213ec9aee27d: Verifying Checksum 18:31:12 213ec9aee27d: Download complete 18:31:12 12d6caf4c0d1: Download complete 18:31:12 213ec9aee27d: Pull complete 18:31:12 4583459ba037: Pull complete 18:31:12 93c1e223e6f2: Pull complete 18:31:12 a7acece74701: Verifying Checksum 18:31:12 a7acece74701: Download complete 18:31:12 96b7cbca73a9: Verifying Checksum 18:31:12 96b7cbca73a9: Download complete 18:31:12 53926ce57604: Verifying Checksum 18:31:12 53926ce57604: Download complete 18:31:16 53926ce57604: Pull complete 18:31:16 21b2b0c7a3f4: Pull complete 18:31:16 22ff95d597cd: Pull complete 18:31:16 12d6caf4c0d1: Pull complete 18:31:18 96b7cbca73a9: Pull complete 18:31:19 a7acece74701: Pull complete 18:31:19 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 18:31:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:31:19 ---> db6d94c90886 18:31:19 Step 3/10 : ARG ADD_BUILD_TAGS="" 18:31:20 ---> Running in f749a5aa5ed8 18:31:20 Removing intermediate container f749a5aa5ed8 18:31:20 ---> cd3f804dad5b 18:31:20 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:31:20 ---> Running in 0e7521b84e16 18:31:20 Removing intermediate container 0e7521b84e16 18:31:20 ---> 1cf93dea5961 18:31:20 Step 5/10 : RUN apk add --update --no-cache make git openssh 18:31:20 ---> Running in 4c33da87d1fa 18:31:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:31:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:31:21 (1/8) Installing openssh-keygen (9.0_p1-r2) 18:31:21 (2/8) Installing libedit (20210910.3.1-r0) 18:31:21 (3/8) Installing openssh-client-common (9.0_p1-r2) 18:31:21 (4/8) Installing openssh-client-default (9.0_p1-r2) 18:31:21 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 18:31:21 (6/8) Installing openssh-server-common (9.0_p1-r2) 18:31:21 (7/8) Installing openssh-server (9.0_p1-r2) 18:31:21 (8/8) Installing openssh (9.0_p1-r2) 18:31:21 Executing busybox-1.35.0-r17.trigger 18:31:21 OK: 217 MiB in 59 packages 18:31:22 Removing intermediate container 4c33da87d1fa 18:31:22 ---> 452f2ad9b54d 18:31:22 Step 6/10 : WORKDIR /device-modbus-go 18:31:22 ---> Running in 61c98eb35bf2 18:31:22 Removing intermediate container 61c98eb35bf2 18:31:22 ---> 29c9dd1b4c4b 18:31:22 Step 7/10 : COPY go.mod vendor* ./ 18:31:22 ---> d728356d0945 18:31:22 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:31:22 ---> Running in 07d055d976a5 18:31:25 Still waiting to schedule task 18:31:25 ‘prd-centos7-blackbox-4c-2g-1315’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 18:31:25 ‘prd-centos7-blackbox-4c-2g-1316’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 18:31:25 ‘prd-ubuntu18.04-docker-8c-8g-1843’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 18:31:25 ‘prd-ubuntu20.04-docker-8c-8g-1916’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 18:31:25 ‘prd-ubuntu20.04-docker-arm64-4c-16g-1913’ is offline 18:31:25 ‘prd-ubuntu20.04-docker-arm64-4c-16g-1914’ is offline 18:31:40 Removing intermediate container 07d055d976a5 18:31:40 ---> b3498616af96 18:31:40 Step 9/10 : COPY . . 18:31:40 ---> b507193fe6c1 18:31:40 Step 10/10 : RUN ${MAKE} 18:31:40 ---> Running in 2200617ca0d6 18:31:40 noop 18:31:40 Removing intermediate container 2200617ca0d6 18:31:40 ---> b671cda85328 18:31:40 Successfully built b671cda85328 18:31:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:31:40 + docker inspect -f . ci-base-image-x86_64 18:31:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:31:40 prd-ubuntu20.04-docker-8c-8g-1915 does not seem to be running inside a container 18:31:41 $ 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 18:31:41 $ docker top ff9ec4e3985fc4401baa013d165656c1f9d079fa6457b6081bc26b324cdbd390 -eo pid,comm [Pipeline] { [Pipeline] sh 18:31:41 + go version 18:31:41 go version go1.18.7 linux/amd64 [Pipeline] } 18:31:41 $ docker stop --time=1 ff9ec4e3985fc4401baa013d165656c1f9d079fa6457b6081bc26b324cdbd390 18:31:43 $ docker rm -f --volumes ff9ec4e3985fc4401baa013d165656c1f9d079fa6457b6081bc26b324cdbd390 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:31:43 + docker inspect -f . ci-base-image-x86_64 18:31:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:31:43 prd-ubuntu20.04-docker-8c-8g-1915 does not seem to be running inside a container 18:31:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 18:31:44 $ docker top 4841bc5d03010cf199c9655f5724617a4aaf636ab480066567838cc9b437ebc6 -eo pid,comm [Pipeline] { [Pipeline] sh 18:31:44 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 18:31:44 + make test 18:31:44 go test ./... -coverprofile=coverage.out 18:31:45 ? github.com/edgexfoundry/device-modbus-go [no test files] 18:31:55 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 18:31:55 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.008s coverage: 47.7% of statements 18:32:00 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." 18:32:00 go vet ./... 18:32:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:32:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:32:02 ./bin/test-attribution-txt.sh [Pipeline] echo 18:32:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:32:03 $ docker stop --time=1 4841bc5d03010cf199c9655f5724617a4aaf636ab480066567838cc9b437ebc6 18:32:04 $ docker rm -f --volumes 4841bc5d03010cf199c9655f5724617a4aaf636ab480066567838cc9b437ebc6 [Pipeline] // withDockerContainer [Pipeline] sh 18:32:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:32:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:32:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:32:06 + ls -al . 18:32:06 total 196 18:32:06 drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 18:31 . 18:32:06 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 18:30 .. 18:32:06 -rw-rw-r-- 1 jenkins jenkins 140 Jan 11 18:30 .dockerignore 18:32:06 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 18:31 .git 18:32:06 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 18:30 .github 18:32:06 -rw-rw-r-- 1 jenkins jenkins 331 Jan 11 18:30 .gitignore 18:32:06 -rw-rw-r-- 1 jenkins jenkins 41 Jan 11 18:30 .golangci.yml 18:32:06 drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 18:31 .semver 18:32:06 -rw-rw-r-- 1 jenkins jenkins 10017 Jan 11 18:30 Attribution.txt 18:32:06 -rw-rw-r-- 1 jenkins jenkins 11576 Jan 11 18:30 CHANGELOG.md 18:32:06 -rw-rw-r-- 1 jenkins jenkins 1365 Jan 11 18:30 Dockerfile 18:32:06 -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 18:30 GOVERNANCE.md 18:32:06 -rw-rw-r-- 1 jenkins jenkins 680 Jan 11 18:30 Jenkinsfile 18:32:06 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 18:30 LICENSE 18:32:06 -rw-rw-r-- 1 jenkins jenkins 1670 Jan 11 18:30 Makefile 18:32:06 -rw-rw-r-- 1 jenkins jenkins 622 Jan 11 18:30 OWNERS.md 18:32:06 -rw-rw-r-- 1 jenkins jenkins 4061 Jan 11 18:30 README.md 18:32:06 -rw-rw-r-- 1 jenkins jenkins 11 Jan 11 18:31 VERSION 18:32:06 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 18:30 bin 18:32:06 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 18:30 cmd 18:32:06 -rw-r--r-- 1 jenkins jenkins 23241 Jan 11 18:31 coverage.out 18:32:06 -rw-rw-r-- 1 jenkins jenkins 3584 Jan 11 18:30 go.mod 18:32:06 -rw-rw-r-- 1 jenkins jenkins 45355 Jan 11 18:30 go.sum 18:32:06 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 18:30 internal 18:32:06 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 18:30 simulator 18:32:06 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 18:30 snap 18:32:06 -rw-rw-r-- 1 jenkins jenkins 229 Jan 11 18:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:32:06 + 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=8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 --label arch=amd64 --label version=3.0.0-dev.5 . 18:32:06 Sending build context to Docker daemon 6.329MB 18:32:06 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 18:32:06 Step 2/22 : FROM ${BASE} AS builder 18:32:06 ---> b671cda85328 18:32:06 Step 3/22 : ARG ADD_BUILD_TAGS="" 18:32:06 ---> Running in 54fedd82544a 18:32:06 Removing intermediate container 54fedd82544a 18:32:06 ---> 693a9396da66 18:32:06 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:32:06 ---> Running in f7fbea620f89 18:32:06 Removing intermediate container f7fbea620f89 18:32:06 ---> e867a8275e1e 18:32:06 Step 5/22 : RUN apk add --update --no-cache make git openssh 18:32:06 ---> Running in 5096a7cb99f8 18:32:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:32:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:32:07 OK: 217 MiB in 59 packages 18:32:07 Removing intermediate container 5096a7cb99f8 18:32:07 ---> 7d24f6718a82 18:32:07 Step 6/22 : WORKDIR /device-modbus-go 18:32:07 ---> Running in 2923dbce246e 18:32:07 Removing intermediate container 2923dbce246e 18:32:07 ---> dcbb93c35798 18:32:07 Step 7/22 : COPY go.mod vendor* ./ 18:32:07 ---> 3369a0717277 18:32:07 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:32:08 ---> Running in 4937b09b0ed5 18:32:08 Removing intermediate container 4937b09b0ed5 18:32:08 ---> 96e11e080814 18:32:08 Step 9/22 : COPY . . 18:32:09 ---> 3029e670869f 18:32:09 Step 10/22 : RUN ${MAKE} 18:32:09 ---> Running in 31c59634ef49 18:32:09 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.5" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 18:32:27 Removing intermediate container 31c59634ef49 18:32:27 ---> 224007473f04 18:32:27 Step 11/22 : FROM alpine:3.14 18:32:27 3.14: Pulling from library/alpine 18:32:27 c7ed990a2339: Pulling fs layer 18:32:27 c7ed990a2339: Verifying Checksum 18:32:27 c7ed990a2339: Download complete 18:32:27 c7ed990a2339: Pull complete 18:32:27 Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a 18:32:27 Status: Downloaded newer image for alpine:3.14 18:32:27 ---> dd53f409bf0b 18:32:27 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 18:32:27 ---> Running in 962d0b2495a5 18:32:27 Removing intermediate container 962d0b2495a5 18:32:27 ---> 985d2ace9cc4 18:32:27 Step 13/22 : RUN apk add --update --no-cache dumb-init 18:32:27 ---> Running in 743f62c02757 18:32:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 18:32:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 18:32:27 (1/1) Installing dumb-init (1.2.5-r1) 18:32:27 Executing busybox-1.33.1-r8.trigger 18:32:27 OK: 6 MiB in 15 packages 18:32:27 Removing intermediate container 743f62c02757 18:32:27 ---> f7acfe77ad6b 18:32:27 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 18:32:28 ---> d78268958ee5 18:32:28 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 18:32:28 ---> e21258f1f51a 18:32:28 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 18:32:28 ---> 53b6e3709e8a 18:32:28 Step 17/22 : EXPOSE 59901 18:32:28 ---> Running in 0d0b53104e04 18:32:28 Removing intermediate container 0d0b53104e04 18:32:28 ---> 918bb1776bdd 18:32:28 Step 18/22 : ENTRYPOINT ["/device-modbus"] 18:32:28 ---> Running in 41147153263b 18:32:28 Removing intermediate container 41147153263b 18:32:28 ---> 5a76cdbd2920 18:32:28 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 18:32:28 ---> Running in 340822f70d60 18:32:28 Removing intermediate container 340822f70d60 18:32:28 ---> e390c2cdebd2 18:32:28 Step 20/22 : LABEL arch=amd64 18:32:28 ---> Running in b87b2d217b7e 18:32:28 Removing intermediate container b87b2d217b7e 18:32:28 ---> f21b04f5846a 18:32:28 Step 21/22 : LABEL git_sha=8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 18:32:28 ---> Running in 1f666a5d3205 18:32:28 Removing intermediate container 1f666a5d3205 18:32:28 ---> 60bdcbceb2b0 18:32:28 Step 22/22 : LABEL version=3.0.0-dev.5 18:32:28 ---> Running in b560013145c6 18:32:29 Removing intermediate container b560013145c6 18:32:29 ---> b5025c442f94 18:32:29 [Warning] One or more build-args [ARCH] were not consumed 18:32:29 Successfully built b5025c442f94 18:32:29 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:32:29 provisioning config files... 18:32:29 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16447593562663585449tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:32:29 ---> docker-login.sh 18:32:29 nexus3.edgexfoundry.org:10001 18:32:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:32:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:32:29 Configure a credential helper to remove this warning. See 18:32:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:32:29 18:32:29 Login Succeeded 18:32:29 nexus3.edgexfoundry.org:10002 18:32:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:32:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:32:29 Configure a credential helper to remove this warning. See 18:32:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:32:29 18:32:29 Login Succeeded 18:32:29 nexus3.edgexfoundry.org:10003 18:32:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:32:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:32:29 Configure a credential helper to remove this warning. See 18:32:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:32:29 18:32:29 Login Succeeded 18:32:29 nexus3.edgexfoundry.org:10004 18:32:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:32:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:32:29 Configure a credential helper to remove this warning. See 18:32:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:32:29 18:32:29 Login Succeeded 18:32:29 docker.io 18:32:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:32:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:32:30 Configure a credential helper to remove this warning. See 18:32:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:32:30 18:32:30 Login Succeeded 18:32:30 ---> docker-login.sh ends [Pipeline] } 18:32:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:32:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:32:30 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 18:32:30 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 18:32:30 latest 18:32:30 3.0.0-dev.5 18:32:30 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1-3.0.0-dev.5 18:32:30 main 18:32:30 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:32:30 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:32:31 + docker push nexus3.edgexfoundry.org:10004/device-modbus:8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 18:32:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 18:32:31 1670e72ab175: Preparing 18:32:31 b6a1ea8eec6b: Preparing 18:32:31 d35703917410: Preparing 18:32:31 ab2e75c64e53: Preparing 18:32:31 63493a9ab2d4: Preparing 18:32:31 63493a9ab2d4: Layer already exists 18:32:31 ab2e75c64e53: Pushed 18:32:31 b6a1ea8eec6b: Pushed 18:32:31 1670e72ab175: Pushed 18:32:33 d35703917410: Pushed 18:32:33 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1: digest: sha256:279d850b4700df44a9a97e255ababd253f91ff81f05bd4fdf22632736e4da57c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:32:33 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:32:34 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 18:32:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 18:32:34 1670e72ab175: Preparing 18:32:34 b6a1ea8eec6b: Preparing 18:32:34 d35703917410: Preparing 18:32:34 ab2e75c64e53: Preparing 18:32:34 63493a9ab2d4: Preparing 18:32:34 b6a1ea8eec6b: Layer already exists 18:32:34 63493a9ab2d4: Layer already exists 18:32:34 1670e72ab175: Layer already exists 18:32:34 d35703917410: Layer already exists 18:32:34 ab2e75c64e53: Layer already exists 18:32:34 latest: digest: sha256:279d850b4700df44a9a97e255ababd253f91ff81f05bd4fdf22632736e4da57c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:32:34 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:32:34 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.5 18:32:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 18:32:34 1670e72ab175: Preparing 18:32:34 b6a1ea8eec6b: Preparing 18:32:34 d35703917410: Preparing 18:32:34 ab2e75c64e53: Preparing 18:32:34 63493a9ab2d4: Preparing 18:32:34 1670e72ab175: Layer already exists 18:32:34 b6a1ea8eec6b: Layer already exists 18:32:34 d35703917410: Layer already exists 18:32:34 63493a9ab2d4: Layer already exists 18:32:34 ab2e75c64e53: Layer already exists 18:32:34 3.0.0-dev.5: digest: sha256:279d850b4700df44a9a97e255ababd253f91ff81f05bd4fdf22632736e4da57c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:32:35 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1-3.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:32:35 + docker push nexus3.edgexfoundry.org:10004/device-modbus:8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1-3.0.0-dev.5 18:32:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 18:32:35 1670e72ab175: Preparing 18:32:35 b6a1ea8eec6b: Preparing 18:32:35 d35703917410: Preparing 18:32:35 ab2e75c64e53: Preparing 18:32:35 63493a9ab2d4: Preparing 18:32:35 ab2e75c64e53: Layer already exists 18:32:35 63493a9ab2d4: Layer already exists 18:32:35 d35703917410: Layer already exists 18:32:35 1670e72ab175: Layer already exists 18:32:35 b6a1ea8eec6b: Layer already exists 18:32:35 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1-3.0.0-dev.5: digest: sha256:279d850b4700df44a9a97e255ababd253f91ff81f05bd4fdf22632736e4da57c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:32:35 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:32:36 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 18:32:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 18:32:36 1670e72ab175: Preparing 18:32:36 b6a1ea8eec6b: Preparing 18:32:36 d35703917410: Preparing 18:32:36 ab2e75c64e53: Preparing 18:32:36 63493a9ab2d4: Preparing 18:32:36 ab2e75c64e53: Layer already exists 18:32:36 1670e72ab175: Layer already exists 18:32:36 b6a1ea8eec6b: Layer already exists 18:32:36 d35703917410: Layer already exists 18:32:36 63493a9ab2d4: Layer already exists 18:32:36 main: digest: sha256:279d850b4700df44a9a97e255ababd253f91ff81f05bd4fdf22632736e4da57c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:32:36 ===================================================== [Pipeline] echo 18:32:36 taggedImages: 18:32:36 - nexus3.edgexfoundry.org:10004/device-modbus:8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 18:32:36 - nexus3.edgexfoundry.org:10004/device-modbus:latest 18:32:36 - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.5 18:32:36 - nexus3.edgexfoundry.org:10004/device-modbus:8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1-3.0.0-dev.5 18:32:36 - 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 18:32:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:32:36 18:32:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:32:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:32:36 latest: Pulling from edgex-lftools-log-publisher 18:32:36 5eb5b503b376: Pulling fs layer 18:32:36 5c69ac0246d0: Pulling fs layer 18:32:36 ec43610c2a17: Pulling fs layer 18:32:36 3a2ae6a8a46f: Pulling fs layer 18:32:36 33b1e0a273af: Pulling fs layer 18:32:36 5d3b04190fa2: Pulling fs layer 18:32:36 2f39f015ded8: Pulling fs layer 18:32:36 33b1e0a273af: Waiting 18:32:36 5d3b04190fa2: Waiting 18:32:36 2f39f015ded8: Waiting 18:32:36 3a2ae6a8a46f: Waiting 18:32:36 5c69ac0246d0: Verifying Checksum 18:32:36 5c69ac0246d0: Download complete 18:32:36 3a2ae6a8a46f: Verifying Checksum 18:32:36 3a2ae6a8a46f: Download complete 18:32:36 33b1e0a273af: Verifying Checksum 18:32:36 33b1e0a273af: Download complete 18:32:36 ec43610c2a17: Verifying Checksum 18:32:36 ec43610c2a17: Download complete 18:32:36 5d3b04190fa2: Verifying Checksum 18:32:36 5d3b04190fa2: Download complete 18:32:36 5eb5b503b376: Verifying Checksum 18:32:36 5eb5b503b376: Download complete 18:32:37 2f39f015ded8: Download complete 18:32:38 5eb5b503b376: Pull complete 18:32:38 5c69ac0246d0: Pull complete 18:32:38 ec43610c2a17: Pull complete 18:32:38 3a2ae6a8a46f: Pull complete 18:32:38 33b1e0a273af: Pull complete 18:32:39 5d3b04190fa2: Pull complete 18:32:43 2f39f015ded8: Pull complete 18:32:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:32:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:32:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:32:43 prd-ubuntu20.04-docker-8c-8g-1915 does not seem to be running inside a container 18:32:43 $ 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 18:32:45 $ docker top 3111402a2801bf3baca5c91443d2038c35f5480d59e35bf4216880db253ed30d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:32:46 ---> job-cost.sh 18:32:46 lf-activate-venv: SKIPPING 18:32:46 INFO: No Stack... 18:32:46 INFO: Retrieving Pricing Info for: v3-standard-8 18:32:46 INFO: Archiving Costs [Pipeline] sh 18:32:47 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 18:32:47 + cut -d, -f6 [Pipeline] lock 18:32:47 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-71-stack-cost] 18:32:47 Resource [jenkins-edgexfoundry-device-modbus-go-main-71-stack-cost] did not exist. Created. 18:32:47 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-71-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:32:47 + echo total: 0.2199999988079071 [Pipeline] stash 18:32:47 Stashed 1 file(s) [Pipeline] } 18:32:47 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-71-stack-cost] [Pipeline] // lock [Pipeline] } 18:32:47 $ docker stop --time=1 3111402a2801bf3baca5c91443d2038c35f5480d59e35bf4216880db253ed30d 18:32:48 $ docker rm -f --volumes 3111402a2801bf3baca5c91443d2038c35f5480d59e35bf4216880db253ed30d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:33:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1917 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 18:33:55 Running in /w/workspace/device-modbus-go/71 [Pipeline] { [Pipeline] checkout 18:33:55 Selected Git installation does not exist. Using Default 18:33:55 The recommended git tool is: NONE 18:34:02 using credential edgex-jenkins-ssh 18:34:02 Cloning the remote Git repository 18:34:02 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 18:34:02 > git init /w/workspace/device-modbus-go/71 # timeout=10 18:34:03 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 18:34:03 > git --version # timeout=10 18:34:03 > git --version # 'git version 2.25.1' 18:34:03 using GIT_SSH to set credentials SSH Credentials for GitHub 18:34:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:34:04 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 18:34:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:34:05 Avoid second fetch 18:34:05 Checking out Revision 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 (main) 18:34:06 Commit message: "refactor!: Rework code for refactored MessageBus Configuration (#399)" 18:34:05 > git config core.sparsecheckout # timeout=10 18:34:05 > git checkout -f 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:34:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:34:07 % Total % Received % Xferd Average Speed Time Time Time Current 18:34:07 Dload Upload Total Spent Left Speed 18:34:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 153k 0 --:--:-- --:--:-- --:--:-- 155k [Pipeline] sh 18:34:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:34:08 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:34:08 + sudo tee /etc/docker/daemon.new 18:34:08 { 18:34:08 "registry-mirrors": [ 18:34:08 "https://nexus3.edgexfoundry.org:10001" 18:34:08 ], 18:34:08 "bip": "10.250.0.254/24", 18:34:08 "hosts": [ 18:34:08 "tcp://0.0.0.0:5555", 18:34:08 "unix:///var/run/docker.sock" 18:34:08 ], 18:34:08 "mtu": 1458, 18:34:08 "selinux-enabled": true, 18:34:08 "seccomp-profile": "/etc/docker/seccomp.json" 18:34:08 } [Pipeline] sh 18:34:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:34:09 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:34:27 provisioning config files... 18:34:27 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/71@tmp/config12918876937209541782tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:34:27 ---> docker-login.sh 18:34:27 nexus3.edgexfoundry.org:10001 18:34:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:34:28 Configure a credential helper to remove this warning. See 18:34:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:34:28 18:34:28 Login Succeeded 18:34:28 nexus3.edgexfoundry.org:10002 18:34:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:34:29 Configure a credential helper to remove this warning. See 18:34:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:34:29 18:34:29 Login Succeeded 18:34:29 nexus3.edgexfoundry.org:10003 18:34:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:34:29 Configure a credential helper to remove this warning. See 18:34:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:34:29 18:34:29 Login Succeeded 18:34:29 nexus3.edgexfoundry.org:10004 18:34:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:34:29 Configure a credential helper to remove this warning. See 18:34:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:34:29 18:34:29 Login Succeeded 18:34:29 docker.io 18:34:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:34:30 Configure a credential helper to remove this warning. See 18:34:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:34:30 18:34:30 Login Succeeded 18:34:30 ---> docker-login.sh ends [Pipeline] } 18:34:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:34:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:34:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:34:30 ========================================================= 18:34:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:34:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:34:31 + 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 . 18:34:31 Sending build context to Docker daemon 3.281MB 18:34:31 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 18:34:31 Step 2/10 : FROM ${BASE} AS builder 18:34:31 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:34:31 9b18e9b68314: Pulling fs layer 18:34:31 35d82f9e3411: Pulling fs layer 18:34:31 e16973657156: Pulling fs layer 18:34:31 fc693d55d65f: Pulling fs layer 18:34:31 7e9fc2657dce: Pulling fs layer 18:34:31 dda99020689f: Pulling fs layer 18:34:31 db1c61fa0a46: Pulling fs layer 18:34:31 891c053d2c06: Pulling fs layer 18:34:31 dda99020689f: Waiting 18:34:31 db1c61fa0a46: Waiting 18:34:31 891c053d2c06: Waiting 18:34:31 fc693d55d65f: Waiting 18:34:31 7e9fc2657dce: Waiting 18:34:31 e16973657156: Verifying Checksum 18:34:31 e16973657156: Download complete 18:34:31 35d82f9e3411: Verifying Checksum 18:34:31 35d82f9e3411: Download complete 18:34:31 7e9fc2657dce: Verifying Checksum 18:34:31 7e9fc2657dce: Download complete 18:34:31 dda99020689f: Verifying Checksum 18:34:31 dda99020689f: Download complete 18:34:31 9b18e9b68314: Download complete 18:34:33 891c053d2c06: Verifying Checksum 18:34:33 891c053d2c06: Download complete 18:34:33 9b18e9b68314: Pull complete 18:34:33 35d82f9e3411: Pull complete 18:34:34 e16973657156: Pull complete 18:34:34 db1c61fa0a46: Verifying Checksum 18:34:34 db1c61fa0a46: Download complete 18:34:35 fc693d55d65f: Verifying Checksum 18:34:35 fc693d55d65f: Download complete 18:34:47 fc693d55d65f: Pull complete 18:34:47 7e9fc2657dce: Pull complete 18:34:47 dda99020689f: Pull complete 18:34:56 db1c61fa0a46: Pull complete 18:34:57 891c053d2c06: Pull complete 18:34:57 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 18:34:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:34:57 ---> f96f9c87975a 18:34:57 Step 3/10 : ARG ADD_BUILD_TAGS="" 18:34:58 ---> Running in 31009a81fe0e 18:34:58 Removing intermediate container 31009a81fe0e 18:34:58 ---> 4794eea6cd3a 18:34:58 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:34:58 ---> Running in fa2af9d6ce53 18:34:58 Removing intermediate container fa2af9d6ce53 18:34:58 ---> 14084c07e379 18:34:58 Step 5/10 : RUN apk add --update --no-cache make git openssh 18:34:58 ---> Running in 73149ed7097c 18:35:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:35:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:35:02 (1/8) Installing openssh-keygen (9.0_p1-r2) 18:35:02 (2/8) Installing libedit (20210910.3.1-r0) 18:35:02 (3/8) Installing openssh-client-common (9.0_p1-r2) 18:35:02 (4/8) Installing openssh-client-default (9.0_p1-r2) 18:35:02 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 18:35:02 (6/8) Installing openssh-server-common (9.0_p1-r2) 18:35:02 (7/8) Installing openssh-server (9.0_p1-r2) 18:35:02 (8/8) Installing openssh (9.0_p1-r2) 18:35:02 Executing busybox-1.35.0-r17.trigger 18:35:02 OK: 228 MiB in 59 packages 18:35:03 Removing intermediate container 73149ed7097c 18:35:03 ---> cf5adce598af 18:35:03 Step 6/10 : WORKDIR /device-modbus-go 18:35:03 ---> Running in 0aadc985b04f 18:35:03 Removing intermediate container 0aadc985b04f 18:35:03 ---> 11fc00156b96 18:35:03 Step 7/10 : COPY go.mod vendor* ./ 18:35:04 ---> fa90c735667c 18:35:04 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:35:04 ---> Running in a077be8d3aff 18:36:01 Removing intermediate container a077be8d3aff 18:36:01 ---> b9fcb47aebe1 18:36:01 Step 9/10 : COPY . . 18:36:02 ---> 9cc3592ed782 18:36:02 Step 10/10 : RUN ${MAKE} 18:36:02 ---> Running in 4ea3fb6d9d40 18:36:03 noop 18:36:04 Removing intermediate container 4ea3fb6d9d40 18:36:04 ---> c7e3879ac856 18:36:04 Successfully built c7e3879ac856 18:36:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:36:04 + docker inspect -f . ci-base-image-arm64 18:36:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:36:04 prd-ubuntu20.04-docker-arm64-4c-16g-1917 does not seem to be running inside a container 18:36:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/71 -v /w/workspace/device-modbus-go/71:/w/workspace/device-modbus-go/71:rw,z -v /w/workspace/device-modbus-go/71@tmp:/w/workspace/device-modbus-go/71@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 18:36:06 $ docker top 752823f4b9e77697fbcf39d2d11c1890c2497e46d5ad9b5f1bcbb7144ef9fc95 -eo pid,comm [Pipeline] { [Pipeline] sh 18:36:06 + go version 18:36:06 go version go1.18.7 linux/arm64 [Pipeline] } 18:36:06 $ docker stop --time=1 752823f4b9e77697fbcf39d2d11c1890c2497e46d5ad9b5f1bcbb7144ef9fc95 18:36:08 $ docker rm -f --volumes 752823f4b9e77697fbcf39d2d11c1890c2497e46d5ad9b5f1bcbb7144ef9fc95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:36:09 + docker inspect -f . ci-base-image-arm64 18:36:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:36:09 prd-ubuntu20.04-docker-arm64-4c-16g-1917 does not seem to be running inside a container 18:36:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/71 -v /w/workspace/device-modbus-go/71:/w/workspace/device-modbus-go/71:rw,z -v /w/workspace/device-modbus-go/71@tmp:/w/workspace/device-modbus-go/71@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 18:36:10 $ docker top 5864b97c853b24b013d0bee94f8ffd6e07ee9f9d364fb95f26b8a2466ba722c9 -eo pid,comm [Pipeline] { [Pipeline] sh 18:36:11 + git config --global --add safe.directory /w/workspace/device-modbus-go/71 [Pipeline] fileExists [Pipeline] sh 18:36:12 + make test 18:36:12 go test ./... -coverprofile=coverage.out 18:36:14 ? github.com/edgexfoundry/device-modbus-go [no test files] 18:37:51 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 18:37:51 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.071s coverage: 47.7% of statements 18:37:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:37:51 go vet ./... 18:38:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:38:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:38:23 ./bin/test-attribution-txt.sh [Pipeline] echo 18:38:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:38:23 $ docker stop --time=1 5864b97c853b24b013d0bee94f8ffd6e07ee9f9d364fb95f26b8a2466ba722c9 18:38:25 $ docker rm -f --volumes 5864b97c853b24b013d0bee94f8ffd6e07ee9f9d364fb95f26b8a2466ba722c9 [Pipeline] // withDockerContainer [Pipeline] sh 18:38:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:38:26 Warning: overwriting stash ‘coverage-report’ 18:38:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:38:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:38:28 + ls -al . 18:38:28 total 192 18:38:28 drwxrwxr-x 9 jenkins jenkins 4096 Jan 11 18:36 . 18:38:28 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 18:34 .. 18:38:28 -rw-rw-r-- 1 jenkins jenkins 140 Jan 11 18:34 .dockerignore 18:38:28 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 18:34 .git 18:38:28 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 18:34 .github 18:38:28 -rw-rw-r-- 1 jenkins jenkins 331 Jan 11 18:34 .gitignore 18:38:28 -rw-rw-r-- 1 jenkins jenkins 41 Jan 11 18:34 .golangci.yml 18:38:28 -rw-rw-r-- 1 jenkins jenkins 10017 Jan 11 18:34 Attribution.txt 18:38:28 -rw-rw-r-- 1 jenkins jenkins 11576 Jan 11 18:34 CHANGELOG.md 18:38:28 -rw-rw-r-- 1 jenkins jenkins 1365 Jan 11 18:34 Dockerfile 18:38:28 -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 18:34 GOVERNANCE.md 18:38:28 -rw-rw-r-- 1 jenkins jenkins 680 Jan 11 18:34 Jenkinsfile 18:38:28 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 18:34 LICENSE 18:38:28 -rw-rw-r-- 1 jenkins jenkins 1670 Jan 11 18:34 Makefile 18:38:28 -rw-rw-r-- 1 jenkins jenkins 622 Jan 11 18:34 OWNERS.md 18:38:28 -rw-rw-r-- 1 jenkins jenkins 4061 Jan 11 18:34 README.md 18:38:28 -rw-rw-r-- 1 jenkins jenkins 11 Jan 11 18:31 VERSION 18:38:28 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 18:34 bin 18:38:28 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 18:34 cmd 18:38:28 -rw-r--r-- 1 jenkins jenkins 23241 Jan 11 18:37 coverage.out 18:38:28 -rw-rw-r-- 1 jenkins jenkins 3584 Jan 11 18:34 go.mod 18:38:28 -rw-rw-r-- 1 jenkins jenkins 45355 Jan 11 18:34 go.sum 18:38:28 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 18:34 internal 18:38:28 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 18:34 simulator 18:38:28 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 18:34 snap 18:38:28 -rw-rw-r-- 1 jenkins jenkins 229 Jan 11 18:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:38:28 + 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=8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 --label arch=arm64 --label version=3.0.0-dev.5 . 18:38:28 Sending build context to Docker daemon 3.305MB 18:38:28 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 18:38:28 Step 2/22 : FROM ${BASE} AS builder 18:38:28 ---> c7e3879ac856 18:38:28 Step 3/22 : ARG ADD_BUILD_TAGS="" 18:38:28 ---> Running in b9ccf0229336 18:38:29 Removing intermediate container b9ccf0229336 18:38:29 ---> 2aff5988c9a4 18:38:29 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:38:29 ---> Running in eeb5a1adbc78 18:38:30 Removing intermediate container eeb5a1adbc78 18:38:30 ---> ffec7a80a14d 18:38:30 Step 5/22 : RUN apk add --update --no-cache make git openssh 18:38:30 ---> Running in 8ee3444f1bd5 18:38:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:38:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:38:34 OK: 228 MiB in 59 packages 18:38:35 Removing intermediate container 8ee3444f1bd5 18:38:35 ---> 017d58b57975 18:38:35 Step 6/22 : WORKDIR /device-modbus-go 18:38:35 ---> Running in dc60d2e0a79c 18:38:36 Removing intermediate container dc60d2e0a79c 18:38:36 ---> 34d223582a1b 18:38:36 Step 7/22 : COPY go.mod vendor* ./ 18:38:36 ---> c011a747a12e 18:38:36 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:38:36 ---> Running in 2eae8faa3e89 18:38:39 Removing intermediate container 2eae8faa3e89 18:38:39 ---> 4c2f713d2a4d 18:38:39 Step 9/22 : COPY . . 18:38:40 ---> b1acc4c575f0 18:38:40 Step 10/22 : RUN ${MAKE} 18:38:40 ---> Running in 4c47625c1239 18:38:41 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.5" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 18:41:18 Removing intermediate container 4c47625c1239 18:41:18 ---> 8feddea72108 18:41:18 Step 11/22 : FROM alpine:3.14 18:41:18 3.14: Pulling from library/alpine 18:41:18 90cda3b7c325: Pulling fs layer 18:41:18 90cda3b7c325: Verifying Checksum 18:41:18 90cda3b7c325: Download complete 18:41:18 90cda3b7c325: Pull complete 18:41:18 Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a 18:41:18 Status: Downloaded newer image for alpine:3.14 18:41:18 ---> 275902a1839d 18:41:18 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 18:41:18 ---> Running in d3cf9abac55f 18:41:18 Removing intermediate container d3cf9abac55f 18:41:18 ---> b5548707e962 18:41:18 Step 13/22 : RUN apk add --update --no-cache dumb-init 18:41:18 ---> Running in 65d5a7518d37 18:41:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 18:41:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 18:41:18 (1/1) Installing dumb-init (1.2.5-r1) 18:41:18 Executing busybox-1.33.1-r8.trigger 18:41:18 OK: 6 MiB in 15 packages 18:41:18 Removing intermediate container 65d5a7518d37 18:41:18 ---> 6cb9b89dc6f3 18:41:18 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 18:41:20 ---> ccbf06ec113a 18:41:20 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 18:41:20 ---> ccc5177c5517 18:41:20 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 18:41:20 ---> f6549d87e956 18:41:20 Step 17/22 : EXPOSE 59901 18:41:21 ---> Running in eb2961f551ad 18:41:21 Removing intermediate container eb2961f551ad 18:41:21 ---> 325839b1b186 18:41:21 Step 18/22 : ENTRYPOINT ["/device-modbus"] 18:41:21 ---> Running in 00ae245671dc 18:41:21 Removing intermediate container 00ae245671dc 18:41:21 ---> f30aad144f22 18:41:21 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 18:41:21 ---> Running in ded4649bfcf0 18:41:22 Removing intermediate container ded4649bfcf0 18:41:22 ---> 7dd6da3d9cc5 18:41:22 Step 20/22 : LABEL arch=arm64 18:41:22 ---> Running in 1a60350f1ae2 18:41:22 Removing intermediate container 1a60350f1ae2 18:41:22 ---> ab5e5734ab88 18:41:22 Step 21/22 : LABEL git_sha=8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 18:41:22 ---> Running in 19d0056f97d7 18:41:23 Removing intermediate container 19d0056f97d7 18:41:23 ---> 10824decab20 18:41:23 Step 22/22 : LABEL version=3.0.0-dev.5 18:41:23 ---> Running in 56d561c74221 18:41:23 Removing intermediate container 56d561c74221 18:41:23 ---> 963770e3a889 18:41:23 [Warning] One or more build-args [ARCH] were not consumed 18:41:23 Successfully built 963770e3a889 18:41: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 18:41:23 provisioning config files... 18:41:23 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/71@tmp/config17225652172739597223tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:41:23 ---> docker-login.sh 18:41:23 nexus3.edgexfoundry.org:10001 18:41:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:24 Configure a credential helper to remove this warning. See 18:41:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:24 18:41:24 Login Succeeded 18:41:24 nexus3.edgexfoundry.org:10002 18:41:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:24 Configure a credential helper to remove this warning. See 18:41:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:24 18:41:24 Login Succeeded 18:41:24 nexus3.edgexfoundry.org:10003 18:41:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:24 Configure a credential helper to remove this warning. See 18:41:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:24 18:41:24 Login Succeeded 18:41:24 nexus3.edgexfoundry.org:10004 18:41:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:25 Configure a credential helper to remove this warning. See 18:41:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:25 18:41:25 Login Succeeded 18:41:25 docker.io 18:41:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:25 Configure a credential helper to remove this warning. See 18:41:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:25 18:41:25 Login Succeeded 18:41:25 ---> docker-login.sh ends [Pipeline] } 18:41:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:41:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:41:26 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 18:41:26 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 18:41:26 latest 18:41:26 3.0.0-dev.5 18:41:26 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1-3.0.0-dev.5 18:41:26 main 18:41:26 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:26 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:26 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 18:41:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 18:41:26 6c17c20ac8b9: Preparing 18:41:26 e792c4b44246: Preparing 18:41:26 94b6dbbd6a3b: Preparing 18:41:26 0629a74c3d04: Preparing 18:41:26 28c3ef001483: Preparing 18:41:26 28c3ef001483: Layer already exists 18:41:27 e792c4b44246: Pushed 18:41:27 6c17c20ac8b9: Pushed 18:41:27 0629a74c3d04: Pushed 18:41:32 94b6dbbd6a3b: Pushed 18:41:32 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1: digest: sha256:0a20768462e8527476d29433df57c333d1a6253af00c55b29a321587a8335a89 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:32 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:33 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 18:41:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 18:41:33 6c17c20ac8b9: Preparing 18:41:33 e792c4b44246: Preparing 18:41:33 94b6dbbd6a3b: Preparing 18:41:33 0629a74c3d04: Preparing 18:41:33 28c3ef001483: Preparing 18:41:33 6c17c20ac8b9: Layer already exists 18:41:33 28c3ef001483: Layer already exists 18:41:33 0629a74c3d04: Layer already exists 18:41:33 e792c4b44246: Layer already exists 18:41:33 94b6dbbd6a3b: Layer already exists 18:41:33 latest: digest: sha256:0a20768462e8527476d29433df57c333d1a6253af00c55b29a321587a8335a89 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:33 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:34 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.5 18:41:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 18:41:34 6c17c20ac8b9: Preparing 18:41:34 e792c4b44246: Preparing 18:41:34 94b6dbbd6a3b: Preparing 18:41:34 0629a74c3d04: Preparing 18:41:34 28c3ef001483: Preparing 18:41:34 28c3ef001483: Layer already exists 18:41:34 e792c4b44246: Layer already exists 18:41:34 94b6dbbd6a3b: Layer already exists 18:41:34 6c17c20ac8b9: Layer already exists 18:41:34 0629a74c3d04: Layer already exists 18:41:34 3.0.0-dev.5: digest: sha256:0a20768462e8527476d29433df57c333d1a6253af00c55b29a321587a8335a89 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:34 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1-3.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:34 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1-3.0.0-dev.5 18:41:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 18:41:34 6c17c20ac8b9: Preparing 18:41:34 e792c4b44246: Preparing 18:41:34 94b6dbbd6a3b: Preparing 18:41:34 0629a74c3d04: Preparing 18:41:34 28c3ef001483: Preparing 18:41:34 e792c4b44246: Layer already exists 18:41:34 6c17c20ac8b9: Layer already exists 18:41:34 28c3ef001483: Layer already exists 18:41:34 0629a74c3d04: Layer already exists 18:41:34 94b6dbbd6a3b: Layer already exists 18:41:34 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1-3.0.0-dev.5: digest: sha256:0a20768462e8527476d29433df57c333d1a6253af00c55b29a321587a8335a89 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:35 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:35 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 18:41:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 18:41:35 6c17c20ac8b9: Preparing 18:41:35 e792c4b44246: Preparing 18:41:35 94b6dbbd6a3b: Preparing 18:41:35 0629a74c3d04: Preparing 18:41:35 28c3ef001483: Preparing 18:41:35 e792c4b44246: Layer already exists 18:41:35 94b6dbbd6a3b: Layer already exists 18:41:35 0629a74c3d04: Layer already exists 18:41:35 6c17c20ac8b9: Layer already exists 18:41:35 28c3ef001483: Layer already exists 18:41:35 main: digest: sha256:0a20768462e8527476d29433df57c333d1a6253af00c55b29a321587a8335a89 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:41:36 ===================================================== [Pipeline] echo 18:41:36 taggedImages: 18:41:36 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 18:41:36 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 18:41:36 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.5 18:41:36 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1-3.0.0-dev.5 18:41:36 - 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 18:41:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:41:36 18:41:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:41:36 arm64: Pulling from edgex-lftools-log-publisher 18:41:36 8998bd30e6a1: Pulling fs layer 18:41:36 04944245beec: Pulling fs layer 18:41:36 699f458cf7ca: Pulling fs layer 18:41:36 765212b225bb: Pulling fs layer 18:41:36 f23df028b6ca: Pulling fs layer 18:41:36 d65c8cfc05b1: Pulling fs layer 18:41:36 2437ff75d9bd: Pulling fs layer 18:41:36 765212b225bb: Waiting 18:41:36 f23df028b6ca: Waiting 18:41:36 d65c8cfc05b1: Waiting 18:41:36 2437ff75d9bd: Waiting 18:41:37 04944245beec: Verifying Checksum 18:41:37 04944245beec: Download complete 18:41:37 765212b225bb: Download complete 18:41:37 f23df028b6ca: Verifying Checksum 18:41:37 f23df028b6ca: Download complete 18:41:37 d65c8cfc05b1: Verifying Checksum 18:41:37 d65c8cfc05b1: Download complete 18:41:37 699f458cf7ca: Verifying Checksum 18:41:37 699f458cf7ca: Download complete 18:41:37 8998bd30e6a1: Download complete 18:41:40 2437ff75d9bd: Verifying Checksum 18:41:40 2437ff75d9bd: Download complete 18:41:41 8998bd30e6a1: Pull complete 18:41:42 04944245beec: Pull complete 18:41:43 699f458cf7ca: Pull complete 18:41:43 765212b225bb: Pull complete 18:41:44 f23df028b6ca: Pull complete 18:41:44 d65c8cfc05b1: Pull complete 18:41:59 2437ff75d9bd: Pull complete 18:41:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:41:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:41:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:41:59 prd-ubuntu20.04-docker-arm64-4c-16g-1917 does not seem to be running inside a container 18:41:59 $ 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/71 -v /w/workspace/device-modbus-go/71:/w/workspace/device-modbus-go/71:rw,z -v /w/workspace/device-modbus-go/71@tmp:/w/workspace/device-modbus-go/71@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 18:42:02 $ docker top f9dff44b1703e46096000b1f276750e35b8c8e2028f524da9ff35d898d4fd248 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:42:03 ---> job-cost.sh 18:42:03 lf-activate-venv: SKIPPING 18:42:03 INFO: No Stack... 18:42:03 INFO: Retrieving Pricing Info for: v3-standard-4 18:42:04 INFO: Archiving Costs [Pipeline] sh 18:42:05 + cat /w/workspace/device-modbus-go/71/archives/cost.csv 18:42:05 + cut -d, -f6 [Pipeline] lock 18:42:05 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-71-stack-cost] 18:42:05 Resource [jenkins-edgexfoundry-device-modbus-go-main-71-stack-cost] did not exist. Created. 18:42:05 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-71-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:42:06 /w/workspace/device-modbus-go/71@tmp/durable-8ddfe6e5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:42:06 + echo total: 0.10999999940395355 [Pipeline] stash 18:42:06 Warning: overwriting stash ‘stack-cost’ 18:42:06 Stashed 1 file(s) [Pipeline] } 18:42:06 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-71-stack-cost] [Pipeline] // lock [Pipeline] } 18:42:06 $ docker stop --time=1 f9dff44b1703e46096000b1f276750e35b8c8e2028f524da9ff35d898d4fd248 18:42:08 $ docker rm -f --volumes f9dff44b1703e46096000b1f276750e35b8c8e2028f524da9ff35d898d4fd248 [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 18:42:08 provisioning config files... 18:42:08 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3282421818043675229tmp [Pipeline] { [Pipeline] sh 18:42:09 + set +x 18:42:09 + + bash -s -- 18:42:09 curl -s https://codecov.io/bash 18:42:09 18:42:09 _____ _ 18:42:09 / ____| | | 18:42:09 | | ___ __| | ___ ___ _____ __ 18:42:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:42:09 | |___| (_) | (_| | __/ (_| (_) \ V / 18:42:09 \_____\___/ \__,_|\___|\___\___/ \_/ 18:42:09 Bash-1.0.6 18:42:09 18:42:09 18:42:09 ==> git version 2.25.1 found 18:42:09 ==> 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 18:42:09 Release-Date: 2020-01-08 18:42:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:42:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:42:09 ==> Jenkins CI detected. 18:42:09 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 18:42:09 project root: . 18:42:09 --> token set from env 18:42:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:42:09 ==> Running gcov in . (disable via -X gcov) 18:42:09 ==> Python coveragepy not found 18:42:09 ==> Searching for coverage reports in: 18:42:09 + . 18:42:09 -> Found 1 reports 18:42:09 ==> Detecting git/mercurial file structure 18:42:09 ==> Reading reports 18:42:09 + ./coverage.out bytes=23241 18:42:09 ==> Appending adjustments 18:42:09 https://docs.codecov.io/docs/fixing-reports 18:42:09 + Found adjustments 18:42:09 ==> Gzipping contents 18:42:09 4.0K /tmp/codecov.6ujk35.gz 18:42:09 ==> Uploading reports 18:42:09 url: https://codecov.io 18:42:09 query: branch=main&commit=8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1&build=71&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F71%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:42:09 -> Pinging Codecov 18:42:09 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=8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1&build=71&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F71%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:42:09 -> Uploading to 18:42:09 https://storage.googleapis.com/codecov/v4/raw/2023-01-11/55DBCA73C666E3227836607328DD7E49/8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1/c71d15e8-23b1-4566-a6ab-87d28262b3ba.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230111T184209Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bfd6fe5cd94ac0dadd090032c888ac07b696eedbc12bf60cb88c9d239e6ae61a 18:42:09 % Total % Received % Xferd Average Speed Time Time Time Current 18:42:09 Dload Upload Total Spent Left Speed 18:42:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3901 0 0 100 3901 0 16814 --:--:-- --:--:-- --:--:-- 16814 18:42:09 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 [Pipeline] } 18:42:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:42:10 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:42:10 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:42:10 18:42:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:42:10 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:42:10 df9b9388f04a: Pulling fs layer 18:42:10 52dc419b0ee2: Pulling fs layer 18:42:10 25bc292e5bac: Pulling fs layer 18:42:10 114826534d7a: Pulling fs layer 18:42:10 4657fd5d0bcf: Pulling fs layer 18:42:10 6ad1cebc031e: Pulling fs layer 18:42:10 8a3aa393b2d8: Pulling fs layer 18:42:10 114826534d7a: Waiting 18:42:10 4657fd5d0bcf: Waiting 18:42:10 6ad1cebc031e: Waiting 18:42:10 25bc292e5bac: Verifying Checksum 18:42:10 25bc292e5bac: Download complete 18:42:10 52dc419b0ee2: Verifying Checksum 18:42:10 52dc419b0ee2: Download complete 18:42:10 4657fd5d0bcf: Verifying Checksum 18:42:10 4657fd5d0bcf: Download complete 18:42:10 df9b9388f04a: Verifying Checksum 18:42:10 df9b9388f04a: Download complete 18:42:10 df9b9388f04a: Pull complete 18:42:10 52dc419b0ee2: Pull complete 18:42:10 6ad1cebc031e: Verifying Checksum 18:42:10 6ad1cebc031e: Download complete 18:42:10 25bc292e5bac: Pull complete 18:42:11 114826534d7a: Verifying Checksum 18:42:11 114826534d7a: Download complete 18:42:12 8a3aa393b2d8: Verifying Checksum 18:42:12 8a3aa393b2d8: Download complete 18:42:14 114826534d7a: Pull complete 18:42:14 4657fd5d0bcf: Pull complete 18:42:14 6ad1cebc031e: Pull complete 18:42:17 8a3aa393b2d8: Pull complete 18:42:17 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 18:42:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:42:17 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:42:17 prd-ubuntu20.04-docker-8c-8g-1915 does not seem to be running inside a container 18:42:17 $ 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 18:42:19 $ docker top 988cf3a888e7e651536417daddfd03e94d093a68bfeaaf631fae8043b4f67cf2 -eo pid,comm [Pipeline] { [Pipeline] echo 18:42:19 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 18:42:19 + set -o pipefail 18:42:19 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 18:42:25 18:42:25 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 18:42:25 18:42:25 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/bffc5a1a-50c4-430a-a9d1-0fccf3c6afc3 18:42:25 18:42:25 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 18:42:25 18:42:25 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:42:25 18:42:25 18:42:25 A medium severity vulnerability was found in the Snyk CLI versions you are using. 18:42:25 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 18:42:25 More details here: https://snyk.co/ue1NS [Pipeline] } 18:42:25 $ docker stop --time=1 988cf3a888e7e651536417daddfd03e94d093a68bfeaaf631fae8043b4f67cf2 18:42:27 $ docker rm -f --volumes 988cf3a888e7e651536417daddfd03e94d093a68bfeaaf631fae8043b4f67cf2 [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 18:42:28 + git log --format=format:%s -1 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 [Pipeline] sh 18:42:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:42:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:42:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:42:28 prd-ubuntu20.04-docker-8c-8g-1915 does not seem to be running inside a container 18:42:28 $ 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 18:42:29 $ docker top 874f7887db2a3fdd14b42935d7156310cd13a5e2c02561b125967ff3259de84a -eo pid,comm 18:42:29 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). 18:42:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:42:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:29 [ssh-agent] Looking for ssh-agent implementation... 18:42:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:29 $ docker exec 874f7887db2a3fdd14b42935d7156310cd13a5e2c02561b125967ff3259de84a ssh-agent 18:42:29 SSH_AUTH_SOCK=/tmp/ssh-4zoSOZ6rFmfl/agent.33 18:42:29 SSH_AGENT_PID=39 18:42:29 Running ssh-add (command line suppressed) 18:42:29 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12959046345923875831.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12959046345923875831.key) 18:42:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:29 + git semver tag 18:42:30 2023-01-11 18:42:30,019 [run_tag] DEBUG tag force:False 18:42:30 2023-01-11 18:42:30,019 [check_head_tag] DEBUG check head tag 18:42:30 2023-01-11 18:42:30,020 [execute] INFO git cat-file --batch-check 18:42:30 2023-01-11 18:42:30,020 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 18:42:30 2023-01-11 18:42:30,024 [execute] INFO git cat-file --batch 18:42:30 2023-01-11 18:42:30,024 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 18:42:30 2023-01-11 18:42:30,039 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 18:42:30 2023-01-11 18:42:30,039 [execute] INFO git tag -a v3.0.0-dev.5 -m v3.0.0-dev.5 18:42:30 2023-01-11 18:42:30,040 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.5', '-m', 'v3.0.0-dev.5'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 18:42:30 2023-01-11 18:42:30,045 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 18:42:30 3.0.0-dev.5 [Pipeline] } 18:42:30 $ docker exec --env ******** --env ******** 874f7887db2a3fdd14b42935d7156310cd13a5e2c02561b125967ff3259de84a ssh-agent -k 18:42:30 unset SSH_AUTH_SOCK; 18:42:30 unset SSH_AGENT_PID; 18:42:30 echo Agent pid 39 killed; 18:42:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:42:30 + git semver [Pipeline] } 18:42:30 $ docker stop --time=1 874f7887db2a3fdd14b42935d7156310cd13a5e2c02561b125967ff3259de84a 18:42:32 $ docker rm -f --volumes 874f7887db2a3fdd14b42935d7156310cd13a5e2c02561b125967ff3259de84a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:42:32 18:42:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:42:32 0.23.1-centos7: Pulling from edgex-lftools 18:42:32 ab5ef0e58194: Pulling fs layer 18:42:32 9712f1f96733: Pulling fs layer 18:42:32 63f879dbbcfc: Pulling fs layer 18:42:32 0d9ebad4ef96: Pulling fs layer 18:42:32 e9a5061849ea: Pulling fs layer 18:42:32 d747dcd14b5f: Pulling fs layer 18:42:32 2de7ff778b66: Pulling fs layer 18:42:32 d747dcd14b5f: Waiting 18:42:32 0d9ebad4ef96: Waiting 18:42:32 2de7ff778b66: Waiting 18:42:32 e9a5061849ea: Waiting 18:42:32 9712f1f96733: Verifying Checksum 18:42:32 9712f1f96733: Download complete 18:42:33 63f879dbbcfc: Verifying Checksum 18:42:33 63f879dbbcfc: Download complete 18:42:33 0d9ebad4ef96: Verifying Checksum 18:42:33 0d9ebad4ef96: Download complete 18:42:33 d747dcd14b5f: Verifying Checksum 18:42:33 d747dcd14b5f: Download complete 18:42:33 e9a5061849ea: Verifying Checksum 18:42:33 e9a5061849ea: Download complete 18:42:33 ab5ef0e58194: Verifying Checksum 18:42:33 ab5ef0e58194: Download complete 18:42:33 2de7ff778b66: Verifying Checksum 18:42:33 2de7ff778b66: Download complete 18:42:36 ab5ef0e58194: Pull complete 18:42:36 9712f1f96733: Pull complete 18:42:36 63f879dbbcfc: Pull complete 18:42:39 0d9ebad4ef96: Pull complete 18:42:39 e9a5061849ea: Pull complete 18:42:39 d747dcd14b5f: Pull complete 18:42:40 2de7ff778b66: Pull complete 18:42:40 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:42:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:42:40 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:42:40 prd-ubuntu20.04-docker-8c-8g-1915 does not seem to be running inside a container 18:42:40 $ 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 18:42:43 $ docker top 9b3e892bef55df0a9a117c6ed0fd2f8ff9efd3616258440724b6833d75a38a91 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:42:43 provisioning config files... 18:42:43 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11127634399525420950tmp 18:42:43 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5229985108146708311tmp 18:42:43 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14118956215450810787tmp [Pipeline] { [Pipeline] echo 18:42:43 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:42:43 ---> sigul-configuration.sh 18:42:43 gpg: directory `/root/.gnupg' created 18:42:43 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:42:43 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:42:43 gpg: keyring `/root/.gnupg/secring.gpg' created 18:42:43 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:42:43 gpg: CAST5 encrypted data 18:42:43 gpg: encrypted with 1 passphrase 18:42:43 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:42:43 + mkdir /home/jenkins 18:42:43 + mkdir /home/jenkins/sigul [Pipeline] sh 18:42:43 + 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 18:42:43 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:42:44 ---> sigul-install.sh 18:42:44 Sigul already installed; skipping installation. [Pipeline] sh 18:42:44 + git tag --list 18:42:44 0.7.1 18:42:44 v1.0.0 18:42:44 v1.1.0 18:42:44 v1.1.1 18:42:44 v1.2.2 18:42:44 v1.3.0 18:42:44 v1.3.1 18:42:44 v2.0.0 18:42:44 v2.1.0 18:42:44 v2.1.1 18:42:44 v2.1.1-dev.1 18:42:44 v2.1.1-dev.2 18:42:44 v2.1.1-dev.3 18:42:44 v2.2.0 18:42:44 v2.2.1-dev.1 18:42:44 v2.2.1-dev.2 18:42:44 v2.2.1-dev.3 18:42:44 v2.2.1-dev.4 18:42:44 v2.2.1-dev.5 18:42:44 v2.2.1-dev.6 18:42:44 v2.2.1-dev.7 18:42:44 v2.3.0 18:42:44 v2.3.0-dev.10 18:42:44 v2.3.0-dev.11 18:42:44 v2.3.0-dev.12 18:42:44 v2.3.0-dev.13 18:42:44 v2.3.0-dev.14 18:42:44 v2.3.0-dev.15 18:42:44 v2.3.0-dev.16 18:42:44 v2.3.0-dev.17 18:42:44 v2.3.0-dev.18 18:42:44 v2.3.0-dev.19 18:42:44 v2.3.0-dev.20 18:42:44 v2.3.0-dev.21 18:42:44 v2.3.0-dev.22 18:42:44 v2.3.0-dev.23 18:42:44 v2.3.0-dev.24 18:42:44 v2.3.0-dev.25 18:42:44 v2.3.0-dev.7 18:42:44 v2.3.0-dev.8 18:42:44 v2.3.0-dev.9 18:42:44 v3.0.0-dev.1 18:42:44 v3.0.0-dev.2 18:42:44 v3.0.0-dev.3 18:42:44 v3.0.0-dev.4 18:42:44 v3.0.0-dev.5 [Pipeline] sh 18:42:44 + lftools sign git-tag v3.0.0-dev.5 18:42:45 Signing Git tag with Sigul... 18:42:45 Signing v3.0.0-dev.5 [Pipeline] echo 18:42:45 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:42:45 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:42:45 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:42:45 $ docker stop --time=1 9b3e892bef55df0a9a117c6ed0fd2f8ff9efd3616258440724b6833d75a38a91 18:42:47 $ docker rm -f --volumes 9b3e892bef55df0a9a117c6ed0fd2f8ff9efd3616258440724b6833d75a38a91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:42:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:42:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:42:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:42:48 prd-ubuntu20.04-docker-8c-8g-1915 does not seem to be running inside a container 18:42:48 $ 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 18:42:48 $ docker top 9c031ac40e96ef72d11e88a6220d8f03d2a0e4cb722dc8361f1bdb94beec2b7a -eo pid,comm 18:42:48 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). 18:42:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:42:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:48 [ssh-agent] Looking for ssh-agent implementation... 18:42:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:48 $ docker exec 9c031ac40e96ef72d11e88a6220d8f03d2a0e4cb722dc8361f1bdb94beec2b7a ssh-agent 18:42:48 SSH_AUTH_SOCK=/tmp/ssh-OzgH8PXdC6cR/agent.32 18:42:48 SSH_AGENT_PID=38 18:42:48 Running ssh-add (command line suppressed) 18:42:48 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5464717722213318135.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5464717722213318135.key) 18:42:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:49 + git semver bump pre 18:42:49 2023-01-11 18:42:49,338 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 18:42:49 2023-01-11 18:42:49,338 [bump_version] DEBUG bumping version:3.0.0-dev.5 on axis:pre with prefix:dev 18:42:49 2023-01-11 18:42:49,338 [bump_version] DEBUG bumped version:3.0.0-dev.6 18:42:49 2023-01-11 18:42:49,338 [write_version] DEBUG write version:3.0.0-dev.6 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 18:42:49 2023-01-11 18:42:49,338 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 18:42:49 2023-01-11 18:42:49,338 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 18:42:49 2023-01-11 18:42:49,340 [execute] INFO git cat-file --batch-check 18:42:49 2023-01-11 18:42:49,341 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:42:49 2023-01-11 18:42:49,346 [execute] INFO git cat-file --batch 18:42:49 2023-01-11 18:42:49,346 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:42:49 2023-01-11 18:42:49,352 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 18:42:49 3.0.0-dev.6 [Pipeline] } 18:42:49 $ docker exec --env ******** --env ******** 9c031ac40e96ef72d11e88a6220d8f03d2a0e4cb722dc8361f1bdb94beec2b7a ssh-agent -k 18:42:49 unset SSH_AUTH_SOCK; 18:42:49 unset SSH_AGENT_PID; 18:42:49 echo Agent pid 38 killed; 18:42:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:42:49 + git semver [Pipeline] } 18:42:50 $ docker stop --time=1 9c031ac40e96ef72d11e88a6220d8f03d2a0e4cb722dc8361f1bdb94beec2b7a 18:42:51 $ docker rm -f --volumes 9c031ac40e96ef72d11e88a6220d8f03d2a0e4cb722dc8361f1bdb94beec2b7a [Pipeline] // withDockerContainer [Pipeline] sh 18:42:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:42:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:42:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:42:52 prd-ubuntu20.04-docker-8c-8g-1915 does not seem to be running inside a container 18:42:52 $ 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 18:42:52 $ docker top ca324d9a950a8a023c7c6a6f32c08c257fc76f1315b1c58b2c21be6e157c9d73 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:42:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:52 [ssh-agent] Looking for ssh-agent implementation... 18:42:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:52 $ docker exec ca324d9a950a8a023c7c6a6f32c08c257fc76f1315b1c58b2c21be6e157c9d73 ssh-agent 18:42:52 SSH_AUTH_SOCK=/tmp/ssh-2z3ppcqobual/agent.32 18:42:52 SSH_AGENT_PID=38 18:42:52 Running ssh-add (command line suppressed) 18:42:52 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3018545962879838878.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3018545962879838878.key) 18:42:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:53 + git semver push 18:42:53 2023-01-11 18:42:53,364 [run_push] DEBUG push 18:42:53 2023-01-11 18:42:53,364 [execute] INFO git cat-file --batch-check 18:42:53 2023-01-11 18:42:53,365 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:42:53 2023-01-11 18:42:53,366 [execute] INFO git rev-list ebd74463765bb89904eb751a629a7e924a1bcc6c -- 18:42:53 2023-01-11 18:42:53,367 [execute] DEBUG Popen(['git', 'rev-list', 'ebd74463765bb89904eb751a629a7e924a1bcc6c', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 18:42:53 2023-01-11 18:42:53,372 [execute] INFO git fetch -v origin 18:42:53 2023-01-11 18:42:53,372 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 18:42:54 2023-01-11 18:42:53,895 [run_push] DEBUG no remote changes detected 18:42:54 2023-01-11 18:42:53,896 [execute] INFO git push origin semver 18:42:54 2023-01-11 18:42:53,896 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 18:42:54 2023-01-11 18:42:54,720 [run_push] DEBUG push all version tags 18:42:54 2023-01-11 18:42:54,720 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 18:42:54 2023-01-11 18:42:54,721 [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) 18:42:55 2023-01-11 18:42:55,716 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 18:42:55 3.0.0-dev.6 [Pipeline] } 18:42:55 $ docker exec --env ******** --env ******** ca324d9a950a8a023c7c6a6f32c08c257fc76f1315b1c58b2c21be6e157c9d73 ssh-agent -k 18:42:56 unset SSH_AUTH_SOCK; 18:42:56 unset SSH_AGENT_PID; 18:42:56 echo Agent pid 38 killed; 18:42:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:42:56 + git semver [Pipeline] } 18:42:56 $ docker stop --time=1 ca324d9a950a8a023c7c6a6f32c08c257fc76f1315b1c58b2c21be6e157c9d73 18:42:57 $ docker rm -f --volumes ca324d9a950a8a023c7c6a6f32c08c257fc76f1315b1c58b2c21be6e157c9d73 [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 18:42:58 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 18:42:58 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 18:42:58 total 16 18:42:58 drwxr-xr-x 3 root root 4096 Jan 11 18:32 . 18:42:58 drwxrwxr-x 11 jenkins jenkins 4096 Jan 11 18:42 .. 18:42:58 drwxr-xr-x 2 root root 4096 Jan 11 18:32 cost 18:42:58 -rw-r--r-- 1 root root 87 Jan 11 18:32 cost.csv 18:42:58 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 18:42:58 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 18:42:58 total 16 18:42:58 drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 18:32 . 18:42:58 drwxrwxr-x 11 jenkins jenkins 4096 Jan 11 18:42 .. 18:42:58 drwxr-xr-x 2 jenkins jenkins 4096 Jan 11 18:32 cost 18:42:58 -rw-r--r-- 1 jenkins jenkins 87 Jan 11 18:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:42:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:42:59 ---> package-listing.sh 18:42:59 ++ facter osfamily 18:42:59 ++ tr '[:upper:]' '[:lower:]' 18:42:59 + OS_FAMILY=debian 18:42:59 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 18:42:59 + START_PACKAGES=/tmp/packages_start.txt 18:42:59 + END_PACKAGES=/tmp/packages_end.txt 18:42:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:42:59 + PACKAGES=/tmp/packages_start.txt 18:42:59 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 18:42:59 + PACKAGES=/tmp/packages_end.txt 18:42:59 + case "${OS_FAMILY}" in 18:42:59 + dpkg -l 18:42:59 + grep '^ii' 18:42:59 + '[' -f /tmp/packages_start.txt ']' 18:42:59 + '[' -f /tmp/packages_end.txt ']' 18:42:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:42:59 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 18:42:59 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 18:42:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 18:42:59 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 18:43:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:43:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:00 prd-ubuntu20.04-docker-8c-8g-1915 does not seem to be running inside a container 18:43:00 $ 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 18:43:00 $ docker top 9e7aad86e6392960f2de0dcf33a547ce94f2ed7a6eedaeb4e58ec92510ba4351 -eo pid,comm [Pipeline] { [Pipeline] sh 18:43:01 + touch /tmp/pre-build-complete [Pipeline] sh 18:43:01 + mkdir -p /var/log/sysstat [Pipeline] sh 18:43:01 + ls /var/log/sa-host 18:43:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:43:01 provisioning config files... 18:43:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4107096747052053449tmp [Pipeline] { [Pipeline] echo 18:43:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:43:02 ---> create-netrc.sh [Pipeline] } 18:43:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:43:02 ---> python-tools-install.sh [Pipeline] echo 18:43:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:43:02 ---> sudo-logs.sh 18:43:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:43:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:43:03 ---> job-cost.sh 18:43:03 lf-activate-venv: SKIPPING 18:43:03 DEBUG: total: 0.2199999988079071 18:43:03 INFO: Retrieving Stack Cost... 18:43:03 INFO: Retrieving Pricing Info for: v3-standard-8 18:43:04 INFO: Archiving Costs [Pipeline] echo 18:43:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:43:04 ---> logs-deploy.sh 18:43:04 lf-activate-venv: SKIPPING 18:43:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/71 18:43:04 INFO: archiving workspace using pattern(s): 18:43:05 Archives upload complete. 18:43:05 INFO: archiving logs to Nexus