Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 55987cd457f5f1a930ff560b78c1acf5044fc241 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-ssh6748054515792271903.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh7383431199619036208.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh11665979767616705308.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh17039710304357556527.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-ssh11880594377159733636.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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-8405’ Running on prd-ubuntu20.04-docker-8c-8g-8408 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 55987cd457f5f1a930ff560b78c1acf5044fc241 (main) Commit message: "Merge pull request #452 from weichou1229/interface-change" > 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 55987cd457f5f1a930ff560b78c1acf5044fc241 # timeout=10 > git rev-list --no-walk 7ebcbdca1c8e99aa5fa67a846a7ac4c06130ebb3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:04:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:04:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:04:35 ========================================================= 07:04:35 EdgeX Global Pipelines Version Info 07:04:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:04:36 ------------------- 07:04:36 stable info: 07:04:36 ------------------- 07:04:36 Commited By: Bill Mahoney bill.mahoney@intel.com 07:04:36 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 07:04:36 Message: update stable to v1.0.248 07:04:37 ------------------- 07:04:37 experimental info: 07:04:37 ------------------- 07:04:37 Commited By: **** collab-it+edgex@linuxfoundation.org 07:04:37 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 07:04:37 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:04:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 07:04:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 07:04:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:04:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:04:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:04:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 07:04:37 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:04:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:04:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:04:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:04:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:04:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 07:04:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:04:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:04:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:04:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:04:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:04:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:04:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:04:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:04:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:04:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:04:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:04:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:04:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:04:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:04:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:04:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:04:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:04:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:04:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 55987cd457f5f1a930ff560b78c1acf5044fc241 [Pipeline] echo 07:04:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 55987cd [Pipeline] echo 07:04:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:04:37 provisioning config files... 07:04:37 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14900998717600046835tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:04:38 ---> docker-login.sh 07:04:38 nexus3.edgexfoundry.org:10001 07:04:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:04:38 Configure a credential helper to remove this warning. See 07:04:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:04:38 07:04:38 Login Succeeded 07:04:38 nexus3.edgexfoundry.org:10002 07:04:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:04:38 Configure a credential helper to remove this warning. See 07:04:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:04:38 07:04:38 Login Succeeded 07:04:38 nexus3.edgexfoundry.org:10003 07:04:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:04:38 Configure a credential helper to remove this warning. See 07:04:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:04:38 07:04:38 Login Succeeded 07:04:38 nexus3.edgexfoundry.org:10004 07:04:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:04:38 Configure a credential helper to remove this warning. See 07:04:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:04:38 07:04:38 Login Succeeded 07:04:38 docker.io 07:04:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:04:39 Configure a credential helper to remove this warning. See 07:04:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:04:39 07:04:39 Login Succeeded 07:04:39 ---> docker-login.sh ends [Pipeline] } 07:04:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:04:39 + git rev-list -1 --merges 55987cd457f5f1a930ff560b78c1acf5044fc241~1..55987cd457f5f1a930ff560b78c1acf5044fc241 [Pipeline] echo 07:04:39 -----------> git rev-list -1 --merges 55987cd457f5f1a930ff560b78c1acf5044fc241~1..55987cd457f5f1a930ff560b78c1acf5044fc241 55987cd457f5f1a930ff560b78c1acf5044fc241 07:04:39 55987cd457f5f1a930ff560b78c1acf5044fc241 [false] [Pipeline] sh 07:04:39 + git log --format=format:%s -1 55987cd457f5f1a930ff560b78c1acf5044fc241 [Pipeline] echo 07:04:39 ========================================================= 07:04:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:04:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:04:40 + git log --format=format:%s -1 55987cd457f5f1a930ff560b78c1acf5044fc241 [Pipeline] echo 07:04:40 [semverPrep] GIT_COMMIT: 55987cd457f5f1a930ff560b78c1acf5044fc241, Commit Message: Merge pull request #452 from weichou1229/interface-change [Pipeline] echo 07:04:40 [semverPrep] This is not a build commit. [Pipeline] sh 07:04:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:04:40 + grep -v github /etc/ssh/ssh_known_hosts 07:04:40 + [ -e /tmp/ssh_known_hosts ] 07:04:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:04:40 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:04:40 sudo tee -a /etc/ssh/ssh_known_hosts 07:04:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:04:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:04:40 07:04:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:04:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:04:41 0.1.4: Pulling from edgex-devops/py-git-semver 07:04:41 b85a868b505f: Pulling fs layer 07:04:41 e2be974225ed: Pulling fs layer 07:04:41 339a4e72a1f5: Pulling fs layer 07:04:41 988bab9f4d93: Pulling fs layer 07:04:41 1469e6f7b9e6: Pulling fs layer 07:04:41 eaf3925da568: Pulling fs layer 07:04:41 bab4dde63d76: Pulling fs layer 07:04:41 bde34c3a00c8: Pulling fs layer 07:04:41 b352a97aabf1: Pulling fs layer 07:04:41 4872d77fe225: Pulling fs layer 07:04:41 5851b861e8e6: Pulling fs layer 07:04:41 bab4dde63d76: Waiting 07:04:41 bde34c3a00c8: Waiting 07:04:41 b352a97aabf1: Waiting 07:04:41 4872d77fe225: Waiting 07:04:41 5851b861e8e6: Waiting 07:04:41 eaf3925da568: Waiting 07:04:41 e2be974225ed: Verifying Checksum 07:04:41 e2be974225ed: Download complete 07:04:41 988bab9f4d93: Download complete 07:04:41 1469e6f7b9e6: Verifying Checksum 07:04:41 1469e6f7b9e6: Download complete 07:04:41 339a4e72a1f5: Verifying Checksum 07:04:41 339a4e72a1f5: Download complete 07:04:41 eaf3925da568: Verifying Checksum 07:04:41 eaf3925da568: Download complete 07:04:41 bde34c3a00c8: Verifying Checksum 07:04:41 bde34c3a00c8: Download complete 07:04:41 b352a97aabf1: Verifying Checksum 07:04:41 b352a97aabf1: Download complete 07:04:41 4872d77fe225: Download complete 07:04:41 5851b861e8e6: Verifying Checksum 07:04:41 5851b861e8e6: Download complete 07:04:41 b85a868b505f: Verifying Checksum 07:04:41 b85a868b505f: Download complete 07:04:41 bab4dde63d76: Verifying Checksum 07:04:41 bab4dde63d76: Download complete 07:04:42 b85a868b505f: Pull complete 07:04:42 e2be974225ed: Pull complete 07:04:43 339a4e72a1f5: Pull complete 07:04:43 988bab9f4d93: Pull complete 07:04:43 1469e6f7b9e6: Pull complete 07:04:43 eaf3925da568: Pull complete 07:04:45 bab4dde63d76: Pull complete 07:04:45 bde34c3a00c8: Pull complete 07:04:45 b352a97aabf1: Pull complete 07:04:45 4872d77fe225: Pull complete 07:04:45 5851b861e8e6: Pull complete 07:04:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:04:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:04:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:04:45 prd-ubuntu20.04-docker-8c-8g-8408 does not seem to be running inside a container 07:04:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:04:47 $ docker top f443a28344847d2877eae8e8097105909daa1e9602e6d41bb1a329e879450ec4 -eo pid,comm 07:04:47 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). 07:04:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:04:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:04:47 [ssh-agent] Looking for ssh-agent implementation... 07:04:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:04:47 $ docker exec f443a28344847d2877eae8e8097105909daa1e9602e6d41bb1a329e879450ec4 ssh-agent 07:04:47 SSH_AUTH_SOCK=/tmp/ssh-0ZZ7sikGPNQg/agent.32 07:04:47 SSH_AGENT_PID=38 07:04:47 Running ssh-add (command line suppressed) 07:04:47 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15581773102163550045.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15581773102163550045.key) 07:04:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:04:47 + git tag --points-at HEAD [Pipeline] } 07:04:47 $ docker exec --env ******** --env ******** f443a28344847d2877eae8e8097105909daa1e9602e6d41bb1a329e879450ec4 ssh-agent -k 07:04:47 unset SSH_AUTH_SOCK; 07:04:47 unset SSH_AGENT_PID; 07:04:47 echo Agent pid 38 killed; 07:04:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:04:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:04:47 [ssh-agent] Looking for ssh-agent implementation... 07:04:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:04:48 $ docker exec f443a28344847d2877eae8e8097105909daa1e9602e6d41bb1a329e879450ec4 ssh-agent 07:04:48 SSH_AUTH_SOCK=/tmp/ssh-wcNQx5mShddH/agent.71 07:04:48 SSH_AGENT_PID=77 07:04:48 Running ssh-add (command line suppressed) 07:04:48 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5061059400281503959.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5061059400281503959.key) 07:04:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:04:48 + git semver init 07:04:48 2023-04-13 07:04:48,768 [run_init] DEBUG init version:0.0.0 force:False 07:04:48 2023-04-13 07:04:48,769 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 07:04:48 2023-04-13 07:04:48,770 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 07:04:48 2023-04-13 07:04:48,770 [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) 07:04:49 2023-04-13 07:04:49,533 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 07:04:49 2023-04-13 07:04:49,534 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 07:04:49 2023-04-13 07:04:49,534 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:04:49 2023-04-13 07:04:49,534 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:04:49 3.0.0-dev.26 [Pipeline] } 07:04:49 $ docker exec --env ******** --env ******** f443a28344847d2877eae8e8097105909daa1e9602e6d41bb1a329e879450ec4 ssh-agent -k 07:04:49 unset SSH_AUTH_SOCK; 07:04:49 unset SSH_AGENT_PID; 07:04:49 echo Agent pid 77 killed; 07:04:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:04:50 + git semver [Pipeline] } 07:04:50 $ docker stop --time=1 f443a28344847d2877eae8e8097105909daa1e9602e6d41bb1a329e879450ec4 07:04:51 $ docker rm -f --volumes f443a28344847d2877eae8e8097105909daa1e9602e6d41bb1a329e879450ec4 [Pipeline] // withDockerContainer [Pipeline] sh 07:04:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:04:52 Stashed 1 file(s) [Pipeline] echo 07:04:52 [edgeXSemver]: initialized semver on version 3.0.0-dev.26 [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 07:04:52 provisioning config files... 07:04:52 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7068672547762901107tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:04:52 ---> docker-login.sh 07:04:52 nexus3.edgexfoundry.org:10001 07:04:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:04:52 Configure a credential helper to remove this warning. See 07:04:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:04:52 07:04:52 Login Succeeded 07:04:52 nexus3.edgexfoundry.org:10002 07:04:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:04:52 Configure a credential helper to remove this warning. See 07:04:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:04:52 07:04:52 Login Succeeded 07:04:52 nexus3.edgexfoundry.org:10003 07:04:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:04:53 Configure a credential helper to remove this warning. See 07:04:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:04:53 07:04:53 Login Succeeded 07:04:53 nexus3.edgexfoundry.org:10004 07:04:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:04:53 Configure a credential helper to remove this warning. See 07:04:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:04:53 07:04:53 Login Succeeded 07:04:53 docker.io 07:04:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:04:53 Configure a credential helper to remove this warning. See 07:04:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:04:53 07:04:53 Login Succeeded 07:04:53 ---> docker-login.sh ends [Pipeline] } 07:04:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:04:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:04:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:04:53 ========================================================= 07:04:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 07:04:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:04:53 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 07:04:53 Sending build context to Docker daemon 6.417MB 07:04:53 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 07:04:53 Step 2/10 : FROM ${BASE} AS builder 07:04:53 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 07:04:53 63b65145d645: Pulling fs layer 07:04:53 a2d21d5440eb: Pulling fs layer 07:04:53 935e6c44a52c: Pulling fs layer 07:04:53 94cc34f8dd06: Pulling fs layer 07:04:53 30dea6a524f1: Pulling fs layer 07:04:53 a2aff8979fd8: Pulling fs layer 07:04:53 6808be2612f2: Pulling fs layer 07:04:53 f25807f1079a: Pulling fs layer 07:04:53 94cc34f8dd06: Waiting 07:04:53 30dea6a524f1: Waiting 07:04:53 6808be2612f2: Waiting 07:04:53 a2aff8979fd8: Waiting 07:04:53 f25807f1079a: Waiting 07:04:53 a2d21d5440eb: Download complete 07:04:53 94cc34f8dd06: Verifying Checksum 07:04:53 94cc34f8dd06: Download complete 07:04:53 30dea6a524f1: Download complete 07:04:53 63b65145d645: Verifying Checksum 07:04:53 63b65145d645: Download complete 07:04:53 a2aff8979fd8: Verifying Checksum 07:04:53 a2aff8979fd8: Download complete 07:04:53 63b65145d645: Pull complete 07:04:54 a2d21d5440eb: Pull complete 07:04:54 f25807f1079a: Verifying Checksum 07:04:54 f25807f1079a: Download complete 07:04:54 935e6c44a52c: Verifying Checksum 07:04:54 935e6c44a52c: Download complete 07:04:54 6808be2612f2: Verifying Checksum 07:04:54 6808be2612f2: Download complete 07:04:57 935e6c44a52c: Pull complete 07:04:57 94cc34f8dd06: Pull complete 07:04:57 30dea6a524f1: Pull complete 07:04:57 a2aff8979fd8: Pull complete 07:05:00 6808be2612f2: Pull complete 07:05:00 f25807f1079a: Pull complete 07:05:00 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 07:05:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 07:05:00 ---> 3b553350e43f 07:05:00 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:05:02 ---> Running in 085f68d5d779 07:05:02 Removing intermediate container 085f68d5d779 07:05:02 ---> 97682293aace 07:05:02 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:05:02 ---> Running in 0d922a105fc1 07:05:02 Removing intermediate container 0d922a105fc1 07:05:02 ---> 2137c0e4616b 07:05:02 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:05:02 ---> Running in 75d9829d15af 07:05:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:05:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:05:03 (1/8) Installing openssh-keygen (9.1_p1-r2) 07:05:03 (2/8) Installing libedit (20221030.3.1-r0) 07:05:03 (3/8) Installing openssh-client-common (9.1_p1-r2) 07:05:03 (4/8) Installing openssh-client-default (9.1_p1-r2) 07:05:03 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 07:05:03 (6/8) Installing openssh-server-common (9.1_p1-r2) 07:05:03 (7/8) Installing openssh-server (9.1_p1-r2) 07:05:03 (8/8) Installing openssh (9.1_p1-r2) 07:05:03 Executing busybox-1.35.0-r29.trigger 07:05:03 OK: 270 MiB in 61 packages 07:05:03 Removing intermediate container 75d9829d15af 07:05:03 ---> 5a11f4c06fb6 07:05:03 Step 6/10 : WORKDIR /device-modbus-go 07:05:03 ---> Running in 6cc6cd2fae36 07:05:03 Removing intermediate container 6cc6cd2fae36 07:05:03 ---> b08b455170bc 07:05:03 Step 7/10 : COPY go.mod vendor* ./ 07:05:03 ---> fb41946d8a5d 07:05:03 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:05:03 ---> Running in 418fba1778db 07:05:07 Still waiting to schedule task 07:05:07 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8406’ 07:05:25 Removing intermediate container 418fba1778db 07:05:25 ---> 29c5972d93a7 07:05:25 Step 9/10 : COPY . . 07:05:25 ---> 89969afcc676 07:05:25 Step 10/10 : RUN ${MAKE} 07:05:25 ---> Running in 4819e407b121 07:05:25 noop 07:05:25 Removing intermediate container 4819e407b121 07:05:25 ---> 3c2a9cb3afb1 07:05:25 Successfully built 3c2a9cb3afb1 07:05:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:05:26 + docker inspect -f . ci-base-image-x86_64 07:05:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:05:26 prd-ubuntu20.04-docker-8c-8g-8408 does not seem to be running inside a container 07:05:26 $ 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 ******** ci-base-image-x86_64 cat 07:05:26 $ docker top a85ab6619937cc0a98bf98da4b6300b44705cdb3bc0817bc70f3148fffdf02a0 -eo pid,comm [Pipeline] { [Pipeline] sh 07:05:26 + go version 07:05:26 go version go1.20.2 linux/amd64 [Pipeline] } 07:05:26 $ docker stop --time=1 a85ab6619937cc0a98bf98da4b6300b44705cdb3bc0817bc70f3148fffdf02a0 07:05:28 $ docker rm -f --volumes a85ab6619937cc0a98bf98da4b6300b44705cdb3bc0817bc70f3148fffdf02a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:05:28 + docker inspect -f . ci-base-image-x86_64 07:05:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:05:28 prd-ubuntu20.04-docker-8c-8g-8408 does not seem to be running inside a container 07:05:28 $ 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 ******** ci-base-image-x86_64 cat 07:05:28 $ docker top c5882b2b5a6969e285f8202c861f9da36390803013451d3fba9bb68b3e141f3d -eo pid,comm [Pipeline] { [Pipeline] sh 07:05:29 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 07:05:29 + make test 07:05:29 go test ./... -coverprofile=coverage.out 07:05:34 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:05:44 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:05:44 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.016s coverage: 47.5% of statements 07:05:49 go vet ./... 07:05:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:05:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:05:52 ./bin/test-attribution-txt.sh 07:05:52 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 07:05:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:05:52 $ docker stop --time=1 c5882b2b5a6969e285f8202c861f9da36390803013451d3fba9bb68b3e141f3d 07:05:54 $ docker rm -f --volumes c5882b2b5a6969e285f8202c861f9da36390803013451d3fba9bb68b3e141f3d [Pipeline] // withDockerContainer [Pipeline] sh 07:05:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:05:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:05:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:05:55 + ls -al . 07:05:55 total 180 07:05:55 drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 07:05 . 07:05:55 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 07:04 .. 07:05:55 -rw-rw-r-- 1 jenkins jenkins 140 Apr 13 07:04 .dockerignore 07:05:55 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 07:04 .git 07:05:55 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:04 .github 07:05:55 -rw-rw-r-- 1 jenkins jenkins 331 Apr 13 07:04 .gitignore 07:05:55 -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 07:04 .golangci.yml 07:05:55 drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 07:04 .semver 07:05:55 -rw-rw-r-- 1 jenkins jenkins 10004 Apr 13 07:04 Attribution.txt 07:05:55 -rw-rw-r-- 1 jenkins jenkins 11576 Apr 13 07:04 CHANGELOG.md 07:05:55 -rw-rw-r-- 1 jenkins jenkins 1365 Apr 13 07:04 Dockerfile 07:05:55 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 07:04 GOVERNANCE.md 07:05:55 -rw-rw-r-- 1 jenkins jenkins 680 Apr 13 07:04 Jenkinsfile 07:05:55 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 07:04 LICENSE 07:05:55 -rw-rw-r-- 1 jenkins jenkins 1705 Apr 13 07:04 Makefile 07:05:55 -rw-rw-r-- 1 jenkins jenkins 622 Apr 13 07:04 OWNERS.md 07:05:55 -rw-rw-r-- 1 jenkins jenkins 4045 Apr 13 07:04 README.md 07:05:55 -rw-rw-r-- 1 jenkins jenkins 12 Apr 13 07:04 VERSION 07:05:55 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 07:04 bin 07:05:55 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:04 cmd 07:05:55 -rw-r--r-- 1 jenkins jenkins 24076 Apr 13 07:05 coverage.out 07:05:55 -rw-rw-r-- 1 jenkins jenkins 3453 Apr 13 07:04 go.mod 07:05:55 -rw-rw-r-- 1 jenkins jenkins 31895 Apr 13 07:04 go.sum 07:05:55 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:04 internal 07:05:55 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 07:04 simulator 07:05:55 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 07:04 snap 07:05:55 -rw-rw-r-- 1 jenkins jenkins 229 Apr 13 07:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:05:56 + 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=55987cd457f5f1a930ff560b78c1acf5044fc241 --label arch=amd64 --label version=3.0.0-dev.26 . 07:05:56 Sending build context to Docker daemon 6.442MB 07:05:56 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 07:05:56 Step 2/22 : FROM ${BASE} AS builder 07:05:56 ---> 3c2a9cb3afb1 07:05:56 Step 3/22 : ARG ADD_BUILD_TAGS="" 07:05:56 ---> Running in 796fb2492be2 07:05:56 Removing intermediate container 796fb2492be2 07:05:56 ---> 97160fa84aa7 07:05:56 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:05:56 ---> Running in 90151f2f8530 07:05:56 Removing intermediate container 90151f2f8530 07:05:56 ---> 5fb51ae3b0a0 07:05:56 Step 5/22 : RUN apk add --update --no-cache make git openssh 07:05:56 ---> Running in 14971cffee09 07:05:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:05:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:05:57 OK: 270 MiB in 61 packages 07:05:57 Removing intermediate container 14971cffee09 07:05:57 ---> 3c7d6086ae89 07:05:57 Step 6/22 : WORKDIR /device-modbus-go 07:05:57 ---> Running in 371096e3a9bd 07:05:57 Removing intermediate container 371096e3a9bd 07:05:57 ---> 4237e7c927d8 07:05:57 Step 7/22 : COPY go.mod vendor* ./ 07:05:57 ---> 1b2541ee6fc5 07:05:57 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:05:57 ---> Running in 30a4b42bfc06 07:05:58 Removing intermediate container 30a4b42bfc06 07:05:58 ---> 588c0f6c2910 07:05:58 Step 9/22 : COPY . . 07:05:58 ---> 3008694cc4ba 07:05:58 Step 10/22 : RUN ${MAKE} 07:05:58 ---> Running in a8ba183b0a39 07:05:59 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.26" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 07:06:17 Removing intermediate container a8ba183b0a39 07:06:17 ---> 6871b1976f26 07:06:17 Step 11/22 : FROM alpine:3.17 07:06:17 3.17: Pulling from library/alpine 07:06:17 f56be85fc22e: Pulling fs layer 07:06:17 f56be85fc22e: Verifying Checksum 07:06:17 f56be85fc22e: Download complete 07:06:17 f56be85fc22e: Pull complete 07:06:17 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 07:06:17 Status: Downloaded newer image for alpine:3.17 07:06:17 ---> 9ed4aefc74f6 07:06:17 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:06:17 ---> Running in 2bcbdd583838 07:06:17 Removing intermediate container 2bcbdd583838 07:06:17 ---> 043d166b4fcf 07:06:17 Step 13/22 : RUN apk add --update --no-cache dumb-init 07:06:17 ---> Running in fb05d6d4cf81 07:06:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:06:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:06:17 (1/1) Installing dumb-init (1.2.5-r2) 07:06:17 Executing busybox-1.35.0-r29.trigger 07:06:17 OK: 7 MiB in 16 packages 07:06:17 Removing intermediate container fb05d6d4cf81 07:06:17 ---> 52b15d4cf56d 07:06:17 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 07:06:18 ---> f60ce682a554 07:06:18 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 07:06:18 ---> 08e45613744b 07:06:18 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:06:18 ---> 35a30bef9f37 07:06:18 Step 17/22 : EXPOSE 59901 07:06:18 ---> Running in db4f07fb4abf 07:06:18 Removing intermediate container db4f07fb4abf 07:06:18 ---> 089742973a68 07:06:18 Step 18/22 : ENTRYPOINT ["/device-modbus"] 07:06:18 ---> Running in 47f295833e4f 07:06:18 Removing intermediate container 47f295833e4f 07:06:18 ---> cae53204c6de 07:06:18 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:06:18 ---> Running in 9db189f86fac 07:06:18 Removing intermediate container 9db189f86fac 07:06:18 ---> cf5595c1778e 07:06:18 Step 20/22 : LABEL arch=amd64 07:06:19 ---> Running in dde09fb883eb 07:06:19 Removing intermediate container dde09fb883eb 07:06:19 ---> 49100f7ac66c 07:06:19 Step 21/22 : LABEL git_sha=55987cd457f5f1a930ff560b78c1acf5044fc241 07:06:19 ---> Running in 768e5da4b968 07:06:19 Removing intermediate container 768e5da4b968 07:06:19 ---> 211286923b32 07:06:19 Step 22/22 : LABEL version=3.0.0-dev.26 07:06:19 ---> Running in 43aa087388fd 07:06:19 Removing intermediate container 43aa087388fd 07:06:19 ---> 01e99139b18b 07:06:19 [Warning] One or more build-args [ARCH] were not consumed 07:06:19 Successfully built 01e99139b18b 07:06:19 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:06:19 provisioning config files... 07:06:19 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1077906854473373769tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:06:19 ---> docker-login.sh 07:06:19 nexus3.edgexfoundry.org:10001 07:06:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:06:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:06:19 Configure a credential helper to remove this warning. See 07:06:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:06:19 07:06:19 Login Succeeded 07:06:19 nexus3.edgexfoundry.org:10002 07:06:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:06:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:06:19 Configure a credential helper to remove this warning. See 07:06:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:06:19 07:06:19 Login Succeeded 07:06:19 nexus3.edgexfoundry.org:10003 07:06:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:06:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:06:20 Configure a credential helper to remove this warning. See 07:06:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:06:20 07:06:20 Login Succeeded 07:06:20 nexus3.edgexfoundry.org:10004 07:06:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:06:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:06:20 Configure a credential helper to remove this warning. See 07:06:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:06:20 07:06:20 Login Succeeded 07:06:20 docker.io 07:06:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:06:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:06:20 Configure a credential helper to remove this warning. See 07:06:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:06:20 07:06:20 Login Succeeded 07:06:20 ---> docker-login.sh ends [Pipeline] } 07:06:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:06:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:06:20 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 07:06:20 55987cd457f5f1a930ff560b78c1acf5044fc241 07:06:20 latest 07:06:20 3.0.0-dev.26 07:06:20 55987cd457f5f1a930ff560b78c1acf5044fc241-3.0.0-dev.26 07:06:20 main 07:06:20 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:06:20 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:55987cd457f5f1a930ff560b78c1acf5044fc241 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:06:21 + docker push nexus3.edgexfoundry.org:10004/device-modbus:55987cd457f5f1a930ff560b78c1acf5044fc241 07:06:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:06:21 b116cabbca4a: Preparing 07:06:21 beea873c6c86: Preparing 07:06:21 b46c60eb8fcd: Preparing 07:06:21 3930285abec7: Preparing 07:06:21 f1417ff83b31: Preparing 07:06:21 f1417ff83b31: Layer already exists 07:06:21 b116cabbca4a: Pushed 07:06:21 3930285abec7: Pushed 07:06:21 beea873c6c86: Pushed 07:06:24 b46c60eb8fcd: Pushed 07:06:24 55987cd457f5f1a930ff560b78c1acf5044fc241: digest: sha256:78443e7627fe4c942fa9714c3de9f8a566a72acf78ab59debe8cd21925c89a0d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:06:24 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:06:25 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 07:06:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:06:25 b116cabbca4a: Preparing 07:06:25 beea873c6c86: Preparing 07:06:25 b46c60eb8fcd: Preparing 07:06:25 3930285abec7: Preparing 07:06:25 f1417ff83b31: Preparing 07:06:25 f1417ff83b31: Layer already exists 07:06:25 b46c60eb8fcd: Layer already exists 07:06:25 beea873c6c86: Layer already exists 07:06:25 b116cabbca4a: Layer already exists 07:06:25 3930285abec7: Layer already exists 07:06:25 latest: digest: sha256:78443e7627fe4c942fa9714c3de9f8a566a72acf78ab59debe8cd21925c89a0d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:06:25 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:06:25 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.26 07:06:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:06:25 b116cabbca4a: Preparing 07:06:25 beea873c6c86: Preparing 07:06:25 b46c60eb8fcd: Preparing 07:06:25 3930285abec7: Preparing 07:06:25 f1417ff83b31: Preparing 07:06:25 beea873c6c86: Layer already exists 07:06:25 f1417ff83b31: Layer already exists 07:06:25 b116cabbca4a: Layer already exists 07:06:25 3930285abec7: Layer already exists 07:06:25 b46c60eb8fcd: Layer already exists 07:06:25 3.0.0-dev.26: digest: sha256:78443e7627fe4c942fa9714c3de9f8a566a72acf78ab59debe8cd21925c89a0d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:06:25 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:55987cd457f5f1a930ff560b78c1acf5044fc241-3.0.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:06:26 + docker push nexus3.edgexfoundry.org:10004/device-modbus:55987cd457f5f1a930ff560b78c1acf5044fc241-3.0.0-dev.26 07:06:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:06:26 b116cabbca4a: Preparing 07:06:26 beea873c6c86: Preparing 07:06:26 b46c60eb8fcd: Preparing 07:06:26 3930285abec7: Preparing 07:06:26 f1417ff83b31: Preparing 07:06:26 f1417ff83b31: Layer already exists 07:06:26 b116cabbca4a: Layer already exists 07:06:26 3930285abec7: Layer already exists 07:06:26 b46c60eb8fcd: Layer already exists 07:06:26 beea873c6c86: Layer already exists 07:06:26 55987cd457f5f1a930ff560b78c1acf5044fc241-3.0.0-dev.26: digest: sha256:78443e7627fe4c942fa9714c3de9f8a566a72acf78ab59debe8cd21925c89a0d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:06:26 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:06:26 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 07:06:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:06:26 b116cabbca4a: Preparing 07:06:26 beea873c6c86: Preparing 07:06:26 b46c60eb8fcd: Preparing 07:06:26 3930285abec7: Preparing 07:06:26 f1417ff83b31: Preparing 07:06:26 f1417ff83b31: Layer already exists 07:06:26 b116cabbca4a: Layer already exists 07:06:26 beea873c6c86: Layer already exists 07:06:26 3930285abec7: Layer already exists 07:06:26 b46c60eb8fcd: Layer already exists 07:06:26 main: digest: sha256:78443e7627fe4c942fa9714c3de9f8a566a72acf78ab59debe8cd21925c89a0d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:06:26 ===================================================== [Pipeline] echo 07:06:26 taggedImages: 07:06:26 - nexus3.edgexfoundry.org:10004/device-modbus:55987cd457f5f1a930ff560b78c1acf5044fc241 07:06:26 - nexus3.edgexfoundry.org:10004/device-modbus:latest 07:06:26 - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.26 07:06:26 - nexus3.edgexfoundry.org:10004/device-modbus:55987cd457f5f1a930ff560b78c1acf5044fc241-3.0.0-dev.26 07:06:26 - 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 07:06:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:06:27 07:06:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:06:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:06:27 latest: Pulling from edgex-lftools-log-publisher 07:06:27 5eb5b503b376: Pulling fs layer 07:06:27 5c69ac0246d0: Pulling fs layer 07:06:27 ec43610c2a17: Pulling fs layer 07:06:27 3a2ae6a8a46f: Pulling fs layer 07:06:27 33b1e0a273af: Pulling fs layer 07:06:27 5d3b04190fa2: Pulling fs layer 07:06:27 2f39f015ded8: Pulling fs layer 07:06:27 3a2ae6a8a46f: Waiting 07:06:27 33b1e0a273af: Waiting 07:06:27 5d3b04190fa2: Waiting 07:06:27 2f39f015ded8: Waiting 07:06:27 5c69ac0246d0: Verifying Checksum 07:06:27 5c69ac0246d0: Download complete 07:06:27 3a2ae6a8a46f: Download complete 07:06:27 33b1e0a273af: Verifying Checksum 07:06:27 33b1e0a273af: Download complete 07:06:27 ec43610c2a17: Verifying Checksum 07:06:27 ec43610c2a17: Download complete 07:06:27 5d3b04190fa2: Verifying Checksum 07:06:27 5d3b04190fa2: Download complete 07:06:27 5eb5b503b376: Verifying Checksum 07:06:27 5eb5b503b376: Download complete 07:06:28 2f39f015ded8: Download complete 07:06:28 5eb5b503b376: Pull complete 07:06:28 5c69ac0246d0: Pull complete 07:06:29 ec43610c2a17: Pull complete 07:06:29 3a2ae6a8a46f: Pull complete 07:06:29 33b1e0a273af: Pull complete 07:06:29 5d3b04190fa2: Pull complete 07:06:33 2f39f015ded8: Pull complete 07:06:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:06:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:06:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:06:34 prd-ubuntu20.04-docker-8c-8g-8408 does not seem to be running inside a container 07:06:34 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:06:36 $ docker top bad766db8e207432f9d91b6965592036076274703cabb53bb207d7240b1446ec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:06:36 ---> job-cost.sh 07:06:36 lf-activate-venv: SKIPPING 07:06:36 INFO: No Stack... 07:06:36 INFO: Retrieving Pricing Info for: v3-standard-8 07:06:36 INFO: Archiving Costs [Pipeline] sh 07:06:37 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 07:06:37 + cut -d, -f6 [Pipeline] lock 07:06:37 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-92-stack-cost] 07:06:37 Resource [jenkins-edgexfoundry-device-modbus-go-main-92-stack-cost] did not exist. Created. 07:06:37 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-92-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:06:37 + echo total: 0.2199999988079071 [Pipeline] stash 07:06:37 Stashed 1 file(s) [Pipeline] } 07:06:37 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-92-stack-cost] [Pipeline] // lock [Pipeline] } 07:06:37 $ docker stop --time=1 bad766db8e207432f9d91b6965592036076274703cabb53bb207d7240b1446ec 07:06:38 $ docker rm -f --volumes bad766db8e207432f9d91b6965592036076274703cabb53bb207d7240b1446ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:07:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8411 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 07:07:39 Running in /w/workspace/device-modbus-go/92 [Pipeline] { [Pipeline] checkout 07:07:39 Selected Git installation does not exist. Using Default 07:07:39 The recommended git tool is: NONE 07:07:45 using credential edgex-jenkins-ssh 07:07:45 Cloning the remote Git repository 07:07:45 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 07:07:45 > git init /w/workspace/device-modbus-go/92 # timeout=10 07:07:45 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:07:45 > git --version # timeout=10 07:07:45 > git --version # 'git version 2.25.1' 07:07:45 using GIT_SSH to set credentials SSH Credentials for GitHub 07:07:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:07:47 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:07:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:07:48 Avoid second fetch 07:07:48 Checking out Revision 55987cd457f5f1a930ff560b78c1acf5044fc241 (main) 07:07:48 > git config core.sparsecheckout # timeout=10 07:07:48 > git checkout -f 55987cd457f5f1a930ff560b78c1acf5044fc241 # timeout=10 07:07:48 Commit message: "Merge pull request #452 from weichou1229/interface-change" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:07:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:07:49 % Total % Received % Xferd Average Speed Time Time Time Current 07:07:49 Dload Upload Total Spent Left Speed 07:07:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99617 0 --:--:-- --:--:-- --:--:-- 99617 [Pipeline] sh 07:07:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:07:50 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:07:50 + sudo tee /etc/docker/daemon.new 07:07:50 { 07:07:50 "registry-mirrors": [ 07:07:50 "https://nexus3.edgexfoundry.org:10001" 07:07:50 ], 07:07:50 "bip": "10.250.0.254/24", 07:07:50 "hosts": [ 07:07:50 "tcp://0.0.0.0:5555", 07:07:50 "unix:///var/run/docker.sock" 07:07:50 ], 07:07:50 "mtu": 1458, 07:07:50 "selinux-enabled": true, 07:07:50 "seccomp-profile": "/etc/docker/seccomp.json" 07:07:50 } [Pipeline] sh 07:07:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:07:51 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:08:09 provisioning config files... 07:08:09 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/92@tmp/config8402763793134358952tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:08:10 ---> docker-login.sh 07:08:10 nexus3.edgexfoundry.org:10001 07:08:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:08:10 Configure a credential helper to remove this warning. See 07:08:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:08:10 07:08:10 Login Succeeded 07:08:10 nexus3.edgexfoundry.org:10002 07:08:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:08:11 Configure a credential helper to remove this warning. See 07:08:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:08:11 07:08:11 Login Succeeded 07:08:11 nexus3.edgexfoundry.org:10003 07:08:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:08:11 Configure a credential helper to remove this warning. See 07:08:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:08:11 07:08:11 Login Succeeded 07:08:11 nexus3.edgexfoundry.org:10004 07:08:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:08:12 Configure a credential helper to remove this warning. See 07:08:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:08:12 07:08:12 Login Succeeded 07:08:12 docker.io 07:08:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:08:12 Configure a credential helper to remove this warning. See 07:08:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:08:12 07:08:12 Login Succeeded 07:08:12 ---> docker-login.sh ends [Pipeline] } 07:08:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:08:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:08:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:08:12 ========================================================= 07:08:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 07:08:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:13 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 07:08:13 Sending build context to Docker daemon 3.353MB 07:08:13 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 07:08:13 Step 2/10 : FROM ${BASE} AS builder 07:08:13 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:08:13 af6eaf76a39c: Pulling fs layer 07:08:13 55522c791124: Pulling fs layer 07:08:13 ce5c4a1c91eb: Pulling fs layer 07:08:13 169dfbe0d373: Pulling fs layer 07:08:13 e1ff8fa3b103: Pulling fs layer 07:08:13 52ebb69f0ebf: Pulling fs layer 07:08:13 5abe8eddf0d5: Pulling fs layer 07:08:13 169dfbe0d373: Waiting 07:08:13 e1ff8fa3b103: Waiting 07:08:13 52ebb69f0ebf: Waiting 07:08:13 5abe8eddf0d5: Waiting 07:08:13 55522c791124: Verifying Checksum 07:08:13 55522c791124: Download complete 07:08:13 169dfbe0d373: Verifying Checksum 07:08:13 169dfbe0d373: Download complete 07:08:13 e1ff8fa3b103: Verifying Checksum 07:08:13 e1ff8fa3b103: Download complete 07:08:14 af6eaf76a39c: Verifying Checksum 07:08:14 af6eaf76a39c: Download complete 07:08:15 af6eaf76a39c: Pull complete 07:08:15 5abe8eddf0d5: Verifying Checksum 07:08:15 5abe8eddf0d5: Download complete 07:08:16 55522c791124: Pull complete 07:08:16 ce5c4a1c91eb: Verifying Checksum 07:08:16 ce5c4a1c91eb: Download complete 07:08:16 52ebb69f0ebf: Verifying Checksum 07:08:16 52ebb69f0ebf: Download complete 07:08:29 ce5c4a1c91eb: Pull complete 07:08:29 169dfbe0d373: Pull complete 07:08:29 e1ff8fa3b103: Pull complete 07:08:35 52ebb69f0ebf: Pull complete 07:08:37 5abe8eddf0d5: Pull complete 07:08:37 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 07:08:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 07:08:37 ---> 6cb57ee374ae 07:08:37 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:08:39 ---> Running in b1df7c4257e4 07:08:40 Removing intermediate container b1df7c4257e4 07:08:40 ---> f91a324c58e2 07:08:40 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:08:40 ---> Running in 57652a621aca 07:08:40 Removing intermediate container 57652a621aca 07:08:40 ---> 7be67d8281fd 07:08:40 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:08:41 ---> Running in bbd09c202ac5 07:08:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:08:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:08:44 (1/8) Installing openssh-keygen (9.1_p1-r2) 07:08:44 (2/8) Installing libedit (20221030.3.1-r0) 07:08:44 (3/8) Installing openssh-client-common (9.1_p1-r2) 07:08:44 (4/8) Installing openssh-client-default (9.1_p1-r2) 07:08:44 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 07:08:44 (6/8) Installing openssh-server-common (9.1_p1-r2) 07:08:44 (7/8) Installing openssh-server (9.1_p1-r2) 07:08:44 (8/8) Installing openssh (9.1_p1-r2) 07:08:44 Executing busybox-1.35.0-r29.trigger 07:08:44 OK: 270 MiB in 61 packages 07:08:45 Removing intermediate container bbd09c202ac5 07:08:45 ---> 23f85e68be10 07:08:45 Step 6/10 : WORKDIR /device-modbus-go 07:08:45 ---> Running in e56830a4e243 07:08:46 Removing intermediate container e56830a4e243 07:08:46 ---> 5ca0ac163195 07:08:46 Step 7/10 : COPY go.mod vendor* ./ 07:08:46 ---> 6c0358f3abc6 07:08:46 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:08:47 ---> Running in 84c02c0e1189 07:09:55 Removing intermediate container 84c02c0e1189 07:09:55 ---> c4981aa5af3d 07:09:55 Step 9/10 : COPY . . 07:09:55 ---> fe71acde315c 07:09:55 Step 10/10 : RUN ${MAKE} 07:09:55 ---> Running in e0baea738c1b 07:09:55 noop 07:09:55 Removing intermediate container e0baea738c1b 07:09:55 ---> e786996bc425 07:09:55 Successfully built e786996bc425 07:09:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:09:55 + docker inspect -f . ci-base-image-arm64 07:09:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:09:55 prd-ubuntu20.04-docker-arm64-4c-16g-8411 does not seem to be running inside a container 07:09:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/92 -v /w/workspace/device-modbus-go/92:/w/workspace/device-modbus-go/92:rw,z -v /w/workspace/device-modbus-go/92@tmp:/w/workspace/device-modbus-go/92@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 07:09:57 $ docker top 3a393bfe35062f4808aacfff54e8ccbad939cd395117907a964ef728b4c323c9 -eo pid,comm [Pipeline] { [Pipeline] sh 07:09:57 + go version 07:09:57 go version go1.20.2 linux/arm64 [Pipeline] } 07:09:58 $ docker stop --time=1 3a393bfe35062f4808aacfff54e8ccbad939cd395117907a964ef728b4c323c9 07:09:59 $ docker rm -f --volumes 3a393bfe35062f4808aacfff54e8ccbad939cd395117907a964ef728b4c323c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:00 + docker inspect -f . ci-base-image-arm64 07:10:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:10:00 prd-ubuntu20.04-docker-arm64-4c-16g-8411 does not seem to be running inside a container 07:10:00 $ 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/92 -v /w/workspace/device-modbus-go/92:/w/workspace/device-modbus-go/92:rw,z -v /w/workspace/device-modbus-go/92@tmp:/w/workspace/device-modbus-go/92@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 07:10:01 $ docker top ae3f0ad2a181cf659ddbaefb628d7839f0cc56f529f54f0aefdbf94cd34de019 -eo pid,comm [Pipeline] { [Pipeline] sh 07:10:02 + git config --global --add safe.directory /w/workspace/device-modbus-go/92 [Pipeline] fileExists [Pipeline] sh 07:10:03 + make test 07:10:03 go test ./... -coverprofile=coverage.out 07:10:42 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:12:48 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:12:48 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.075s coverage: 47.5% of statements 07:12:48 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:12:48 go vet ./... 07:13:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:13:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:13:27 ./bin/test-attribution-txt.sh 07:13:27 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 07:13:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:13:27 $ docker stop --time=1 ae3f0ad2a181cf659ddbaefb628d7839f0cc56f529f54f0aefdbf94cd34de019 07:13:29 $ docker rm -f --volumes ae3f0ad2a181cf659ddbaefb628d7839f0cc56f529f54f0aefdbf94cd34de019 [Pipeline] // withDockerContainer [Pipeline] sh 07:13:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:13:30 Warning: overwriting stash ‘coverage-report’ 07:13:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:13:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:13:32 + ls -al . 07:13:32 total 176 07:13:32 drwxrwxr-x 9 jenkins jenkins 4096 Apr 13 07:10 . 07:13:32 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 07:07 .. 07:13:32 -rw-rw-r-- 1 jenkins jenkins 140 Apr 13 07:07 .dockerignore 07:13:32 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 07:07 .git 07:13:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:07 .github 07:13:32 -rw-rw-r-- 1 jenkins jenkins 331 Apr 13 07:07 .gitignore 07:13:32 -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 07:07 .golangci.yml 07:13:32 -rw-rw-r-- 1 jenkins jenkins 10004 Apr 13 07:07 Attribution.txt 07:13:32 -rw-rw-r-- 1 jenkins jenkins 11576 Apr 13 07:07 CHANGELOG.md 07:13:32 -rw-rw-r-- 1 jenkins jenkins 1365 Apr 13 07:07 Dockerfile 07:13:32 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 07:07 GOVERNANCE.md 07:13:32 -rw-rw-r-- 1 jenkins jenkins 680 Apr 13 07:07 Jenkinsfile 07:13:32 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 07:07 LICENSE 07:13:32 -rw-rw-r-- 1 jenkins jenkins 1705 Apr 13 07:07 Makefile 07:13:32 -rw-rw-r-- 1 jenkins jenkins 622 Apr 13 07:07 OWNERS.md 07:13:32 -rw-rw-r-- 1 jenkins jenkins 4045 Apr 13 07:07 README.md 07:13:32 -rw-rw-r-- 1 jenkins jenkins 12 Apr 13 07:04 VERSION 07:13:32 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 07:07 bin 07:13:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:07 cmd 07:13:32 -rw-r--r-- 1 jenkins jenkins 24076 Apr 13 07:12 coverage.out 07:13:32 -rw-rw-r-- 1 jenkins jenkins 3453 Apr 13 07:07 go.mod 07:13:32 -rw-rw-r-- 1 jenkins jenkins 31895 Apr 13 07:07 go.sum 07:13:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:07 internal 07:13:32 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 07:07 simulator 07:13:32 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 07:07 snap 07:13:32 -rw-rw-r-- 1 jenkins jenkins 229 Apr 13 07:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:32 + 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=55987cd457f5f1a930ff560b78c1acf5044fc241 --label arch=arm64 --label version=3.0.0-dev.26 . 07:13:32 Sending build context to Docker daemon 3.378MB 07:13:32 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 07:13:32 Step 2/22 : FROM ${BASE} AS builder 07:13:32 ---> e786996bc425 07:13:32 Step 3/22 : ARG ADD_BUILD_TAGS="" 07:13:33 ---> Running in 229c3c665ccc 07:13:33 Removing intermediate container 229c3c665ccc 07:13:33 ---> 68ca6dc69cde 07:13:33 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:13:33 ---> Running in 8e6c9a514791 07:13:34 Removing intermediate container 8e6c9a514791 07:13:34 ---> a0071961f4a9 07:13:34 Step 5/22 : RUN apk add --update --no-cache make git openssh 07:13:34 ---> Running in 727d347b41b0 07:13:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:13:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:13:37 OK: 270 MiB in 61 packages 07:13:37 Removing intermediate container 727d347b41b0 07:13:37 ---> 9e84d6cbe8a4 07:13:37 Step 6/22 : WORKDIR /device-modbus-go 07:13:37 ---> Running in e72a0d740435 07:13:38 Removing intermediate container e72a0d740435 07:13:38 ---> 2c36c64bd571 07:13:38 Step 7/22 : COPY go.mod vendor* ./ 07:13:38 ---> 31c5a41faba5 07:13:38 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:13:38 ---> Running in 44266f187c36 07:13:41 Removing intermediate container 44266f187c36 07:13:41 ---> 98d7b911372d 07:13:41 Step 9/22 : COPY . . 07:13:42 ---> 49a48af4e2df 07:13:42 Step 10/22 : RUN ${MAKE} 07:13:42 ---> Running in c4e916ce4fa7 07:13:43 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.26" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 07:16:20 Removing intermediate container c4e916ce4fa7 07:16:20 ---> 76d59ee8fd8d 07:16:20 Step 11/22 : FROM alpine:3.17 07:16:20 3.17: Pulling from library/alpine 07:16:20 c41833b44d91: Pulling fs layer 07:16:20 c41833b44d91: Verifying Checksum 07:16:20 c41833b44d91: Download complete 07:16:20 c41833b44d91: Pull complete 07:16:20 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 07:16:20 Status: Downloaded newer image for alpine:3.17 07:16:20 ---> 51e60588ff2c 07:16:20 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:16:20 ---> Running in 6b767f287f1d 07:16:20 Removing intermediate container 6b767f287f1d 07:16:20 ---> fbf6ba8277e5 07:16:20 Step 13/22 : RUN apk add --update --no-cache dumb-init 07:16:20 ---> Running in 8f0e3bead996 07:16:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:16:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:16:20 (1/1) Installing dumb-init (1.2.5-r2) 07:16:20 Executing busybox-1.35.0-r29.trigger 07:16:20 OK: 8 MiB in 16 packages 07:16:21 Removing intermediate container 8f0e3bead996 07:16:21 ---> 354563b64c72 07:16:21 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 07:16:22 ---> e6201b6fdab6 07:16:22 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 07:16:23 ---> 54a83f6cac8b 07:16:23 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:16:23 ---> d8366b3a2eee 07:16:23 Step 17/22 : EXPOSE 59901 07:16:23 ---> Running in 2944fbc5219e 07:16:24 Removing intermediate container 2944fbc5219e 07:16:24 ---> 3aba4145da3a 07:16:24 Step 18/22 : ENTRYPOINT ["/device-modbus"] 07:16:24 ---> Running in c5f846143794 07:16:24 Removing intermediate container c5f846143794 07:16:24 ---> 27d99cd3ae80 07:16:24 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:16:24 ---> Running in 47e0d2cb5e97 07:16:25 Removing intermediate container 47e0d2cb5e97 07:16:25 ---> f3795216671c 07:16:25 Step 20/22 : LABEL arch=arm64 07:16:25 ---> Running in 8e8e142d71da 07:16:25 Removing intermediate container 8e8e142d71da 07:16:25 ---> 110b535e5cab 07:16:25 Step 21/22 : LABEL git_sha=55987cd457f5f1a930ff560b78c1acf5044fc241 07:16:25 ---> Running in 2d9f403b7268 07:16:26 Removing intermediate container 2d9f403b7268 07:16:26 ---> ae648558fe5d 07:16:26 Step 22/22 : LABEL version=3.0.0-dev.26 07:16:26 ---> Running in 5f2f27ac3530 07:16:26 Removing intermediate container 5f2f27ac3530 07:16:26 ---> 89e092222b8f 07:16:26 [Warning] One or more build-args [ARCH] were not consumed 07:16:26 Successfully built 89e092222b8f 07:16:26 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 07:16:26 provisioning config files... 07:16:26 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/92@tmp/config17053151522241398281tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:16:26 ---> docker-login.sh 07:16:26 nexus3.edgexfoundry.org:10001 07:16:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:16:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:16:27 Configure a credential helper to remove this warning. See 07:16:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:16:27 07:16:27 Login Succeeded 07:16:27 nexus3.edgexfoundry.org:10002 07:16:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:16:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:16:27 Configure a credential helper to remove this warning. See 07:16:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:16:27 07:16:27 Login Succeeded 07:16:27 nexus3.edgexfoundry.org:10003 07:16:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:16:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:16:27 Configure a credential helper to remove this warning. See 07:16:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:16:27 07:16:27 Login Succeeded 07:16:27 nexus3.edgexfoundry.org:10004 07:16:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:16:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:16:28 Configure a credential helper to remove this warning. See 07:16:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:16:28 07:16:28 Login Succeeded 07:16:28 docker.io 07:16:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:16:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:16:28 Configure a credential helper to remove this warning. See 07:16:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:16:28 07:16:28 Login Succeeded 07:16:29 ---> docker-login.sh ends [Pipeline] } 07:16:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:16:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:16:29 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 07:16:29 55987cd457f5f1a930ff560b78c1acf5044fc241 07:16:29 latest 07:16:29 3.0.0-dev.26 07:16:29 55987cd457f5f1a930ff560b78c1acf5044fc241-3.0.0-dev.26 07:16:29 main 07:16:29 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:29 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:55987cd457f5f1a930ff560b78c1acf5044fc241 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:29 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:55987cd457f5f1a930ff560b78c1acf5044fc241 07:16:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:16:29 b041f294a7ee: Preparing 07:16:29 0574d6205940: Preparing 07:16:29 55243936b5cb: Preparing 07:16:29 437fb7b90f40: Preparing 07:16:29 26cbea5cba74: Preparing 07:16:30 26cbea5cba74: Layer already exists 07:16:30 437fb7b90f40: Pushed 07:16:30 b041f294a7ee: Pushed 07:16:30 0574d6205940: Pushed 07:16:36 55243936b5cb: Pushed 07:16:36 55987cd457f5f1a930ff560b78c1acf5044fc241: digest: sha256:055983f5a5c2f9e30b5bb6993f31652f7bffb74d82e7c240859dca13292aecc8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:37 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:37 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 07:16:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:16:37 b041f294a7ee: Preparing 07:16:37 0574d6205940: Preparing 07:16:37 55243936b5cb: Preparing 07:16:37 437fb7b90f40: Preparing 07:16:37 26cbea5cba74: Preparing 07:16:37 b041f294a7ee: Layer already exists 07:16:37 55243936b5cb: Layer already exists 07:16:37 437fb7b90f40: Layer already exists 07:16:37 26cbea5cba74: Layer already exists 07:16:37 0574d6205940: Layer already exists 07:16:37 latest: digest: sha256:055983f5a5c2f9e30b5bb6993f31652f7bffb74d82e7c240859dca13292aecc8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:38 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:38 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.26 07:16:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:16:38 b041f294a7ee: Preparing 07:16:38 0574d6205940: Preparing 07:16:38 55243936b5cb: Preparing 07:16:38 437fb7b90f40: Preparing 07:16:38 26cbea5cba74: Preparing 07:16:38 437fb7b90f40: Layer already exists 07:16:38 55243936b5cb: Layer already exists 07:16:38 26cbea5cba74: Layer already exists 07:16:38 0574d6205940: Layer already exists 07:16:38 b041f294a7ee: Layer already exists 07:16:38 3.0.0-dev.26: digest: sha256:055983f5a5c2f9e30b5bb6993f31652f7bffb74d82e7c240859dca13292aecc8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:39 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:55987cd457f5f1a930ff560b78c1acf5044fc241-3.0.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:39 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:55987cd457f5f1a930ff560b78c1acf5044fc241-3.0.0-dev.26 07:16:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:16:39 b041f294a7ee: Preparing 07:16:39 0574d6205940: Preparing 07:16:39 55243936b5cb: Preparing 07:16:39 437fb7b90f40: Preparing 07:16:39 26cbea5cba74: Preparing 07:16:39 55243936b5cb: Layer already exists 07:16:39 b041f294a7ee: Layer already exists 07:16:39 26cbea5cba74: Layer already exists 07:16:39 0574d6205940: Layer already exists 07:16:39 437fb7b90f40: Layer already exists 07:16:39 55987cd457f5f1a930ff560b78c1acf5044fc241-3.0.0-dev.26: digest: sha256:055983f5a5c2f9e30b5bb6993f31652f7bffb74d82e7c240859dca13292aecc8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:40 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:40 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 07:16:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:16:40 b041f294a7ee: Preparing 07:16:40 0574d6205940: Preparing 07:16:40 55243936b5cb: Preparing 07:16:40 437fb7b90f40: Preparing 07:16:40 26cbea5cba74: Preparing 07:16:40 26cbea5cba74: Layer already exists 07:16:40 0574d6205940: Layer already exists 07:16:40 b041f294a7ee: Layer already exists 07:16:40 437fb7b90f40: Layer already exists 07:16:40 55243936b5cb: Layer already exists 07:16:40 main: digest: sha256:055983f5a5c2f9e30b5bb6993f31652f7bffb74d82e7c240859dca13292aecc8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:16:40 ===================================================== [Pipeline] echo 07:16:40 taggedImages: 07:16:40 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:55987cd457f5f1a930ff560b78c1acf5044fc241 07:16:40 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 07:16:40 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.26 07:16:40 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:55987cd457f5f1a930ff560b78c1acf5044fc241-3.0.0-dev.26 07:16:40 - 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 07:16:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:16:41 07:16:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:16:41 arm64: Pulling from edgex-lftools-log-publisher 07:16:41 8998bd30e6a1: Pulling fs layer 07:16:41 04944245beec: Pulling fs layer 07:16:41 699f458cf7ca: Pulling fs layer 07:16:41 765212b225bb: Pulling fs layer 07:16:41 f23df028b6ca: Pulling fs layer 07:16:41 d65c8cfc05b1: Pulling fs layer 07:16:41 2437ff75d9bd: Pulling fs layer 07:16:41 f23df028b6ca: Waiting 07:16:41 765212b225bb: Waiting 07:16:41 d65c8cfc05b1: Waiting 07:16:41 2437ff75d9bd: Waiting 07:16:41 04944245beec: Verifying Checksum 07:16:41 765212b225bb: Verifying Checksum 07:16:41 765212b225bb: Download complete 07:16:41 f23df028b6ca: Download complete 07:16:41 d65c8cfc05b1: Verifying Checksum 07:16:41 d65c8cfc05b1: Download complete 07:16:41 699f458cf7ca: Verifying Checksum 07:16:41 699f458cf7ca: Download complete 07:16:42 8998bd30e6a1: Download complete 07:16:44 2437ff75d9bd: Verifying Checksum 07:16:44 2437ff75d9bd: Download complete 07:16:46 8998bd30e6a1: Pull complete 07:16:46 04944245beec: Pull complete 07:16:48 699f458cf7ca: Pull complete 07:16:48 765212b225bb: Pull complete 07:16:49 f23df028b6ca: Pull complete 07:16:49 d65c8cfc05b1: Pull complete 07:17:07 2437ff75d9bd: Pull complete 07:17:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:17:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:17:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:17:07 prd-ubuntu20.04-docker-arm64-4c-16g-8411 does not seem to be running inside a container 07:17:08 $ 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/92 -v /w/workspace/device-modbus-go/92:/w/workspace/device-modbus-go/92:rw,z -v /w/workspace/device-modbus-go/92@tmp:/w/workspace/device-modbus-go/92@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 07:17:10 $ docker top ec9e33d40d688d1a09403738adfa967a7a8825fc152e6188b0f98e90f902ec81 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:17:11 ---> job-cost.sh 07:17:11 lf-activate-venv: SKIPPING 07:17:11 INFO: No Stack... 07:17:12 INFO: Retrieving Pricing Info for: v3-standard-4 07:17:13 INFO: Archiving Costs [Pipeline] sh 07:17:13 + cat /w/workspace/device-modbus-go/92/archives/cost.csv 07:17:13 + cut -d, -f6 [Pipeline] lock 07:17:14 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-92-stack-cost] 07:17:14 Resource [jenkins-edgexfoundry-device-modbus-go-main-92-stack-cost] did not exist. Created. 07:17:14 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-92-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:17:14 /w/workspace/device-modbus-go/92@tmp/durable-7ab90935/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:17:15 + echo total: 0.10999999940395355 [Pipeline] stash 07:17:15 Warning: overwriting stash ‘stack-cost’ 07:17:15 Stashed 1 file(s) [Pipeline] } 07:17:15 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-92-stack-cost] [Pipeline] // lock [Pipeline] } 07:17:15 $ docker stop --time=1 ec9e33d40d688d1a09403738adfa967a7a8825fc152e6188b0f98e90f902ec81 07:17:17 $ docker rm -f --volumes ec9e33d40d688d1a09403738adfa967a7a8825fc152e6188b0f98e90f902ec81 [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 07:17:17 provisioning config files... 07:17:17 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14350977809014766031tmp [Pipeline] { [Pipeline] sh 07:17:17 + set +x 07:17:17 + curl -s https://codecov.io/bash 07:17:17 + bash -s -- 07:17:17 07:17:17 _____ _ 07:17:17 / ____| | | 07:17:17 | | ___ __| | ___ ___ _____ __ 07:17:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:17:17 | |___| (_) | (_| | __/ (_| (_) \ V / 07:17:17 \_____\___/ \__,_|\___|\___\___/ \_/ 07:17:17 Bash-1.0.6 07:17:17 07:17:17 07:17:17 ==> git version 2.25.1 found 07:17:17 ==> 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 07:17:17 Release-Date: 2020-01-08 07:17:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:17:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:17:17 ==> Jenkins CI detected. 07:17:17 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 07:17:17 project root: . 07:17:17 --> token set from env 07:17:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:17:17 ==> Running gcov in . (disable via -X gcov) 07:17:17 ==> Python coveragepy not found 07:17:17 ==> Searching for coverage reports in: 07:17:17 + . 07:17:17 -> Found 1 reports 07:17:17 ==> Detecting git/mercurial file structure 07:17:17 ==> Reading reports 07:17:17 + ./coverage.out bytes=24076 07:17:17 ==> Appending adjustments 07:17:17 https://docs.codecov.io/docs/fixing-reports 07:17:17 + Found adjustments 07:17:17 ==> Gzipping contents 07:17:17 4.0K /tmp/codecov.9D8ng1.gz 07:17:17 ==> Uploading reports 07:17:17 url: https://codecov.io 07:17:17 query: branch=main&commit=55987cd457f5f1a930ff560b78c1acf5044fc241&build=92&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F92%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:17:17 -> Pinging Codecov 07:17:17 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=55987cd457f5f1a930ff560b78c1acf5044fc241&build=92&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F92%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:17:17 -> Uploading to 07:17:17 https://storage.googleapis.com/codecov/v4/raw/2023-04-13/55DBCA73C666E3227836607328DD7E49/55987cd457f5f1a930ff560b78c1acf5044fc241/ef1d5c68-de40-487e-bc71-4a401290be4f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230413T071717Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1200916774cb646229ce602b9efc995d2fccd420f0cffc3479890dd85b8c6c25 07:17:18 % Total % Received % Xferd Average Speed Time Time Time Current 07:17:18 Dload Upload Total Spent Left Speed 07:17:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3917 0 0 100 3917 0 15858 --:--:-- --:--:-- --:--:-- 15858 07:17:18 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/55987cd457f5f1a930ff560b78c1acf5044fc241 [Pipeline] } 07:17:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:17:18 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:17:18 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:17:18 07:17:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:17:19 1.410.4: Pulling from edgex-devops/edgex-snyk-go 07:17:19 df9b9388f04a: Pulling fs layer 07:17:19 52dc419b0ee2: Pulling fs layer 07:17:19 25bc292e5bac: Pulling fs layer 07:17:19 114826534d7a: Pulling fs layer 07:17:19 4657fd5d0bcf: Pulling fs layer 07:17:19 6ad1cebc031e: Pulling fs layer 07:17:19 8a3aa393b2d8: Pulling fs layer 07:17:19 4657fd5d0bcf: Waiting 07:17:19 6ad1cebc031e: Waiting 07:17:19 8a3aa393b2d8: Waiting 07:17:19 114826534d7a: Waiting 07:17:19 25bc292e5bac: Download complete 07:17:19 52dc419b0ee2: Verifying Checksum 07:17:19 52dc419b0ee2: Download complete 07:17:19 4657fd5d0bcf: Download complete 07:17:19 df9b9388f04a: Verifying Checksum 07:17:19 df9b9388f04a: Download complete 07:17:19 6ad1cebc031e: Verifying Checksum 07:17:19 6ad1cebc031e: Download complete 07:17:19 df9b9388f04a: Pull complete 07:17:19 52dc419b0ee2: Pull complete 07:17:19 25bc292e5bac: Pull complete 07:17:19 114826534d7a: Verifying Checksum 07:17:19 114826534d7a: Download complete 07:17:19 8a3aa393b2d8: Verifying Checksum 07:17:19 8a3aa393b2d8: Download complete 07:17:23 114826534d7a: Pull complete 07:17:23 4657fd5d0bcf: Pull complete 07:17:23 6ad1cebc031e: Pull complete 07:17:25 8a3aa393b2d8: Pull complete 07:17:25 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 07:17:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:17:25 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:17:25 prd-ubuntu20.04-docker-8c-8g-8408 does not seem to be running inside a container 07:17:25 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 07:17:27 $ docker top 80274d67cfdacb3391eb11adc73ade18430b20b4ad3dd92817bb2d562d9e3847 -eo pid,comm [Pipeline] { [Pipeline] echo 07:17:27 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 07:17:28 + set -o pipefail 07:17:28 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 07:17:34 07:17:34 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 07:17:34 07:17:34 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/6ce1504c-5de4-46ea-a6f7-e486f1ef4767 07:17:34 07:17:34 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 07:17:34 07:17:34 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:17:34 07:17:34 07:17:34 A medium severity vulnerability was found in the Snyk CLI versions you are using. 07:17:34 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 07:17:34 More details here: https://snyk.co/ue1NS 07:17:34 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 07:17:34 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 07:17:34 $ docker stop --time=1 80274d67cfdacb3391eb11adc73ade18430b20b4ad3dd92817bb2d562d9e3847 07:17:37 $ docker rm -f --volumes 80274d67cfdacb3391eb11adc73ade18430b20b4ad3dd92817bb2d562d9e3847 [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 07:17:37 + git log --format=format:%s -1 55987cd457f5f1a930ff560b78c1acf5044fc241 [Pipeline] sh 07:17:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:17:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:17:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:17:38 prd-ubuntu20.04-docker-8c-8g-8408 does not seem to be running inside a container 07:17:38 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:17:38 $ docker top 46e458c92a84531d055ed5b6f17ac8466146b0a4783bcb9e5f9ed627de559d6e -eo pid,comm 07:17:38 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). 07:17:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:17:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:17:38 [ssh-agent] Looking for ssh-agent implementation... 07:17:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:17:39 $ docker exec 46e458c92a84531d055ed5b6f17ac8466146b0a4783bcb9e5f9ed627de559d6e ssh-agent 07:17:39 SSH_AUTH_SOCK=/tmp/ssh-35PQwvyO6Fri/agent.32 07:17:39 SSH_AGENT_PID=39 07:17:39 Running ssh-add (command line suppressed) 07:17:39 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15407740180839184825.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15407740180839184825.key) 07:17:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:17:39 + git semver tag 07:17:39 2023-04-13 07:17:39,731 [run_tag] DEBUG tag force:False 07:17:39 2023-04-13 07:17:39,731 [check_head_tag] DEBUG check head tag 07:17:39 2023-04-13 07:17:39,733 [execute] INFO git cat-file --batch-check 07:17:39 2023-04-13 07:17:39,733 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 07:17:39 2023-04-13 07:17:39,737 [execute] INFO git cat-file --batch 07:17:39 2023-04-13 07:17:39,738 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 07:17:39 2023-04-13 07:17:39,759 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:17:39 2023-04-13 07:17:39,759 [execute] INFO git tag -a v3.0.0-dev.26 -m v3.0.0-dev.26 07:17:39 2023-04-13 07:17:39,759 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.26', '-m', 'v3.0.0-dev.26'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 07:17:39 2023-04-13 07:17:39,764 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:17:39 3.0.0-dev.26 [Pipeline] } 07:17:39 $ docker exec --env ******** --env ******** 46e458c92a84531d055ed5b6f17ac8466146b0a4783bcb9e5f9ed627de559d6e ssh-agent -k 07:17:39 unset SSH_AUTH_SOCK; 07:17:39 unset SSH_AGENT_PID; 07:17:39 echo Agent pid 39 killed; 07:17:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:17:40 + git semver [Pipeline] } 07:17:40 $ docker stop --time=1 46e458c92a84531d055ed5b6f17ac8466146b0a4783bcb9e5f9ed627de559d6e 07:17:41 $ docker rm -f --volumes 46e458c92a84531d055ed5b6f17ac8466146b0a4783bcb9e5f9ed627de559d6e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:17:42 07:17:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:17:42 0.23.1-centos7: Pulling from edgex-lftools 07:17:42 ab5ef0e58194: Pulling fs layer 07:17:42 9712f1f96733: Pulling fs layer 07:17:42 63f879dbbcfc: Pulling fs layer 07:17:42 0d9ebad4ef96: Pulling fs layer 07:17:42 e9a5061849ea: Pulling fs layer 07:17:42 d747dcd14b5f: Pulling fs layer 07:17:42 2de7ff778b66: Pulling fs layer 07:17:42 0d9ebad4ef96: Waiting 07:17:42 e9a5061849ea: Waiting 07:17:42 d747dcd14b5f: Waiting 07:17:42 2de7ff778b66: Waiting 07:17:42 9712f1f96733: Download complete 07:17:42 63f879dbbcfc: Verifying Checksum 07:17:42 63f879dbbcfc: Download complete 07:17:43 e9a5061849ea: Verifying Checksum 07:17:43 e9a5061849ea: Download complete 07:17:43 d747dcd14b5f: Verifying Checksum 07:17:43 d747dcd14b5f: Download complete 07:17:43 ab5ef0e58194: Verifying Checksum 07:17:43 ab5ef0e58194: Download complete 07:17:43 0d9ebad4ef96: Verifying Checksum 07:17:43 0d9ebad4ef96: Download complete 07:17:43 2de7ff778b66: Verifying Checksum 07:17:43 2de7ff778b66: Download complete 07:17:45 ab5ef0e58194: Pull complete 07:17:45 9712f1f96733: Pull complete 07:17:46 63f879dbbcfc: Pull complete 07:17:50 0d9ebad4ef96: Pull complete 07:17:50 e9a5061849ea: Pull complete 07:17:50 d747dcd14b5f: Pull complete 07:17:51 2de7ff778b66: Pull complete 07:17:51 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:17:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:17:51 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:17:51 prd-ubuntu20.04-docker-8c-8g-8408 does not seem to be running inside a container 07:17:51 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 07:17:53 $ docker top 6ab20a7b9da4bd4d20c2329479b74f060377e3df741ab738036a6eb3685a23bf -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:17:53 provisioning config files... 07:17:53 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config18088968128364116097tmp 07:17:53 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13045589666372828401tmp 07:17:53 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4583540390763227888tmp [Pipeline] { [Pipeline] echo 07:17:53 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:17:53 ---> sigul-configuration.sh 07:17:53 gpg: directory `/root/.gnupg' created 07:17:53 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:17:53 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:17:53 gpg: keyring `/root/.gnupg/secring.gpg' created 07:17:53 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:17:53 gpg: CAST5 encrypted data 07:17:53 gpg: encrypted with 1 passphrase 07:17:53 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:17:54 + mkdir /home/jenkins 07:17:54 + mkdir /home/jenkins/sigul [Pipeline] sh 07:17:54 + 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 07:17:54 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:17:54 ---> sigul-install.sh 07:17:54 Sigul already installed; skipping installation. [Pipeline] sh 07:17:55 + git tag --list 07:17:55 0.7.1 07:17:55 v1.0.0 07:17:55 v1.1.0 07:17:55 v1.1.1 07:17:55 v1.2.2 07:17:55 v1.3.0 07:17:55 v1.3.1 07:17:55 v2.0.0 07:17:55 v2.1.0 07:17:55 v2.1.1 07:17:55 v2.1.1-dev.1 07:17:55 v2.1.1-dev.2 07:17:55 v2.1.1-dev.3 07:17:55 v2.2.0 07:17:55 v2.2.1-dev.1 07:17:55 v2.2.1-dev.2 07:17:55 v2.2.1-dev.3 07:17:55 v2.2.1-dev.4 07:17:55 v2.2.1-dev.5 07:17:55 v2.2.1-dev.6 07:17:55 v2.2.1-dev.7 07:17:55 v2.3.0 07:17:55 v2.3.0-dev.10 07:17:55 v2.3.0-dev.11 07:17:55 v2.3.0-dev.12 07:17:55 v2.3.0-dev.13 07:17:55 v2.3.0-dev.14 07:17:55 v2.3.0-dev.15 07:17:55 v2.3.0-dev.16 07:17:55 v2.3.0-dev.17 07:17:55 v2.3.0-dev.18 07:17:55 v2.3.0-dev.19 07:17:55 v2.3.0-dev.20 07:17:55 v2.3.0-dev.21 07:17:55 v2.3.0-dev.22 07:17:55 v2.3.0-dev.23 07:17:55 v2.3.0-dev.24 07:17:55 v2.3.0-dev.25 07:17:55 v2.3.0-dev.7 07:17:55 v2.3.0-dev.8 07:17:55 v2.3.0-dev.9 07:17:55 v3.0.0-dev.1 07:17:55 v3.0.0-dev.10 07:17:55 v3.0.0-dev.11 07:17:55 v3.0.0-dev.12 07:17:55 v3.0.0-dev.13 07:17:55 v3.0.0-dev.14 07:17:55 v3.0.0-dev.15 07:17:55 v3.0.0-dev.16 07:17:55 v3.0.0-dev.17 07:17:55 v3.0.0-dev.18 07:17:55 v3.0.0-dev.19 07:17:55 v3.0.0-dev.2 07:17:55 v3.0.0-dev.20 07:17:55 v3.0.0-dev.21 07:17:55 v3.0.0-dev.22 07:17:55 v3.0.0-dev.23 07:17:55 v3.0.0-dev.24 07:17:55 v3.0.0-dev.25 07:17:55 v3.0.0-dev.26 07:17:55 v3.0.0-dev.3 07:17:55 v3.0.0-dev.4 07:17:55 v3.0.0-dev.5 07:17:55 v3.0.0-dev.6 07:17:55 v3.0.0-dev.7 07:17:55 v3.0.0-dev.8 07:17:55 v3.0.0-dev.9 [Pipeline] sh 07:17:55 + lftools sign git-tag v3.0.0-dev.26 07:17:55 Signing Git tag with Sigul... 07:17:55 Signing v3.0.0-dev.26 [Pipeline] echo 07:17:56 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:17:56 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:17:56 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:17:56 $ docker stop --time=1 6ab20a7b9da4bd4d20c2329479b74f060377e3df741ab738036a6eb3685a23bf 07:17:57 $ docker rm -f --volumes 6ab20a7b9da4bd4d20c2329479b74f060377e3df741ab738036a6eb3685a23bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:17:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:17:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:17:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:17:58 prd-ubuntu20.04-docker-8c-8g-8408 does not seem to be running inside a container 07:17:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:17:58 $ docker top 89e6b19aa25f2362d38b3c8a708b4df65cc2905ccecf3a03e20ce7d3ba382a26 -eo pid,comm 07:17:59 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). 07:17:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:17:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:17:59 [ssh-agent] Looking for ssh-agent implementation... 07:17:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:17:59 $ docker exec 89e6b19aa25f2362d38b3c8a708b4df65cc2905ccecf3a03e20ce7d3ba382a26 ssh-agent 07:17:59 SSH_AUTH_SOCK=/tmp/ssh-S5fr3KtulLOy/agent.33 07:17:59 SSH_AGENT_PID=39 07:17:59 Running ssh-add (command line suppressed) 07:17:59 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11033772043769655276.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11033772043769655276.key) 07:17:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:17:59 + git semver bump pre 07:17:59 2023-04-13 07:17:59,847 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:17:59 2023-04-13 07:17:59,847 [bump_version] DEBUG bumping version:3.0.0-dev.26 on axis:pre with prefix:dev 07:17:59 2023-04-13 07:17:59,847 [bump_version] DEBUG bumped version:3.0.0-dev.27 07:17:59 2023-04-13 07:17:59,847 [write_version] DEBUG write version:3.0.0-dev.27 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 07:17:59 2023-04-13 07:17:59,848 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:17:59 2023-04-13 07:17:59,848 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:17:59 2023-04-13 07:17:59,850 [execute] INFO git cat-file --batch-check 07:17:59 2023-04-13 07:17:59,850 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:17:59 2023-04-13 07:17:59,855 [execute] INFO git cat-file --batch 07:17:59 2023-04-13 07:17:59,856 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:17:59 2023-04-13 07:17:59,859 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:17:59 3.0.0-dev.27 [Pipeline] } 07:17:59 $ docker exec --env ******** --env ******** 89e6b19aa25f2362d38b3c8a708b4df65cc2905ccecf3a03e20ce7d3ba382a26 ssh-agent -k 07:18:00 unset SSH_AUTH_SOCK; 07:18:00 unset SSH_AGENT_PID; 07:18:00 echo Agent pid 39 killed; 07:18:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:18:00 + git semver [Pipeline] } 07:18:00 $ docker stop --time=1 89e6b19aa25f2362d38b3c8a708b4df65cc2905ccecf3a03e20ce7d3ba382a26 07:18:01 $ docker rm -f --volumes 89e6b19aa25f2362d38b3c8a708b4df65cc2905ccecf3a03e20ce7d3ba382a26 [Pipeline] // withDockerContainer [Pipeline] sh 07:18:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:18:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:18:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:18:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:18:02 prd-ubuntu20.04-docker-8c-8g-8408 does not seem to be running inside a container 07:18:02 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:18:02 $ docker top fc502bf1718cfcadb0b11a986b14f1531c505d0274a7328ef0e7c453f9567794 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:18:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:18:03 [ssh-agent] Looking for ssh-agent implementation... 07:18:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:18:03 $ docker exec fc502bf1718cfcadb0b11a986b14f1531c505d0274a7328ef0e7c453f9567794 ssh-agent 07:18:03 SSH_AUTH_SOCK=/tmp/ssh-vPRyrOkxheJq/agent.32 07:18:03 SSH_AGENT_PID=38 07:18:03 Running ssh-add (command line suppressed) 07:18:03 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6087686801774953384.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6087686801774953384.key) 07:18:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:18:03 + git semver push 07:18:03 2023-04-13 07:18:03,820 [run_push] DEBUG push 07:18:03 2023-04-13 07:18:03,821 [execute] INFO git cat-file --batch-check 07:18:03 2023-04-13 07:18:03,821 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:18:03 2023-04-13 07:18:03,825 [execute] INFO git rev-list b5c80d909bfbec9d26265b15ff0174c3df9269a5 -- 07:18:03 2023-04-13 07:18:03,825 [execute] DEBUG Popen(['git', 'rev-list', 'b5c80d909bfbec9d26265b15ff0174c3df9269a5', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:18:03 2023-04-13 07:18:03,834 [execute] INFO git fetch -v origin 07:18:03 2023-04-13 07:18:03,834 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 07:18:04 2023-04-13 07:18:04,334 [run_push] DEBUG no remote changes detected 07:18:04 2023-04-13 07:18:04,334 [execute] INFO git push origin semver 07:18:04 2023-04-13 07:18:04,335 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:18:05 2023-04-13 07:18:05,073 [run_push] DEBUG push all version tags 07:18:05 2023-04-13 07:18:05,073 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:18:05 2023-04-13 07:18:05,074 [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) 07:18:05 2023-04-13 07:18:05,889 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:18:05 3.0.0-dev.27 [Pipeline] } 07:18:05 $ docker exec --env ******** --env ******** fc502bf1718cfcadb0b11a986b14f1531c505d0274a7328ef0e7c453f9567794 ssh-agent -k 07:18:06 unset SSH_AUTH_SOCK; 07:18:06 unset SSH_AGENT_PID; 07:18:06 echo Agent pid 38 killed; 07:18:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:18:06 + git semver [Pipeline] } 07:18:06 $ docker stop --time=1 fc502bf1718cfcadb0b11a986b14f1531c505d0274a7328ef0e7c453f9567794 07:18:07 $ docker rm -f --volumes fc502bf1718cfcadb0b11a986b14f1531c505d0274a7328ef0e7c453f9567794 [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 07:18:08 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 07:18:08 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 07:18:08 total 16 07:18:08 drwxr-xr-x 3 root root 4096 Apr 13 07:06 . 07:18:08 drwxrwxr-x 11 jenkins jenkins 4096 Apr 13 07:17 .. 07:18:08 drwxr-xr-x 2 root root 4096 Apr 13 07:06 cost 07:18:08 -rw-r--r-- 1 root root 87 Apr 13 07:06 cost.csv 07:18:08 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 07:18:08 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 07:18:08 total 16 07:18:08 drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 07:06 . 07:18:08 drwxrwxr-x 11 jenkins jenkins 4096 Apr 13 07:17 .. 07:18:08 drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 07:06 cost 07:18:08 -rw-r--r-- 1 jenkins jenkins 87 Apr 13 07:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:18:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:18:09 ---> package-listing.sh 07:18:09 ++ tr '[:upper:]' '[:lower:]' 07:18:09 ++ facter osfamily 07:18:09 + OS_FAMILY=debian 07:18:09 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 07:18:09 + START_PACKAGES=/tmp/packages_start.txt 07:18:09 + END_PACKAGES=/tmp/packages_end.txt 07:18:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:18:09 + PACKAGES=/tmp/packages_start.txt 07:18:09 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 07:18:09 + PACKAGES=/tmp/packages_end.txt 07:18:09 + case "${OS_FAMILY}" in 07:18:09 + dpkg -l 07:18:09 + grep '^ii' 07:18:10 + '[' -f /tmp/packages_start.txt ']' 07:18:10 + '[' -f /tmp/packages_end.txt ']' 07:18:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:18:10 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 07:18:10 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 07:18:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 07:18:10 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 07:18:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:18:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:18:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:18:10 prd-ubuntu20.04-docker-8c-8g-8408 does not seem to be running inside a container 07:18:10 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:18:11 $ docker top a3cac17d02508812e8ca5a21cb4171c0964d1e4f6c464aa0ad8744c620299988 -eo pid,comm [Pipeline] { [Pipeline] sh 07:18:11 + touch /tmp/pre-build-complete [Pipeline] sh 07:18:11 + mkdir -p /var/log/sysstat [Pipeline] sh 07:18:12 + ls /var/log/sa-host 07:18:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:18:12 provisioning config files... 07:18:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13620047428782303791tmp [Pipeline] { [Pipeline] echo 07:18:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:18:12 ---> create-netrc.sh [Pipeline] } 07:18:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:18:12 ---> python-tools-install.sh [Pipeline] echo 07:18:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:18:13 ---> sudo-logs.sh 07:18:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:18:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:18:13 ---> job-cost.sh 07:18:13 lf-activate-venv: SKIPPING 07:18:13 DEBUG: total: 0.2199999988079071 07:18:13 INFO: Retrieving Stack Cost... 07:18:13 INFO: Retrieving Pricing Info for: v3-standard-8 07:18:14 INFO: Archiving Costs [Pipeline] echo 07:18:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:18:14 ---> logs-deploy.sh 07:18:14 lf-activate-venv: SKIPPING 07:18:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/92 07:18:14 INFO: archiving workspace using pattern(s): 07:18:15 Archives upload complete. 07:18:15 INFO: archiving logs to Nexus