Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 01efde03cde14ec0060c1876119bb983deb5481b 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-ssh17401786931376589413.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-ssh10167145183120940241.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-ssh1015732914330468612.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-ssh8467804631254719585.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-ssh17535257854217614524.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8005 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 01efde03cde14ec0060c1876119bb983deb5481b (main) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 01efde03cde14ec0060c1876119bb983deb5481b # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#421)" > git rev-list --no-walk 96c9b25060a854e15776706019f04b40fe16d5e0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:00:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:00:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:00:45 ========================================================= 19:00:45 EdgeX Global Pipelines Version Info 19:00:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:00:46 ------------------- 19:00:46 stable info: 19:00:46 ------------------- 19:00:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:00:46 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 19:00:46 Message: update stable to v1.0.244 19:00:46 ------------------- 19:00:46 experimental info: 19:00:46 ------------------- 19:00:46 Commited By: **** collab-it+edgex@linuxfoundation.org 19:00:46 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 19:00:46 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:00:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 19:00:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 19:00:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:00:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:00:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:00:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 19:00:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:00:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:00:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:00:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:00:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:00:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 19:00:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:00:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:00:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:00:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:00:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:00:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:00:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:00:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:00:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:00:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:00:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:00:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:00:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:00:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:00:47 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:00:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 19:00:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 19:00:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 19:00:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 01efde03cde14ec0060c1876119bb983deb5481b [Pipeline] echo 19:00:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 01efde0 [Pipeline] echo 19:00:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:00:47 provisioning config files... 19:00:47 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14307166650690085427tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:00:47 ---> docker-login.sh 19:00:47 nexus3.edgexfoundry.org:10001 19:00:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:00:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:00:48 Configure a credential helper to remove this warning. See 19:00:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:00:48 19:00:48 Login Succeeded 19:00:48 nexus3.edgexfoundry.org:10002 19:00:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:00:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:00:48 Configure a credential helper to remove this warning. See 19:00:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:00:48 19:00:48 Login Succeeded 19:00:48 nexus3.edgexfoundry.org:10003 19:00:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:00:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:00:48 Configure a credential helper to remove this warning. See 19:00:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:00:48 19:00:48 Login Succeeded 19:00:48 nexus3.edgexfoundry.org:10004 19:00:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:00:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:00:48 Configure a credential helper to remove this warning. See 19:00:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:00:48 19:00:48 Login Succeeded 19:00:48 docker.io 19:00:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:00:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:00:48 Configure a credential helper to remove this warning. See 19:00:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:00:48 19:00:48 Login Succeeded 19:00:48 ---> docker-login.sh ends [Pipeline] } 19:00:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:00:49 + git rev-list -1 --merges 01efde03cde14ec0060c1876119bb983deb5481b~1..01efde03cde14ec0060c1876119bb983deb5481b [Pipeline] echo 19:00:49 -----------> git rev-list -1 --merges 01efde03cde14ec0060c1876119bb983deb5481b~1..01efde03cde14ec0060c1876119bb983deb5481b 01efde03cde14ec0060c1876119bb983deb5481b [false] [Pipeline] sh 19:00:49 + git log --format=format:%s -1 01efde03cde14ec0060c1876119bb983deb5481b [Pipeline] echo 19:00:49 ========================================================= 19:00:49 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:00:49 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:00:49 + git log --format=format:%s -1 01efde03cde14ec0060c1876119bb983deb5481b [Pipeline] echo 19:00:49 [semverPrep] GIT_COMMIT: 01efde03cde14ec0060c1876119bb983deb5481b, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#421) [Pipeline] echo 19:00:49 [semverPrep] This is not a build commit. [Pipeline] sh 19:00:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:00:50 + grep -v github /etc/ssh/ssh_known_hosts 19:00:50 + [ -e /tmp/ssh_known_hosts ] 19:00:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:00:50 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:00:50 + sudo tee -a /etc/ssh/ssh_known_hosts 19:00:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:00:50 19:00:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:00:50 0.1.4: Pulling from edgex-devops/py-git-semver 19:00:50 b85a868b505f: Pulling fs layer 19:00:50 e2be974225ed: Pulling fs layer 19:00:50 339a4e72a1f5: Pulling fs layer 19:00:50 988bab9f4d93: Pulling fs layer 19:00:50 1469e6f7b9e6: Pulling fs layer 19:00:50 eaf3925da568: Pulling fs layer 19:00:50 bab4dde63d76: Pulling fs layer 19:00:50 bde34c3a00c8: Pulling fs layer 19:00:50 b352a97aabf1: Pulling fs layer 19:00:50 4872d77fe225: Pulling fs layer 19:00:50 5851b861e8e6: Pulling fs layer 19:00:50 bde34c3a00c8: Waiting 19:00:50 4872d77fe225: Waiting 19:00:50 1469e6f7b9e6: Waiting 19:00:50 bab4dde63d76: Waiting 19:00:50 eaf3925da568: Waiting 19:00:50 b352a97aabf1: Waiting 19:00:50 988bab9f4d93: Waiting 19:00:50 5851b861e8e6: Waiting 19:00:50 e2be974225ed: Verifying Checksum 19:00:50 e2be974225ed: Download complete 19:00:50 988bab9f4d93: Verifying Checksum 19:00:50 988bab9f4d93: Download complete 19:00:51 1469e6f7b9e6: Verifying Checksum 19:00:51 1469e6f7b9e6: Download complete 19:00:51 eaf3925da568: Verifying Checksum 19:00:51 eaf3925da568: Download complete 19:00:51 339a4e72a1f5: Verifying Checksum 19:00:51 339a4e72a1f5: Download complete 19:00:51 bde34c3a00c8: Download complete 19:00:51 b352a97aabf1: Verifying Checksum 19:00:51 b352a97aabf1: Download complete 19:00:51 4872d77fe225: Verifying Checksum 19:00:51 4872d77fe225: Download complete 19:00:51 5851b861e8e6: Verifying Checksum 19:00:51 5851b861e8e6: Download complete 19:00:51 b85a868b505f: Verifying Checksum 19:00:51 b85a868b505f: Download complete 19:00:51 bab4dde63d76: Download complete 19:00:52 b85a868b505f: Pull complete 19:00:52 e2be974225ed: Pull complete 19:00:53 339a4e72a1f5: Pull complete 19:00:53 988bab9f4d93: Pull complete 19:00:53 1469e6f7b9e6: Pull complete 19:00:53 eaf3925da568: Pull complete 19:00:55 bab4dde63d76: Pull complete 19:00:55 bde34c3a00c8: Pull complete 19:00:55 b352a97aabf1: Pull complete 19:00:55 4872d77fe225: Pull complete 19:00:55 5851b861e8e6: Pull complete 19:00:55 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:00:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:00:55 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:00:55 prd-ubuntu20.04-docker-8c-8g-8005 does not seem to be running inside a container 19:00:55 $ 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 19:00:58 $ docker top f700fd40d2d6103254bd3e0830b0884185845e324e3a5b9a780dc20cdecc7e50 -eo pid,comm 19:00:58 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). 19:00:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:00:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:00:58 [ssh-agent] Looking for ssh-agent implementation... 19:00:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:00:58 $ docker exec f700fd40d2d6103254bd3e0830b0884185845e324e3a5b9a780dc20cdecc7e50 ssh-agent 19:00:58 SSH_AUTH_SOCK=/tmp/ssh-51DBiMWu70rw/agent.33 19:00:58 SSH_AGENT_PID=39 19:00:58 Running ssh-add (command line suppressed) 19:00:58 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4043214552240644888.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4043214552240644888.key) 19:00:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:00:59 + git tag --points-at HEAD [Pipeline] } 19:00:59 $ docker exec --env ******** --env ******** f700fd40d2d6103254bd3e0830b0884185845e324e3a5b9a780dc20cdecc7e50 ssh-agent -k 19:00:59 unset SSH_AUTH_SOCK; 19:00:59 unset SSH_AGENT_PID; 19:00:59 echo Agent pid 39 killed; 19:00:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:00:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:00:59 [ssh-agent] Looking for ssh-agent implementation... 19:00:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:00:59 $ docker exec f700fd40d2d6103254bd3e0830b0884185845e324e3a5b9a780dc20cdecc7e50 ssh-agent 19:00:59 SSH_AUTH_SOCK=/tmp/ssh-09hn9XyjdKrR/agent.71 19:00:59 SSH_AGENT_PID=77 19:00:59 Running ssh-add (command line suppressed) 19:00:59 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10374131728401967825.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10374131728401967825.key) 19:00:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:00:59 + git semver init 19:01:00 2023-03-01 19:01:00,094 [run_init] DEBUG init version:0.0.0 force:False 19:01:00 2023-03-01 19:01:00,095 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 19:01:00 2023-03-01 19:01:00,096 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 19:01:00 2023-03-01 19:01:00,096 [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) 19:01:01 2023-03-01 19:01:01,073 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 19:01:01 2023-03-01 19:01:01,073 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 19:01:01 2023-03-01 19:01:01,074 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 19:01:01 2023-03-01 19:01:01,074 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 19:01:01 3.0.0-dev.15 [Pipeline] } 19:01:01 $ docker exec --env ******** --env ******** f700fd40d2d6103254bd3e0830b0884185845e324e3a5b9a780dc20cdecc7e50 ssh-agent -k 19:01:01 unset SSH_AUTH_SOCK; 19:01:01 unset SSH_AGENT_PID; 19:01:01 echo Agent pid 77 killed; 19:01:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:01:01 + git semver [Pipeline] } 19:01:01 $ docker stop --time=1 f700fd40d2d6103254bd3e0830b0884185845e324e3a5b9a780dc20cdecc7e50 19:01:03 $ docker rm -f --volumes f700fd40d2d6103254bd3e0830b0884185845e324e3a5b9a780dc20cdecc7e50 [Pipeline] // withDockerContainer [Pipeline] sh 19:01:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:01:03 Stashed 1 file(s) [Pipeline] echo 19:01:03 [edgeXSemver]: initialized semver on version 3.0.0-dev.15 [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 19:01:03 provisioning config files... 19:01:03 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10446227713632781219tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:01:04 ---> docker-login.sh 19:01:04 nexus3.edgexfoundry.org:10001 19:01:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:04 Configure a credential helper to remove this warning. See 19:01:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:04 19:01:04 Login Succeeded 19:01:04 nexus3.edgexfoundry.org:10002 19:01:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:04 Configure a credential helper to remove this warning. See 19:01:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:04 19:01:04 Login Succeeded 19:01:04 nexus3.edgexfoundry.org:10003 19:01:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:04 Configure a credential helper to remove this warning. See 19:01:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:04 19:01:04 Login Succeeded 19:01:04 nexus3.edgexfoundry.org:10004 19:01:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:04 Configure a credential helper to remove this warning. See 19:01:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:04 19:01:04 Login Succeeded 19:01:04 docker.io 19:01:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:04 Configure a credential helper to remove this warning. See 19:01:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:04 19:01:04 Login Succeeded 19:01:04 ---> docker-login.sh ends [Pipeline] } 19:01:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:01:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:01:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:01:04 ========================================================= 19:01:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 19:01:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:05 + 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 . 19:01:05 Sending build context to Docker daemon 6.388MB 19:01:05 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 19:01:05 Step 2/10 : FROM ${BASE} AS builder 19:01:05 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 19:01:05 213ec9aee27d: Pulling fs layer 19:01:05 4583459ba037: Pulling fs layer 19:01:05 93c1e223e6f2: Pulling fs layer 19:01:05 53926ce57604: Pulling fs layer 19:01:05 21b2b0c7a3f4: Pulling fs layer 19:01:05 22ff95d597cd: Pulling fs layer 19:01:05 12d6caf4c0d1: Pulling fs layer 19:01:05 96b7cbca73a9: Pulling fs layer 19:01:05 a7acece74701: Pulling fs layer 19:01:05 21b2b0c7a3f4: Waiting 19:01:05 12d6caf4c0d1: Waiting 19:01:05 96b7cbca73a9: Waiting 19:01:05 22ff95d597cd: Waiting 19:01:05 a7acece74701: Waiting 19:01:05 53926ce57604: Waiting 19:01:05 93c1e223e6f2: Verifying Checksum 19:01:05 93c1e223e6f2: Download complete 19:01:05 4583459ba037: Verifying Checksum 19:01:05 4583459ba037: Download complete 19:01:05 21b2b0c7a3f4: Download complete 19:01:05 22ff95d597cd: Verifying Checksum 19:01:05 22ff95d597cd: Download complete 19:01:05 213ec9aee27d: Verifying Checksum 19:01:05 213ec9aee27d: Download complete 19:01:05 12d6caf4c0d1: Verifying Checksum 19:01:05 12d6caf4c0d1: Download complete 19:01:05 213ec9aee27d: Pull complete 19:01:05 4583459ba037: Pull complete 19:01:05 a7acece74701: Verifying Checksum 19:01:05 a7acece74701: Download complete 19:01:06 93c1e223e6f2: Pull complete 19:01:06 96b7cbca73a9: Download complete 19:01:06 53926ce57604: Verifying Checksum 19:01:06 53926ce57604: Download complete 19:01:10 53926ce57604: Pull complete 19:01:10 21b2b0c7a3f4: Pull complete 19:01:10 22ff95d597cd: Pull complete 19:01:10 12d6caf4c0d1: Pull complete 19:01:11 96b7cbca73a9: Pull complete 19:01:12 a7acece74701: Pull complete 19:01:12 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 19:01:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 19:01:12 ---> db6d94c90886 19:01:12 Step 3/10 : ARG ADD_BUILD_TAGS="" 19:01:15 ---> Running in 0f307f14b29c 19:01:15 Removing intermediate container 0f307f14b29c 19:01:15 ---> e462bac52919 19:01:15 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:01:15 ---> Running in f140dd3add23 19:01:15 Removing intermediate container f140dd3add23 19:01:15 ---> 8059dc828d11 19:01:15 Step 5/10 : RUN apk add --update --no-cache make git openssh 19:01:16 ---> Running in bb7f89188a22 19:01:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:01:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:01:16 (1/8) Installing openssh-keygen (9.0_p1-r2) 19:01:16 (2/8) Installing libedit (20210910.3.1-r0) 19:01:16 (3/8) Installing openssh-client-common (9.0_p1-r2) 19:01:16 (4/8) Installing openssh-client-default (9.0_p1-r2) 19:01:16 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 19:01:16 (6/8) Installing openssh-server-common (9.0_p1-r2) 19:01:16 (7/8) Installing openssh-server (9.0_p1-r2) 19:01:16 (8/8) Installing openssh (9.0_p1-r2) 19:01:16 Executing busybox-1.35.0-r17.trigger 19:01:16 OK: 217 MiB in 59 packages 19:01:17 Removing intermediate container bb7f89188a22 19:01:17 ---> 73f4857f0d7b 19:01:17 Step 6/10 : WORKDIR /device-modbus-go 19:01:17 ---> Running in 5a74d1c1b3d2 19:01:17 Removing intermediate container 5a74d1c1b3d2 19:01:17 ---> eb212216f8e0 19:01:17 Step 7/10 : COPY go.mod vendor* ./ 19:01:17 ---> c47d08ff295d 19:01:17 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:01:17 ---> Running in adbd75978be0 19:01:18 Still waiting to schedule task 19:01:18 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 19:01:49 Removing intermediate container adbd75978be0 19:01:49 ---> a87c4c481cf7 19:01:49 Step 9/10 : COPY . . 19:01:49 ---> 92774c3508f7 19:01:49 Step 10/10 : RUN ${MAKE} 19:01:49 ---> Running in 97fdfbed94a5 19:01:49 noop 19:01:49 Removing intermediate container 97fdfbed94a5 19:01:49 ---> 392eadf681f0 19:01:49 Successfully built 392eadf681f0 19:01:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:50 + docker inspect -f . ci-base-image-x86_64 19:01:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:01:50 prd-ubuntu20.04-docker-8c-8g-8005 does not seem to be running inside a container 19:01:50 $ 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 19:01:50 $ docker top 23fb3648d23835802c2cddf4839a945d22a9d3cb56b9cd76863dbe419e7db8c8 -eo pid,comm [Pipeline] { [Pipeline] sh 19:01:51 + go version 19:01:51 go version go1.18.7 linux/amd64 [Pipeline] } 19:01:51 $ docker stop --time=1 23fb3648d23835802c2cddf4839a945d22a9d3cb56b9cd76863dbe419e7db8c8 19:01:52 $ docker rm -f --volumes 23fb3648d23835802c2cddf4839a945d22a9d3cb56b9cd76863dbe419e7db8c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:53 + docker inspect -f . ci-base-image-x86_64 19:01:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:01:53 prd-ubuntu20.04-docker-8c-8g-8005 does not seem to be running inside a container 19:01:53 $ 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 19:01:53 $ docker top 31b19b04eb1e430778fe084104941be04c5557d02a3c9bef37e3b15a47920a36 -eo pid,comm [Pipeline] { [Pipeline] sh 19:01:54 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 19:01:54 + make test 19:01:54 go test ./... -coverprofile=coverage.out 19:01:54 ? github.com/edgexfoundry/device-modbus-go [no test files] 19:02:04 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 19:02:04 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.009s coverage: 47.7% of statements 19:02:10 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." 19:02:10 go vet ./... 19:02:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:02:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:02:13 ./bin/test-attribution-txt.sh [Pipeline] echo 19:02:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:02:13 $ docker stop --time=1 31b19b04eb1e430778fe084104941be04c5557d02a3c9bef37e3b15a47920a36 19:02:16 $ docker rm -f --volumes 31b19b04eb1e430778fe084104941be04c5557d02a3c9bef37e3b15a47920a36 [Pipeline] // withDockerContainer [Pipeline] sh 19:02:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:02:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:02:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:02:17 + ls -al . 19:02:17 total 180 19:02:17 drwxrwxr-x 10 jenkins jenkins 4096 Mar 1 19:01 . 19:02:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 19:00 .. 19:02:17 -rw-rw-r-- 1 jenkins jenkins 140 Mar 1 19:00 .dockerignore 19:02:17 drwxrwxr-x 8 jenkins jenkins 4096 Mar 1 19:02 .git 19:02:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 19:00 .github 19:02:17 -rw-rw-r-- 1 jenkins jenkins 331 Mar 1 19:00 .gitignore 19:02:17 -rw-rw-r-- 1 jenkins jenkins 41 Mar 1 19:00 .golangci.yml 19:02:17 drwxr-xr-x 3 jenkins jenkins 4096 Mar 1 19:01 .semver 19:02:17 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 1 19:00 Attribution.txt 19:02:17 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 1 19:00 CHANGELOG.md 19:02:17 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 1 19:00 Dockerfile 19:02:17 -rw-rw-r-- 1 jenkins jenkins 677 Mar 1 19:00 GOVERNANCE.md 19:02:17 -rw-rw-r-- 1 jenkins jenkins 680 Mar 1 19:00 Jenkinsfile 19:02:17 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 1 19:00 LICENSE 19:02:17 -rw-rw-r-- 1 jenkins jenkins 1670 Mar 1 19:00 Makefile 19:02:17 -rw-rw-r-- 1 jenkins jenkins 622 Mar 1 19:00 OWNERS.md 19:02:17 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 1 19:00 README.md 19:02:17 -rw-rw-r-- 1 jenkins jenkins 12 Mar 1 19:01 VERSION 19:02:17 drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 19:00 bin 19:02:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 19:00 cmd 19:02:17 -rw-r--r-- 1 jenkins jenkins 23241 Mar 1 19:02 coverage.out 19:02:17 -rw-rw-r-- 1 jenkins jenkins 3497 Mar 1 19:00 go.mod 19:02:17 -rw-rw-r-- 1 jenkins jenkins 31642 Mar 1 19:00 go.sum 19:02:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 19:00 internal 19:02:17 drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 19:00 simulator 19:02:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 19:00 snap 19:02:17 -rw-rw-r-- 1 jenkins jenkins 229 Mar 1 19:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02:17 + 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=01efde03cde14ec0060c1876119bb983deb5481b --label arch=amd64 --label version=3.0.0-dev.15 . 19:02:17 Sending build context to Docker daemon 6.412MB 19:02:17 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 19:02:17 Step 2/22 : FROM ${BASE} AS builder 19:02:17 ---> 392eadf681f0 19:02:17 Step 3/22 : ARG ADD_BUILD_TAGS="" 19:02:17 ---> Running in 4e30e54dbbb3 19:02:17 Removing intermediate container 4e30e54dbbb3 19:02:17 ---> 9df19e3bbe48 19:02:17 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:02:17 ---> Running in 2b53ac7fe79a 19:02:17 Removing intermediate container 2b53ac7fe79a 19:02:17 ---> 627e39b3b327 19:02:17 Step 5/22 : RUN apk add --update --no-cache make git openssh 19:02:17 ---> Running in 2cb82c9040c8 19:02:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:02:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:02:18 OK: 217 MiB in 59 packages 19:02:18 Removing intermediate container 2cb82c9040c8 19:02:18 ---> efc8c6c7de95 19:02:18 Step 6/22 : WORKDIR /device-modbus-go 19:02:18 ---> Running in f44dc751a1c6 19:02:18 Removing intermediate container f44dc751a1c6 19:02:18 ---> 562c2214e8b4 19:02:18 Step 7/22 : COPY go.mod vendor* ./ 19:02:19 ---> 2e1f8a08b96a 19:02:19 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:02:19 ---> Running in 252fa4235dbf 19:02:20 Removing intermediate container 252fa4235dbf 19:02:20 ---> 213f549d05d6 19:02:20 Step 9/22 : COPY . . 19:02:20 ---> c8258e9eab88 19:02:20 Step 10/22 : RUN ${MAKE} 19:02:20 ---> Running in b774b5714dad 19:02:20 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.15" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 19:02:38 Removing intermediate container b774b5714dad 19:02:38 ---> 5a61b625b5a0 19:02:38 Step 11/22 : FROM alpine:3.14 19:02:39 3.14: Pulling from library/alpine 19:02:39 d261077062b2: Pulling fs layer 19:02:40 d261077062b2: Verifying Checksum 19:02:40 d261077062b2: Download complete 19:02:40 d261077062b2: Pull complete 19:02:40 Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 19:02:40 Status: Downloaded newer image for alpine:3.14 19:02:40 ---> 6dff1269bc79 19:02:40 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 19:02:41 ---> Running in b7ef2bd73817 19:02:41 Removing intermediate container b7ef2bd73817 19:02:41 ---> 6e7967f251bb 19:02:41 Step 13/22 : RUN apk add --update --no-cache dumb-init 19:02:41 ---> Running in 40ba20ca3c0a 19:02:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 19:02:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 19:02:41 (1/1) Installing dumb-init (1.2.5-r1) 19:02:41 Executing busybox-1.33.1-r8.trigger 19:02:41 OK: 6 MiB in 15 packages 19:02:42 Removing intermediate container 40ba20ca3c0a 19:02:42 ---> 5ffb3e9baf6e 19:02:42 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 19:02:43 ---> 5a2598fce540 19:02:43 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 19:02:43 ---> bc50e2b950ec 19:02:43 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 19:02:43 ---> c6277c757304 19:02:43 Step 17/22 : EXPOSE 59901 19:02:43 ---> Running in 500a16a776cb 19:02:43 Removing intermediate container 500a16a776cb 19:02:43 ---> 81342195d44b 19:02:43 Step 18/22 : ENTRYPOINT ["/device-modbus"] 19:02:43 ---> Running in aac943ddb308 19:02:43 Removing intermediate container aac943ddb308 19:02:43 ---> 802864096ade 19:02:43 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 19:02:43 ---> Running in 336f422b184c 19:02:43 Removing intermediate container 336f422b184c 19:02:43 ---> 851062937b24 19:02:43 Step 20/22 : LABEL arch=amd64 19:02:43 ---> Running in 302e013a2963 19:02:43 Removing intermediate container 302e013a2963 19:02:43 ---> 9283afba226d 19:02:43 Step 21/22 : LABEL git_sha=01efde03cde14ec0060c1876119bb983deb5481b 19:02:43 ---> Running in 2435dbc46be4 19:02:43 Removing intermediate container 2435dbc46be4 19:02:43 ---> 9e759f67d092 19:02:43 Step 22/22 : LABEL version=3.0.0-dev.15 19:02:43 ---> Running in 3d31d38bf4a6 19:02:43 Removing intermediate container 3d31d38bf4a6 19:02:43 ---> b128aac921c7 19:02:43 [Warning] One or more build-args [ARCH] were not consumed 19:02:43 Successfully built b128aac921c7 19:02:43 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:02:44 provisioning config files... 19:02:44 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9986425835132187778tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:02:44 ---> docker-login.sh 19:02:44 nexus3.edgexfoundry.org:10001 19:02:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:44 Configure a credential helper to remove this warning. See 19:02:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:44 19:02:44 Login Succeeded 19:02:44 nexus3.edgexfoundry.org:10002 19:02:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:44 Configure a credential helper to remove this warning. See 19:02:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:44 19:02:44 Login Succeeded 19:02:44 nexus3.edgexfoundry.org:10003 19:02:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:44 Configure a credential helper to remove this warning. See 19:02:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:44 19:02:44 Login Succeeded 19:02:44 nexus3.edgexfoundry.org:10004 19:02:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:44 Configure a credential helper to remove this warning. See 19:02:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:44 19:02:44 Login Succeeded 19:02:44 docker.io 19:02:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:44 Configure a credential helper to remove this warning. See 19:02:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:44 19:02:44 Login Succeeded 19:02:44 ---> docker-login.sh ends [Pipeline] } 19:02:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:02:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:02:44 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 19:02:44 01efde03cde14ec0060c1876119bb983deb5481b 19:02:44 latest 19:02:44 3.0.0-dev.15 19:02:44 01efde03cde14ec0060c1876119bb983deb5481b-3.0.0-dev.15 19:02:44 main 19:02:44 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02:45 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:01efde03cde14ec0060c1876119bb983deb5481b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02:45 + docker push nexus3.edgexfoundry.org:10004/device-modbus:01efde03cde14ec0060c1876119bb983deb5481b 19:02:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 19:02:45 75f52f893c46: Preparing 19:02:45 b5614004f15d: Preparing 19:02:45 5678e12196f5: Preparing 19:02:45 9a28151ac685: Preparing 19:02:45 625523cb9cce: Preparing 19:02:45 625523cb9cce: Layer already exists 19:02:45 b5614004f15d: Pushed 19:02:45 75f52f893c46: Pushed 19:02:45 9a28151ac685: Pushed 19:02:47 5678e12196f5: Pushed 19:02:47 01efde03cde14ec0060c1876119bb983deb5481b: digest: sha256:0c13131dae7bbc9b395f792a41f4a6f00ce5309b8e19a9f903801d59fc0ae966 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02:48 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02:48 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 19:02:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 19:02:48 75f52f893c46: Preparing 19:02:48 b5614004f15d: Preparing 19:02:48 5678e12196f5: Preparing 19:02:48 9a28151ac685: Preparing 19:02:48 625523cb9cce: Preparing 19:02:48 5678e12196f5: Layer already exists 19:02:48 9a28151ac685: Layer already exists 19:02:48 75f52f893c46: Layer already exists 19:02:48 b5614004f15d: Layer already exists 19:02:48 625523cb9cce: Layer already exists 19:02:48 latest: digest: sha256:0c13131dae7bbc9b395f792a41f4a6f00ce5309b8e19a9f903801d59fc0ae966 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02:48 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02:49 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.15 19:02:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 19:02:49 75f52f893c46: Preparing 19:02:49 b5614004f15d: Preparing 19:02:49 5678e12196f5: Preparing 19:02:49 9a28151ac685: Preparing 19:02:49 625523cb9cce: Preparing 19:02:49 b5614004f15d: Layer already exists 19:02:49 5678e12196f5: Layer already exists 19:02:49 625523cb9cce: Layer already exists 19:02:49 9a28151ac685: Layer already exists 19:02:49 75f52f893c46: Layer already exists 19:02:49 3.0.0-dev.15: digest: sha256:0c13131dae7bbc9b395f792a41f4a6f00ce5309b8e19a9f903801d59fc0ae966 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02:49 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:01efde03cde14ec0060c1876119bb983deb5481b-3.0.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02:49 + docker push nexus3.edgexfoundry.org:10004/device-modbus:01efde03cde14ec0060c1876119bb983deb5481b-3.0.0-dev.15 19:02:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 19:02:49 75f52f893c46: Preparing 19:02:49 b5614004f15d: Preparing 19:02:49 5678e12196f5: Preparing 19:02:49 9a28151ac685: Preparing 19:02:49 625523cb9cce: Preparing 19:02:49 5678e12196f5: Layer already exists 19:02:49 b5614004f15d: Layer already exists 19:02:49 75f52f893c46: Layer already exists 19:02:49 625523cb9cce: Layer already exists 19:02:49 9a28151ac685: Layer already exists 19:02:49 01efde03cde14ec0060c1876119bb983deb5481b-3.0.0-dev.15: digest: sha256:0c13131dae7bbc9b395f792a41f4a6f00ce5309b8e19a9f903801d59fc0ae966 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02:50 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02:50 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 19:02:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 19:02:50 75f52f893c46: Preparing 19:02:50 b5614004f15d: Preparing 19:02:50 5678e12196f5: Preparing 19:02:50 9a28151ac685: Preparing 19:02:50 625523cb9cce: Preparing 19:02:50 5678e12196f5: Layer already exists 19:02:50 75f52f893c46: Layer already exists 19:02:50 9a28151ac685: Layer already exists 19:02:50 625523cb9cce: Layer already exists 19:02:50 b5614004f15d: Layer already exists 19:02:50 main: digest: sha256:0c13131dae7bbc9b395f792a41f4a6f00ce5309b8e19a9f903801d59fc0ae966 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:02:50 ===================================================== [Pipeline] echo 19:02:50 taggedImages: 19:02:50 - nexus3.edgexfoundry.org:10004/device-modbus:01efde03cde14ec0060c1876119bb983deb5481b 19:02:50 - nexus3.edgexfoundry.org:10004/device-modbus:latest 19:02:50 - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.15 19:02:50 - nexus3.edgexfoundry.org:10004/device-modbus:01efde03cde14ec0060c1876119bb983deb5481b-3.0.0-dev.15 19:02:50 - 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 19:02:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:02:50 19:02:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:02:51 latest: Pulling from edgex-lftools-log-publisher 19:02:51 5eb5b503b376: Pulling fs layer 19:02:51 5c69ac0246d0: Pulling fs layer 19:02:51 ec43610c2a17: Pulling fs layer 19:02:51 3a2ae6a8a46f: Pulling fs layer 19:02:51 33b1e0a273af: Pulling fs layer 19:02:51 5d3b04190fa2: Pulling fs layer 19:02:51 2f39f015ded8: Pulling fs layer 19:02:51 3a2ae6a8a46f: Waiting 19:02:51 5d3b04190fa2: Waiting 19:02:51 33b1e0a273af: Waiting 19:02:51 2f39f015ded8: Waiting 19:02:51 5c69ac0246d0: Download complete 19:02:51 3a2ae6a8a46f: Verifying Checksum 19:02:51 3a2ae6a8a46f: Download complete 19:02:51 33b1e0a273af: Verifying Checksum 19:02:51 33b1e0a273af: Download complete 19:02:51 5d3b04190fa2: Download complete 19:02:51 ec43610c2a17: Verifying Checksum 19:02:51 ec43610c2a17: Download complete 19:02:51 5eb5b503b376: Verifying Checksum 19:02:51 5eb5b503b376: Download complete 19:02:52 2f39f015ded8: Verifying Checksum 19:02:52 2f39f015ded8: Download complete 19:02:52 5eb5b503b376: Pull complete 19:02:52 5c69ac0246d0: Pull complete 19:02:53 ec43610c2a17: Pull complete 19:02:53 3a2ae6a8a46f: Pull complete 19:02:53 33b1e0a273af: Pull complete 19:02:53 5d3b04190fa2: Pull complete 19:02:57 2f39f015ded8: Pull complete 19:02:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:02:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:02:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:02:57 prd-ubuntu20.04-docker-8c-8g-8005 does not seem to be running inside a container 19:02:57 $ 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 19:03:01 $ docker top 322e10d3f8446bea9de477ef0e24a180ce6375082f9e542556f1b2029b59f1c4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:03:01 ---> job-cost.sh 19:03:01 lf-activate-venv: SKIPPING 19:03:01 INFO: No Stack... 19:03:01 INFO: Retrieving Pricing Info for: v3-standard-8 19:03:02 INFO: Archiving Costs [Pipeline] sh 19:03:02 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 19:03:02 + cut -d, -f6 [Pipeline] lock 19:03:02 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-81-stack-cost] 19:03:02 Resource [jenkins-edgexfoundry-device-modbus-go-main-81-stack-cost] did not exist. Created. 19:03:02 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-81-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:03:03 + echo total: 0.2199999988079071 [Pipeline] stash 19:03:03 Stashed 1 file(s) [Pipeline] } 19:03:03 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-81-stack-cost] [Pipeline] // lock [Pipeline] } 19:03:03 $ docker stop --time=1 322e10d3f8446bea9de477ef0e24a180ce6375082f9e542556f1b2029b59f1c4 19:03:04 $ docker rm -f --volumes 322e10d3f8446bea9de477ef0e24a180ce6375082f9e542556f1b2029b59f1c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:03:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8008 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 19:03:52 Running in /w/workspace/device-modbus-go/81 [Pipeline] { [Pipeline] checkout 19:03:52 Selected Git installation does not exist. Using Default 19:03:52 The recommended git tool is: NONE 19:03:58 using credential edgex-jenkins-ssh 19:03:58 Cloning the remote Git repository 19:03:58 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 19:03:58 > git init /w/workspace/device-modbus-go/81 # timeout=10 19:03:59 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 19:03:59 > git --version # timeout=10 19:03:59 > git --version # 'git version 2.25.1' 19:03:59 using GIT_SSH to set credentials SSH Credentials for GitHub 19:03:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:04:01 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 19:04:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:04:02 Avoid second fetch 19:04:02 Checking out Revision 01efde03cde14ec0060c1876119bb983deb5481b (main) 19:04:02 > git config core.sparsecheckout # timeout=10 19:04:02 > git checkout -f 01efde03cde14ec0060c1876119bb983deb5481b # timeout=10 19:04:03 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#421)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:04:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:04:04 % Total % Received % Xferd Average Speed Time Time Time Current 19:04:04 Dload Upload Total Spent Left Speed 19:04:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 200k 0 --:--:-- --:--:-- --:--:-- 200k [Pipeline] sh 19:04:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:04:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:04:05 + sudo tee /etc/docker/daemon.new 19:04:05 { 19:04:05 "registry-mirrors": [ 19:04:05 "https://nexus3.edgexfoundry.org:10001" 19:04:05 ], 19:04:05 "bip": "10.250.0.254/24", 19:04:05 "hosts": [ 19:04:05 "tcp://0.0.0.0:5555", 19:04:05 "unix:///var/run/docker.sock" 19:04:05 ], 19:04:05 "mtu": 1458, 19:04:05 "selinux-enabled": true, 19:04:05 "seccomp-profile": "/etc/docker/seccomp.json" 19:04:05 } [Pipeline] sh 19:04:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:04:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:04:24 provisioning config files... 19:04:24 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/81@tmp/config1955893091809101945tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:04:24 ---> docker-login.sh 19:04:24 nexus3.edgexfoundry.org:10001 19:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:25 Configure a credential helper to remove this warning. See 19:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:25 19:04:25 Login Succeeded 19:04:25 nexus3.edgexfoundry.org:10002 19:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:25 Configure a credential helper to remove this warning. See 19:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:25 19:04:25 Login Succeeded 19:04:25 nexus3.edgexfoundry.org:10003 19:04:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:26 Configure a credential helper to remove this warning. See 19:04:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:26 19:04:26 Login Succeeded 19:04:26 nexus3.edgexfoundry.org:10004 19:04:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:26 Configure a credential helper to remove this warning. See 19:04:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:26 19:04:26 Login Succeeded 19:04:26 docker.io 19:04:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:27 Configure a credential helper to remove this warning. See 19:04:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:27 19:04:27 Login Succeeded 19:04:27 ---> docker-login.sh ends [Pipeline] } 19:04:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:04:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:04:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:04:27 ========================================================= 19:04:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 19:04:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:27 + 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 . 19:04:28 Sending build context to Docker daemon 3.326MB 19:04:28 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 19:04:28 Step 2/10 : FROM ${BASE} AS builder 19:04:28 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:04:28 9b18e9b68314: Pulling fs layer 19:04:28 35d82f9e3411: Pulling fs layer 19:04:28 e16973657156: Pulling fs layer 19:04:28 fc693d55d65f: Pulling fs layer 19:04:28 7e9fc2657dce: Pulling fs layer 19:04:28 dda99020689f: Pulling fs layer 19:04:28 db1c61fa0a46: Pulling fs layer 19:04:28 891c053d2c06: Pulling fs layer 19:04:28 fc693d55d65f: Waiting 19:04:28 dda99020689f: Waiting 19:04:28 7e9fc2657dce: Waiting 19:04:28 db1c61fa0a46: Waiting 19:04:28 891c053d2c06: Waiting 19:04:28 e16973657156: Verifying Checksum 19:04:28 e16973657156: Download complete 19:04:28 35d82f9e3411: Verifying Checksum 19:04:28 35d82f9e3411: Download complete 19:04:28 dda99020689f: Verifying Checksum 19:04:28 dda99020689f: Download complete 19:04:28 9b18e9b68314: Download complete 19:04:29 9b18e9b68314: Pull complete 19:04:29 891c053d2c06: Verifying Checksum 19:04:29 891c053d2c06: Download complete 19:04:29 35d82f9e3411: Pull complete 19:04:30 e16973657156: Pull complete 19:04:31 db1c61fa0a46: Verifying Checksum 19:04:31 db1c61fa0a46: Download complete 19:04:31 fc693d55d65f: Verifying Checksum 19:04:31 fc693d55d65f: Download complete 19:04:43 fc693d55d65f: Pull complete 19:04:43 7e9fc2657dce: Pull complete 19:04:44 dda99020689f: Pull complete 19:04:52 db1c61fa0a46: Pull complete 19:04:54 891c053d2c06: Pull complete 19:04:54 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 19:04:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 19:04:54 ---> f96f9c87975a 19:04:54 Step 3/10 : ARG ADD_BUILD_TAGS="" 19:04:56 ---> Running in 3006bf8af11d 19:04:56 Removing intermediate container 3006bf8af11d 19:04:56 ---> b503bc97d291 19:04:56 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:04:56 ---> Running in 60b94f74f944 19:04:56 Removing intermediate container 60b94f74f944 19:04:56 ---> 1bdf8d9de438 19:04:56 Step 5/10 : RUN apk add --update --no-cache make git openssh 19:04:56 ---> Running in 63acc18ac51e 19:04:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:04:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:04:59 (1/8) Installing openssh-keygen (9.0_p1-r2) 19:04:59 (2/8) Installing libedit (20210910.3.1-r0) 19:04:59 (3/8) Installing openssh-client-common (9.0_p1-r2) 19:04:59 (4/8) Installing openssh-client-default (9.0_p1-r2) 19:04:59 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 19:04:59 (6/8) Installing openssh-server-common (9.0_p1-r2) 19:04:59 (7/8) Installing openssh-server (9.0_p1-r2) 19:04:59 (8/8) Installing openssh (9.0_p1-r2) 19:04:59 Executing busybox-1.35.0-r17.trigger 19:04:59 OK: 228 MiB in 59 packages 19:05:01 Removing intermediate container 63acc18ac51e 19:05:01 ---> d7c4ef4c62d8 19:05:01 Step 6/10 : WORKDIR /device-modbus-go 19:05:01 ---> Running in 0fdd6d53988a 19:05:01 Removing intermediate container 0fdd6d53988a 19:05:01 ---> 300e2f41e563 19:05:01 Step 7/10 : COPY go.mod vendor* ./ 19:05:01 ---> 3a72e9024bc7 19:05:01 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:05:01 ---> Running in 515bf675271c 19:06:10 Removing intermediate container 515bf675271c 19:06:10 ---> 5928e12fd29b 19:06:10 Step 9/10 : COPY . . 19:06:10 ---> 885702e10f16 19:06:10 Step 10/10 : RUN ${MAKE} 19:06:10 ---> Running in 5ced2a66581a 19:06:10 noop 19:06:11 Removing intermediate container 5ced2a66581a 19:06:11 ---> 2b043003ea0e 19:06:11 Successfully built 2b043003ea0e 19:06:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:06:11 + docker inspect -f . ci-base-image-arm64 19:06:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:06:11 prd-ubuntu20.04-docker-arm64-4c-16g-8008 does not seem to be running inside a container 19:06:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/81 -v /w/workspace/device-modbus-go/81:/w/workspace/device-modbus-go/81:rw,z -v /w/workspace/device-modbus-go/81@tmp:/w/workspace/device-modbus-go/81@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 19:06:13 $ docker top 73c6f0b8bc92d9eed28d4c2aff2f946cadd53a20d87990d530b8d2841ab3f78f -eo pid,comm [Pipeline] { [Pipeline] sh 19:06:13 + go version 19:06:13 go version go1.18.7 linux/arm64 [Pipeline] } 19:06:14 $ docker stop --time=1 73c6f0b8bc92d9eed28d4c2aff2f946cadd53a20d87990d530b8d2841ab3f78f 19:06:15 $ docker rm -f --volumes 73c6f0b8bc92d9eed28d4c2aff2f946cadd53a20d87990d530b8d2841ab3f78f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:06:16 + docker inspect -f . ci-base-image-arm64 19:06:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:06:16 prd-ubuntu20.04-docker-arm64-4c-16g-8008 does not seem to be running inside a container 19:06:16 $ 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/81 -v /w/workspace/device-modbus-go/81:/w/workspace/device-modbus-go/81:rw,z -v /w/workspace/device-modbus-go/81@tmp:/w/workspace/device-modbus-go/81@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 19:06:17 $ docker top e6ae7b45b12900b9eb28bc3c6f5ceed40142c9e68406264cc1c48d2dc7e89528 -eo pid,comm [Pipeline] { [Pipeline] sh 19:06:18 + git config --global --add safe.directory /w/workspace/device-modbus-go/81 [Pipeline] fileExists [Pipeline] sh 19:06:19 + make test 19:06:19 go test ./... -coverprofile=coverage.out 19:06:21 ? github.com/edgexfoundry/device-modbus-go [no test files] 19:07:57 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 19:07:57 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.072s coverage: 47.7% of statements 19:07:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:07:57 go vet ./... 19:08:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:08:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:08:15 ./bin/test-attribution-txt.sh [Pipeline] echo 19:08:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:08:15 $ docker stop --time=1 e6ae7b45b12900b9eb28bc3c6f5ceed40142c9e68406264cc1c48d2dc7e89528 19:08:17 $ docker rm -f --volumes e6ae7b45b12900b9eb28bc3c6f5ceed40142c9e68406264cc1c48d2dc7e89528 [Pipeline] // withDockerContainer [Pipeline] sh 19:08:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:08:18 Warning: overwriting stash ‘coverage-report’ 19:08:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:08:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:08:19 + ls -al . 19:08:19 total 176 19:08:19 drwxrwxr-x 9 jenkins jenkins 4096 Mar 1 19:06 . 19:08:19 drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 19:03 .. 19:08:19 -rw-rw-r-- 1 jenkins jenkins 140 Mar 1 19:04 .dockerignore 19:08:19 drwxrwxr-x 8 jenkins jenkins 4096 Mar 1 19:04 .git 19:08:19 drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 19:04 .github 19:08:19 -rw-rw-r-- 1 jenkins jenkins 331 Mar 1 19:04 .gitignore 19:08:19 -rw-rw-r-- 1 jenkins jenkins 41 Mar 1 19:04 .golangci.yml 19:08:19 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 1 19:04 Attribution.txt 19:08:19 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 1 19:04 CHANGELOG.md 19:08:19 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 1 19:04 Dockerfile 19:08:19 -rw-rw-r-- 1 jenkins jenkins 677 Mar 1 19:04 GOVERNANCE.md 19:08:19 -rw-rw-r-- 1 jenkins jenkins 680 Mar 1 19:04 Jenkinsfile 19:08:19 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 1 19:04 LICENSE 19:08:19 -rw-rw-r-- 1 jenkins jenkins 1670 Mar 1 19:04 Makefile 19:08:19 -rw-rw-r-- 1 jenkins jenkins 622 Mar 1 19:04 OWNERS.md 19:08:19 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 1 19:04 README.md 19:08:19 -rw-rw-r-- 1 jenkins jenkins 12 Mar 1 19:01 VERSION 19:08:19 drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 19:04 bin 19:08:19 drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 19:04 cmd 19:08:19 -rw-r--r-- 1 jenkins jenkins 23241 Mar 1 19:07 coverage.out 19:08:19 -rw-rw-r-- 1 jenkins jenkins 3497 Mar 1 19:04 go.mod 19:08:19 -rw-rw-r-- 1 jenkins jenkins 31642 Mar 1 19:04 go.sum 19:08:19 drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 19:04 internal 19:08:19 drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 19:04 simulator 19:08:19 drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 19:04 snap 19:08:19 -rw-rw-r-- 1 jenkins jenkins 229 Mar 1 19:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:20 + 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=01efde03cde14ec0060c1876119bb983deb5481b --label arch=arm64 --label version=3.0.0-dev.15 . 19:08:20 Sending build context to Docker daemon 3.351MB 19:08:20 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 19:08:20 Step 2/22 : FROM ${BASE} AS builder 19:08:20 ---> 2b043003ea0e 19:08:20 Step 3/22 : ARG ADD_BUILD_TAGS="" 19:08:20 ---> Running in 8666ec95ddb6 19:08:21 Removing intermediate container 8666ec95ddb6 19:08:21 ---> 8d819c18741c 19:08:21 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:08:21 ---> Running in 6b60f270fc82 19:08:21 Removing intermediate container 6b60f270fc82 19:08:21 ---> d93358a3dbb1 19:08:21 Step 5/22 : RUN apk add --update --no-cache make git openssh 19:08:21 ---> Running in 616c892a2cd1 19:08:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:08:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:08:24 OK: 228 MiB in 59 packages 19:08:25 Removing intermediate container 616c892a2cd1 19:08:25 ---> b2aa7e3bbfb8 19:08:25 Step 6/22 : WORKDIR /device-modbus-go 19:08:25 ---> Running in 0c84b34336f5 19:08:26 Removing intermediate container 0c84b34336f5 19:08:26 ---> 0319115b9246 19:08:26 Step 7/22 : COPY go.mod vendor* ./ 19:08:30 ---> 4c654056b6b7 19:08:30 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:08:30 ---> Running in 3d786e962108 19:08:32 Removing intermediate container 3d786e962108 19:08:32 ---> cdae49c114ba 19:08:32 Step 9/22 : COPY . . 19:08:33 ---> ad3a4aaa749d 19:08:33 Step 10/22 : RUN ${MAKE} 19:08:34 ---> Running in d67a6f5d9231 19:08:35 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.15" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 19:11:11 Removing intermediate container d67a6f5d9231 19:11:11 ---> 6008239e93ec 19:11:11 Step 11/22 : FROM alpine:3.14 19:11:11 3.14: Pulling from library/alpine 19:11:11 6f0e733d82e2: Pulling fs layer 19:11:11 6f0e733d82e2: Download complete 19:11:11 6f0e733d82e2: Pull complete 19:11:11 Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 19:11:11 Status: Downloaded newer image for alpine:3.14 19:11:11 ---> bf97f6347a60 19:11:11 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 19:11:11 ---> Running in a39ea8443f3d 19:11:11 Removing intermediate container a39ea8443f3d 19:11:11 ---> af928d192fad 19:11:11 Step 13/22 : RUN apk add --update --no-cache dumb-init 19:11:11 ---> Running in 717a6482f6c6 19:11:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 19:11:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 19:11:11 (1/1) Installing dumb-init (1.2.5-r1) 19:11:11 Executing busybox-1.33.1-r8.trigger 19:11:11 OK: 6 MiB in 15 packages 19:11:11 Removing intermediate container 717a6482f6c6 19:11:11 ---> 84d72cea4b12 19:11:11 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 19:11:11 ---> 74032a75235f 19:11:11 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 19:11:11 ---> f85d0b2a0bd7 19:11:11 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 19:11:11 ---> f8c1fe863bba 19:11:11 Step 17/22 : EXPOSE 59901 19:11:11 ---> Running in 2a153b7d0299 19:11:11 Removing intermediate container 2a153b7d0299 19:11:11 ---> aab96b3c7584 19:11:11 Step 18/22 : ENTRYPOINT ["/device-modbus"] 19:11:11 ---> Running in 0ed84dc0e426 19:11:11 Removing intermediate container 0ed84dc0e426 19:11:11 ---> 399542fd5dd2 19:11:11 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 19:11:11 ---> Running in 233ef9a7cd16 19:11:11 Removing intermediate container 233ef9a7cd16 19:11:11 ---> 25d38a09bf7c 19:11:11 Step 20/22 : LABEL arch=arm64 19:11:11 ---> Running in 63b8bb5099b4 19:11:11 Removing intermediate container 63b8bb5099b4 19:11:11 ---> 47d9e0d73180 19:11:11 Step 21/22 : LABEL git_sha=01efde03cde14ec0060c1876119bb983deb5481b 19:11:11 ---> Running in e131cff9006d 19:11:11 Removing intermediate container e131cff9006d 19:11:11 ---> fb7d6990eaa1 19:11:11 Step 22/22 : LABEL version=3.0.0-dev.15 19:11:11 ---> Running in 023d2036ecdb 19:11:12 Removing intermediate container 023d2036ecdb 19:11:12 ---> 2f9fc0129049 19:11:12 [Warning] One or more build-args [ARCH] were not consumed 19:11:12 Successfully built 2f9fc0129049 19:11: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 19:11:12 provisioning config files... 19:11:12 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/81@tmp/config9453258873931475719tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:11:12 ---> docker-login.sh 19:11:12 nexus3.edgexfoundry.org:10001 19:11:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:11:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:11:12 Configure a credential helper to remove this warning. See 19:11:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:11:12 19:11:12 Login Succeeded 19:11:12 nexus3.edgexfoundry.org:10002 19:11:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:11:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:11:13 Configure a credential helper to remove this warning. See 19:11:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:11:13 19:11:13 Login Succeeded 19:11:13 nexus3.edgexfoundry.org:10003 19:11:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:11:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:11:13 Configure a credential helper to remove this warning. See 19:11:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:11:13 19:11:13 Login Succeeded 19:11:13 nexus3.edgexfoundry.org:10004 19:11:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:11:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:11:13 Configure a credential helper to remove this warning. See 19:11:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:11:13 19:11:13 Login Succeeded 19:11:13 docker.io 19:11:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:11:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:11:14 Configure a credential helper to remove this warning. See 19:11:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:11:14 19:11:14 Login Succeeded 19:11:14 ---> docker-login.sh ends [Pipeline] } 19:11:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:11:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:11:14 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 19:11:14 01efde03cde14ec0060c1876119bb983deb5481b 19:11:14 latest 19:11:14 3.0.0-dev.15 19:11:14 01efde03cde14ec0060c1876119bb983deb5481b-3.0.0-dev.15 19:11:14 main 19:11:14 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:14 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:01efde03cde14ec0060c1876119bb983deb5481b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:15 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:01efde03cde14ec0060c1876119bb983deb5481b 19:11:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 19:11:15 d4cd15c4c31e: Preparing 19:11:15 76e5b1c2795a: Preparing 19:11:15 3467b4723e82: Preparing 19:11:15 c8741fc4c4b2: Preparing 19:11:15 c39af2d4cb8d: Preparing 19:11:15 c39af2d4cb8d: Layer already exists 19:11:15 76e5b1c2795a: Pushed 19:11:15 d4cd15c4c31e: Pushed 19:11:15 c8741fc4c4b2: Pushed 19:11:22 3467b4723e82: Pushed 19:11:22 01efde03cde14ec0060c1876119bb983deb5481b: digest: sha256:62af05b04a7b6ac3751246cc3508da595df2b4c69332a2aac9c6698e72aae455 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:22 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:22 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 19:11:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 19:11:22 d4cd15c4c31e: Preparing 19:11:22 76e5b1c2795a: Preparing 19:11:22 3467b4723e82: Preparing 19:11:22 c8741fc4c4b2: Preparing 19:11:22 c39af2d4cb8d: Preparing 19:11:22 3467b4723e82: Layer already exists 19:11:22 c8741fc4c4b2: Layer already exists 19:11:22 d4cd15c4c31e: Layer already exists 19:11:22 c39af2d4cb8d: Layer already exists 19:11:22 76e5b1c2795a: Layer already exists 19:11:22 latest: digest: sha256:62af05b04a7b6ac3751246cc3508da595df2b4c69332a2aac9c6698e72aae455 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:23 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:23 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.15 19:11:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 19:11:23 d4cd15c4c31e: Preparing 19:11:23 76e5b1c2795a: Preparing 19:11:23 3467b4723e82: Preparing 19:11:23 c8741fc4c4b2: Preparing 19:11:23 c39af2d4cb8d: Preparing 19:11:23 d4cd15c4c31e: Layer already exists 19:11:23 76e5b1c2795a: Layer already exists 19:11:23 c39af2d4cb8d: Layer already exists 19:11:23 3467b4723e82: Layer already exists 19:11:23 c8741fc4c4b2: Layer already exists 19:11:24 3.0.0-dev.15: digest: sha256:62af05b04a7b6ac3751246cc3508da595df2b4c69332a2aac9c6698e72aae455 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:24 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:01efde03cde14ec0060c1876119bb983deb5481b-3.0.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:24 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:01efde03cde14ec0060c1876119bb983deb5481b-3.0.0-dev.15 19:11:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 19:11:24 d4cd15c4c31e: Preparing 19:11:24 76e5b1c2795a: Preparing 19:11:24 3467b4723e82: Preparing 19:11:24 c8741fc4c4b2: Preparing 19:11:24 c39af2d4cb8d: Preparing 19:11:24 3467b4723e82: Layer already exists 19:11:24 c8741fc4c4b2: Layer already exists 19:11:24 d4cd15c4c31e: Layer already exists 19:11:24 76e5b1c2795a: Layer already exists 19:11:24 c39af2d4cb8d: Layer already exists 19:11:24 01efde03cde14ec0060c1876119bb983deb5481b-3.0.0-dev.15: digest: sha256:62af05b04a7b6ac3751246cc3508da595df2b4c69332a2aac9c6698e72aae455 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:25 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:25 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 19:11:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 19:11:25 d4cd15c4c31e: Preparing 19:11:25 76e5b1c2795a: Preparing 19:11:25 3467b4723e82: Preparing 19:11:25 c8741fc4c4b2: Preparing 19:11:25 c39af2d4cb8d: Preparing 19:11:25 3467b4723e82: Layer already exists 19:11:25 d4cd15c4c31e: Layer already exists 19:11:25 c8741fc4c4b2: Layer already exists 19:11:25 c39af2d4cb8d: Layer already exists 19:11:25 76e5b1c2795a: Layer already exists 19:11:26 main: digest: sha256:62af05b04a7b6ac3751246cc3508da595df2b4c69332a2aac9c6698e72aae455 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:11:26 ===================================================== [Pipeline] echo 19:11:26 taggedImages: 19:11:26 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:01efde03cde14ec0060c1876119bb983deb5481b 19:11:26 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 19:11:26 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.15 19:11:26 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:01efde03cde14ec0060c1876119bb983deb5481b-3.0.0-dev.15 19:11:26 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:11:26 19:11:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:11:26 arm64: Pulling from edgex-lftools-log-publisher 19:11:26 8998bd30e6a1: Pulling fs layer 19:11:26 04944245beec: Pulling fs layer 19:11:26 699f458cf7ca: Pulling fs layer 19:11:26 765212b225bb: Pulling fs layer 19:11:26 f23df028b6ca: Pulling fs layer 19:11:26 d65c8cfc05b1: Pulling fs layer 19:11:26 2437ff75d9bd: Pulling fs layer 19:11:26 f23df028b6ca: Waiting 19:11:26 d65c8cfc05b1: Waiting 19:11:26 2437ff75d9bd: Waiting 19:11:26 765212b225bb: Waiting 19:11:27 04944245beec: Verifying Checksum 19:11:27 04944245beec: Download complete 19:11:27 765212b225bb: Verifying Checksum 19:11:27 765212b225bb: Download complete 19:11:27 f23df028b6ca: Download complete 19:11:27 d65c8cfc05b1: Download complete 19:11:27 699f458cf7ca: Verifying Checksum 19:11:27 699f458cf7ca: Download complete 19:11:27 8998bd30e6a1: Verifying Checksum 19:11:27 8998bd30e6a1: Download complete 19:11:30 2437ff75d9bd: Verifying Checksum 19:11:33 8998bd30e6a1: Pull complete 19:11:33 04944245beec: Pull complete 19:11:35 699f458cf7ca: Pull complete 19:11:35 765212b225bb: Pull complete 19:11:35 f23df028b6ca: Pull complete 19:11:36 d65c8cfc05b1: Pull complete 19:11:51 2437ff75d9bd: Pull complete 19:11:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:11:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:11:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:11:51 prd-ubuntu20.04-docker-arm64-4c-16g-8008 does not seem to be running inside a container 19:11:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/81 -v /w/workspace/device-modbus-go/81:/w/workspace/device-modbus-go/81:rw,z -v /w/workspace/device-modbus-go/81@tmp:/w/workspace/device-modbus-go/81@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 19:11:54 $ docker top ad10173a41b9a84b322562a465735a497697ffa920054ceec21765415f02907e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:11:54 ---> job-cost.sh 19:11:54 lf-activate-venv: SKIPPING 19:11:54 INFO: No Stack... 19:11:55 INFO: Retrieving Pricing Info for: v3-standard-4 19:11:56 INFO: Archiving Costs [Pipeline] sh 19:11:56 + cat /w/workspace/device-modbus-go/81/archives/cost.csv 19:11:56 + cut -d, -f6 [Pipeline] lock 19:11:56 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-81-stack-cost] 19:11:56 Resource [jenkins-edgexfoundry-device-modbus-go-main-81-stack-cost] did not exist. Created. 19:11:56 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-81-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:11:57 /w/workspace/device-modbus-go/81@tmp/durable-2a7f82c3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:11:58 + echo total: 0.10999999940395355 [Pipeline] stash 19:11:58 Warning: overwriting stash ‘stack-cost’ 19:11:58 Stashed 1 file(s) [Pipeline] } 19:11:58 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-81-stack-cost] [Pipeline] // lock [Pipeline] } 19:11:58 $ docker stop --time=1 ad10173a41b9a84b322562a465735a497697ffa920054ceec21765415f02907e 19:12:00 $ docker rm -f --volumes ad10173a41b9a84b322562a465735a497697ffa920054ceec21765415f02907e [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 19:12:00 provisioning config files... 19:12:00 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14767224313206393378tmp [Pipeline] { [Pipeline] sh 19:12:00 + set +x 19:12:00 + curl -s https://codecov.io/bash 19:12:00 + bash -s -- 19:12:00 19:12:00 _____ _ 19:12:00 / ____| | | 19:12:00 | | ___ __| | ___ ___ _____ __ 19:12:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:12:00 | |___| (_) | (_| | __/ (_| (_) \ V / 19:12:00 \_____\___/ \__,_|\___|\___\___/ \_/ 19:12:00 Bash-1.0.6 19:12:00 19:12:00 19:12:00 ==> git version 2.25.1 found 19:12:00 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 19:12:00 Release-Date: 2020-01-08 19:12:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:12:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:12:00 ==> Jenkins CI detected. 19:12:00 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 19:12:00 project root: . 19:12:00 --> token set from env 19:12:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:12:00 ==> Running gcov in . (disable via -X gcov) 19:12:00 ==> Python coveragepy not found 19:12:00 ==> Searching for coverage reports in: 19:12:00 + . 19:12:00 -> Found 1 reports 19:12:00 ==> Detecting git/mercurial file structure 19:12:00 ==> Reading reports 19:12:00 + ./coverage.out bytes=23241 19:12:00 ==> Appending adjustments 19:12:00 https://docs.codecov.io/docs/fixing-reports 19:12:01 + Found adjustments 19:12:01 ==> Gzipping contents 19:12:01 4.0K /tmp/codecov.1LCwPe.gz 19:12:01 ==> Uploading reports 19:12:01 url: https://codecov.io 19:12:01 query: branch=main&commit=01efde03cde14ec0060c1876119bb983deb5481b&build=81&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F81%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:12:01 -> Pinging Codecov 19:12: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=01efde03cde14ec0060c1876119bb983deb5481b&build=81&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F81%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:12:01 -> Uploading to 19:12:01 https://storage.googleapis.com/codecov/v4/raw/2023-03-01/55DBCA73C666E3227836607328DD7E49/01efde03cde14ec0060c1876119bb983deb5481b/1191105a-e082-44dc-9ac9-487aa8f26acf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230301%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230301T191201Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fd575953fba4950b63c77cb30709f38182f07d2862d332963963b98dc15cf41a 19:12:01 % Total % Received % Xferd Average Speed Time Time Time Current 19:12:01 Dload Upload Total Spent Left Speed 19:12:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3881 0 0 100 3881 0 13155 --:--:-- --:--:-- --:--:-- 13155 19:12:01 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/01efde03cde14ec0060c1876119bb983deb5481b [Pipeline] } 19:12:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 19:12:01 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 19:12:01 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:12:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:12:02 19:12:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:12:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:12:02 1.410.4: Pulling from edgex-devops/edgex-snyk-go 19:12:02 df9b9388f04a: Pulling fs layer 19:12:02 52dc419b0ee2: Pulling fs layer 19:12:02 25bc292e5bac: Pulling fs layer 19:12:02 114826534d7a: Pulling fs layer 19:12:02 4657fd5d0bcf: Pulling fs layer 19:12:02 6ad1cebc031e: Pulling fs layer 19:12:02 8a3aa393b2d8: Pulling fs layer 19:12:02 114826534d7a: Waiting 19:12:02 4657fd5d0bcf: Waiting 19:12:02 6ad1cebc031e: Waiting 19:12:02 25bc292e5bac: Verifying Checksum 19:12:02 25bc292e5bac: Download complete 19:12:02 52dc419b0ee2: Verifying Checksum 19:12:02 52dc419b0ee2: Download complete 19:12:02 4657fd5d0bcf: Download complete 19:12:02 df9b9388f04a: Verifying Checksum 19:12:02 df9b9388f04a: Download complete 19:12:02 df9b9388f04a: Pull complete 19:12:02 6ad1cebc031e: Verifying Checksum 19:12:02 6ad1cebc031e: Download complete 19:12:02 52dc419b0ee2: Pull complete 19:12:03 25bc292e5bac: Pull complete 19:12:03 114826534d7a: Verifying Checksum 19:12:03 114826534d7a: Download complete 19:12:03 8a3aa393b2d8: Verifying Checksum 19:12:03 8a3aa393b2d8: Download complete 19:12:06 114826534d7a: Pull complete 19:12:06 4657fd5d0bcf: Pull complete 19:12:06 6ad1cebc031e: Pull complete 19:12:09 8a3aa393b2d8: Pull complete 19:12:09 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 19:12:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:12:09 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:12:09 prd-ubuntu20.04-docker-8c-8g-8005 does not seem to be running inside a container 19:12: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 19:12:13 $ docker top 2bd33fed1d312c2805a2eb1db80e6535a5ee59dc6c9ed24e32453b1b9955c88d -eo pid,comm [Pipeline] { [Pipeline] echo 19:12:13 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 19:12:13 + set -o pipefail 19:12:13 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 19:12:18 19:12:18 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 19:12:18 19:12:18 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/3e4c98e1-1a77-453d-bf15-08239ddefaa6 19:12:18 19:12:18 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 19:12:18 19:12:18 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 19:12:18 19:12:18 19:12:18 A medium severity vulnerability was found in the Snyk CLI versions you are using. 19:12:18 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 19:12:18 More details here: https://snyk.co/ue1NS [Pipeline] } 19:12:18 $ docker stop --time=1 2bd33fed1d312c2805a2eb1db80e6535a5ee59dc6c9ed24e32453b1b9955c88d 19:12:22 $ docker rm -f --volumes 2bd33fed1d312c2805a2eb1db80e6535a5ee59dc6c9ed24e32453b1b9955c88d [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 19:12:22 + git log --format=format:%s -1 01efde03cde14ec0060c1876119bb983deb5481b [Pipeline] sh 19:12:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:12:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:12:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:12:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:12:23 prd-ubuntu20.04-docker-8c-8g-8005 does not seem to be running inside a container 19:12:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:12:24 $ docker top 0f2a8b5f86eef5f821be955d6700c565d546037611b3132cbb5c2b6927c69de8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:12:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:12:24 [ssh-agent] Looking for ssh-agent implementation... 19:12:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:12:24 $ docker exec 0f2a8b5f86eef5f821be955d6700c565d546037611b3132cbb5c2b6927c69de8 ssh-agent 19:12:24 SSH_AUTH_SOCK=/tmp/ssh-4Z9KzSXDXpVS/agent.32 19:12:24 SSH_AGENT_PID=38 19:12:24 Running ssh-add (command line suppressed) 19:12:24 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10439817977055896393.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10439817977055896393.key) 19:12:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:12:24 + git semver tag 19:12:25 2023-03-01 19:12:24,991 [run_tag] DEBUG tag force:False 19:12:25 2023-03-01 19:12:24,991 [check_head_tag] DEBUG check head tag 19:12:25 2023-03-01 19:12:24,992 [execute] INFO git cat-file --batch-check 19:12:25 2023-03-01 19:12:24,993 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 19:12:25 2023-03-01 19:12:24,998 [execute] INFO git cat-file --batch 19:12:25 2023-03-01 19:12:24,998 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 19:12:25 2023-03-01 19:12:25,019 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 19:12:25 2023-03-01 19:12:25,020 [execute] INFO git tag -a v3.0.0-dev.15 -m v3.0.0-dev.15 19:12:25 2023-03-01 19:12:25,020 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.15', '-m', 'v3.0.0-dev.15'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 19:12:25 2023-03-01 19:12:25,026 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 19:12:25 3.0.0-dev.15 [Pipeline] } 19:12:25 $ docker exec --env ******** --env ******** 0f2a8b5f86eef5f821be955d6700c565d546037611b3132cbb5c2b6927c69de8 ssh-agent -k 19:12:25 unset SSH_AUTH_SOCK; 19:12:25 unset SSH_AGENT_PID; 19:12:25 echo Agent pid 38 killed; 19:12:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:12:25 + git semver [Pipeline] } 19:12:25 $ docker stop --time=1 0f2a8b5f86eef5f821be955d6700c565d546037611b3132cbb5c2b6927c69de8 19:12:27 $ docker rm -f --volumes 0f2a8b5f86eef5f821be955d6700c565d546037611b3132cbb5c2b6927c69de8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:12:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:12:27 19:12:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:12:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:12:27 0.23.1-centos7: Pulling from edgex-lftools 19:12:27 ab5ef0e58194: Pulling fs layer 19:12:27 9712f1f96733: Pulling fs layer 19:12:27 63f879dbbcfc: Pulling fs layer 19:12:27 0d9ebad4ef96: Pulling fs layer 19:12:27 e9a5061849ea: Pulling fs layer 19:12:27 d747dcd14b5f: Pulling fs layer 19:12:27 2de7ff778b66: Pulling fs layer 19:12:27 e9a5061849ea: Waiting 19:12:27 d747dcd14b5f: Waiting 19:12:27 2de7ff778b66: Waiting 19:12:27 0d9ebad4ef96: Waiting 19:12:27 9712f1f96733: Download complete 19:12:28 63f879dbbcfc: Verifying Checksum 19:12:28 63f879dbbcfc: Download complete 19:12:28 0d9ebad4ef96: Verifying Checksum 19:12:28 0d9ebad4ef96: Download complete 19:12:28 ab5ef0e58194: Verifying Checksum 19:12:28 ab5ef0e58194: Download complete 19:12:28 d747dcd14b5f: Verifying Checksum 19:12:28 d747dcd14b5f: Download complete 19:12:28 e9a5061849ea: Verifying Checksum 19:12:28 e9a5061849ea: Download complete 19:12:29 2de7ff778b66: Verifying Checksum 19:12:29 2de7ff778b66: Download complete 19:12:31 ab5ef0e58194: Pull complete 19:12:31 9712f1f96733: Pull complete 19:12:32 63f879dbbcfc: Pull complete 19:12:36 0d9ebad4ef96: Pull complete 19:12:36 e9a5061849ea: Pull complete 19:12:36 d747dcd14b5f: Pull complete 19:12:37 2de7ff778b66: Pull complete 19:12:37 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 19:12:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:12:37 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:12:37 prd-ubuntu20.04-docker-8c-8g-8005 does not seem to be running inside a container 19:12:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 19:12:42 $ docker top deebaefbd7f02937c39d4ec0fee9c300b68cfef4f380560239e754ddfd9692b6 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 19:12:42 provisioning config files... 19:12:42 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3675008279780116328tmp 19:12:42 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12101955042044206049tmp 19:12:42 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8082653806739642200tmp [Pipeline] { [Pipeline] echo 19:12:42 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 19:12:43 ---> sigul-configuration.sh 19:12:43 gpg: directory `/root/.gnupg' created 19:12:43 gpg: new configuration file `/root/.gnupg/gpg.conf' created 19:12:43 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 19:12:43 gpg: keyring `/root/.gnupg/secring.gpg' created 19:12:43 gpg: keyring `/root/.gnupg/pubring.gpg' created 19:12:43 gpg: CAST5 encrypted data 19:12:43 gpg: encrypted with 1 passphrase 19:12:43 gpg: WARNING: message was not integrity protected [Pipeline] sh 19:12:43 + mkdir /home/jenkins 19:12:43 + mkdir /home/jenkins/sigul [Pipeline] sh 19:12:43 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 19:12:43 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 19:12:44 ---> sigul-install.sh 19:12:44 Sigul already installed; skipping installation. [Pipeline] sh 19:12:44 + git tag --list 19:12:44 0.7.1 19:12:44 v1.0.0 19:12:44 v1.1.0 19:12:44 v1.1.1 19:12:44 v1.2.2 19:12:44 v1.3.0 19:12:44 v1.3.1 19:12:44 v2.0.0 19:12:44 v2.1.0 19:12:44 v2.1.1 19:12:44 v2.1.1-dev.1 19:12:44 v2.1.1-dev.2 19:12:44 v2.1.1-dev.3 19:12:44 v2.2.0 19:12:44 v2.2.1-dev.1 19:12:44 v2.2.1-dev.2 19:12:44 v2.2.1-dev.3 19:12:44 v2.2.1-dev.4 19:12:44 v2.2.1-dev.5 19:12:44 v2.2.1-dev.6 19:12:44 v2.2.1-dev.7 19:12:44 v2.3.0 19:12:44 v2.3.0-dev.10 19:12:44 v2.3.0-dev.11 19:12:44 v2.3.0-dev.12 19:12:44 v2.3.0-dev.13 19:12:44 v2.3.0-dev.14 19:12:44 v2.3.0-dev.15 19:12:44 v2.3.0-dev.16 19:12:44 v2.3.0-dev.17 19:12:44 v2.3.0-dev.18 19:12:44 v2.3.0-dev.19 19:12:44 v2.3.0-dev.20 19:12:44 v2.3.0-dev.21 19:12:44 v2.3.0-dev.22 19:12:44 v2.3.0-dev.23 19:12:44 v2.3.0-dev.24 19:12:44 v2.3.0-dev.25 19:12:44 v2.3.0-dev.7 19:12:44 v2.3.0-dev.8 19:12:44 v2.3.0-dev.9 19:12:44 v3.0.0-dev.1 19:12:44 v3.0.0-dev.10 19:12:44 v3.0.0-dev.11 19:12:44 v3.0.0-dev.12 19:12:44 v3.0.0-dev.13 19:12:44 v3.0.0-dev.14 19:12:44 v3.0.0-dev.15 19:12:44 v3.0.0-dev.2 19:12:44 v3.0.0-dev.3 19:12:44 v3.0.0-dev.4 19:12:44 v3.0.0-dev.5 19:12:44 v3.0.0-dev.6 19:12:44 v3.0.0-dev.7 19:12:44 v3.0.0-dev.8 19:12:44 v3.0.0-dev.9 [Pipeline] sh 19:12:44 + lftools sign git-tag v3.0.0-dev.15 19:12:45 Signing Git tag with Sigul... 19:12:45 Signing v3.0.0-dev.15 [Pipeline] echo 19:12:45 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 19:12:46 ---> sigul-configuration-cleanup.sh [Pipeline] } 19:12:46 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 19:12:46 $ docker stop --time=1 deebaefbd7f02937c39d4ec0fee9c300b68cfef4f380560239e754ddfd9692b6 19:12:47 $ docker rm -f --volumes deebaefbd7f02937c39d4ec0fee9c300b68cfef4f380560239e754ddfd9692b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 19:12:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:12:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:12:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:12:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:12:48 prd-ubuntu20.04-docker-8c-8g-8005 does not seem to be running inside a container 19:12:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:12:49 $ docker top a5566115c0a3cc4829d069458be832e95a7344c04865b6645f8611caec526e72 -eo pid,comm 19:12:49 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). 19:12:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:12:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:12:49 [ssh-agent] Looking for ssh-agent implementation... 19:12:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:12:49 $ docker exec a5566115c0a3cc4829d069458be832e95a7344c04865b6645f8611caec526e72 ssh-agent 19:12:49 SSH_AUTH_SOCK=/tmp/ssh-oEen6PVuvakZ/agent.32 19:12:49 SSH_AGENT_PID=38 19:12:49 Running ssh-add (command line suppressed) 19:12:49 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11833594395531577676.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11833594395531577676.key) 19:12:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:12:49 + git semver bump pre 19:12:50 2023-03-01 19:12:50,143 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 19:12:50 2023-03-01 19:12:50,143 [bump_version] DEBUG bumping version:3.0.0-dev.15 on axis:pre with prefix:dev 19:12:50 2023-03-01 19:12:50,143 [bump_version] DEBUG bumped version:3.0.0-dev.16 19:12:50 2023-03-01 19:12:50,143 [write_version] DEBUG write version:3.0.0-dev.16 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 19:12:50 2023-03-01 19:12:50,143 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 19:12:50 2023-03-01 19:12:50,143 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 19:12:50 2023-03-01 19:12:50,145 [execute] INFO git cat-file --batch-check 19:12:50 2023-03-01 19:12:50,145 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:12:50 2023-03-01 19:12:50,149 [execute] INFO git cat-file --batch 19:12:50 2023-03-01 19:12:50,150 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:12:50 2023-03-01 19:12:50,154 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 19:12:50 3.0.0-dev.16 [Pipeline] } 19:12:50 $ docker exec --env ******** --env ******** a5566115c0a3cc4829d069458be832e95a7344c04865b6645f8611caec526e72 ssh-agent -k 19:12:50 unset SSH_AUTH_SOCK; 19:12:50 unset SSH_AGENT_PID; 19:12:50 echo Agent pid 38 killed; 19:12:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:12:50 + git semver [Pipeline] } 19:12:50 $ docker stop --time=1 a5566115c0a3cc4829d069458be832e95a7344c04865b6645f8611caec526e72 19:12:52 $ docker rm -f --volumes a5566115c0a3cc4829d069458be832e95a7344c04865b6645f8611caec526e72 [Pipeline] // withDockerContainer [Pipeline] sh 19:12:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:12:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:12:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:12:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:12:53 prd-ubuntu20.04-docker-8c-8g-8005 does not seem to be running inside a container 19:12:53 $ 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 19:12:53 $ docker top ed145233b5fcae38cecd76860c520f0670dc2ef3662472897e99db9749316335 -eo pid,comm 19:12:53 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). 19:12:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:12:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:12:53 [ssh-agent] Looking for ssh-agent implementation... 19:12:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:12:53 $ docker exec ed145233b5fcae38cecd76860c520f0670dc2ef3662472897e99db9749316335 ssh-agent 19:12:53 SSH_AUTH_SOCK=/tmp/ssh-BwPzDxR6wlbs/agent.33 19:12:53 SSH_AGENT_PID=39 19:12:53 Running ssh-add (command line suppressed) 19:12:53 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9833785060667177287.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9833785060667177287.key) 19:12:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:12:54 + git semver push 19:12:54 2023-03-01 19:12:54,352 [run_push] DEBUG push 19:12:54 2023-03-01 19:12:54,353 [execute] INFO git cat-file --batch-check 19:12:54 2023-03-01 19:12:54,353 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:12:54 2023-03-01 19:12:54,357 [execute] INFO git rev-list 78f209542b7c3e3410994744d46bd6f5c5f63492 -- 19:12:54 2023-03-01 19:12:54,357 [execute] DEBUG Popen(['git', 'rev-list', '78f209542b7c3e3410994744d46bd6f5c5f63492', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 19:12:54 2023-03-01 19:12:54,365 [execute] INFO git fetch -v origin 19:12:54 2023-03-01 19:12:54,365 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 19:12:55 2023-03-01 19:12:55,014 [run_push] DEBUG no remote changes detected 19:12:55 2023-03-01 19:12:55,015 [execute] INFO git push origin semver 19:12:55 2023-03-01 19:12:55,015 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 19:12:55 2023-03-01 19:12:55,854 [run_push] DEBUG push all version tags 19:12:55 2023-03-01 19:12:55,855 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 19:12:55 2023-03-01 19:12:55,855 [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) 19:12:56 2023-03-01 19:12:56,722 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 19:12:56 3.0.0-dev.16 [Pipeline] } 19:12:56 $ docker exec --env ******** --env ******** ed145233b5fcae38cecd76860c520f0670dc2ef3662472897e99db9749316335 ssh-agent -k 19:12:56 unset SSH_AUTH_SOCK; 19:12:56 unset SSH_AGENT_PID; 19:12:56 echo Agent pid 39 killed; 19:12:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:12:57 + git semver [Pipeline] } 19:12:57 $ docker stop --time=1 ed145233b5fcae38cecd76860c520f0670dc2ef3662472897e99db9749316335 19:12:58 $ docker rm -f --volumes ed145233b5fcae38cecd76860c520f0670dc2ef3662472897e99db9749316335 [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 19:12:59 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 19:12:59 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 19:12:59 total 16 19:12:59 drwxr-xr-x 3 root root 4096 Mar 1 19:03 . 19:12:59 drwxrwxr-x 11 jenkins jenkins 4096 Mar 1 19:12 .. 19:12:59 drwxr-xr-x 2 root root 4096 Mar 1 19:03 cost 19:12:59 -rw-r--r-- 1 root root 87 Mar 1 19:03 cost.csv 19:12:59 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 19:12:59 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 19:12:59 total 16 19:12:59 drwxr-xr-x 3 jenkins jenkins 4096 Mar 1 19:03 . 19:12:59 drwxrwxr-x 11 jenkins jenkins 4096 Mar 1 19:12 .. 19:12:59 drwxr-xr-x 2 jenkins jenkins 4096 Mar 1 19:03 cost 19:12:59 -rw-r--r-- 1 jenkins jenkins 87 Mar 1 19:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:12:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:13:00 ---> package-listing.sh 19:13:00 ++ facter osfamily 19:13:00 ++ tr '[:upper:]' '[:lower:]' 19:13:00 + OS_FAMILY=debian 19:13:00 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 19:13:00 + START_PACKAGES=/tmp/packages_start.txt 19:13:00 + END_PACKAGES=/tmp/packages_end.txt 19:13:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:13:00 + PACKAGES=/tmp/packages_start.txt 19:13:00 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 19:13:00 + PACKAGES=/tmp/packages_end.txt 19:13:00 + case "${OS_FAMILY}" in 19:13:00 + dpkg -l 19:13:00 + grep '^ii' 19:13:00 + '[' -f /tmp/packages_start.txt ']' 19:13:00 + '[' -f /tmp/packages_end.txt ']' 19:13:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:13:00 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 19:13:00 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 19:13:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 19:13:01 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 19:13:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:13:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:13:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:13:01 prd-ubuntu20.04-docker-8c-8g-8005 does not seem to be running inside a container 19:13:02 $ 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 19:13:02 $ docker top cb3b158d2480656bb29982927e80e582e80fe3e919d441a61d62dc981f50b8a8 -eo pid,comm [Pipeline] { [Pipeline] sh 19:13:03 + touch /tmp/pre-build-complete [Pipeline] sh 19:13:03 + mkdir -p /var/log/sysstat [Pipeline] sh 19:13:03 + ls /var/log/sa-host 19:13:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:13:03 provisioning config files... 19:13:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10131131008676562948tmp [Pipeline] { [Pipeline] echo 19:13:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:13:04 ---> create-netrc.sh [Pipeline] } 19:13:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:13:04 ---> python-tools-install.sh [Pipeline] echo 19:13:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:13:04 ---> sudo-logs.sh 19:13:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:13:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:13:05 ---> job-cost.sh 19:13:05 lf-activate-venv: SKIPPING 19:13:05 DEBUG: total: 0.2199999988079071 19:13:05 INFO: Retrieving Stack Cost... 19:13:05 INFO: Retrieving Pricing Info for: v3-standard-8 19:13:05 INFO: Archiving Costs [Pipeline] echo 19:13:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:13:06 ---> logs-deploy.sh 19:13:06 lf-activate-venv: SKIPPING 19:13:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/81 19:13:06 INFO: archiving workspace using pattern(s): 19:13:07 Archives upload complete. 19:13:07 INFO: archiving logs to Nexus