Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4a922296995208ff0e4cc89e50973eb58c03687f 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-ssh6539764657193931651.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-ssh12271688748719103407.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-ssh10883981698681035702.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-ssh2146319119447787565.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-ssh8859127713092429910.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 ‘prd-ubuntu20.04-docker-8c-8g-9906’ Running on prd-ubuntu20.04-docker-8c-8g-9908 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 4a922296995208ff0e4cc89e50973eb58c03687f (main) Commit message: "refactor!: consume device-sdk-go breaking changes (#422)" > 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 4a922296995208ff0e4cc89e50973eb58c03687f # timeout=10 > git rev-list --no-walk 01efde03cde14ec0060c1876119bb983deb5481b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:56:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:56:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:56:03 ========================================================= 16:56:03 EdgeX Global Pipelines Version Info 16:56:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:56:03 ------------------- 16:56:03 stable info: 16:56:03 ------------------- 16:56:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:56:03 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:56:03 Message: update stable to v1.0.244 16:56:04 ------------------- 16:56:04 experimental info: 16:56:04 ------------------- 16:56:04 Commited By: **** collab-it+edgex@linuxfoundation.org 16:56:04 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:56:04 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:56:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 16:56:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 16:56:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:56:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:56:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:56:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:56:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:56:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:56:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:56:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:56:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:56:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 16:56:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:56:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:56:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:56:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:56:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:56:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:56:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:56:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:56:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:56:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:56:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:56:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:56:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:56:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:56:04 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:56:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:56:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:56:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:56:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4a922296995208ff0e4cc89e50973eb58c03687f [Pipeline] echo 16:56:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4a92229 [Pipeline] echo 16:56:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:56:04 provisioning config files... 16:56:04 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1536853337221233557tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:56:05 ---> docker-login.sh 16:56:05 nexus3.edgexfoundry.org:10001 16:56:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:05 Configure a credential helper to remove this warning. See 16:56:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:05 16:56:05 Login Succeeded 16:56:05 nexus3.edgexfoundry.org:10002 16:56:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:05 Configure a credential helper to remove this warning. See 16:56:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:05 16:56:05 Login Succeeded 16:56:05 nexus3.edgexfoundry.org:10003 16:56:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:05 Configure a credential helper to remove this warning. See 16:56:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:05 16:56:05 Login Succeeded 16:56:05 nexus3.edgexfoundry.org:10004 16:56:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:06 Configure a credential helper to remove this warning. See 16:56:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:06 16:56:06 Login Succeeded 16:56:06 docker.io 16:56:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:06 Configure a credential helper to remove this warning. See 16:56:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:06 16:56:06 Login Succeeded 16:56:06 ---> docker-login.sh ends [Pipeline] } 16:56:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:56:06 + git rev-list -1 --merges 4a922296995208ff0e4cc89e50973eb58c03687f~1..4a922296995208ff0e4cc89e50973eb58c03687f [Pipeline] echo 16:56:06 -----------> git rev-list -1 --merges 4a922296995208ff0e4cc89e50973eb58c03687f~1..4a922296995208ff0e4cc89e50973eb58c03687f 4a922296995208ff0e4cc89e50973eb58c03687f [false] [Pipeline] sh 16:56:07 + git log --format=format:%s -1 4a922296995208ff0e4cc89e50973eb58c03687f [Pipeline] echo 16:56:07 ========================================================= 16:56:07 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:56:07 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:56:07 + git log --format=format:%s -1 4a922296995208ff0e4cc89e50973eb58c03687f [Pipeline] echo 16:56:07 [semverPrep] GIT_COMMIT: 4a922296995208ff0e4cc89e50973eb58c03687f, Commit Message: refactor!: consume device-sdk-go breaking changes (#422) [Pipeline] echo 16:56:07 [semverPrep] This is not a build commit. [Pipeline] sh 16:56:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:56:07 + grep -v github /etc/ssh/ssh_known_hosts 16:56:07 + [ -e /tmp/ssh_known_hosts ] 16:56:07 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:56:07 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:56:07 + sudo tee -a /etc/ssh/ssh_known_hosts 16:56:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:56:08 16:56:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:56:08 0.1.4: Pulling from edgex-devops/py-git-semver 16:56:08 b85a868b505f: Pulling fs layer 16:56:08 e2be974225ed: Pulling fs layer 16:56:08 339a4e72a1f5: Pulling fs layer 16:56:08 988bab9f4d93: Pulling fs layer 16:56:08 1469e6f7b9e6: Pulling fs layer 16:56:08 988bab9f4d93: Waiting 16:56:08 eaf3925da568: Pulling fs layer 16:56:08 bab4dde63d76: Pulling fs layer 16:56:08 bde34c3a00c8: Pulling fs layer 16:56:08 b352a97aabf1: Pulling fs layer 16:56:08 4872d77fe225: Pulling fs layer 16:56:08 1469e6f7b9e6: Waiting 16:56:08 5851b861e8e6: Pulling fs layer 16:56:08 eaf3925da568: Waiting 16:56:08 bde34c3a00c8: Waiting 16:56:08 bab4dde63d76: Waiting 16:56:08 b352a97aabf1: Waiting 16:56:08 e2be974225ed: Verifying Checksum 16:56:08 e2be974225ed: Download complete 16:56:08 988bab9f4d93: Verifying Checksum 16:56:08 988bab9f4d93: Download complete 16:56:08 1469e6f7b9e6: Verifying Checksum 16:56:08 1469e6f7b9e6: Download complete 16:56:08 339a4e72a1f5: Verifying Checksum 16:56:08 339a4e72a1f5: Download complete 16:56:08 eaf3925da568: Verifying Checksum 16:56:08 eaf3925da568: Download complete 16:56:08 bde34c3a00c8: Download complete 16:56:08 b352a97aabf1: Download complete 16:56:08 4872d77fe225: Download complete 16:56:08 b85a868b505f: Download complete 16:56:08 5851b861e8e6: Verifying Checksum 16:56:08 5851b861e8e6: Download complete 16:56:08 bab4dde63d76: Verifying Checksum 16:56:08 bab4dde63d76: Download complete 16:56:09 b85a868b505f: Pull complete 16:56:10 e2be974225ed: Pull complete 16:56:10 339a4e72a1f5: Pull complete 16:56:10 988bab9f4d93: Pull complete 16:56:10 1469e6f7b9e6: Pull complete 16:56:10 eaf3925da568: Pull complete 16:56:12 bab4dde63d76: Pull complete 16:56:12 bde34c3a00c8: Pull complete 16:56:12 b352a97aabf1: Pull complete 16:56:12 4872d77fe225: Pull complete 16:56:13 5851b861e8e6: Pull complete 16:56:13 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:56:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:56:13 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:56:13 prd-ubuntu20.04-docker-8c-8g-9908 does not seem to be running inside a container 16:56:13 $ 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 16:56:15 $ docker top 168f671b29d65f3d831719f869c9cbe174385f6bdb896caa82a4699e207e3c2b -eo pid,comm 16:56:15 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). 16:56:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:56:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:56:15 [ssh-agent] Looking for ssh-agent implementation... 16:56:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:56:15 $ docker exec 168f671b29d65f3d831719f869c9cbe174385f6bdb896caa82a4699e207e3c2b ssh-agent 16:56:16 SSH_AUTH_SOCK=/tmp/ssh-km81m7ng5l76/agent.31 16:56:16 SSH_AGENT_PID=37 16:56:16 Running ssh-add (command line suppressed) 16:56:16 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2437811675875778414.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2437811675875778414.key) 16:56:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:56:16 + git tag --points-at HEAD [Pipeline] } 16:56:16 $ docker exec --env ******** --env ******** 168f671b29d65f3d831719f869c9cbe174385f6bdb896caa82a4699e207e3c2b ssh-agent -k 16:56:16 unset SSH_AUTH_SOCK; 16:56:16 unset SSH_AGENT_PID; 16:56:16 echo Agent pid 37 killed; 16:56:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:56:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:56:16 [ssh-agent] Looking for ssh-agent implementation... 16:56:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:56:16 $ docker exec 168f671b29d65f3d831719f869c9cbe174385f6bdb896caa82a4699e207e3c2b ssh-agent 16:56:16 SSH_AUTH_SOCK=/tmp/ssh-ARQP9Hu5PCyN/agent.69 16:56:16 SSH_AGENT_PID=75 16:56:16 Running ssh-add (command line suppressed) 16:56:16 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16893929362078895942.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16893929362078895942.key) 16:56:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:56:17 + git semver init 16:56:17 2023-03-13 16:56:17,439 [run_init] DEBUG init version:0.0.0 force:False 16:56:17 2023-03-13 16:56:17,440 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 16:56:17 2023-03-13 16:56:17,440 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 16:56:17 2023-03-13 16:56:17,440 [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) 16:56:18 2023-03-13 16:56:18,271 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 16:56:18 2023-03-13 16:56:18,271 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 16:56:18 2023-03-13 16:56:18,271 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 16:56:18 2023-03-13 16:56:18,272 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 16:56:18 3.0.0-dev.16 [Pipeline] } 16:56:18 $ docker exec --env ******** --env ******** 168f671b29d65f3d831719f869c9cbe174385f6bdb896caa82a4699e207e3c2b ssh-agent -k 16:56:18 unset SSH_AUTH_SOCK; 16:56:18 unset SSH_AGENT_PID; 16:56:18 echo Agent pid 75 killed; 16:56:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:56:18 + git semver [Pipeline] } 16:56:19 $ docker stop --time=1 168f671b29d65f3d831719f869c9cbe174385f6bdb896caa82a4699e207e3c2b 16:56:20 $ docker rm -f --volumes 168f671b29d65f3d831719f869c9cbe174385f6bdb896caa82a4699e207e3c2b [Pipeline] // withDockerContainer [Pipeline] sh 16:56:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:56:20 Stashed 1 file(s) [Pipeline] echo 16:56:20 [edgeXSemver]: initialized semver on version 3.0.0-dev.16 [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 16:56:21 provisioning config files... 16:56:21 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14367491791567795743tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:56:21 ---> docker-login.sh 16:56:21 nexus3.edgexfoundry.org:10001 16:56:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:21 Configure a credential helper to remove this warning. See 16:56:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:21 16:56:21 Login Succeeded 16:56:21 nexus3.edgexfoundry.org:10002 16:56:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:21 Configure a credential helper to remove this warning. See 16:56:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:21 16:56:21 Login Succeeded 16:56:21 nexus3.edgexfoundry.org:10003 16:56:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:21 Configure a credential helper to remove this warning. See 16:56:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:21 16:56:21 Login Succeeded 16:56:21 nexus3.edgexfoundry.org:10004 16:56:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:21 Configure a credential helper to remove this warning. See 16:56:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:21 16:56:21 Login Succeeded 16:56:21 docker.io 16:56:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:21 Configure a credential helper to remove this warning. See 16:56:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:21 16:56:21 Login Succeeded 16:56:21 ---> docker-login.sh ends [Pipeline] } 16:56:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:56:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:56:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:56:22 ========================================================= 16:56:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:56:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:22 + 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 . 16:56:22 Sending build context to Docker daemon 6.413MB 16:56:22 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 16:56:22 Step 2/10 : FROM ${BASE} AS builder 16:56:22 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:56:22 213ec9aee27d: Pulling fs layer 16:56:22 4583459ba037: Pulling fs layer 16:56:22 93c1e223e6f2: Pulling fs layer 16:56:22 53926ce57604: Pulling fs layer 16:56:22 21b2b0c7a3f4: Pulling fs layer 16:56:22 22ff95d597cd: Pulling fs layer 16:56:22 12d6caf4c0d1: Pulling fs layer 16:56:22 96b7cbca73a9: Pulling fs layer 16:56:22 a7acece74701: Pulling fs layer 16:56:22 53926ce57604: Waiting 16:56:22 21b2b0c7a3f4: Waiting 16:56:22 22ff95d597cd: Waiting 16:56:22 96b7cbca73a9: Waiting 16:56:22 a7acece74701: Waiting 16:56:22 12d6caf4c0d1: Waiting 16:56:22 93c1e223e6f2: Verifying Checksum 16:56:22 93c1e223e6f2: Download complete 16:56:22 4583459ba037: Download complete 16:56:22 21b2b0c7a3f4: Verifying Checksum 16:56:22 21b2b0c7a3f4: Download complete 16:56:22 22ff95d597cd: Download complete 16:56:22 213ec9aee27d: Verifying Checksum 16:56:22 12d6caf4c0d1: Verifying Checksum 16:56:22 12d6caf4c0d1: Download complete 16:56:22 213ec9aee27d: Pull complete 16:56:22 4583459ba037: Pull complete 16:56:22 93c1e223e6f2: Pull complete 16:56:23 a7acece74701: Verifying Checksum 16:56:23 a7acece74701: Download complete 16:56:23 96b7cbca73a9: Verifying Checksum 16:56:23 96b7cbca73a9: Download complete 16:56:23 53926ce57604: Verifying Checksum 16:56:23 53926ce57604: Download complete 16:56:27 53926ce57604: Pull complete 16:56:27 21b2b0c7a3f4: Pull complete 16:56:27 22ff95d597cd: Pull complete 16:56:27 12d6caf4c0d1: Pull complete 16:56:29 96b7cbca73a9: Pull complete 16:56:30 a7acece74701: Pull complete 16:56:30 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 16:56:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:56:30 ---> db6d94c90886 16:56:30 Step 3/10 : ARG ADD_BUILD_TAGS="" 16:56:34 ---> Running in b459bfc591a0 16:56:34 Removing intermediate container b459bfc591a0 16:56:34 ---> 7b282cc9ddb5 16:56:34 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:56:34 ---> Running in 8272cc1873e7 16:56:34 Removing intermediate container 8272cc1873e7 16:56:34 ---> a23711417940 16:56:34 Step 5/10 : RUN apk add --update --no-cache make git openssh 16:56:34 ---> Running in 7b6be0929a2f 16:56:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:56:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:56:34 (1/8) Installing openssh-keygen (9.0_p1-r2) 16:56:34 (2/8) Installing libedit (20210910.3.1-r0) 16:56:34 (3/8) Installing openssh-client-common (9.0_p1-r2) 16:56:34 (4/8) Installing openssh-client-default (9.0_p1-r2) 16:56:34 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 16:56:34 (6/8) Installing openssh-server-common (9.0_p1-r2) 16:56:34 (7/8) Installing openssh-server (9.0_p1-r2) 16:56:34 (8/8) Installing openssh (9.0_p1-r2) 16:56:34 Executing busybox-1.35.0-r17.trigger 16:56:34 OK: 217 MiB in 59 packages 16:56:35 Removing intermediate container 7b6be0929a2f 16:56:35 ---> 71c086fb9efb 16:56:35 Step 6/10 : WORKDIR /device-modbus-go 16:56:35 ---> Running in 86b09675e998 16:56:35 Removing intermediate container 86b09675e998 16:56:35 ---> 1f8c04922f89 16:56:35 Step 7/10 : COPY go.mod vendor* ./ 16:56:35 ---> 9a372c73424c 16:56:35 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:56:35 ---> Running in 649787e6c325 16:56:36 Still waiting to schedule task 16:56:36 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9907’ 16:57:07 Removing intermediate container 649787e6c325 16:57:07 ---> 6e93d486e430 16:57:07 Step 9/10 : COPY . . 16:57:07 ---> f193fd0bfd0a 16:57:07 Step 10/10 : RUN ${MAKE} 16:57:07 ---> Running in b3c9eaaa3035 16:57:07 noop 16:57:07 Removing intermediate container b3c9eaaa3035 16:57:07 ---> d6195b1f708d 16:57:07 Successfully built d6195b1f708d 16:57:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:57:07 + docker inspect -f . ci-base-image-x86_64 16:57:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:57:08 prd-ubuntu20.04-docker-8c-8g-9908 does not seem to be running inside a container 16:57:08 $ 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 16:57:08 $ docker top 0743ad2d675f0d490809854b503ac784d636e6cf5cdf7c05b503d8b0ca839bfb -eo pid,comm [Pipeline] { [Pipeline] sh 16:57:08 + go version 16:57:08 go version go1.18.7 linux/amd64 [Pipeline] } 16:57:08 $ docker stop --time=1 0743ad2d675f0d490809854b503ac784d636e6cf5cdf7c05b503d8b0ca839bfb 16:57:10 $ docker rm -f --volumes 0743ad2d675f0d490809854b503ac784d636e6cf5cdf7c05b503d8b0ca839bfb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:57:10 + docker inspect -f . ci-base-image-x86_64 16:57:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:57:10 prd-ubuntu20.04-docker-8c-8g-9908 does not seem to be running inside a container 16:57:10 $ 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 16:57:10 $ docker top 27d20d4c4d89aed8b95118b52b587827779ab49bf9d475c082e1ec5157bda6ac -eo pid,comm [Pipeline] { [Pipeline] sh 16:57:11 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 16:57:11 + make test 16:57:11 go test ./... -coverprofile=coverage.out 16:57:12 ? github.com/edgexfoundry/device-modbus-go [no test files] 16:57:22 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 16:57:22 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.020s coverage: 48.0% of statements 16:57:27 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." 16:57:27 go vet ./... 16:57:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:57:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:57:30 ./bin/test-attribution-txt.sh [Pipeline] echo 16:57:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:57:30 $ docker stop --time=1 27d20d4c4d89aed8b95118b52b587827779ab49bf9d475c082e1ec5157bda6ac 16:57:33 $ docker rm -f --volumes 27d20d4c4d89aed8b95118b52b587827779ab49bf9d475c082e1ec5157bda6ac [Pipeline] // withDockerContainer [Pipeline] sh 16:57:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:57:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:57:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:57:34 + ls -al . 16:57:34 total 180 16:57:34 drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 16:57 . 16:57:34 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 16:56 .. 16:57:34 -rw-rw-r-- 1 jenkins jenkins 140 Mar 13 16:56 .dockerignore 16:57:34 drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 16:57 .git 16:57:34 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 16:56 .github 16:57:34 -rw-rw-r-- 1 jenkins jenkins 331 Mar 13 16:56 .gitignore 16:57:34 -rw-rw-r-- 1 jenkins jenkins 41 Mar 13 16:56 .golangci.yml 16:57:34 drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 16:56 .semver 16:57:34 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 13 16:56 Attribution.txt 16:57:34 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 13 16:56 CHANGELOG.md 16:57:34 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 13 16:56 Dockerfile 16:57:34 -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 16:56 GOVERNANCE.md 16:57:34 -rw-rw-r-- 1 jenkins jenkins 680 Mar 13 16:56 Jenkinsfile 16:57:34 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 13 16:56 LICENSE 16:57:34 -rw-rw-r-- 1 jenkins jenkins 1670 Mar 13 16:56 Makefile 16:57:34 -rw-rw-r-- 1 jenkins jenkins 622 Mar 13 16:56 OWNERS.md 16:57:34 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 13 16:56 README.md 16:57:34 -rw-rw-r-- 1 jenkins jenkins 12 Mar 13 16:56 VERSION 16:57:34 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 16:56 bin 16:57:34 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 16:56 cmd 16:57:34 -rw-r--r-- 1 jenkins jenkins 23736 Mar 13 16:57 coverage.out 16:57:34 -rw-rw-r-- 1 jenkins jenkins 3497 Mar 13 16:56 go.mod 16:57:34 -rw-rw-r-- 1 jenkins jenkins 31641 Mar 13 16:56 go.sum 16:57:34 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 16:56 internal 16:57:34 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 16:56 simulator 16:57:34 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 16:56 snap 16:57:34 -rw-rw-r-- 1 jenkins jenkins 229 Mar 13 16:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:57:34 + 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=4a922296995208ff0e4cc89e50973eb58c03687f --label arch=amd64 --label version=3.0.0-dev.16 . 16:57:34 Sending build context to Docker daemon 6.438MB 16:57:34 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 16:57:34 Step 2/22 : FROM ${BASE} AS builder 16:57:34 ---> d6195b1f708d 16:57:34 Step 3/22 : ARG ADD_BUILD_TAGS="" 16:57:34 ---> Running in 5bb95ee42d50 16:57:34 Removing intermediate container 5bb95ee42d50 16:57:34 ---> 77cb44dfd84c 16:57:34 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:57:34 ---> Running in 490ba6eccccd 16:57:34 Removing intermediate container 490ba6eccccd 16:57:34 ---> 1c49b5805328 16:57:34 Step 5/22 : RUN apk add --update --no-cache make git openssh 16:57:34 ---> Running in 51a03bbad7f9 16:57:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:57:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:57:35 OK: 217 MiB in 59 packages 16:57:35 Removing intermediate container 51a03bbad7f9 16:57:35 ---> 159393187bd3 16:57:35 Step 6/22 : WORKDIR /device-modbus-go 16:57:35 ---> Running in 3f72b6c77ef4 16:57:35 Removing intermediate container 3f72b6c77ef4 16:57:35 ---> 0ca1654083b7 16:57:35 Step 7/22 : COPY go.mod vendor* ./ 16:57:35 ---> 03f932bba1da 16:57:35 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:57:35 ---> Running in 8e0870734b91 16:57:36 Removing intermediate container 8e0870734b91 16:57:36 ---> 3c61e2585054 16:57:36 Step 9/22 : COPY . . 16:57:37 ---> c34e4d5055cb 16:57:37 Step 10/22 : RUN ${MAKE} 16:57:37 ---> Running in 9930de2ca92e 16:57:37 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.16" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 16:57:59 Removing intermediate container 9930de2ca92e 16:57:59 ---> 5cb7a1b3cd2a 16:57:59 Step 11/22 : FROM alpine:3.14 16:57:59 3.14: Pulling from library/alpine 16:57:59 d261077062b2: Pulling fs layer 16:57:59 d261077062b2: Verifying Checksum 16:57:59 d261077062b2: Download complete 16:57:59 d261077062b2: Pull complete 16:57:59 Digest: sha256:fa26727c28837d1471c2f1524d297a0255c153b5d023d7badd1412be7e6e12a2 16:57:59 Status: Downloaded newer image for alpine:3.14 16:57:59 ---> 6dff1269bc79 16:57:59 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 16:57:59 ---> Running in 988fcf9aff7c 16:57:59 Removing intermediate container 988fcf9aff7c 16:57:59 ---> dd11349e9e4b 16:57:59 Step 13/22 : RUN apk add --update --no-cache dumb-init 16:57:59 ---> Running in e735a70fac07 16:57:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 16:57:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 16:57:59 (1/1) Installing dumb-init (1.2.5-r1) 16:57:59 Executing busybox-1.33.1-r8.trigger 16:57:59 OK: 6 MiB in 15 packages 16:57:59 Removing intermediate container e735a70fac07 16:57:59 ---> bccd7cc88ac4 16:57:59 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 16:57:59 ---> 83e9e3237f0d 16:57:59 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 16:57:59 ---> 8a6937bd36e6 16:57:59 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 16:57:59 ---> a73986c748a9 16:57:59 Step 17/22 : EXPOSE 59901 16:57:59 ---> Running in 15c5dd08d49b 16:57:59 Removing intermediate container 15c5dd08d49b 16:57:59 ---> 4e5dfb2a9d72 16:57:59 Step 18/22 : ENTRYPOINT ["/device-modbus"] 16:57:59 ---> Running in 757353841a21 16:57:59 Removing intermediate container 757353841a21 16:57:59 ---> 66aff40bbcc7 16:57:59 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 16:57:59 ---> Running in 2c0f93207653 16:57:59 Removing intermediate container 2c0f93207653 16:57:59 ---> 37731d6691ca 16:57:59 Step 20/22 : LABEL arch=amd64 16:57:59 ---> Running in 0a8ba17c17d1 16:57:59 Removing intermediate container 0a8ba17c17d1 16:57:59 ---> 5ca976a8ee80 16:57:59 Step 21/22 : LABEL git_sha=4a922296995208ff0e4cc89e50973eb58c03687f 16:57:59 ---> Running in edebb96971b1 16:57:59 Removing intermediate container edebb96971b1 16:57:59 ---> 422115ac0889 16:57:59 Step 22/22 : LABEL version=3.0.0-dev.16 16:57:59 ---> Running in a9ce5d1a2549 16:57:59 Removing intermediate container a9ce5d1a2549 16:57:59 ---> 3c7153744ea9 16:57:59 [Warning] One or more build-args [ARCH] were not consumed 16:57:59 Successfully built 3c7153744ea9 16:57:59 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:57:59 provisioning config files... 16:57:59 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2646968144695161571tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:58:00 ---> docker-login.sh 16:58:00 nexus3.edgexfoundry.org:10001 16:58:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:58:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:58:00 Configure a credential helper to remove this warning. See 16:58:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:58:00 16:58:00 Login Succeeded 16:58:00 nexus3.edgexfoundry.org:10002 16:58:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:58:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:58:00 Configure a credential helper to remove this warning. See 16:58:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:58:00 16:58:00 Login Succeeded 16:58:00 nexus3.edgexfoundry.org:10003 16:58:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:58:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:58:00 Configure a credential helper to remove this warning. See 16:58:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:58:00 16:58:00 Login Succeeded 16:58:00 nexus3.edgexfoundry.org:10004 16:58:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:58:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:58:00 Configure a credential helper to remove this warning. See 16:58:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:58:00 16:58:00 Login Succeeded 16:58:00 docker.io 16:58:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:58:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:58:00 Configure a credential helper to remove this warning. See 16:58:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:58:00 16:58:00 Login Succeeded 16:58:00 ---> docker-login.sh ends [Pipeline] } 16:58:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:58:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:58:00 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 16:58:00 4a922296995208ff0e4cc89e50973eb58c03687f 16:58:00 latest 16:58:00 3.0.0-dev.16 16:58:00 4a922296995208ff0e4cc89e50973eb58c03687f-3.0.0-dev.16 16:58:00 main 16:58:00 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:58:00 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:4a922296995208ff0e4cc89e50973eb58c03687f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:58:01 + docker push nexus3.edgexfoundry.org:10004/device-modbus:4a922296995208ff0e4cc89e50973eb58c03687f 16:58:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 16:58:01 63514eeb0fae: Preparing 16:58:01 5e0b759ed0ab: Preparing 16:58:01 b84de5216595: Preparing 16:58:01 6b0df32481c6: Preparing 16:58:01 625523cb9cce: Preparing 16:58:01 625523cb9cce: Layer already exists 16:58:01 63514eeb0fae: Pushed 16:58:01 5e0b759ed0ab: Pushed 16:58:01 6b0df32481c6: Pushed 16:58:03 b84de5216595: Pushed 16:58:03 4a922296995208ff0e4cc89e50973eb58c03687f: digest: sha256:ecdfc2bac6c06879bc2757621a2512151830e93d37df80d2a19c928c26f1901a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:58:04 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:58:04 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 16:58:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 16:58:04 63514eeb0fae: Preparing 16:58:04 5e0b759ed0ab: Preparing 16:58:04 b84de5216595: Preparing 16:58:04 6b0df32481c6: Preparing 16:58:04 625523cb9cce: Preparing 16:58:04 6b0df32481c6: Layer already exists 16:58:04 5e0b759ed0ab: Layer already exists 16:58:04 63514eeb0fae: Layer already exists 16:58:04 625523cb9cce: Layer already exists 16:58:04 b84de5216595: Layer already exists 16:58:04 latest: digest: sha256:ecdfc2bac6c06879bc2757621a2512151830e93d37df80d2a19c928c26f1901a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:58:04 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:58:04 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.16 16:58:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 16:58:04 63514eeb0fae: Preparing 16:58:04 5e0b759ed0ab: Preparing 16:58:04 b84de5216595: Preparing 16:58:04 6b0df32481c6: Preparing 16:58:04 625523cb9cce: Preparing 16:58:04 b84de5216595: Layer already exists 16:58:04 625523cb9cce: Layer already exists 16:58:04 63514eeb0fae: Layer already exists 16:58:04 6b0df32481c6: Layer already exists 16:58:04 5e0b759ed0ab: Layer already exists 16:58:04 3.0.0-dev.16: digest: sha256:ecdfc2bac6c06879bc2757621a2512151830e93d37df80d2a19c928c26f1901a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:58:05 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:4a922296995208ff0e4cc89e50973eb58c03687f-3.0.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:58:05 + docker push nexus3.edgexfoundry.org:10004/device-modbus:4a922296995208ff0e4cc89e50973eb58c03687f-3.0.0-dev.16 16:58:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 16:58:05 63514eeb0fae: Preparing 16:58:05 5e0b759ed0ab: Preparing 16:58:05 b84de5216595: Preparing 16:58:05 6b0df32481c6: Preparing 16:58:05 625523cb9cce: Preparing 16:58:05 5e0b759ed0ab: Layer already exists 16:58:05 625523cb9cce: Layer already exists 16:58:05 63514eeb0fae: Layer already exists 16:58:05 b84de5216595: Layer already exists 16:58:05 6b0df32481c6: Layer already exists 16:58:05 4a922296995208ff0e4cc89e50973eb58c03687f-3.0.0-dev.16: digest: sha256:ecdfc2bac6c06879bc2757621a2512151830e93d37df80d2a19c928c26f1901a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:58:05 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:58:06 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 16:58:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 16:58:06 63514eeb0fae: Preparing 16:58:06 5e0b759ed0ab: Preparing 16:58:06 b84de5216595: Preparing 16:58:06 6b0df32481c6: Preparing 16:58:06 625523cb9cce: Preparing 16:58:06 625523cb9cce: Layer already exists 16:58:06 6b0df32481c6: Layer already exists 16:58:06 63514eeb0fae: Layer already exists 16:58:06 b84de5216595: Layer already exists 16:58:06 5e0b759ed0ab: Layer already exists 16:58:06 main: digest: sha256:ecdfc2bac6c06879bc2757621a2512151830e93d37df80d2a19c928c26f1901a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:58:06 ===================================================== [Pipeline] echo 16:58:06 taggedImages: 16:58:06 - nexus3.edgexfoundry.org:10004/device-modbus:4a922296995208ff0e4cc89e50973eb58c03687f 16:58:06 - nexus3.edgexfoundry.org:10004/device-modbus:latest 16:58:06 - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.16 16:58:06 - nexus3.edgexfoundry.org:10004/device-modbus:4a922296995208ff0e4cc89e50973eb58c03687f-3.0.0-dev.16 16:58:06 - 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 16:58:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:58:06 16:58:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:58:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:58:06 latest: Pulling from edgex-lftools-log-publisher 16:58:06 5eb5b503b376: Pulling fs layer 16:58:06 5c69ac0246d0: Pulling fs layer 16:58:06 ec43610c2a17: Pulling fs layer 16:58:06 3a2ae6a8a46f: Pulling fs layer 16:58:06 33b1e0a273af: Pulling fs layer 16:58:06 5d3b04190fa2: Pulling fs layer 16:58:06 2f39f015ded8: Pulling fs layer 16:58:06 33b1e0a273af: Waiting 16:58:06 5d3b04190fa2: Waiting 16:58:06 2f39f015ded8: Waiting 16:58:06 3a2ae6a8a46f: Waiting 16:58:06 5c69ac0246d0: Verifying Checksum 16:58:06 5c69ac0246d0: Download complete 16:58:06 3a2ae6a8a46f: Verifying Checksum 16:58:06 3a2ae6a8a46f: Download complete 16:58:07 33b1e0a273af: Verifying Checksum 16:58:07 33b1e0a273af: Download complete 16:58:07 5d3b04190fa2: Download complete 16:58:07 ec43610c2a17: Verifying Checksum 16:58:07 5eb5b503b376: Verifying Checksum 16:58:07 5eb5b503b376: Download complete 16:58:07 2f39f015ded8: Download complete 16:58:08 5eb5b503b376: Pull complete 16:58:08 5c69ac0246d0: Pull complete 16:58:08 ec43610c2a17: Pull complete 16:58:09 3a2ae6a8a46f: Pull complete 16:58:09 33b1e0a273af: Pull complete 16:58:09 5d3b04190fa2: Pull complete 16:58:13 2f39f015ded8: Pull complete 16:58:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:58:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:58:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:58:13 prd-ubuntu20.04-docker-8c-8g-9908 does not seem to be running inside a container 16:58:13 $ 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 16:58:17 $ docker top 4393b93fa93c6a4a1b4a338207c7adba97bdbe047784da05a972365ff64c1d9b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:58:17 ---> job-cost.sh 16:58:17 lf-activate-venv: SKIPPING 16:58:17 INFO: No Stack... 16:58:17 INFO: Retrieving Pricing Info for: v3-standard-8 16:58:18 INFO: Archiving Costs [Pipeline] sh 16:58:18 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 16:58:18 + cut -d, -f6 [Pipeline] lock 16:58:18 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-82-stack-cost] 16:58:18 Resource [jenkins-edgexfoundry-device-modbus-go-main-82-stack-cost] did not exist. Created. 16:58:18 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-82-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:58:18 + echo total: 0.2199999988079071 [Pipeline] stash 16:58:18 Stashed 1 file(s) [Pipeline] } 16:58:18 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-82-stack-cost] [Pipeline] // lock [Pipeline] } 16:58:18 $ docker stop --time=1 4393b93fa93c6a4a1b4a338207c7adba97bdbe047784da05a972365ff64c1d9b 16:58:19 $ docker rm -f --volumes 4393b93fa93c6a4a1b4a338207c7adba97bdbe047784da05a972365ff64c1d9b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:59:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9911 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 16:59:15 Running in /w/workspace/device-modbus-go/82 [Pipeline] { [Pipeline] checkout 16:59:15 Selected Git installation does not exist. Using Default 16:59:15 The recommended git tool is: NONE 16:59:22 using credential edgex-jenkins-ssh 16:59:22 Cloning the remote Git repository 16:59:22 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 16:59:22 > git init /w/workspace/device-modbus-go/82 # timeout=10 16:59:22 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 16:59:22 > git --version # timeout=10 16:59:22 > git --version # 'git version 2.25.1' 16:59:23 using GIT_SSH to set credentials SSH Credentials for GitHub 16:59:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:59:24 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 16:59:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:59:25 Avoid second fetch 16:59:25 Checking out Revision 4a922296995208ff0e4cc89e50973eb58c03687f (main) 16:59:25 > git config core.sparsecheckout # timeout=10 16:59:25 > git checkout -f 4a922296995208ff0e4cc89e50973eb58c03687f # timeout=10 16:59:26 Commit message: "refactor!: consume device-sdk-go breaking changes (#422)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:59:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:59:26 % Total % Received % Xferd Average Speed Time Time Time Current 16:59:26 Dload Upload Total Spent Left Speed 16:59:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 77750 0 --:--:-- --:--:-- --:--:-- 78226 [Pipeline] sh 16:59:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:59:27 + sudo tee /etc/docker/daemon.new 16:59:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:59:27 { 16:59:27 "registry-mirrors": [ 16:59:27 "https://nexus3.edgexfoundry.org:10001" 16:59:27 ], 16:59:27 "bip": "10.250.0.254/24", 16:59:27 "hosts": [ 16:59:27 "tcp://0.0.0.0:5555", 16:59:27 "unix:///var/run/docker.sock" 16:59:27 ], 16:59:27 "mtu": 1458, 16:59:27 "selinux-enabled": true, 16:59:27 "seccomp-profile": "/etc/docker/seccomp.json" 16:59:27 } [Pipeline] sh 16:59:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:59:28 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:59:46 provisioning config files... 16:59:46 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/82@tmp/config6143681903026513388tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:59:47 ---> docker-login.sh 16:59:47 nexus3.edgexfoundry.org:10001 16:59:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:47 Configure a credential helper to remove this warning. See 16:59:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:47 16:59:47 Login Succeeded 16:59:47 nexus3.edgexfoundry.org:10002 16:59:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:48 Configure a credential helper to remove this warning. See 16:59:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:48 16:59:48 Login Succeeded 16:59:48 nexus3.edgexfoundry.org:10003 16:59:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:48 Configure a credential helper to remove this warning. See 16:59:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:48 16:59:48 Login Succeeded 16:59:48 nexus3.edgexfoundry.org:10004 16:59:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:49 Configure a credential helper to remove this warning. See 16:59:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:49 16:59:49 Login Succeeded 16:59:49 docker.io 16:59:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:49 Configure a credential helper to remove this warning. See 16:59:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:49 16:59:49 Login Succeeded 16:59:49 ---> docker-login.sh ends [Pipeline] } 16:59:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:59:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:59:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:59:50 ========================================================= 16:59:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:59:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:59:50 + 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 . 16:59:50 Sending build context to Docker daemon 3.345MB 16:59:50 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 16:59:50 Step 2/10 : FROM ${BASE} AS builder 16:59:51 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:59:51 9b18e9b68314: Pulling fs layer 16:59:51 35d82f9e3411: Pulling fs layer 16:59:51 e16973657156: Pulling fs layer 16:59:51 fc693d55d65f: Pulling fs layer 16:59:51 7e9fc2657dce: Pulling fs layer 16:59:51 dda99020689f: Pulling fs layer 16:59:51 db1c61fa0a46: Pulling fs layer 16:59:51 891c053d2c06: Pulling fs layer 16:59:51 7e9fc2657dce: Waiting 16:59:51 dda99020689f: Waiting 16:59:51 db1c61fa0a46: Waiting 16:59:51 891c053d2c06: Waiting 16:59:51 fc693d55d65f: Waiting 16:59:51 e16973657156: Verifying Checksum 16:59:51 e16973657156: Download complete 16:59:51 35d82f9e3411: Verifying Checksum 16:59:51 35d82f9e3411: Download complete 16:59:51 7e9fc2657dce: Download complete 16:59:51 dda99020689f: Download complete 16:59:51 9b18e9b68314: Verifying Checksum 16:59:51 9b18e9b68314: Download complete 16:59:52 9b18e9b68314: Pull complete 16:59:52 891c053d2c06: Verifying Checksum 16:59:52 891c053d2c06: Download complete 16:59:53 35d82f9e3411: Pull complete 16:59:53 e16973657156: Pull complete 16:59:54 db1c61fa0a46: Verifying Checksum 16:59:54 db1c61fa0a46: Download complete 16:59:54 fc693d55d65f: Verifying Checksum 16:59:54 fc693d55d65f: Download complete 17:00:09 fc693d55d65f: Pull complete 17:00:09 7e9fc2657dce: Pull complete 17:00:09 dda99020689f: Pull complete 17:00:15 db1c61fa0a46: Pull complete 17:00:16 891c053d2c06: Pull complete 17:00:16 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 17:00:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:00:16 ---> f96f9c87975a 17:00:16 Step 3/10 : ARG ADD_BUILD_TAGS="" 17:00:17 ---> Running in 68a23cb1ef01 17:00:20 Removing intermediate container 68a23cb1ef01 17:00:20 ---> 9c1e8061603b 17:00:20 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:00:20 ---> Running in 3d8812d41e38 17:00:21 Removing intermediate container 3d8812d41e38 17:00:21 ---> 11c7d1161501 17:00:21 Step 5/10 : RUN apk add --update --no-cache make git openssh 17:00:21 ---> Running in 98bb13c6aa9f 17:00:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:00:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:00:24 (1/8) Installing openssh-keygen (9.0_p1-r2) 17:00:24 (2/8) Installing libedit (20210910.3.1-r0) 17:00:24 (3/8) Installing openssh-client-common (9.0_p1-r2) 17:00:24 (4/8) Installing openssh-client-default (9.0_p1-r2) 17:00:24 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 17:00:24 (6/8) Installing openssh-server-common (9.0_p1-r2) 17:00:24 (7/8) Installing openssh-server (9.0_p1-r2) 17:00:24 (8/8) Installing openssh (9.0_p1-r2) 17:00:24 Executing busybox-1.35.0-r17.trigger 17:00:24 OK: 228 MiB in 59 packages 17:00:25 Removing intermediate container 98bb13c6aa9f 17:00:25 ---> 23906a088476 17:00:25 Step 6/10 : WORKDIR /device-modbus-go 17:00:25 ---> Running in 8029ec8b7971 17:00:26 Removing intermediate container 8029ec8b7971 17:00:26 ---> 6b9be2172ec8 17:00:26 Step 7/10 : COPY go.mod vendor* ./ 17:00:26 ---> 6d6acd21f1ba 17:00:26 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:00:26 ---> Running in b5f93ba75506 17:01:48 Removing intermediate container b5f93ba75506 17:01:48 ---> 6dd398f5d00c 17:01:48 Step 9/10 : COPY . . 17:01:48 ---> ebf38ca0d2cf 17:01:48 Step 10/10 : RUN ${MAKE} 17:01:48 ---> Running in 5c9bef72ae79 17:01:48 noop 17:01:48 Removing intermediate container 5c9bef72ae79 17:01:48 ---> 3be301c22b5c 17:01:48 Successfully built 3be301c22b5c 17:01:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:49 + docker inspect -f . ci-base-image-arm64 17:01:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:01:49 prd-ubuntu20.04-docker-arm64-4c-16g-9911 does not seem to be running inside a container 17:01:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/82 -v /w/workspace/device-modbus-go/82:/w/workspace/device-modbus-go/82:rw,z -v /w/workspace/device-modbus-go/82@tmp:/w/workspace/device-modbus-go/82@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:01:50 $ docker top 6746b3a518eb84bd1c2d45a4dcf5a5d8d59772f049120146b4eb34efcce94866 -eo pid,comm [Pipeline] { [Pipeline] sh 17:01:51 + go version 17:01:51 go version go1.18.7 linux/arm64 [Pipeline] } 17:01:51 $ docker stop --time=1 6746b3a518eb84bd1c2d45a4dcf5a5d8d59772f049120146b4eb34efcce94866 17:01:53 $ docker rm -f --volumes 6746b3a518eb84bd1c2d45a4dcf5a5d8d59772f049120146b4eb34efcce94866 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:53 + docker inspect -f . ci-base-image-arm64 17:01:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:01:54 prd-ubuntu20.04-docker-arm64-4c-16g-9911 does not seem to be running inside a container 17:01:54 $ 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/82 -v /w/workspace/device-modbus-go/82:/w/workspace/device-modbus-go/82:rw,z -v /w/workspace/device-modbus-go/82@tmp:/w/workspace/device-modbus-go/82@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:01:55 $ docker top 185c1acfcc0a6843ad3690b95cf5ef0a090d29f4e27bae32fa38efe2ef1caed7 -eo pid,comm [Pipeline] { [Pipeline] sh 17:01:56 + git config --global --add safe.directory /w/workspace/device-modbus-go/82 [Pipeline] fileExists [Pipeline] sh 17:01:57 + make test 17:01:57 go test ./... -coverprofile=coverage.out 17:01:58 ? github.com/edgexfoundry/device-modbus-go [no test files] 17:03:35 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 17:03:35 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.084s coverage: 48.0% of statements 17:03:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:03:35 go vet ./... 17:04:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:04:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:04:14 ./bin/test-attribution-txt.sh [Pipeline] echo 17:04:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:04:14 $ docker stop --time=1 185c1acfcc0a6843ad3690b95cf5ef0a090d29f4e27bae32fa38efe2ef1caed7 17:04:16 $ docker rm -f --volumes 185c1acfcc0a6843ad3690b95cf5ef0a090d29f4e27bae32fa38efe2ef1caed7 [Pipeline] // withDockerContainer [Pipeline] sh 17:04:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:04:17 Warning: overwriting stash ‘coverage-report’ 17:04:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:04:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:04:18 + ls -al . 17:04:18 total 176 17:04:18 drwxrwxr-x 9 jenkins jenkins 4096 Mar 13 17:01 . 17:04:18 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 16:59 .. 17:04:18 -rw-rw-r-- 1 jenkins jenkins 140 Mar 13 16:59 .dockerignore 17:04:18 drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 16:59 .git 17:04:18 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 16:59 .github 17:04:18 -rw-rw-r-- 1 jenkins jenkins 331 Mar 13 16:59 .gitignore 17:04:18 -rw-rw-r-- 1 jenkins jenkins 41 Mar 13 16:59 .golangci.yml 17:04:18 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 13 16:59 Attribution.txt 17:04:18 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 13 16:59 CHANGELOG.md 17:04:18 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 13 16:59 Dockerfile 17:04:18 -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 16:59 GOVERNANCE.md 17:04:18 -rw-rw-r-- 1 jenkins jenkins 680 Mar 13 16:59 Jenkinsfile 17:04:18 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 13 16:59 LICENSE 17:04:18 -rw-rw-r-- 1 jenkins jenkins 1670 Mar 13 16:59 Makefile 17:04:18 -rw-rw-r-- 1 jenkins jenkins 622 Mar 13 16:59 OWNERS.md 17:04:18 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 13 16:59 README.md 17:04:18 -rw-rw-r-- 1 jenkins jenkins 12 Mar 13 16:56 VERSION 17:04:18 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 16:59 bin 17:04:18 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 16:59 cmd 17:04:18 -rw-r--r-- 1 jenkins jenkins 23736 Mar 13 17:03 coverage.out 17:04:18 -rw-rw-r-- 1 jenkins jenkins 3497 Mar 13 16:59 go.mod 17:04:18 -rw-rw-r-- 1 jenkins jenkins 31641 Mar 13 16:59 go.sum 17:04:18 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 16:59 internal 17:04:18 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 16:59 simulator 17:04:18 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 16:59 snap 17:04:18 -rw-rw-r-- 1 jenkins jenkins 229 Mar 13 16:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:04:19 + 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=4a922296995208ff0e4cc89e50973eb58c03687f --label arch=arm64 --label version=3.0.0-dev.16 . 17:04:19 Sending build context to Docker daemon 3.37MB 17:04:19 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 17:04:19 Step 2/22 : FROM ${BASE} AS builder 17:04:19 ---> 3be301c22b5c 17:04:19 Step 3/22 : ARG ADD_BUILD_TAGS="" 17:04:19 ---> Running in dfcaec997183 17:04:20 Removing intermediate container dfcaec997183 17:04:20 ---> 86b4d658bf7c 17:04:20 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:04:20 ---> Running in 5a57bcc7579b 17:04:20 Removing intermediate container 5a57bcc7579b 17:04:20 ---> 4fad2c2a84f7 17:04:20 Step 5/22 : RUN apk add --update --no-cache make git openssh 17:04:21 ---> Running in 881f04274ca1 17:04:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:04:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:04:24 OK: 228 MiB in 59 packages 17:04:25 Removing intermediate container 881f04274ca1 17:04:25 ---> 040ad7229973 17:04:25 Step 6/22 : WORKDIR /device-modbus-go 17:04:25 ---> Running in d379a65371ed 17:04:25 Removing intermediate container d379a65371ed 17:04:25 ---> d60eff8a1687 17:04:25 Step 7/22 : COPY go.mod vendor* ./ 17:04:26 ---> e1fc7e98bfa8 17:04:26 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:04:26 ---> Running in add8f57c3efc 17:04:29 Removing intermediate container add8f57c3efc 17:04:29 ---> 49ba697304ff 17:04:29 Step 9/22 : COPY . . 17:04:31 ---> 8e637dba3c56 17:04:31 Step 10/22 : RUN ${MAKE} 17:04:31 ---> Running in 3d3b3e485c1c 17:04:34 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.16" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 17:07:11 Removing intermediate container 3d3b3e485c1c 17:07:11 ---> af8286f688ac 17:07:11 Step 11/22 : FROM alpine:3.14 17:07:11 3.14: Pulling from library/alpine 17:07:11 6f0e733d82e2: Pulling fs layer 17:07:11 6f0e733d82e2: Download complete 17:07:11 6f0e733d82e2: Pull complete 17:07:11 Digest: sha256:fa26727c28837d1471c2f1524d297a0255c153b5d023d7badd1412be7e6e12a2 17:07:11 Status: Downloaded newer image for alpine:3.14 17:07:11 ---> bf97f6347a60 17:07:11 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 17:07:11 ---> Running in f3c85e1b0ee7 17:07:11 Removing intermediate container f3c85e1b0ee7 17:07:11 ---> cc90fda68d6c 17:07:11 Step 13/22 : RUN apk add --update --no-cache dumb-init 17:07:11 ---> Running in 578abde7bcd5 17:07:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 17:07:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 17:07:11 (1/1) Installing dumb-init (1.2.5-r1) 17:07:11 Executing busybox-1.33.1-r8.trigger 17:07:11 OK: 6 MiB in 15 packages 17:07:11 Removing intermediate container 578abde7bcd5 17:07:11 ---> 9184ea1cbe66 17:07:11 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 17:07:11 ---> 08adf22d52b8 17:07:11 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 17:07:11 ---> 086d31be20f8 17:07:11 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 17:07:11 ---> 535687e571a9 17:07:11 Step 17/22 : EXPOSE 59901 17:07:11 ---> Running in 8bd6dbbbfe5f 17:07:11 Removing intermediate container 8bd6dbbbfe5f 17:07:11 ---> f5a657f94ced 17:07:11 Step 18/22 : ENTRYPOINT ["/device-modbus"] 17:07:11 ---> Running in 9d1be58a6f19 17:07:11 Removing intermediate container 9d1be58a6f19 17:07:11 ---> d95203cc479a 17:07:11 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 17:07:11 ---> Running in 8499364d677b 17:07:11 Removing intermediate container 8499364d677b 17:07:11 ---> 54e6224b14cf 17:07:11 Step 20/22 : LABEL arch=arm64 17:07:11 ---> Running in 75f653c710d2 17:07:11 Removing intermediate container 75f653c710d2 17:07:11 ---> 76c57721bda2 17:07:11 Step 21/22 : LABEL git_sha=4a922296995208ff0e4cc89e50973eb58c03687f 17:07:11 ---> Running in a17cbb2e6a8f 17:07:12 Removing intermediate container a17cbb2e6a8f 17:07:12 ---> d0f3c157f26b 17:07:12 Step 22/22 : LABEL version=3.0.0-dev.16 17:07:12 ---> Running in f5adea60efdc 17:07:12 Removing intermediate container f5adea60efdc 17:07:12 ---> 2ad944b5fde6 17:07:12 [Warning] One or more build-args [ARCH] were not consumed 17:07:12 Successfully built 2ad944b5fde6 17:07:12 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:07:12 provisioning config files... 17:07:12 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/82@tmp/config6997457972792859120tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:07:13 ---> docker-login.sh 17:07:13 nexus3.edgexfoundry.org:10001 17:07:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:07:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:07:13 Configure a credential helper to remove this warning. See 17:07:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:07:13 17:07:13 Login Succeeded 17:07:13 nexus3.edgexfoundry.org:10002 17:07:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:07:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:07:13 Configure a credential helper to remove this warning. See 17:07:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:07:13 17:07:13 Login Succeeded 17:07:13 nexus3.edgexfoundry.org:10003 17:07:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:07:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:07:14 Configure a credential helper to remove this warning. See 17:07:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:07:14 17:07:14 Login Succeeded 17:07:14 nexus3.edgexfoundry.org:10004 17:07:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:07:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:07:14 Configure a credential helper to remove this warning. See 17:07:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:07:14 17:07:14 Login Succeeded 17:07:14 docker.io 17:07:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:07:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:07:15 Configure a credential helper to remove this warning. See 17:07:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:07:15 17:07:15 Login Succeeded 17:07:15 ---> docker-login.sh ends [Pipeline] } 17:07:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:07:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:07:15 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 17:07:15 4a922296995208ff0e4cc89e50973eb58c03687f 17:07:15 latest 17:07:15 3.0.0-dev.16 17:07:15 4a922296995208ff0e4cc89e50973eb58c03687f-3.0.0-dev.16 17:07:15 main 17:07:15 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:15 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:4a922296995208ff0e4cc89e50973eb58c03687f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:15 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:4a922296995208ff0e4cc89e50973eb58c03687f 17:07:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 17:07:15 bc1748d51c6e: Preparing 17:07:15 5f17d1857655: Preparing 17:07:15 e47caf6e97b5: Preparing 17:07:15 19189320237b: Preparing 17:07:15 c39af2d4cb8d: Preparing 17:07:15 c39af2d4cb8d: Layer already exists 17:07:16 19189320237b: Pushed 17:07:16 5f17d1857655: Pushed 17:07:16 bc1748d51c6e: Pushed 17:07:21 e47caf6e97b5: Pushed 17:07:21 4a922296995208ff0e4cc89e50973eb58c03687f: digest: sha256:c2be5ffade79f03fc70d5cceff4336e5eb8ff38d5c135c7c144ac00df3f9b8ac size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:21 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:22 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 17:07:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 17:07:22 bc1748d51c6e: Preparing 17:07:22 5f17d1857655: Preparing 17:07:22 e47caf6e97b5: Preparing 17:07:22 19189320237b: Preparing 17:07:22 c39af2d4cb8d: Preparing 17:07:22 e47caf6e97b5: Layer already exists 17:07:22 5f17d1857655: Layer already exists 17:07:22 c39af2d4cb8d: Layer already exists 17:07:22 bc1748d51c6e: Layer already exists 17:07:22 19189320237b: Layer already exists 17:07:22 latest: digest: sha256:c2be5ffade79f03fc70d5cceff4336e5eb8ff38d5c135c7c144ac00df3f9b8ac size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:22 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:23 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.16 17:07:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 17:07:23 bc1748d51c6e: Preparing 17:07:23 5f17d1857655: Preparing 17:07:23 e47caf6e97b5: Preparing 17:07:23 19189320237b: Preparing 17:07:23 c39af2d4cb8d: Preparing 17:07:23 c39af2d4cb8d: Layer already exists 17:07:23 19189320237b: Layer already exists 17:07:23 bc1748d51c6e: Layer already exists 17:07:23 5f17d1857655: Layer already exists 17:07:23 e47caf6e97b5: Layer already exists 17:07:23 3.0.0-dev.16: digest: sha256:c2be5ffade79f03fc70d5cceff4336e5eb8ff38d5c135c7c144ac00df3f9b8ac size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:23 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:4a922296995208ff0e4cc89e50973eb58c03687f-3.0.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:24 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:4a922296995208ff0e4cc89e50973eb58c03687f-3.0.0-dev.16 17:07:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 17:07:24 bc1748d51c6e: Preparing 17:07:24 5f17d1857655: Preparing 17:07:24 e47caf6e97b5: Preparing 17:07:24 19189320237b: Preparing 17:07:24 c39af2d4cb8d: Preparing 17:07:24 5f17d1857655: Layer already exists 17:07:24 bc1748d51c6e: Layer already exists 17:07:24 c39af2d4cb8d: Layer already exists 17:07:24 19189320237b: Layer already exists 17:07:24 e47caf6e97b5: Layer already exists 17:07:24 4a922296995208ff0e4cc89e50973eb58c03687f-3.0.0-dev.16: digest: sha256:c2be5ffade79f03fc70d5cceff4336e5eb8ff38d5c135c7c144ac00df3f9b8ac size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:24 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:25 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 17:07:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 17:07:25 bc1748d51c6e: Preparing 17:07:25 5f17d1857655: Preparing 17:07:25 e47caf6e97b5: Preparing 17:07:25 19189320237b: Preparing 17:07:25 c39af2d4cb8d: Preparing 17:07:25 bc1748d51c6e: Layer already exists 17:07:25 5f17d1857655: Layer already exists 17:07:25 c39af2d4cb8d: Layer already exists 17:07:25 19189320237b: Layer already exists 17:07:25 e47caf6e97b5: Layer already exists 17:07:25 main: digest: sha256:c2be5ffade79f03fc70d5cceff4336e5eb8ff38d5c135c7c144ac00df3f9b8ac size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:07:25 ===================================================== [Pipeline] echo 17:07:25 taggedImages: 17:07:25 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:4a922296995208ff0e4cc89e50973eb58c03687f 17:07:25 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 17:07:25 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.16 17:07:25 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:4a922296995208ff0e4cc89e50973eb58c03687f-3.0.0-dev.16 17:07:25 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:07:25 17:07:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:07:26 arm64: Pulling from edgex-lftools-log-publisher 17:07:26 8998bd30e6a1: Pulling fs layer 17:07:26 04944245beec: Pulling fs layer 17:07:26 699f458cf7ca: Pulling fs layer 17:07:26 765212b225bb: Pulling fs layer 17:07:26 f23df028b6ca: Pulling fs layer 17:07:26 d65c8cfc05b1: Pulling fs layer 17:07:26 2437ff75d9bd: Pulling fs layer 17:07:26 f23df028b6ca: Waiting 17:07:26 765212b225bb: Waiting 17:07:26 d65c8cfc05b1: Waiting 17:07:26 2437ff75d9bd: Waiting 17:07:26 04944245beec: Verifying Checksum 17:07:26 04944245beec: Download complete 17:07:26 765212b225bb: Verifying Checksum 17:07:26 765212b225bb: Download complete 17:07:26 f23df028b6ca: Verifying Checksum 17:07:26 f23df028b6ca: Download complete 17:07:26 d65c8cfc05b1: Verifying Checksum 17:07:26 d65c8cfc05b1: Download complete 17:07:26 699f458cf7ca: Verifying Checksum 17:07:26 699f458cf7ca: Download complete 17:07:27 8998bd30e6a1: Verifying Checksum 17:07:27 8998bd30e6a1: Download complete 17:07:29 2437ff75d9bd: Verifying Checksum 17:07:29 2437ff75d9bd: Download complete 17:07:30 8998bd30e6a1: Pull complete 17:07:31 04944245beec: Pull complete 17:07:32 699f458cf7ca: Pull complete 17:07:32 765212b225bb: Pull complete 17:07:36 f23df028b6ca: Pull complete 17:07:36 d65c8cfc05b1: Pull complete 17:07:51 2437ff75d9bd: Pull complete 17:07:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:07:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:07:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:07:51 prd-ubuntu20.04-docker-arm64-4c-16g-9911 does not seem to be running inside a container 17:07:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/82 -v /w/workspace/device-modbus-go/82:/w/workspace/device-modbus-go/82:rw,z -v /w/workspace/device-modbus-go/82@tmp:/w/workspace/device-modbus-go/82@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:07:54 $ docker top a623d5c11f85624a31a05f08a441490d001c9dfd512044869bfc872254d29ef5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:07:55 ---> job-cost.sh 17:07:55 lf-activate-venv: SKIPPING 17:07:55 INFO: No Stack... 17:07:55 INFO: Retrieving Pricing Info for: v3-standard-4 17:07:56 INFO: Archiving Costs [Pipeline] sh 17:07:57 + cut -d, -f6 17:07:57 + cat /w/workspace/device-modbus-go/82/archives/cost.csv [Pipeline] lock 17:07:57 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-82-stack-cost] 17:07:57 Resource [jenkins-edgexfoundry-device-modbus-go-main-82-stack-cost] did not exist. Created. 17:07:57 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-82-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:07:58 /w/workspace/device-modbus-go/82@tmp/durable-fe421dc7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:07:58 + echo total: 0.10999999940395355 [Pipeline] stash 17:07:58 Warning: overwriting stash ‘stack-cost’ 17:07:58 Stashed 1 file(s) [Pipeline] } 17:07:58 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-82-stack-cost] [Pipeline] // lock [Pipeline] } 17:07:58 $ docker stop --time=1 a623d5c11f85624a31a05f08a441490d001c9dfd512044869bfc872254d29ef5 17:08:00 $ docker rm -f --volumes a623d5c11f85624a31a05f08a441490d001c9dfd512044869bfc872254d29ef5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 17:08:00 provisioning config files... 17:08:00 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6389984560505879661tmp [Pipeline] { [Pipeline] sh 17:08:01 + set +x 17:08:01 + bash -s -- 17:08:01 + curl -s https://codecov.io/bash 17:08:01 17:08:01 _____ _ 17:08:01 / ____| | | 17:08:01 | | ___ __| | ___ ___ _____ __ 17:08:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:08:01 | |___| (_) | (_| | __/ (_| (_) \ V / 17:08:01 \_____\___/ \__,_|\___|\___\___/ \_/ 17:08:01 Bash-1.0.6 17:08:01 17:08:01 17:08:01 ==> git version 2.25.1 found 17:08:01 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 17:08:01 Release-Date: 2020-01-08 17:08:01 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:08:01 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:08:01 ==> Jenkins CI detected. 17:08:01 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 17:08:01 project root: . 17:08:01 --> token set from env 17:08:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:08:01 ==> Running gcov in . (disable via -X gcov) 17:08:01 ==> Python coveragepy not found 17:08:01 ==> Searching for coverage reports in: 17:08:01 + . 17:08:01 -> Found 1 reports 17:08:01 ==> Detecting git/mercurial file structure 17:08:01 ==> Reading reports 17:08:01 + ./coverage.out bytes=23736 17:08:01 ==> Appending adjustments 17:08:01 https://docs.codecov.io/docs/fixing-reports 17:08:01 + Found adjustments 17:08:01 ==> Gzipping contents 17:08:01 4.0K /tmp/codecov.N2c9nF.gz 17:08:01 ==> Uploading reports 17:08:01 url: https://codecov.io 17:08:01 query: branch=main&commit=4a922296995208ff0e4cc89e50973eb58c03687f&build=82&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F82%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:08:01 -> Pinging Codecov 17:08:01 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=4a922296995208ff0e4cc89e50973eb58c03687f&build=82&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F82%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:08:01 -> Uploading to 17:08:01 https://storage.googleapis.com/codecov/v4/raw/2023-03-13/55DBCA73C666E3227836607328DD7E49/4a922296995208ff0e4cc89e50973eb58c03687f/223daf76-da2f-4c16-8b70-3d7c6f3560b9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230313%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230313T170801Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6a1e5127dac49e604e2c26c2039d9cf9695a3656ba30a7e5681e9420fdb13d8a 17:08:01 % Total % Received % Xferd Average Speed Time Time Time Current 17:08:01 Dload Upload Total Spent Left Speed 17:08:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3940 0 0 100 3940 0 13089 --:--:-- --:--:-- --:--:-- 13133 17:08:01 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/4a922296995208ff0e4cc89e50973eb58c03687f [Pipeline] } 17:08:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:08:02 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:08:02 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:08:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:08:02 17:08:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:08:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:08:02 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:08:02 df9b9388f04a: Pulling fs layer 17:08:02 52dc419b0ee2: Pulling fs layer 17:08:02 25bc292e5bac: Pulling fs layer 17:08:02 114826534d7a: Pulling fs layer 17:08:02 4657fd5d0bcf: Pulling fs layer 17:08:02 6ad1cebc031e: Pulling fs layer 17:08:02 8a3aa393b2d8: Pulling fs layer 17:08:02 4657fd5d0bcf: Waiting 17:08:02 6ad1cebc031e: Waiting 17:08:02 114826534d7a: Waiting 17:08:02 25bc292e5bac: Verifying Checksum 17:08:02 25bc292e5bac: Download complete 17:08:02 52dc419b0ee2: Download complete 17:08:02 4657fd5d0bcf: Verifying Checksum 17:08:02 4657fd5d0bcf: Download complete 17:08:02 df9b9388f04a: Download complete 17:08:02 df9b9388f04a: Pull complete 17:08:02 6ad1cebc031e: Verifying Checksum 17:08:02 6ad1cebc031e: Download complete 17:08:02 52dc419b0ee2: Pull complete 17:08:02 25bc292e5bac: Pull complete 17:08:03 114826534d7a: Verifying Checksum 17:08:03 114826534d7a: Download complete 17:08:03 8a3aa393b2d8: Verifying Checksum 17:08:03 8a3aa393b2d8: Download complete 17:08:06 114826534d7a: Pull complete 17:08:06 4657fd5d0bcf: Pull complete 17:08:07 6ad1cebc031e: Pull complete 17:08:09 8a3aa393b2d8: Pull complete 17:08:09 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:08:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:08:09 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:08:09 prd-ubuntu20.04-docker-8c-8g-9908 does not seem to be running inside a container 17:08:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 17:08:11 $ docker top b819806cd7323a495d7daeb0c3a2895ff24eeaf9b8315f3110b8f16ed09f187a -eo pid,comm [Pipeline] { [Pipeline] echo 17:08:11 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 17:08:12 + set -o pipefail 17:08:12 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 17:08:17 17:08:17 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 17:08:17 17:08:17 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/efe337fe-3614-4546-a6d0-1d2357d9f98c 17:08:17 17:08:17 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 17:08:17 17:08:17 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:08:17 17:08:17 17:08:17 A medium severity vulnerability was found in the Snyk CLI versions you are using. 17:08:17 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 17:08:17 More details here: https://snyk.co/ue1NS 17:08:17 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 17:08:17 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 17:08:17 $ docker stop --time=1 b819806cd7323a495d7daeb0c3a2895ff24eeaf9b8315f3110b8f16ed09f187a 17:08:19 $ docker rm -f --volumes b819806cd7323a495d7daeb0c3a2895ff24eeaf9b8315f3110b8f16ed09f187a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:08:20 + git log --format=format:%s -1 4a922296995208ff0e4cc89e50973eb58c03687f [Pipeline] sh 17:08:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:08:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:08:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:08:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:08:21 prd-ubuntu20.04-docker-8c-8g-9908 does not seem to be running inside a container 17:08:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:08:21 $ docker top 8c0fe092ffc3d0f0f6f29429d8ae549ea1a2c6ef16c6c40f60a6b97accb67792 -eo pid,comm 17:08:21 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:08:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:08:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:08:21 [ssh-agent] Looking for ssh-agent implementation... 17:08:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:08:21 $ docker exec 8c0fe092ffc3d0f0f6f29429d8ae549ea1a2c6ef16c6c40f60a6b97accb67792 ssh-agent 17:08:21 SSH_AUTH_SOCK=/tmp/ssh-kbJXIVYJ6Ero/agent.32 17:08:21 SSH_AGENT_PID=38 17:08:21 Running ssh-add (command line suppressed) 17:08:22 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5393273403037832752.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5393273403037832752.key) 17:08:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:08:22 + git semver tag 17:08:22 2023-03-13 17:08:22,497 [run_tag] DEBUG tag force:False 17:08:22 2023-03-13 17:08:22,498 [check_head_tag] DEBUG check head tag 17:08:22 2023-03-13 17:08:22,499 [execute] INFO git cat-file --batch-check 17:08:22 2023-03-13 17:08:22,499 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 17:08:22 2023-03-13 17:08:22,503 [execute] INFO git cat-file --batch 17:08:22 2023-03-13 17:08:22,503 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 17:08:22 2023-03-13 17:08:22,519 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 17:08:22 2023-03-13 17:08:22,519 [execute] INFO git tag -a v3.0.0-dev.16 -m v3.0.0-dev.16 17:08:22 2023-03-13 17:08:22,520 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.16', '-m', 'v3.0.0-dev.16'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 17:08:22 2023-03-13 17:08:22,525 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 17:08:22 3.0.0-dev.16 [Pipeline] } 17:08:22 $ docker exec --env ******** --env ******** 8c0fe092ffc3d0f0f6f29429d8ae549ea1a2c6ef16c6c40f60a6b97accb67792 ssh-agent -k 17:08:22 unset SSH_AUTH_SOCK; 17:08:22 unset SSH_AGENT_PID; 17:08:22 echo Agent pid 38 killed; 17:08:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:08:23 + git semver [Pipeline] } 17:08:23 $ docker stop --time=1 8c0fe092ffc3d0f0f6f29429d8ae549ea1a2c6ef16c6c40f60a6b97accb67792 17:08:24 $ docker rm -f --volumes 8c0fe092ffc3d0f0f6f29429d8ae549ea1a2c6ef16c6c40f60a6b97accb67792 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:08:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:08:24 17:08:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:08:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:08:25 0.23.1-centos7: Pulling from edgex-lftools 17:08:25 ab5ef0e58194: Pulling fs layer 17:08:25 9712f1f96733: Pulling fs layer 17:08:25 63f879dbbcfc: Pulling fs layer 17:08:25 0d9ebad4ef96: Pulling fs layer 17:08:25 e9a5061849ea: Pulling fs layer 17:08:25 d747dcd14b5f: Pulling fs layer 17:08:25 2de7ff778b66: Pulling fs layer 17:08:25 d747dcd14b5f: Waiting 17:08:25 0d9ebad4ef96: Waiting 17:08:25 e9a5061849ea: Waiting 17:08:25 2de7ff778b66: Waiting 17:08:25 9712f1f96733: Download complete 17:08:25 63f879dbbcfc: Verifying Checksum 17:08:25 63f879dbbcfc: Download complete 17:08:26 e9a5061849ea: Verifying Checksum 17:08:26 e9a5061849ea: Download complete 17:08:26 ab5ef0e58194: Download complete 17:08:26 0d9ebad4ef96: Download complete 17:08:26 2de7ff778b66: Verifying Checksum 17:08:26 2de7ff778b66: Download complete 17:08:28 ab5ef0e58194: Pull complete 17:08:28 9712f1f96733: Pull complete 17:08:29 63f879dbbcfc: Pull complete 17:08:32 0d9ebad4ef96: Pull complete 17:08:32 e9a5061849ea: Pull complete 17:08:32 d747dcd14b5f: Pull complete 17:08:33 2de7ff778b66: Pull complete 17:08:33 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:08:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:08:33 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:08:33 prd-ubuntu20.04-docker-8c-8g-9908 does not seem to be running inside a container 17:08:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 17:08:38 $ docker top c31ae6b93c223bece79cc4309b572ab946f42b3e7b3cbe9e0e52c4502db917be -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:08:38 provisioning config files... 17:08:38 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config18265486015718669203tmp 17:08:38 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16078982904978647234tmp 17:08:38 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5678865559903229369tmp [Pipeline] { [Pipeline] echo 17:08:38 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:08:38 ---> sigul-configuration.sh 17:08:38 gpg: directory `/root/.gnupg' created 17:08:38 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:08:38 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:08:38 gpg: keyring `/root/.gnupg/secring.gpg' created 17:08:38 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:08:38 gpg: CAST5 encrypted data 17:08:38 gpg: encrypted with 1 passphrase 17:08:38 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:08:40 + mkdir /home/jenkins 17:08:40 + mkdir /home/jenkins/sigul [Pipeline] sh 17:08:41 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 17:08:41 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:08:41 ---> sigul-install.sh 17:08:41 Sigul already installed; skipping installation. [Pipeline] sh 17:08:41 + git tag --list 17:08:41 0.7.1 17:08:41 v1.0.0 17:08:41 v1.1.0 17:08:41 v1.1.1 17:08:41 v1.2.2 17:08:41 v1.3.0 17:08:41 v1.3.1 17:08:41 v2.0.0 17:08:41 v2.1.0 17:08:41 v2.1.1 17:08:41 v2.1.1-dev.1 17:08:41 v2.1.1-dev.2 17:08:41 v2.1.1-dev.3 17:08:41 v2.2.0 17:08:41 v2.2.1-dev.1 17:08:41 v2.2.1-dev.2 17:08:41 v2.2.1-dev.3 17:08:41 v2.2.1-dev.4 17:08:41 v2.2.1-dev.5 17:08:41 v2.2.1-dev.6 17:08:41 v2.2.1-dev.7 17:08:41 v2.3.0 17:08:41 v2.3.0-dev.10 17:08:41 v2.3.0-dev.11 17:08:41 v2.3.0-dev.12 17:08:41 v2.3.0-dev.13 17:08:41 v2.3.0-dev.14 17:08:41 v2.3.0-dev.15 17:08:41 v2.3.0-dev.16 17:08:41 v2.3.0-dev.17 17:08:41 v2.3.0-dev.18 17:08:41 v2.3.0-dev.19 17:08:41 v2.3.0-dev.20 17:08:41 v2.3.0-dev.21 17:08:41 v2.3.0-dev.22 17:08:41 v2.3.0-dev.23 17:08:41 v2.3.0-dev.24 17:08:41 v2.3.0-dev.25 17:08:41 v2.3.0-dev.7 17:08:41 v2.3.0-dev.8 17:08:41 v2.3.0-dev.9 17:08:41 v3.0.0-dev.1 17:08:41 v3.0.0-dev.10 17:08:41 v3.0.0-dev.11 17:08:41 v3.0.0-dev.12 17:08:41 v3.0.0-dev.13 17:08:41 v3.0.0-dev.14 17:08:41 v3.0.0-dev.15 17:08:41 v3.0.0-dev.16 17:08:41 v3.0.0-dev.2 17:08:41 v3.0.0-dev.3 17:08:41 v3.0.0-dev.4 17:08:41 v3.0.0-dev.5 17:08:41 v3.0.0-dev.6 17:08:41 v3.0.0-dev.7 17:08:41 v3.0.0-dev.8 17:08:41 v3.0.0-dev.9 [Pipeline] sh 17:08:41 + lftools sign git-tag v3.0.0-dev.16 17:08:42 Signing Git tag with Sigul... 17:08:42 Signing v3.0.0-dev.16 [Pipeline] echo 17:08:42 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:08:43 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:08:43 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:08:43 $ docker stop --time=1 c31ae6b93c223bece79cc4309b572ab946f42b3e7b3cbe9e0e52c4502db917be 17:08:44 $ docker rm -f --volumes c31ae6b93c223bece79cc4309b572ab946f42b3e7b3cbe9e0e52c4502db917be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:08:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:08:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:08:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:08:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:08:45 prd-ubuntu20.04-docker-8c-8g-9908 does not seem to be running inside a container 17:08:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:08:45 $ docker top 4f35b489e279acc7a42a7a833ac0e0f215fd1beb272f67161edaf9fd25963d2f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:08:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:08:45 [ssh-agent] Looking for ssh-agent implementation... 17:08:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:08:45 $ docker exec 4f35b489e279acc7a42a7a833ac0e0f215fd1beb272f67161edaf9fd25963d2f ssh-agent 17:08:45 SSH_AUTH_SOCK=/tmp/ssh-ks2P6dwf9tGF/agent.31 17:08:45 SSH_AGENT_PID=37 17:08:45 Running ssh-add (command line suppressed) 17:08:45 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15173987799255805929.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15173987799255805929.key) 17:08:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:08:46 + git semver bump pre 17:08:46 2023-03-13 17:08:46,375 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 17:08:46 2023-03-13 17:08:46,375 [bump_version] DEBUG bumping version:3.0.0-dev.16 on axis:pre with prefix:dev 17:08:46 2023-03-13 17:08:46,375 [bump_version] DEBUG bumped version:3.0.0-dev.17 17:08:46 2023-03-13 17:08:46,375 [write_version] DEBUG write version:3.0.0-dev.17 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 17:08:46 2023-03-13 17:08:46,375 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 17:08:46 2023-03-13 17:08:46,375 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 17:08:46 2023-03-13 17:08:46,377 [execute] INFO git cat-file --batch-check 17:08:46 2023-03-13 17:08:46,377 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:08:46 2023-03-13 17:08:46,381 [execute] INFO git cat-file --batch 17:08:46 2023-03-13 17:08:46,382 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:08:46 2023-03-13 17:08:46,387 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 17:08:46 3.0.0-dev.17 [Pipeline] } 17:08:46 $ docker exec --env ******** --env ******** 4f35b489e279acc7a42a7a833ac0e0f215fd1beb272f67161edaf9fd25963d2f ssh-agent -k 17:08:46 unset SSH_AUTH_SOCK; 17:08:46 unset SSH_AGENT_PID; 17:08:46 echo Agent pid 37 killed; 17:08:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:08:46 + git semver [Pipeline] } 17:08:47 $ docker stop --time=1 4f35b489e279acc7a42a7a833ac0e0f215fd1beb272f67161edaf9fd25963d2f 17:08:48 $ docker rm -f --volumes 4f35b489e279acc7a42a7a833ac0e0f215fd1beb272f67161edaf9fd25963d2f [Pipeline] // withDockerContainer [Pipeline] sh 17:08:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:08:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:08:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:08:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:08:49 prd-ubuntu20.04-docker-8c-8g-9908 does not seem to be running inside a container 17:08:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:08:49 $ docker top fb747908a1ce01c4ba7f0b2fac6fc20f2491bc8e2fb471dea71690ecc7d255a2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:08:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:08:49 [ssh-agent] Looking for ssh-agent implementation... 17:08:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:08:49 $ docker exec fb747908a1ce01c4ba7f0b2fac6fc20f2491bc8e2fb471dea71690ecc7d255a2 ssh-agent 17:08:49 SSH_AUTH_SOCK=/tmp/ssh-27EahzvonuYi/agent.32 17:08:49 SSH_AGENT_PID=38 17:08:49 Running ssh-add (command line suppressed) 17:08:49 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2707698345367766611.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2707698345367766611.key) 17:08:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:08:50 + git semver push 17:08:50 2023-03-13 17:08:50,365 [run_push] DEBUG push 17:08:50 2023-03-13 17:08:50,366 [execute] INFO git cat-file --batch-check 17:08:50 2023-03-13 17:08:50,366 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:08:50 2023-03-13 17:08:50,370 [execute] INFO git rev-list 0eb835d034137d8d1971072af4ce2f70f4793069 -- 17:08:50 2023-03-13 17:08:50,371 [execute] DEBUG Popen(['git', 'rev-list', '0eb835d034137d8d1971072af4ce2f70f4793069', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 17:08:50 2023-03-13 17:08:50,379 [execute] INFO git fetch -v origin 17:08:50 2023-03-13 17:08:50,379 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 17:08:51 2023-03-13 17:08:50,899 [run_push] DEBUG no remote changes detected 17:08:51 2023-03-13 17:08:50,899 [execute] INFO git push origin semver 17:08:51 2023-03-13 17:08:50,899 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 17:08:51 2023-03-13 17:08:51,690 [run_push] DEBUG push all version tags 17:08:51 2023-03-13 17:08:51,691 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:08:51 2023-03-13 17:08:51,691 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 17:08:52 2023-03-13 17:08:52,501 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 17:08:52 3.0.0-dev.17 [Pipeline] } 17:08:52 $ docker exec --env ******** --env ******** fb747908a1ce01c4ba7f0b2fac6fc20f2491bc8e2fb471dea71690ecc7d255a2 ssh-agent -k 17:08:52 unset SSH_AUTH_SOCK; 17:08:52 unset SSH_AGENT_PID; 17:08:52 echo Agent pid 38 killed; 17:08:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:08:52 + git semver [Pipeline] } 17:08:53 $ docker stop --time=1 fb747908a1ce01c4ba7f0b2fac6fc20f2491bc8e2fb471dea71690ecc7d255a2 17:08:54 $ docker rm -f --volumes fb747908a1ce01c4ba7f0b2fac6fc20f2491bc8e2fb471dea71690ecc7d255a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:08:55 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 17:08:55 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 17:08:55 total 16 17:08:55 drwxr-xr-x 3 root root 4096 Mar 13 16:58 . 17:08:55 drwxrwxr-x 11 jenkins jenkins 4096 Mar 13 17:08 .. 17:08:55 drwxr-xr-x 2 root root 4096 Mar 13 16:58 cost 17:08:55 -rw-r--r-- 1 root root 87 Mar 13 16:58 cost.csv 17:08:55 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 17:08:55 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 17:08:55 total 16 17:08:55 drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 16:58 . 17:08:55 drwxrwxr-x 11 jenkins jenkins 4096 Mar 13 17:08 .. 17:08:55 drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 16:58 cost 17:08:55 -rw-r--r-- 1 jenkins jenkins 87 Mar 13 16:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:08:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:08:56 ---> package-listing.sh 17:08:56 ++ facter osfamily 17:08:56 ++ tr '[:upper:]' '[:lower:]' 17:08:56 + OS_FAMILY=debian 17:08:56 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 17:08:56 + START_PACKAGES=/tmp/packages_start.txt 17:08:56 + END_PACKAGES=/tmp/packages_end.txt 17:08:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:08:56 + PACKAGES=/tmp/packages_start.txt 17:08:56 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 17:08:56 + PACKAGES=/tmp/packages_end.txt 17:08:56 + case "${OS_FAMILY}" in 17:08:56 + dpkg -l 17:08:56 + grep '^ii' 17:08:56 + '[' -f /tmp/packages_start.txt ']' 17:08:56 + '[' -f /tmp/packages_end.txt ']' 17:08:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:08:56 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 17:08:56 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 17:08:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 17:08:56 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:08:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:08:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:08:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:08:57 prd-ubuntu20.04-docker-8c-8g-9908 does not seem to be running inside a container 17:08:57 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:08:57 $ docker top eaad4f8b3615a3634ffffab0d8c8c4aba9bd662fd12d615c7e75a007d18f07fa -eo pid,comm [Pipeline] { [Pipeline] sh 17:08:58 + touch /tmp/pre-build-complete [Pipeline] sh 17:08:58 + mkdir -p /var/log/sysstat [Pipeline] sh 17:08:58 + ls /var/log/sa-host 17:08:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:08:58 provisioning config files... 17:08:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10402950316514977210tmp [Pipeline] { [Pipeline] echo 17:08:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:08:59 ---> create-netrc.sh [Pipeline] } 17:08:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:08:59 ---> python-tools-install.sh [Pipeline] echo 17:08:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:08:59 ---> sudo-logs.sh 17:08:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:08:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:08:59 ---> job-cost.sh 17:08:59 lf-activate-venv: SKIPPING 17:08:59 DEBUG: total: 0.2199999988079071 17:08:59 INFO: Retrieving Stack Cost... 17:09:00 INFO: Retrieving Pricing Info for: v3-standard-8 17:09:00 INFO: Archiving Costs [Pipeline] echo 17:09:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:09:01 ---> logs-deploy.sh 17:09:01 lf-activate-venv: SKIPPING 17:09:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/82 17:09:01 INFO: archiving workspace using pattern(s): 17:09:02 Archives upload complete. 17:09:02 INFO: archiving logs to Nexus