Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 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-ssh11920896772378475439.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-ssh14396153783248016428.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-ssh12521650262639090903.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-ssh3460414207248369678.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-ssh11481841841654619989.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8871 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 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 (main) Commit message: "Merge pull request #457 from hahattan/bump-sdk" > 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 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 # timeout=10 > git rev-list --no-walk 640aa887e9955506bed08a06d24af596cf944b9d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:26:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:26:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:26:33 ========================================================= 05:26:33 EdgeX Global Pipelines Version Info 05:26:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:26:34 ------------------- 05:26:34 stable info: 05:26:34 ------------------- 05:26:34 Commited By: Bill Mahoney bill.mahoney@intel.com 05:26:34 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 05:26:34 Message: update stable to v1.0.248 05:26:35 ------------------- 05:26:35 experimental info: 05:26:35 ------------------- 05:26:35 Commited By: **** collab-it+edgex@linuxfoundation.org 05:26:35 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 05:26:35 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:26:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:26:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:26:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:26:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:26:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:26:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 05:26:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:26:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:26:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:26:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:26:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:26:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:26:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:26:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:26:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:26:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:26:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:26:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:26:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:26:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:26:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:26:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:26:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:26:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:26:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:26:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:26:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:26:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:26:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:26:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:26:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 [Pipeline] echo 05:26:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 96a911a [Pipeline] echo 05:26:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:26:35 provisioning config files... 05:26:35 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15815985588948706120tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:26:36 ---> docker-login.sh 05:26:36 nexus3.edgexfoundry.org:10001 05:26:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:26:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:26:36 Configure a credential helper to remove this warning. See 05:26:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:26:36 05:26:36 Login Succeeded 05:26:36 nexus3.edgexfoundry.org:10002 05:26:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:26:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:26:36 Configure a credential helper to remove this warning. See 05:26:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:26:36 05:26:36 Login Succeeded 05:26:36 nexus3.edgexfoundry.org:10003 05:26:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:26:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:26:36 Configure a credential helper to remove this warning. See 05:26:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:26:36 05:26:36 Login Succeeded 05:26:36 nexus3.edgexfoundry.org:10004 05:26:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:26:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:26:36 Configure a credential helper to remove this warning. See 05:26:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:26:36 05:26:36 Login Succeeded 05:26:36 docker.io 05:26:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:26:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:26:37 Configure a credential helper to remove this warning. See 05:26:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:26:37 05:26:37 Login Succeeded 05:26:37 ---> docker-login.sh ends [Pipeline] } 05:26:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:26:37 + git rev-list -1 --merges 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748~1..96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 [Pipeline] echo 05:26:37 -----------> git rev-list -1 --merges 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748~1..96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 05:26:37 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 [false] [Pipeline] sh 05:26:37 + git log --format=format:%s -1 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 [Pipeline] echo 05:26:37 ========================================================= 05:26:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:26:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:26:38 + git log --format=format:%s -1 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 [Pipeline] echo 05:26:38 [semverPrep] GIT_COMMIT: 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748, Commit Message: Merge pull request #457 from hahattan/bump-sdk [Pipeline] echo 05:26:38 [semverPrep] This is not a build commit. [Pipeline] sh 05:26:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:26:38 + grep -v github /etc/ssh/ssh_known_hosts 05:26:38 + [ -e /tmp/ssh_known_hosts ] 05:26:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:26:38 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:26:38 + sudo tee -a /etc/ssh/ssh_known_hosts 05:26:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:26:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:26:38 05:26:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:26:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:26:39 0.1.4: Pulling from edgex-devops/py-git-semver 05:26:39 b85a868b505f: Pulling fs layer 05:26:39 e2be974225ed: Pulling fs layer 05:26:39 339a4e72a1f5: Pulling fs layer 05:26:39 988bab9f4d93: Pulling fs layer 05:26:39 1469e6f7b9e6: Pulling fs layer 05:26:39 988bab9f4d93: Waiting 05:26:39 eaf3925da568: Pulling fs layer 05:26:39 1469e6f7b9e6: Waiting 05:26:39 bab4dde63d76: Pulling fs layer 05:26:39 bde34c3a00c8: Pulling fs layer 05:26:39 eaf3925da568: Waiting 05:26:39 bab4dde63d76: Waiting 05:26:39 bde34c3a00c8: Waiting 05:26:39 b352a97aabf1: Pulling fs layer 05:26:39 4872d77fe225: Pulling fs layer 05:26:39 5851b861e8e6: Pulling fs layer 05:26:39 4872d77fe225: Waiting 05:26:39 5851b861e8e6: Waiting 05:26:39 b352a97aabf1: Waiting 05:26:39 e2be974225ed: Verifying Checksum 05:26:39 e2be974225ed: Download complete 05:26:39 988bab9f4d93: Verifying Checksum 05:26:39 988bab9f4d93: Download complete 05:26:39 1469e6f7b9e6: Verifying Checksum 05:26:39 1469e6f7b9e6: Download complete 05:26:39 eaf3925da568: Download complete 05:26:39 339a4e72a1f5: Verifying Checksum 05:26:39 339a4e72a1f5: Download complete 05:26:39 bde34c3a00c8: Download complete 05:26:39 b352a97aabf1: Download complete 05:26:39 4872d77fe225: Download complete 05:26:39 5851b861e8e6: Download complete 05:26:39 b85a868b505f: Verifying Checksum 05:26:39 b85a868b505f: Download complete 05:26:39 bab4dde63d76: Verifying Checksum 05:26:39 bab4dde63d76: Download complete 05:26:40 b85a868b505f: Pull complete 05:26:40 e2be974225ed: Pull complete 05:26:41 339a4e72a1f5: Pull complete 05:26:41 988bab9f4d93: Pull complete 05:26:41 1469e6f7b9e6: Pull complete 05:26:41 eaf3925da568: Pull complete 05:26:43 bab4dde63d76: Pull complete 05:26:43 bde34c3a00c8: Pull complete 05:26:43 b352a97aabf1: Pull complete 05:26:43 4872d77fe225: Pull complete 05:26:43 5851b861e8e6: Pull complete 05:26:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:26:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:26:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:26:44 prd-ubuntu20.04-docker-8c-8g-8871 does not seem to be running inside a container 05:26:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:26:46 $ docker top f725c1db500d600bce3dba262cc68266ccee32285acbe7ec805b3df5a408e493 -eo pid,comm 05:26:46 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:26:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:26:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:26:46 [ssh-agent] Looking for ssh-agent implementation... 05:26:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:26:46 $ docker exec f725c1db500d600bce3dba262cc68266ccee32285acbe7ec805b3df5a408e493 ssh-agent 05:26:46 SSH_AUTH_SOCK=/tmp/ssh-nw2VN8MEunYf/agent.32 05:26:46 SSH_AGENT_PID=38 05:26:46 Running ssh-add (command line suppressed) 05:26:46 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13657233072163178587.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13657233072163178587.key) 05:26:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:26:47 + git tag --points-at HEAD [Pipeline] } 05:26:47 $ docker exec --env ******** --env ******** f725c1db500d600bce3dba262cc68266ccee32285acbe7ec805b3df5a408e493 ssh-agent -k 05:26:47 unset SSH_AUTH_SOCK; 05:26:47 unset SSH_AGENT_PID; 05:26:47 echo Agent pid 38 killed; 05:26:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:26:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:26:47 [ssh-agent] Looking for ssh-agent implementation... 05:26:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:26:47 $ docker exec f725c1db500d600bce3dba262cc68266ccee32285acbe7ec805b3df5a408e493 ssh-agent 05:26:47 SSH_AUTH_SOCK=/tmp/ssh-ZNT907vI9xeA/agent.70 05:26:47 SSH_AGENT_PID=76 05:26:47 Running ssh-add (command line suppressed) 05:26:47 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12914032067707397095.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12914032067707397095.key) 05:26:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:26:47 + git semver init 05:26:48 2023-04-18 05:26:48,131 [run_init] DEBUG init version:0.0.0 force:False 05:26:48 2023-04-18 05:26:48,131 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 05:26:48 2023-04-18 05:26:48,132 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 05:26:48 2023-04-18 05:26:48,132 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 05:26:49 2023-04-18 05:26:48,898 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 05:26:49 2023-04-18 05:26:48,898 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 05:26:49 2023-04-18 05:26:48,899 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:26:49 2023-04-18 05:26:48,899 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:26:49 3.0.0-dev.28 [Pipeline] } 05:26:49 $ docker exec --env ******** --env ******** f725c1db500d600bce3dba262cc68266ccee32285acbe7ec805b3df5a408e493 ssh-agent -k 05:26:49 unset SSH_AUTH_SOCK; 05:26:49 unset SSH_AGENT_PID; 05:26:49 echo Agent pid 76 killed; 05:26:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:26:49 + git semver [Pipeline] } 05:26:49 $ docker stop --time=1 f725c1db500d600bce3dba262cc68266ccee32285acbe7ec805b3df5a408e493 05:26:51 $ docker rm -f --volumes f725c1db500d600bce3dba262cc68266ccee32285acbe7ec805b3df5a408e493 [Pipeline] // withDockerContainer [Pipeline] sh 05:26:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:26:51 Stashed 1 file(s) [Pipeline] echo 05:26:51 [edgeXSemver]: initialized semver on version 3.0.0-dev.28 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:26:51 provisioning config files... 05:26:51 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config58069287261572250tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:26:52 ---> docker-login.sh 05:26:52 nexus3.edgexfoundry.org:10001 05:26:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:26:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:26:52 Configure a credential helper to remove this warning. See 05:26:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:26:52 05:26:52 Login Succeeded 05:26:52 nexus3.edgexfoundry.org:10002 05:26:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:26:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:26:52 Configure a credential helper to remove this warning. See 05:26:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:26:52 05:26:52 Login Succeeded 05:26:52 nexus3.edgexfoundry.org:10003 05:26:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:26:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:26:52 Configure a credential helper to remove this warning. See 05:26:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:26:52 05:26:52 Login Succeeded 05:26:52 nexus3.edgexfoundry.org:10004 05:26:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:26:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:26:52 Configure a credential helper to remove this warning. See 05:26:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:26:52 05:26:52 Login Succeeded 05:26:52 docker.io 05:26:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:26:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:26:52 Configure a credential helper to remove this warning. See 05:26:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:26:52 05:26:52 Login Succeeded 05:26:52 ---> docker-login.sh ends [Pipeline] } 05:26:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:26:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:26:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:26:52 ========================================================= 05:26:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 05:26:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:26: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 . 05:26:53 Sending build context to Docker daemon 6.421MB 05:26:53 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 05:26:53 Step 2/10 : FROM ${BASE} AS builder 05:26:53 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 05:26:53 63b65145d645: Pulling fs layer 05:26:53 a2d21d5440eb: Pulling fs layer 05:26:53 935e6c44a52c: Pulling fs layer 05:26:53 94cc34f8dd06: Pulling fs layer 05:26:53 30dea6a524f1: Pulling fs layer 05:26:53 a2aff8979fd8: Pulling fs layer 05:26:53 6808be2612f2: Pulling fs layer 05:26:53 f25807f1079a: Pulling fs layer 05:26:53 94cc34f8dd06: Waiting 05:26:53 30dea6a524f1: Waiting 05:26:53 f25807f1079a: Waiting 05:26:53 a2aff8979fd8: Waiting 05:26:53 6808be2612f2: Waiting 05:26:53 a2d21d5440eb: Verifying Checksum 05:26:53 a2d21d5440eb: Download complete 05:26:53 94cc34f8dd06: Verifying Checksum 05:26:53 94cc34f8dd06: Download complete 05:26:53 30dea6a524f1: Verifying Checksum 05:26:53 63b65145d645: Verifying Checksum 05:26:53 63b65145d645: Download complete 05:26:53 a2aff8979fd8: Verifying Checksum 05:26:53 a2aff8979fd8: Download complete 05:26:53 63b65145d645: Pull complete 05:26:53 a2d21d5440eb: Pull complete 05:26:53 f25807f1079a: Verifying Checksum 05:26:53 f25807f1079a: Download complete 05:26:53 935e6c44a52c: Verifying Checksum 05:26:53 935e6c44a52c: Download complete 05:26:54 6808be2612f2: Verifying Checksum 05:26:54 6808be2612f2: Download complete 05:26:57 935e6c44a52c: Pull complete 05:26:57 94cc34f8dd06: Pull complete 05:26:57 30dea6a524f1: Pull complete 05:26:57 a2aff8979fd8: Pull complete 05:26:59 6808be2612f2: Pull complete 05:27:00 f25807f1079a: Pull complete 05:27:00 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 05:27:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 05:27:00 ---> 3b553350e43f 05:27:00 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:27:03 ---> Running in ddce75b3b4a5 05:27:04 Removing intermediate container ddce75b3b4a5 05:27:04 ---> 64b54c847368 05:27:04 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:27:04 ---> Running in 86bae6ba4539 05:27:04 Removing intermediate container 86bae6ba4539 05:27:04 ---> 13c7c89aea63 05:27:04 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:27:04 ---> Running in 8031ea99c387 05:27:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:27:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:27:04 (1/8) Installing openssh-keygen (9.1_p1-r2) 05:27:04 (2/8) Installing libedit (20221030.3.1-r0) 05:27:04 (3/8) Installing openssh-client-common (9.1_p1-r2) 05:27:04 (4/8) Installing openssh-client-default (9.1_p1-r2) 05:27:04 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 05:27:04 (6/8) Installing openssh-server-common (9.1_p1-r2) 05:27:04 (7/8) Installing openssh-server (9.1_p1-r2) 05:27:04 (8/8) Installing openssh (9.1_p1-r2) 05:27:04 Executing busybox-1.35.0-r29.trigger 05:27:04 OK: 270 MiB in 61 packages 05:27:05 Removing intermediate container 8031ea99c387 05:27:05 ---> d5c1f3daf14d 05:27:05 Step 6/10 : WORKDIR /device-modbus-go 05:27:05 ---> Running in b1d15cf0a32f 05:27:05 Removing intermediate container b1d15cf0a32f 05:27:05 ---> e51b695ba5ee 05:27:05 Step 7/10 : COPY go.mod vendor* ./ 05:27:05 ---> 280a0c1da9d2 05:27:05 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:27:05 ---> Running in 4320c924ea4d 05:27:06 Still waiting to schedule task 05:27:06 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:27:52 Removing intermediate container 4320c924ea4d 05:27:52 ---> 10c8ef6bb7e1 05:27:52 Step 9/10 : COPY . . 05:27:52 ---> a7f37cdcb72b 05:27:52 Step 10/10 : RUN ${MAKE} 05:27:52 ---> Running in cc1108d080f2 05:27:52 noop 05:27:52 Removing intermediate container cc1108d080f2 05:27:52 ---> 32ce4857211e 05:27:52 Successfully built 32ce4857211e 05:27:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:52 + docker inspect -f . ci-base-image-x86_64 05:27:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:27:52 prd-ubuntu20.04-docker-8c-8g-8871 does not seem to be running inside a container 05:27:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:27:53 $ docker top b86a67721856f0f716f47e815c75ebf3d06dd466f6d48c02b34e6549e2be8793 -eo pid,comm [Pipeline] { [Pipeline] sh 05:27:53 + go version 05:27:53 go version go1.20.2 linux/amd64 [Pipeline] } 05:27:53 $ docker stop --time=1 b86a67721856f0f716f47e815c75ebf3d06dd466f6d48c02b34e6549e2be8793 05:27:54 $ docker rm -f --volumes b86a67721856f0f716f47e815c75ebf3d06dd466f6d48c02b34e6549e2be8793 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:55 + docker inspect -f . ci-base-image-x86_64 05:27:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:27:55 prd-ubuntu20.04-docker-8c-8g-8871 does not seem to be running inside a container 05:27:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:27:55 $ docker top b4a416b8ad3ecba9c8d4fc90ae05c4c888bffa8ade07a91af62ed1a8d18bb73f -eo pid,comm [Pipeline] { [Pipeline] sh 05:27:55 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 05:27:56 + make test 05:27:56 go test ./... -coverprofile=coverage.out 05:28:01 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:28:11 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:28:11 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.4% of statements 05:28:18 go vet ./... 05:28:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:28:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:28:22 ./bin/test-attribution-txt.sh [Pipeline] echo 05:28:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:28:22 $ docker stop --time=1 b4a416b8ad3ecba9c8d4fc90ae05c4c888bffa8ade07a91af62ed1a8d18bb73f 05:28:25 $ docker rm -f --volumes b4a416b8ad3ecba9c8d4fc90ae05c4c888bffa8ade07a91af62ed1a8d18bb73f [Pipeline] // withDockerContainer [Pipeline] sh 05:28:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:28:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:28:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:28:26 + ls -al . 05:28:26 total 180 05:28:26 drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 05:27 . 05:28:26 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 05:26 .. 05:28:26 -rw-rw-r-- 1 jenkins jenkins 140 Apr 18 05:26 .dockerignore 05:28:26 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 05:26 .git 05:28:26 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:26 .github 05:28:26 -rw-rw-r-- 1 jenkins jenkins 331 Apr 18 05:26 .gitignore 05:28:26 -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 05:26 .golangci.yml 05:28:26 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 05:26 .semver 05:28:26 -rw-rw-r-- 1 jenkins jenkins 10132 Apr 18 05:26 Attribution.txt 05:28:26 -rw-rw-r-- 1 jenkins jenkins 11576 Apr 18 05:26 CHANGELOG.md 05:28:26 -rw-rw-r-- 1 jenkins jenkins 1365 Apr 18 05:26 Dockerfile 05:28:26 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 05:26 GOVERNANCE.md 05:28:26 -rw-rw-r-- 1 jenkins jenkins 680 Apr 18 05:26 Jenkinsfile 05:28:26 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 05:26 LICENSE 05:28:26 -rw-rw-r-- 1 jenkins jenkins 1705 Apr 18 05:26 Makefile 05:28:26 -rw-rw-r-- 1 jenkins jenkins 622 Apr 18 05:26 OWNERS.md 05:28:26 -rw-rw-r-- 1 jenkins jenkins 4045 Apr 18 05:26 README.md 05:28:26 -rw-rw-r-- 1 jenkins jenkins 12 Apr 18 05:26 VERSION 05:28:26 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 05:26 bin 05:28:26 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:26 cmd 05:28:26 -rw-r--r-- 1 jenkins jenkins 24160 Apr 18 05:28 coverage.out 05:28:26 -rw-rw-r-- 1 jenkins jenkins 3453 Apr 18 05:26 go.mod 05:28:26 -rw-rw-r-- 1 jenkins jenkins 31895 Apr 18 05:26 go.sum 05:28:26 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:26 internal 05:28:26 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 05:26 simulator 05:28:26 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 05:26 snap 05:28:26 -rw-rw-r-- 1 jenkins jenkins 229 Apr 18 05:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:26 + 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=96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 --label arch=amd64 --label version=3.0.0-dev.28 . 05:28:26 Sending build context to Docker daemon 6.446MB 05:28:26 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 05:28:26 Step 2/22 : FROM ${BASE} AS builder 05:28:26 ---> 32ce4857211e 05:28:26 Step 3/22 : ARG ADD_BUILD_TAGS="" 05:28:26 ---> Running in 69cdeb45ef97 05:28:26 Removing intermediate container 69cdeb45ef97 05:28:26 ---> a1ac0fdbc702 05:28:26 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:28:26 ---> Running in a27aa47dc995 05:28:26 Removing intermediate container a27aa47dc995 05:28:26 ---> b138beb5f8af 05:28:26 Step 5/22 : RUN apk add --update --no-cache make git openssh 05:28:26 ---> Running in 33b73c6c9f4a 05:28:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:28:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:28:27 OK: 270 MiB in 61 packages 05:28:28 Removing intermediate container 33b73c6c9f4a 05:28:28 ---> c107d6079af1 05:28:28 Step 6/22 : WORKDIR /device-modbus-go 05:28:28 ---> Running in 4d49d842e95c 05:28:28 Removing intermediate container 4d49d842e95c 05:28:28 ---> 107303e58c9d 05:28:28 Step 7/22 : COPY go.mod vendor* ./ 05:28:28 ---> 7104d1cd2dee 05:28:28 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:28:28 ---> Running in 87b7d5179cfd 05:28:29 Removing intermediate container 87b7d5179cfd 05:28:29 ---> b0f112839da3 05:28:29 Step 9/22 : COPY . . 05:28:29 ---> 93cda4905092 05:28:29 Step 10/22 : RUN ${MAKE} 05:28:29 ---> Running in 61ccc27b319d 05:28:29 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.28" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 05:28:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8872 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 05:28:40 Running in /w/workspace/device-modbus-go/94 [Pipeline] { [Pipeline] checkout 05:28:40 Selected Git installation does not exist. Using Default 05:28:40 The recommended git tool is: NONE 05:28:45 using credential edgex-jenkins-ssh 05:28:45 Cloning the remote Git repository 05:28:45 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:28:45 > git init /w/workspace/device-modbus-go/94 # timeout=10 05:28:46 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:28:46 > git --version # timeout=10 05:28:46 > git --version # 'git version 2.25.1' 05:28:46 using GIT_SSH to set credentials SSH Credentials for GitHub 05:28:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:28:47 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:28:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:28:48 Avoid second fetch 05:28:48 Checking out Revision 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 (main) 05:28:48 Commit message: "Merge pull request #457 from hahattan/bump-sdk" 05:28:48 > git config core.sparsecheckout # timeout=10 05:28:48 > git checkout -f 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:28:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:28:49 % Total % Received % Xferd Average Speed Time Time Time Current 05:28:49 Dload Upload Total Spent Left Speed 05:28:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh 05:28:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:28:50 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:28:50 + sudo tee /etc/docker/daemon.new 05:28:50 { 05:28:50 "registry-mirrors": [ 05:28:50 "https://nexus3.edgexfoundry.org:10001" 05:28:50 ], 05:28:50 "bip": "10.250.0.254/24", 05:28:50 "hosts": [ 05:28:50 "tcp://0.0.0.0:5555", 05:28:50 "unix:///var/run/docker.sock" 05:28:50 ], 05:28:50 "mtu": 1458, 05:28:50 "selinux-enabled": true, 05:28:50 "seccomp-profile": "/etc/docker/seccomp.json" 05:28:50 } [Pipeline] sh 05:28:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:28:51 + sudo service docker restart 05:28:51 Removing intermediate container 61ccc27b319d 05:28:51 ---> 619220c0996f 05:28:51 Step 11/22 : FROM alpine:3.17 05:28:51 3.17: Pulling from library/alpine 05:28:51 f56be85fc22e: Pulling fs layer 05:28:51 f56be85fc22e: Download complete 05:28:51 f56be85fc22e: Pull complete 05:28:51 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 05:28:51 Status: Downloaded newer image for alpine:3.17 05:28:51 ---> 9ed4aefc74f6 05:28:51 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:28:51 ---> Running in 8f798b2b7254 05:28:51 Removing intermediate container 8f798b2b7254 05:28:51 ---> c1e47f8c5910 05:28:51 Step 13/22 : RUN apk add --update --no-cache dumb-init 05:28:51 ---> Running in df74821557e1 05:28:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:28:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:28:51 (1/1) Installing dumb-init (1.2.5-r2) 05:28:51 Executing busybox-1.35.0-r29.trigger 05:28:51 OK: 7 MiB in 16 packages 05:28:51 Removing intermediate container df74821557e1 05:28:51 ---> 930b7c8e58d4 05:28:51 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 05:28:52 ---> bb88c026245d 05:28:52 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 05:28:52 ---> 897e19893e0f 05:28:52 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:28:52 ---> 015c928cbdcf 05:28:52 Step 17/22 : EXPOSE 59901 05:28:52 ---> Running in bea1e981e95b 05:28:52 Removing intermediate container bea1e981e95b 05:28:52 ---> 494122db0959 05:28:52 Step 18/22 : ENTRYPOINT ["/device-modbus"] 05:28:52 ---> Running in f07ba8f30533 05:28:53 Removing intermediate container f07ba8f30533 05:28:53 ---> 1cf67667400d 05:28:53 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:28:53 ---> Running in 5f0123845bd0 05:28:53 Removing intermediate container 5f0123845bd0 05:28:53 ---> ce14c9c26215 05:28:53 Step 20/22 : LABEL arch=amd64 05:28:53 ---> Running in 603feced2273 05:28:53 Removing intermediate container 603feced2273 05:28:53 ---> ee702aabe6b1 05:28:53 Step 21/22 : LABEL git_sha=96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 05:28:53 ---> Running in 909b61e0029f 05:28:53 Removing intermediate container 909b61e0029f 05:28:53 ---> d750473db896 05:28:53 Step 22/22 : LABEL version=3.0.0-dev.28 05:28:53 ---> Running in 73af7b4b465c 05:28:53 Removing intermediate container 73af7b4b465c 05:28:53 ---> 1d3688dd03c1 05:28:53 [Warning] One or more build-args [ARCH] were not consumed 05:28:53 Successfully built 1d3688dd03c1 05:28:53 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:28:53 provisioning config files... 05:28:53 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15462603256432165542tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:28:53 ---> docker-login.sh 05:28:53 nexus3.edgexfoundry.org:10001 05:28:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:28:53 Configure a credential helper to remove this warning. See 05:28:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:28:53 05:28:53 Login Succeeded 05:28:53 nexus3.edgexfoundry.org:10002 05:28:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:28:53 Configure a credential helper to remove this warning. See 05:28:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:28:53 05:28:53 Login Succeeded 05:28:53 nexus3.edgexfoundry.org:10003 05:28:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:28:54 Configure a credential helper to remove this warning. See 05:28:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:28:54 05:28:54 Login Succeeded 05:28:54 nexus3.edgexfoundry.org:10004 05:28:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:28:54 Configure a credential helper to remove this warning. See 05:28:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:28:54 05:28:54 Login Succeeded 05:28:54 docker.io 05:28:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:28:54 Configure a credential helper to remove this warning. See 05:28:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:28:54 05:28:54 Login Succeeded 05:28:54 ---> docker-login.sh ends [Pipeline] } 05:28:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:28:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:28:54 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 05:28:54 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 05:28:54 latest 05:28:54 3.0.0-dev.28 05:28:54 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748-3.0.0-dev.28 05:28:54 main 05:28:54 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:54 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:54 + docker push nexus3.edgexfoundry.org:10004/device-modbus:96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 05:28:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:28:54 9ce26f86d080: Preparing 05:28:54 275842d2f10e: Preparing 05:28:54 134563bf39da: Preparing 05:28:54 f8d8bffc8397: Preparing 05:28:54 f1417ff83b31: Preparing 05:28:54 f1417ff83b31: Layer already exists 05:28:54 9ce26f86d080: Pushed 05:28:54 275842d2f10e: Pushed 05:28:54 f8d8bffc8397: Pushed 05:28:57 134563bf39da: Pushed 05:28:57 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748: digest: sha256:4e61274be5b66b6b7ef615343fcdf50fe162df90348b9260c965504cc692c840 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:58 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:58 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 05:28:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:28:58 9ce26f86d080: Preparing 05:28:58 275842d2f10e: Preparing 05:28:58 134563bf39da: Preparing 05:28:58 f8d8bffc8397: Preparing 05:28:58 f1417ff83b31: Preparing 05:28:58 9ce26f86d080: Layer already exists 05:28:58 275842d2f10e: Layer already exists 05:28:58 f8d8bffc8397: Layer already exists 05:28:58 134563bf39da: Layer already exists 05:28:58 f1417ff83b31: Layer already exists 05:28:58 latest: digest: sha256:4e61274be5b66b6b7ef615343fcdf50fe162df90348b9260c965504cc692c840 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:58 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:58 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.28 05:28:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:28:58 9ce26f86d080: Preparing 05:28:58 275842d2f10e: Preparing 05:28:58 134563bf39da: Preparing 05:28:58 f8d8bffc8397: Preparing 05:28:58 f1417ff83b31: Preparing 05:28:58 f8d8bffc8397: Layer already exists 05:28:58 275842d2f10e: Layer already exists 05:28:58 f1417ff83b31: Layer already exists 05:28:58 134563bf39da: Layer already exists 05:28:58 9ce26f86d080: Layer already exists 05:28:58 3.0.0-dev.28: digest: sha256:4e61274be5b66b6b7ef615343fcdf50fe162df90348b9260c965504cc692c840 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:59 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:96a911a6bae0ce7a8dcb7b899d93d9a8f0952748-3.0.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:59 + docker push nexus3.edgexfoundry.org:10004/device-modbus:96a911a6bae0ce7a8dcb7b899d93d9a8f0952748-3.0.0-dev.28 05:28:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:28:59 9ce26f86d080: Preparing 05:28:59 275842d2f10e: Preparing 05:28:59 134563bf39da: Preparing 05:28:59 f8d8bffc8397: Preparing 05:28:59 f1417ff83b31: Preparing 05:28:59 275842d2f10e: Layer already exists 05:28:59 f1417ff83b31: Layer already exists 05:28:59 134563bf39da: Layer already exists 05:28:59 f8d8bffc8397: Layer already exists 05:28:59 9ce26f86d080: Layer already exists 05:28:59 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748-3.0.0-dev.28: digest: sha256:4e61274be5b66b6b7ef615343fcdf50fe162df90348b9260c965504cc692c840 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:59 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:00 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 05:29:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:29:00 9ce26f86d080: Preparing 05:29:00 275842d2f10e: Preparing 05:29:00 134563bf39da: Preparing 05:29:00 f8d8bffc8397: Preparing 05:29:00 f1417ff83b31: Preparing 05:29:00 f8d8bffc8397: Layer already exists 05:29:00 134563bf39da: Layer already exists 05:29:00 f1417ff83b31: Layer already exists 05:29:00 275842d2f10e: Layer already exists 05:29:00 9ce26f86d080: Layer already exists 05:29:00 main: digest: sha256:4e61274be5b66b6b7ef615343fcdf50fe162df90348b9260c965504cc692c840 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:29:00 ===================================================== [Pipeline] echo 05:29:00 taggedImages: 05:29:00 - nexus3.edgexfoundry.org:10004/device-modbus:96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 05:29:00 - nexus3.edgexfoundry.org:10004/device-modbus:latest 05:29:00 - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.28 05:29:00 - nexus3.edgexfoundry.org:10004/device-modbus:96a911a6bae0ce7a8dcb7b899d93d9a8f0952748-3.0.0-dev.28 05:29:00 - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:29:00 05:29:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:29:00 latest: Pulling from edgex-lftools-log-publisher 05:29:00 5eb5b503b376: Pulling fs layer 05:29:00 5c69ac0246d0: Pulling fs layer 05:29:00 ec43610c2a17: Pulling fs layer 05:29:00 3a2ae6a8a46f: Pulling fs layer 05:29:00 33b1e0a273af: Pulling fs layer 05:29:00 5d3b04190fa2: Pulling fs layer 05:29:00 2f39f015ded8: Pulling fs layer 05:29:00 3a2ae6a8a46f: Waiting 05:29:00 33b1e0a273af: Waiting 05:29:00 5d3b04190fa2: Waiting 05:29:00 2f39f015ded8: Waiting 05:29:00 5c69ac0246d0: Verifying Checksum 05:29:00 5c69ac0246d0: Download complete 05:29:00 3a2ae6a8a46f: Verifying Checksum 05:29:00 3a2ae6a8a46f: Download complete 05:29:00 33b1e0a273af: Verifying Checksum 05:29:00 33b1e0a273af: Download complete 05:29:00 ec43610c2a17: Verifying Checksum 05:29:00 ec43610c2a17: Download complete 05:29:00 5d3b04190fa2: Verifying Checksum 05:29:00 5d3b04190fa2: Download complete 05:29:01 5eb5b503b376: Verifying Checksum 05:29:01 5eb5b503b376: Download complete 05:29:01 2f39f015ded8: Download complete 05:29:02 5eb5b503b376: Pull complete 05:29:02 5c69ac0246d0: Pull complete 05:29:02 ec43610c2a17: Pull complete 05:29:02 3a2ae6a8a46f: Pull complete 05:29:03 33b1e0a273af: Pull complete 05:29:03 5d3b04190fa2: Pull complete 05:29:07 2f39f015ded8: Pull complete 05:29:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:29:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:29:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:29:07 prd-ubuntu20.04-docker-8c-8g-8871 does not seem to be running inside a container 05:29:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:29:11 $ docker top f4261b3a8bdbd12de175b8a3ae39f8dbfd7ee3a911b447f8b15f81cea5fe355d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 05:29:11 provisioning config files... 05:29:11 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/94@tmp/config10390632857452410097tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:29:12 ---> job-cost.sh 05:29:12 lf-activate-venv: SKIPPING 05:29:12 INFO: No Stack... 05:29:12 ---> docker-login.sh 05:29:12 nexus3.edgexfoundry.org:10001 05:29:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:12 INFO: Retrieving Pricing Info for: v3-standard-8 05:29:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:12 Configure a credential helper to remove this warning. See 05:29:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:12 05:29:12 Login Succeeded 05:29:12 nexus3.edgexfoundry.org:10002 05:29:13 INFO: Archiving Costs [Pipeline] sh 05:29:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:13 Configure a credential helper to remove this warning. See 05:29:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:13 05:29:13 Login Succeeded 05:29:13 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 05:29:13 + cut -d, -f6 [Pipeline] lock 05:29:13 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-94-stack-cost] 05:29:13 Resource [jenkins-edgexfoundry-device-modbus-go-main-94-stack-cost] did not exist. Created. 05:29:13 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-94-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:29:13 nexus3.edgexfoundry.org:10003 05:29:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:13 + echo total: 0.2199999988079071 [Pipeline] stash 05:29:13 Stashed 1 file(s) [Pipeline] } 05:29:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:13 Configure a credential helper to remove this warning. See 05:29:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:13 05:29:13 Login Succeeded 05:29:13 nexus3.edgexfoundry.org:10004 05:29:13 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-94-stack-cost] [Pipeline] // lock [Pipeline] } 05:29:13 $ docker stop --time=1 f4261b3a8bdbd12de175b8a3ae39f8dbfd7ee3a911b447f8b15f81cea5fe355d 05:29:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:13 Configure a credential helper to remove this warning. See 05:29:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:13 05:29:13 Login Succeeded 05:29:13 docker.io 05:29:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:14 Configure a credential helper to remove this warning. See 05:29:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:14 05:29:14 Login Succeeded 05:29:14 ---> docker-login.sh ends 05:29:14 $ docker rm -f --volumes f4261b3a8bdbd12de175b8a3ae39f8dbfd7ee3a911b447f8b15f81cea5fe355d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 05:29:14 Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] } [Pipeline] // withEnv [Pipeline] // withEnv [Pipeline] } [Pipeline] unstash [Pipeline] // stage [Pipeline] } [Pipeline] echo 05:29:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:29:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:29:15 ========================================================= 05:29:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 05:29:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:15 + 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 . 05:29:15 Sending build context to Docker daemon 3.35MB 05:29:15 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 05:29:15 Step 2/10 : FROM ${BASE} AS builder 05:29:18 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:29:18 af6eaf76a39c: Pulling fs layer 05:29:18 55522c791124: Pulling fs layer 05:29:18 ce5c4a1c91eb: Pulling fs layer 05:29:18 169dfbe0d373: Pulling fs layer 05:29:18 e1ff8fa3b103: Pulling fs layer 05:29:18 52ebb69f0ebf: Pulling fs layer 05:29:18 5abe8eddf0d5: Pulling fs layer 05:29:18 e1ff8fa3b103: Waiting 05:29:18 52ebb69f0ebf: Waiting 05:29:18 169dfbe0d373: Waiting 05:29:18 5abe8eddf0d5: Waiting 05:29:18 55522c791124: Download complete 05:29:18 169dfbe0d373: Verifying Checksum 05:29:18 169dfbe0d373: Download complete 05:29:18 e1ff8fa3b103: Verifying Checksum 05:29:18 e1ff8fa3b103: Download complete 05:29:18 af6eaf76a39c: Verifying Checksum 05:29:18 af6eaf76a39c: Download complete 05:29:19 af6eaf76a39c: Pull complete 05:29:19 5abe8eddf0d5: Verifying Checksum 05:29:19 5abe8eddf0d5: Download complete 05:29:19 55522c791124: Pull complete 05:29:20 ce5c4a1c91eb: Verifying Checksum 05:29:20 ce5c4a1c91eb: Download complete 05:29:20 52ebb69f0ebf: Verifying Checksum 05:29:20 52ebb69f0ebf: Download complete 05:29:33 ce5c4a1c91eb: Pull complete 05:29:33 169dfbe0d373: Pull complete 05:29:33 e1ff8fa3b103: Pull complete 05:29:39 52ebb69f0ebf: Pull complete 05:29:41 5abe8eddf0d5: Pull complete 05:29:41 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 05:29:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 05:29:41 ---> 6cb57ee374ae 05:29:41 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:29:42 ---> Running in 285efb5dea14 05:29:42 Removing intermediate container 285efb5dea14 05:29:42 ---> 479b4e7408ad 05:29:42 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:29:42 ---> Running in 8fc5e023d188 05:29:42 Removing intermediate container 8fc5e023d188 05:29:42 ---> 0112a51024a7 05:29:42 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:29:43 ---> Running in 8d3918d5335e 05:29:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:29:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:29:45 (1/8) Installing openssh-keygen (9.1_p1-r2) 05:29:45 (2/8) Installing libedit (20221030.3.1-r0) 05:29:45 (3/8) Installing openssh-client-common (9.1_p1-r2) 05:29:45 (4/8) Installing openssh-client-default (9.1_p1-r2) 05:29:45 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 05:29:45 (6/8) Installing openssh-server-common (9.1_p1-r2) 05:29:45 (7/8) Installing openssh-server (9.1_p1-r2) 05:29:45 (8/8) Installing openssh (9.1_p1-r2) 05:29:45 Executing busybox-1.35.0-r29.trigger 05:29:45 OK: 270 MiB in 61 packages 05:29:46 Removing intermediate container 8d3918d5335e 05:29:46 ---> 56e6106533bc 05:29:46 Step 6/10 : WORKDIR /device-modbus-go 05:29:47 ---> Running in 3514127271a9 05:29:47 Removing intermediate container 3514127271a9 05:29:47 ---> 767c2f6f8a20 05:29:47 Step 7/10 : COPY go.mod vendor* ./ 05:29:47 ---> 762c804c8755 05:29:47 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:29:47 ---> Running in 81198287f1d5 05:30:55 Removing intermediate container 81198287f1d5 05:30:55 ---> bb9dfc5d3337 05:30:55 Step 9/10 : COPY . . 05:30:55 ---> dbe9721e6b31 05:30:55 Step 10/10 : RUN ${MAKE} 05:30:55 ---> Running in a80c6cc88ddc 05:30:55 noop 05:30:55 Removing intermediate container a80c6cc88ddc 05:30:55 ---> 32afeea94233 05:30:55 Successfully built 32afeea94233 05:30:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:30:56 + docker inspect -f . ci-base-image-arm64 05:30:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:30:56 prd-ubuntu20.04-docker-arm64-4c-16g-8872 does not seem to be running inside a container 05:30:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/94 -v /w/workspace/device-modbus-go/94:/w/workspace/device-modbus-go/94:rw,z -v /w/workspace/device-modbus-go/94@tmp:/w/workspace/device-modbus-go/94@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:30:57 $ docker top 46bd026860f4c2dddce99f6eb1766e6ce7a1e0504bc5d28d687bfd4c253f6595 -eo pid,comm [Pipeline] { [Pipeline] sh 05:30:58 + go version 05:30:58 go version go1.20.2 linux/arm64 [Pipeline] } 05:30:58 $ docker stop --time=1 46bd026860f4c2dddce99f6eb1766e6ce7a1e0504bc5d28d687bfd4c253f6595 05:31:00 $ docker rm -f --volumes 46bd026860f4c2dddce99f6eb1766e6ce7a1e0504bc5d28d687bfd4c253f6595 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:00 + docker inspect -f . ci-base-image-arm64 05:31:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:31:00 prd-ubuntu20.04-docker-arm64-4c-16g-8872 does not seem to be running inside a container 05:31:01 $ 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/94 -v /w/workspace/device-modbus-go/94:/w/workspace/device-modbus-go/94:rw,z -v /w/workspace/device-modbus-go/94@tmp:/w/workspace/device-modbus-go/94@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:31:02 $ docker top 3e8c3fe19cef43d58af3c5986d2e71631c2ac63ee479ba8823c25d18de294691 -eo pid,comm [Pipeline] { [Pipeline] sh 05:31:03 + git config --global --add safe.directory /w/workspace/device-modbus-go/94 [Pipeline] fileExists [Pipeline] sh 05:31:03 + make test 05:31:03 go test ./... -coverprofile=coverage.out 05:31:35 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:33:27 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:33:27 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.066s coverage: 47.4% of statements 05:33:27 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:33:27 go vet ./... 05:33:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:33:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:33:54 ./bin/test-attribution-txt.sh [Pipeline] echo 05:33:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:33:54 $ docker stop --time=1 3e8c3fe19cef43d58af3c5986d2e71631c2ac63ee479ba8823c25d18de294691 05:33:56 $ docker rm -f --volumes 3e8c3fe19cef43d58af3c5986d2e71631c2ac63ee479ba8823c25d18de294691 [Pipeline] // withDockerContainer [Pipeline] sh 05:33:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:33:57 Warning: overwriting stash ‘coverage-report’ 05:33:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:33:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:33:59 + ls -al . 05:33:59 total 176 05:33:59 drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 05:31 . 05:33:59 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 05:28 .. 05:33:59 -rw-rw-r-- 1 jenkins jenkins 140 Apr 18 05:28 .dockerignore 05:33:59 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 05:28 .git 05:33:59 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:28 .github 05:33:59 -rw-rw-r-- 1 jenkins jenkins 331 Apr 18 05:28 .gitignore 05:33:59 -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 05:28 .golangci.yml 05:33:59 -rw-rw-r-- 1 jenkins jenkins 10132 Apr 18 05:28 Attribution.txt 05:33:59 -rw-rw-r-- 1 jenkins jenkins 11576 Apr 18 05:28 CHANGELOG.md 05:33:59 -rw-rw-r-- 1 jenkins jenkins 1365 Apr 18 05:28 Dockerfile 05:33:59 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 05:28 GOVERNANCE.md 05:33:59 -rw-rw-r-- 1 jenkins jenkins 680 Apr 18 05:28 Jenkinsfile 05:33:59 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 05:28 LICENSE 05:33:59 -rw-rw-r-- 1 jenkins jenkins 1705 Apr 18 05:28 Makefile 05:33:59 -rw-rw-r-- 1 jenkins jenkins 622 Apr 18 05:28 OWNERS.md 05:33:59 -rw-rw-r-- 1 jenkins jenkins 4045 Apr 18 05:28 README.md 05:33:59 -rw-rw-r-- 1 jenkins jenkins 12 Apr 18 05:26 VERSION 05:33:59 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 05:28 bin 05:33:59 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:28 cmd 05:33:59 -rw-r--r-- 1 jenkins jenkins 24160 Apr 18 05:33 coverage.out 05:33:59 -rw-rw-r-- 1 jenkins jenkins 3453 Apr 18 05:28 go.mod 05:33:59 -rw-rw-r-- 1 jenkins jenkins 31895 Apr 18 05:28 go.sum 05:33:59 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:28 internal 05:33:59 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 05:28 simulator 05:33:59 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 05:28 snap 05:33:59 -rw-rw-r-- 1 jenkins jenkins 229 Apr 18 05:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:59 + 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=96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 --label arch=arm64 --label version=3.0.0-dev.28 . 05:33:59 Sending build context to Docker daemon 3.375MB 05:33:59 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 05:33:59 Step 2/22 : FROM ${BASE} AS builder 05:33:59 ---> 32afeea94233 05:33:59 Step 3/22 : ARG ADD_BUILD_TAGS="" 05:33:59 ---> Running in ba14905d40a7 05:34:00 Removing intermediate container ba14905d40a7 05:34:00 ---> 35101b93a939 05:34:00 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:34:00 ---> Running in 655721e89cb4 05:34:00 Removing intermediate container 655721e89cb4 05:34:00 ---> 91bf91be6ffc 05:34:00 Step 5/22 : RUN apk add --update --no-cache make git openssh 05:34:00 ---> Running in 13235e59c8de 05:34:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:34:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:34:03 OK: 270 MiB in 61 packages 05:34:03 Removing intermediate container 13235e59c8de 05:34:03 ---> 28c4bad343a2 05:34:03 Step 6/22 : WORKDIR /device-modbus-go 05:34:03 ---> Running in 1cb27378e29b 05:34:04 Removing intermediate container 1cb27378e29b 05:34:04 ---> 0cbf2cb92db5 05:34:04 Step 7/22 : COPY go.mod vendor* ./ 05:34:04 ---> df9d4152d3f8 05:34:04 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:34:04 ---> Running in 276b591c9722 05:34:07 Removing intermediate container 276b591c9722 05:34:07 ---> a06288315673 05:34:07 Step 9/22 : COPY . . 05:34:07 ---> 3b7559e8c491 05:34:07 Step 10/22 : RUN ${MAKE} 05:34:07 ---> Running in c0eda584974d 05:34:08 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.28" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 05:36:15 Removing intermediate container c0eda584974d 05:36:15 ---> 0bd9d4d54c12 05:36:15 Step 11/22 : FROM alpine:3.17 05:36:15 3.17: Pulling from library/alpine 05:36:15 c41833b44d91: Pulling fs layer 05:36:15 c41833b44d91: Verifying Checksum 05:36:15 c41833b44d91: Download complete 05:36:15 c41833b44d91: Pull complete 05:36:15 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 05:36:15 Status: Downloaded newer image for alpine:3.17 05:36:15 ---> 51e60588ff2c 05:36:15 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:36:15 ---> Running in 4711958934ae 05:36:15 Removing intermediate container 4711958934ae 05:36:15 ---> 59e2c4f38584 05:36:15 Step 13/22 : RUN apk add --update --no-cache dumb-init 05:36:15 ---> Running in f2d37bdda022 05:36:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:36:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:36:15 (1/1) Installing dumb-init (1.2.5-r2) 05:36:15 Executing busybox-1.35.0-r29.trigger 05:36:15 OK: 8 MiB in 16 packages 05:36:15 Removing intermediate container f2d37bdda022 05:36:15 ---> 645a6d347532 05:36:15 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 05:36:16 ---> 86b238377019 05:36:16 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 05:36:16 ---> 039bdeae1f42 05:36:16 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:36:17 ---> 8e76aea575f4 05:36:17 Step 17/22 : EXPOSE 59901 05:36:17 ---> Running in 724337120b29 05:36:17 Removing intermediate container 724337120b29 05:36:17 ---> e36e71ae69ec 05:36:17 Step 18/22 : ENTRYPOINT ["/device-modbus"] 05:36:17 ---> Running in 9ee1aecc754d 05:36:17 Removing intermediate container 9ee1aecc754d 05:36:17 ---> 8a5da237498c 05:36:17 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:36:17 ---> Running in 536f56741801 05:36:18 Removing intermediate container 536f56741801 05:36:18 ---> cc35840e4cf6 05:36:18 Step 20/22 : LABEL arch=arm64 05:36:18 ---> Running in 58b1213315b5 05:36:18 Removing intermediate container 58b1213315b5 05:36:18 ---> d747ad553157 05:36:18 Step 21/22 : LABEL git_sha=96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 05:36:18 ---> Running in a92dc81b6d39 05:36:18 Removing intermediate container a92dc81b6d39 05:36:18 ---> 743a67a79b54 05:36:18 Step 22/22 : LABEL version=3.0.0-dev.28 05:36:18 ---> Running in 644a209ab8a5 05:36:18 Removing intermediate container 644a209ab8a5 05:36:18 ---> 05f49254ddd8 05:36:18 [Warning] One or more build-args [ARCH] were not consumed 05:36:19 Successfully built 05f49254ddd8 05:36:19 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:36:19 provisioning config files... 05:36:19 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/94@tmp/config1107910720202288853tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:36:19 ---> docker-login.sh 05:36:19 nexus3.edgexfoundry.org:10001 05:36:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:36:19 Configure a credential helper to remove this warning. See 05:36:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:36:19 05:36:19 Login Succeeded 05:36:19 nexus3.edgexfoundry.org:10002 05:36:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:36:20 Configure a credential helper to remove this warning. See 05:36:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:36:20 05:36:20 Login Succeeded 05:36:20 nexus3.edgexfoundry.org:10003 05:36:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:36:20 Configure a credential helper to remove this warning. See 05:36:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:36:20 05:36:20 Login Succeeded 05:36:20 nexus3.edgexfoundry.org:10004 05:36:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:36:21 Configure a credential helper to remove this warning. See 05:36:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:36:21 05:36:21 Login Succeeded 05:36:21 docker.io 05:36:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:36:21 Configure a credential helper to remove this warning. See 05:36:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:36:21 05:36:21 Login Succeeded 05:36:21 ---> docker-login.sh ends [Pipeline] } 05:36:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:36:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:36:21 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 05:36:21 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 05:36:21 latest 05:36:21 3.0.0-dev.28 05:36:21 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748-3.0.0-dev.28 05:36:21 main 05:36:21 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:21 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:22 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 05:36:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:36:22 c73caf836700: Preparing 05:36:22 7d28f13ebde0: Preparing 05:36:22 46a137c4bb30: Preparing 05:36:22 45c78ef2bf81: Preparing 05:36:22 26cbea5cba74: Preparing 05:36:22 26cbea5cba74: Layer already exists 05:36:22 45c78ef2bf81: Pushed 05:36:22 7d28f13ebde0: Pushed 05:36:22 c73caf836700: Pushed 05:36:27 46a137c4bb30: Pushed 05:36:27 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748: digest: sha256:782cfb240fe0af6391935cb896bce8501ee73cdb7be7a90e09f0814861906a68 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:28 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:28 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 05:36:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:36:28 c73caf836700: Preparing 05:36:28 7d28f13ebde0: Preparing 05:36:28 46a137c4bb30: Preparing 05:36:28 45c78ef2bf81: Preparing 05:36:28 26cbea5cba74: Preparing 05:36:28 7d28f13ebde0: Layer already exists 05:36:28 c73caf836700: Layer already exists 05:36:28 45c78ef2bf81: Layer already exists 05:36:28 26cbea5cba74: Layer already exists 05:36:28 46a137c4bb30: Layer already exists 05:36:28 latest: digest: sha256:782cfb240fe0af6391935cb896bce8501ee73cdb7be7a90e09f0814861906a68 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:28 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:29 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.28 05:36:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:36:29 c73caf836700: Preparing 05:36:29 7d28f13ebde0: Preparing 05:36:29 46a137c4bb30: Preparing 05:36:29 45c78ef2bf81: Preparing 05:36:29 26cbea5cba74: Preparing 05:36:29 45c78ef2bf81: Layer already exists 05:36:29 7d28f13ebde0: Layer already exists 05:36:29 c73caf836700: Layer already exists 05:36:29 46a137c4bb30: Layer already exists 05:36:29 26cbea5cba74: Layer already exists 05:36:29 3.0.0-dev.28: digest: sha256:782cfb240fe0af6391935cb896bce8501ee73cdb7be7a90e09f0814861906a68 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:29 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:96a911a6bae0ce7a8dcb7b899d93d9a8f0952748-3.0.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:29 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:96a911a6bae0ce7a8dcb7b899d93d9a8f0952748-3.0.0-dev.28 05:36:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:36:29 c73caf836700: Preparing 05:36:29 7d28f13ebde0: Preparing 05:36:29 46a137c4bb30: Preparing 05:36:29 45c78ef2bf81: Preparing 05:36:29 26cbea5cba74: Preparing 05:36:29 7d28f13ebde0: Layer already exists 05:36:29 46a137c4bb30: Layer already exists 05:36:29 45c78ef2bf81: Layer already exists 05:36:29 c73caf836700: Layer already exists 05:36:29 26cbea5cba74: Layer already exists 05:36:29 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748-3.0.0-dev.28: digest: sha256:782cfb240fe0af6391935cb896bce8501ee73cdb7be7a90e09f0814861906a68 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:30 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:30 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 05:36:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:36:30 c73caf836700: Preparing 05:36:30 7d28f13ebde0: Preparing 05:36:30 46a137c4bb30: Preparing 05:36:30 45c78ef2bf81: Preparing 05:36:30 26cbea5cba74: Preparing 05:36:30 7d28f13ebde0: Layer already exists 05:36:30 26cbea5cba74: Layer already exists 05:36:30 c73caf836700: Layer already exists 05:36:30 46a137c4bb30: Layer already exists 05:36:30 45c78ef2bf81: Layer already exists 05:36:31 main: digest: sha256:782cfb240fe0af6391935cb896bce8501ee73cdb7be7a90e09f0814861906a68 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:36:31 ===================================================== [Pipeline] echo 05:36:31 taggedImages: 05:36:31 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 05:36:31 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 05:36:31 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.28 05:36:31 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:96a911a6bae0ce7a8dcb7b899d93d9a8f0952748-3.0.0-dev.28 05:36:31 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:36:31 05:36:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:36:31 arm64: Pulling from edgex-lftools-log-publisher 05:36:31 8998bd30e6a1: Pulling fs layer 05:36:31 04944245beec: Pulling fs layer 05:36:31 699f458cf7ca: Pulling fs layer 05:36:31 765212b225bb: Pulling fs layer 05:36:31 f23df028b6ca: Pulling fs layer 05:36:31 d65c8cfc05b1: Pulling fs layer 05:36:31 2437ff75d9bd: Pulling fs layer 05:36:31 765212b225bb: Waiting 05:36:31 f23df028b6ca: Waiting 05:36:31 d65c8cfc05b1: Waiting 05:36:31 2437ff75d9bd: Waiting 05:36:32 04944245beec: Verifying Checksum 05:36:32 04944245beec: Download complete 05:36:32 765212b225bb: Verifying Checksum 05:36:32 765212b225bb: Download complete 05:36:32 f23df028b6ca: Download complete 05:36:32 d65c8cfc05b1: Verifying Checksum 05:36:32 d65c8cfc05b1: Download complete 05:36:32 699f458cf7ca: Verifying Checksum 05:36:32 699f458cf7ca: Download complete 05:36:32 8998bd30e6a1: Verifying Checksum 05:36:32 8998bd30e6a1: Download complete 05:36:36 8998bd30e6a1: Pull complete 05:36:36 04944245beec: Pull complete 05:36:37 2437ff75d9bd: Verifying Checksum 05:36:37 2437ff75d9bd: Download complete 05:36:38 699f458cf7ca: Pull complete 05:36:38 765212b225bb: Pull complete 05:36:39 f23df028b6ca: Pull complete 05:36:39 d65c8cfc05b1: Pull complete 05:36:54 2437ff75d9bd: Pull complete 05:36:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:36:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:36:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:36:54 prd-ubuntu20.04-docker-arm64-4c-16g-8872 does not seem to be running inside a container 05:36:54 $ 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/94 -v /w/workspace/device-modbus-go/94:/w/workspace/device-modbus-go/94:rw,z -v /w/workspace/device-modbus-go/94@tmp:/w/workspace/device-modbus-go/94@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:36:57 $ docker top d4f5d67418a3708e12b278ecd73abd89062415e8d1ef4080656042d74313a6c1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:36:57 ---> job-cost.sh 05:36:57 lf-activate-venv: SKIPPING 05:36:57 INFO: No Stack... 05:36:58 INFO: Retrieving Pricing Info for: v3-standard-4 05:36:59 INFO: Archiving Costs [Pipeline] sh 05:36:59 + cat /w/workspace/device-modbus-go/94/archives/cost.csv 05:36:59 + cut -d, -f6 [Pipeline] lock 05:36:59 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-94-stack-cost] 05:36:59 Resource [jenkins-edgexfoundry-device-modbus-go-main-94-stack-cost] did not exist. Created. 05:36:59 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-94-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:37:00 /w/workspace/device-modbus-go/94@tmp/durable-54b5fb79/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:37:01 + echo total: 0.10999999940395355 [Pipeline] stash 05:37:01 Warning: overwriting stash ‘stack-cost’ 05:37:01 Stashed 1 file(s) [Pipeline] } 05:37:01 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-94-stack-cost] [Pipeline] // lock [Pipeline] } 05:37:01 $ docker stop --time=1 d4f5d67418a3708e12b278ecd73abd89062415e8d1ef4080656042d74313a6c1 05:37:02 $ docker rm -f --volumes d4f5d67418a3708e12b278ecd73abd89062415e8d1ef4080656042d74313a6c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:37:03 provisioning config files... 05:37:03 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2664276709933936436tmp [Pipeline] { [Pipeline] sh 05:37:03 + set +x 05:37:03 + bash -s -- 05:37:03 + curl -s https://codecov.io/bash 05:37:03 05:37:03 _____ _ 05:37:03 / ____| | | 05:37:03 | | ___ __| | ___ ___ _____ __ 05:37:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:37:03 | |___| (_) | (_| | __/ (_| (_) \ V / 05:37:03 \_____\___/ \__,_|\___|\___\___/ \_/ 05:37:03 Bash-1.0.6 05:37:03 05:37:03 05:37:03 ==> git version 2.25.1 found 05:37:03 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:37:03 Release-Date: 2020-01-08 05:37:03 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:37:03 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:37:03 ==> Jenkins CI detected. 05:37:03 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 05:37:03 project root: . 05:37:03 --> token set from env 05:37:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:37:03 ==> Running gcov in . (disable via -X gcov) 05:37:03 ==> Python coveragepy not found 05:37:03 ==> Searching for coverage reports in: 05:37:03 + . 05:37:03 -> Found 1 reports 05:37:03 ==> Detecting git/mercurial file structure 05:37:03 ==> Reading reports 05:37:03 + ./coverage.out bytes=24160 05:37:03 ==> Appending adjustments 05:37:03 https://docs.codecov.io/docs/fixing-reports 05:37:03 + Found adjustments 05:37:03 ==> Gzipping contents 05:37:03 4.0K /tmp/codecov.IcNBbC.gz 05:37:03 ==> Uploading reports 05:37:03 url: https://codecov.io 05:37:03 query: branch=main&commit=96a911a6bae0ce7a8dcb7b899d93d9a8f0952748&build=94&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F94%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:37:03 -> Pinging Codecov 05:37:03 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=96a911a6bae0ce7a8dcb7b899d93d9a8f0952748&build=94&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F94%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:37:03 -> Uploading to 05:37:03 https://storage.googleapis.com/codecov/v4/raw/2023-04-18/55DBCA73C666E3227836607328DD7E49/96a911a6bae0ce7a8dcb7b899d93d9a8f0952748/3b60131c-150a-4489-927e-f1f871ccbfdf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230418T053703Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3a4c68bff75171ba404f6050918999d530c0d095766123c28604044f4b2d12c5 05:37:03 % Total % Received % Xferd Average Speed Time Time Time Current 05:37:03 Dload Upload Total Spent Left Speed 05:37:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 15886 --:--:-- --:--:-- --:--:-- 15886 05:37:04 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 [Pipeline] } 05:37:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:37:04 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:37:04 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:37:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:37:04 05:37:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:37:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:37:04 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:37:04 df9b9388f04a: Pulling fs layer 05:37:04 52dc419b0ee2: Pulling fs layer 05:37:04 25bc292e5bac: Pulling fs layer 05:37:04 114826534d7a: Pulling fs layer 05:37:04 4657fd5d0bcf: Pulling fs layer 05:37:04 6ad1cebc031e: Pulling fs layer 05:37:04 8a3aa393b2d8: Pulling fs layer 05:37:04 114826534d7a: Waiting 05:37:04 4657fd5d0bcf: Waiting 05:37:04 6ad1cebc031e: Waiting 05:37:04 8a3aa393b2d8: Waiting 05:37:04 25bc292e5bac: Download complete 05:37:04 52dc419b0ee2: Download complete 05:37:04 4657fd5d0bcf: Verifying Checksum 05:37:04 4657fd5d0bcf: Download complete 05:37:04 df9b9388f04a: Verifying Checksum 05:37:04 df9b9388f04a: Download complete 05:37:05 6ad1cebc031e: Verifying Checksum 05:37:05 6ad1cebc031e: Download complete 05:37:05 df9b9388f04a: Pull complete 05:37:05 52dc419b0ee2: Pull complete 05:37:05 25bc292e5bac: Pull complete 05:37:05 114826534d7a: Verifying Checksum 05:37:05 114826534d7a: Download complete 05:37:05 8a3aa393b2d8: Verifying Checksum 05:37:05 8a3aa393b2d8: Download complete 05:37:09 114826534d7a: Pull complete 05:37:09 4657fd5d0bcf: Pull complete 05:37:09 6ad1cebc031e: Pull complete 05:37:12 8a3aa393b2d8: Pull complete 05:37:12 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 05:37:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:37:12 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:37:12 prd-ubuntu20.04-docker-8c-8g-8871 does not seem to be running inside a container 05:37:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 05:37:16 $ docker top de33db6ebed68585139ce0bcd9ca69279ec938db98fda3da79c42d53378185ce -eo pid,comm [Pipeline] { [Pipeline] echo 05:37:16 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 05:37:17 + set -o pipefail 05:37:17 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 05:37:23 05:37:23 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 05:37:23 05:37:23 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/2ca8fada-56c0-4699-a5c1-e3df0b040ba9 05:37:23 05:37:23 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 05:37:23 05:37:23 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:37:23 05:37:23 05:37:23 A medium severity vulnerability was found in the Snyk CLI versions you are using. 05:37:23 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 05:37:23 More details here: https://snyk.co/ue1NS [Pipeline] } 05:37:23 $ docker stop --time=1 de33db6ebed68585139ce0bcd9ca69279ec938db98fda3da79c42d53378185ce 05:37:26 $ docker rm -f --volumes de33db6ebed68585139ce0bcd9ca69279ec938db98fda3da79c42d53378185ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:37:27 + git log --format=format:%s -1 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 [Pipeline] sh 05:37:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:37:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:37:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:37:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:37:28 prd-ubuntu20.04-docker-8c-8g-8871 does not seem to be running inside a container 05:37:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:37:28 $ docker top fe215002e620ffba4391417f87902b6e10703e4e197fe4497164f114dd49b629 -eo pid,comm 05:37:28 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:37:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:37:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:37:28 [ssh-agent] Looking for ssh-agent implementation... 05:37:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:37:28 $ docker exec fe215002e620ffba4391417f87902b6e10703e4e197fe4497164f114dd49b629 ssh-agent 05:37:28 SSH_AUTH_SOCK=/tmp/ssh-7U7UfEXBKHuJ/agent.32 05:37:28 SSH_AGENT_PID=38 05:37:28 Running ssh-add (command line suppressed) 05:37:28 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17752952979422006007.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17752952979422006007.key) 05:37:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:37:29 + git semver tag 05:37:29 2023-04-18 05:37:29,329 [run_tag] DEBUG tag force:False 05:37:29 2023-04-18 05:37:29,329 [check_head_tag] DEBUG check head tag 05:37:29 2023-04-18 05:37:29,330 [execute] INFO git cat-file --batch-check 05:37:29 2023-04-18 05:37:29,331 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 05:37:29 2023-04-18 05:37:29,335 [execute] INFO git cat-file --batch 05:37:29 2023-04-18 05:37:29,336 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 05:37:29 2023-04-18 05:37:29,358 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:37:29 2023-04-18 05:37:29,358 [execute] INFO git tag -a v3.0.0-dev.28 -m v3.0.0-dev.28 05:37:29 2023-04-18 05:37:29,359 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.28', '-m', 'v3.0.0-dev.28'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 05:37:29 2023-04-18 05:37:29,363 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:37:29 3.0.0-dev.28 [Pipeline] } 05:37:29 $ docker exec --env ******** --env ******** fe215002e620ffba4391417f87902b6e10703e4e197fe4497164f114dd49b629 ssh-agent -k 05:37:29 unset SSH_AUTH_SOCK; 05:37:29 unset SSH_AGENT_PID; 05:37:29 echo Agent pid 38 killed; 05:37:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:37:29 + git semver [Pipeline] } 05:37:30 $ docker stop --time=1 fe215002e620ffba4391417f87902b6e10703e4e197fe4497164f114dd49b629 05:37:31 $ docker rm -f --volumes fe215002e620ffba4391417f87902b6e10703e4e197fe4497164f114dd49b629 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:37:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:37:31 05:37:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:37:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:37:32 0.23.1-centos7: Pulling from edgex-lftools 05:37:32 ab5ef0e58194: Pulling fs layer 05:37:32 9712f1f96733: Pulling fs layer 05:37:32 63f879dbbcfc: Pulling fs layer 05:37:32 0d9ebad4ef96: Pulling fs layer 05:37:32 e9a5061849ea: Pulling fs layer 05:37:32 d747dcd14b5f: Pulling fs layer 05:37:32 2de7ff778b66: Pulling fs layer 05:37:32 0d9ebad4ef96: Waiting 05:37:32 e9a5061849ea: Waiting 05:37:32 d747dcd14b5f: Waiting 05:37:32 2de7ff778b66: Waiting 05:37:32 9712f1f96733: Download complete 05:37:32 63f879dbbcfc: Verifying Checksum 05:37:32 63f879dbbcfc: Download complete 05:37:32 e9a5061849ea: Verifying Checksum 05:37:32 e9a5061849ea: Download complete 05:37:32 d747dcd14b5f: Verifying Checksum 05:37:32 d747dcd14b5f: Download complete 05:37:32 ab5ef0e58194: Verifying Checksum 05:37:32 ab5ef0e58194: Download complete 05:37:32 0d9ebad4ef96: Verifying Checksum 05:37:32 0d9ebad4ef96: Download complete 05:37:32 2de7ff778b66: Download complete 05:37:35 ab5ef0e58194: Pull complete 05:37:35 9712f1f96733: Pull complete 05:37:35 63f879dbbcfc: Pull complete 05:37:39 0d9ebad4ef96: Pull complete 05:37:39 e9a5061849ea: Pull complete 05:37:39 d747dcd14b5f: Pull complete 05:37:40 2de7ff778b66: Pull complete 05:37:40 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:37:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:37:40 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:37:40 prd-ubuntu20.04-docker-8c-8g-8871 does not seem to be running inside a container 05:37:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:37:44 $ docker top e80696194165836deb4b6d336da96757293af724c9fe7ffbb394a25578b38777 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:37:44 provisioning config files... 05:37:44 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17160080111416841563tmp 05:37:45 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17326098567204658522tmp 05:37:45 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11258491744060501731tmp [Pipeline] { [Pipeline] echo 05:37:45 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:37:45 ---> sigul-configuration.sh 05:37:45 gpg: directory `/root/.gnupg' created 05:37:45 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:37:45 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:37:45 gpg: keyring `/root/.gnupg/secring.gpg' created 05:37:45 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:37:45 gpg: CAST5 encrypted data 05:37:45 gpg: encrypted with 1 passphrase 05:37:45 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:37:45 + mkdir /home/jenkins 05:37:45 + mkdir /home/jenkins/sigul [Pipeline] sh 05:37:45 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 05:37:45 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:37:46 ---> sigul-install.sh 05:37:46 Sigul already installed; skipping installation. [Pipeline] sh 05:37:46 + git tag --list 05:37:46 0.7.1 05:37:46 v1.0.0 05:37:46 v1.1.0 05:37:46 v1.1.1 05:37:46 v1.2.2 05:37:46 v1.3.0 05:37:46 v1.3.1 05:37:46 v2.0.0 05:37:46 v2.1.0 05:37:46 v2.1.1 05:37:46 v2.1.1-dev.1 05:37:46 v2.1.1-dev.2 05:37:46 v2.1.1-dev.3 05:37:46 v2.2.0 05:37:46 v2.2.1-dev.1 05:37:46 v2.2.1-dev.2 05:37:46 v2.2.1-dev.3 05:37:46 v2.2.1-dev.4 05:37:46 v2.2.1-dev.5 05:37:46 v2.2.1-dev.6 05:37:46 v2.2.1-dev.7 05:37:46 v2.3.0 05:37:46 v2.3.0-dev.10 05:37:46 v2.3.0-dev.11 05:37:46 v2.3.0-dev.12 05:37:46 v2.3.0-dev.13 05:37:46 v2.3.0-dev.14 05:37:46 v2.3.0-dev.15 05:37:46 v2.3.0-dev.16 05:37:46 v2.3.0-dev.17 05:37:46 v2.3.0-dev.18 05:37:46 v2.3.0-dev.19 05:37:46 v2.3.0-dev.20 05:37:46 v2.3.0-dev.21 05:37:46 v2.3.0-dev.22 05:37:46 v2.3.0-dev.23 05:37:46 v2.3.0-dev.24 05:37:46 v2.3.0-dev.25 05:37:46 v2.3.0-dev.7 05:37:46 v2.3.0-dev.8 05:37:46 v2.3.0-dev.9 05:37:46 v3.0.0-dev.1 05:37:46 v3.0.0-dev.10 05:37:46 v3.0.0-dev.11 05:37:46 v3.0.0-dev.12 05:37:46 v3.0.0-dev.13 05:37:46 v3.0.0-dev.14 05:37:46 v3.0.0-dev.15 05:37:46 v3.0.0-dev.16 05:37:46 v3.0.0-dev.17 05:37:46 v3.0.0-dev.18 05:37:46 v3.0.0-dev.19 05:37:46 v3.0.0-dev.2 05:37:46 v3.0.0-dev.20 05:37:46 v3.0.0-dev.21 05:37:46 v3.0.0-dev.22 05:37:46 v3.0.0-dev.23 05:37:46 v3.0.0-dev.24 05:37:46 v3.0.0-dev.25 05:37:46 v3.0.0-dev.26 05:37:46 v3.0.0-dev.27 05:37:46 v3.0.0-dev.28 05:37:46 v3.0.0-dev.3 05:37:46 v3.0.0-dev.4 05:37:46 v3.0.0-dev.5 05:37:46 v3.0.0-dev.6 05:37:46 v3.0.0-dev.7 05:37:46 v3.0.0-dev.8 05:37:46 v3.0.0-dev.9 [Pipeline] sh 05:37:46 + lftools sign git-tag v3.0.0-dev.28 05:37:47 Signing Git tag with Sigul... 05:37:47 Signing v3.0.0-dev.28 [Pipeline] echo 05:37:47 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:37:47 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:37:47 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:37:47 $ docker stop --time=1 e80696194165836deb4b6d336da96757293af724c9fe7ffbb394a25578b38777 05:37:49 $ docker rm -f --volumes e80696194165836deb4b6d336da96757293af724c9fe7ffbb394a25578b38777 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:37:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:37:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:37:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:37:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:37:49 prd-ubuntu20.04-docker-8c-8g-8871 does not seem to be running inside a container 05:37:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:37:50 $ docker top 9fceded7743ccfe53661f0326c53c6ced79412b1c6241d772449ef8432d7d27d -eo pid,comm 05:37:50 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:37:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:37:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:37:50 [ssh-agent] Looking for ssh-agent implementation... 05:37:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:37:50 $ docker exec 9fceded7743ccfe53661f0326c53c6ced79412b1c6241d772449ef8432d7d27d ssh-agent 05:37:50 SSH_AUTH_SOCK=/tmp/ssh-lIWM5fHIiZUR/agent.31 05:37:50 SSH_AGENT_PID=37 05:37:50 Running ssh-add (command line suppressed) 05:37:50 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16008515912801183437.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16008515912801183437.key) 05:37:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:37:51 + git semver bump pre 05:37:51 2023-04-18 05:37:51,188 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:37:51 2023-04-18 05:37:51,188 [bump_version] DEBUG bumping version:3.0.0-dev.28 on axis:pre with prefix:dev 05:37:51 2023-04-18 05:37:51,189 [bump_version] DEBUG bumped version:3.0.0-dev.29 05:37:51 2023-04-18 05:37:51,189 [write_version] DEBUG write version:3.0.0-dev.29 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 05:37:51 2023-04-18 05:37:51,189 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:37:51 2023-04-18 05:37:51,189 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:37:51 2023-04-18 05:37:51,190 [execute] INFO git cat-file --batch-check 05:37:51 2023-04-18 05:37:51,191 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:37:51 2023-04-18 05:37:51,196 [execute] INFO git cat-file --batch 05:37:51 2023-04-18 05:37:51,196 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:37:51 2023-04-18 05:37:51,201 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:37:51 3.0.0-dev.29 [Pipeline] } 05:37:51 $ docker exec --env ******** --env ******** 9fceded7743ccfe53661f0326c53c6ced79412b1c6241d772449ef8432d7d27d ssh-agent -k 05:37:51 unset SSH_AUTH_SOCK; 05:37:51 unset SSH_AGENT_PID; 05:37:51 echo Agent pid 37 killed; 05:37:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:37:51 + git semver [Pipeline] } 05:37:51 $ docker stop --time=1 9fceded7743ccfe53661f0326c53c6ced79412b1c6241d772449ef8432d7d27d 05:37:53 $ docker rm -f --volumes 9fceded7743ccfe53661f0326c53c6ced79412b1c6241d772449ef8432d7d27d [Pipeline] // withDockerContainer [Pipeline] sh 05:37:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:37:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:37:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:37:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:37:53 prd-ubuntu20.04-docker-8c-8g-8871 does not seem to be running inside a container 05:37:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:37:54 $ docker top 5901e5701f5187d6b9572ece7e66047a241564fc77bbd5e43196a4c8b2a1b04b -eo pid,comm 05:37:54 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:37:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:37:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:37:54 [ssh-agent] Looking for ssh-agent implementation... 05:37:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:37:54 $ docker exec 5901e5701f5187d6b9572ece7e66047a241564fc77bbd5e43196a4c8b2a1b04b ssh-agent 05:37:54 SSH_AUTH_SOCK=/tmp/ssh-cXT2TcDQHsUw/agent.32 05:37:54 SSH_AGENT_PID=38 05:37:54 Running ssh-add (command line suppressed) 05:37:54 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12413671803019044383.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12413671803019044383.key) 05:37:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:37:55 + git semver push 05:37:55 2023-04-18 05:37:55,198 [run_push] DEBUG push 05:37:55 2023-04-18 05:37:55,199 [execute] INFO git cat-file --batch-check 05:37:55 2023-04-18 05:37:55,199 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:37:55 2023-04-18 05:37:55,204 [execute] INFO git rev-list 1d30d1a908b43551252a30b3b3a717f233d7a515 -- 05:37:55 2023-04-18 05:37:55,205 [execute] DEBUG Popen(['git', 'rev-list', '1d30d1a908b43551252a30b3b3a717f233d7a515', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:37:55 2023-04-18 05:37:55,213 [execute] INFO git fetch -v origin 05:37:55 2023-04-18 05:37:55,213 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 05:37:55 2023-04-18 05:37:55,681 [run_push] DEBUG no remote changes detected 05:37:55 2023-04-18 05:37:55,682 [execute] INFO git push origin semver 05:37:55 2023-04-18 05:37:55,683 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:37:56 2023-04-18 05:37:56,752 [run_push] DEBUG push all version tags 05:37:56 2023-04-18 05:37:56,752 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:37:56 2023-04-18 05:37:56,753 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 05:37:57 2023-04-18 05:37:57,490 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:37:57 3.0.0-dev.29 [Pipeline] } 05:37:57 $ docker exec --env ******** --env ******** 5901e5701f5187d6b9572ece7e66047a241564fc77bbd5e43196a4c8b2a1b04b ssh-agent -k 05:37:57 unset SSH_AUTH_SOCK; 05:37:57 unset SSH_AGENT_PID; 05:37:57 echo Agent pid 38 killed; 05:37:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:37:58 + git semver [Pipeline] } 05:37:58 $ docker stop --time=1 5901e5701f5187d6b9572ece7e66047a241564fc77bbd5e43196a4c8b2a1b04b 05:37:59 $ docker rm -f --volumes 5901e5701f5187d6b9572ece7e66047a241564fc77bbd5e43196a4c8b2a1b04b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:38:00 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 05:38:00 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 05:38:00 total 16 05:38:00 drwxr-xr-x 3 root root 4096 Apr 18 05:29 . 05:38:00 drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 05:37 .. 05:38:00 drwxr-xr-x 2 root root 4096 Apr 18 05:29 cost 05:38:00 -rw-r--r-- 1 root root 87 Apr 18 05:29 cost.csv 05:38:00 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 05:38:00 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 05:38:00 total 16 05:38:00 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 05:29 . 05:38:00 drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 05:37 .. 05:38:00 drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 05:29 cost 05:38:00 -rw-r--r-- 1 jenkins jenkins 87 Apr 18 05:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:38:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:38:01 ---> package-listing.sh 05:38:01 ++ facter osfamily 05:38:01 ++ tr '[:upper:]' '[:lower:]' 05:38:01 + OS_FAMILY=debian 05:38:01 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 05:38:01 + START_PACKAGES=/tmp/packages_start.txt 05:38:01 + END_PACKAGES=/tmp/packages_end.txt 05:38:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:38:01 + PACKAGES=/tmp/packages_start.txt 05:38:01 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 05:38:01 + PACKAGES=/tmp/packages_end.txt 05:38:01 + case "${OS_FAMILY}" in 05:38:01 + dpkg -l 05:38:01 + grep '^ii' 05:38:01 + '[' -f /tmp/packages_start.txt ']' 05:38:01 + '[' -f /tmp/packages_end.txt ']' 05:38:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:38:01 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 05:38:01 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 05:38:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 05:38:01 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:38:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:38:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:38:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:38:02 prd-ubuntu20.04-docker-8c-8g-8871 does not seem to be running inside a container 05:38:02 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:38:02 $ docker top 786e4f31f042e9789c2b1697db68b62f9e79d1b89e8872f8b3a83a201e6f0636 -eo pid,comm [Pipeline] { [Pipeline] sh 05:38:03 + touch /tmp/pre-build-complete [Pipeline] sh 05:38:03 + mkdir -p /var/log/sysstat [Pipeline] sh 05:38:03 + ls /var/log/sa-host 05:38:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:38:03 provisioning config files... 05:38:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15805958698384975408tmp [Pipeline] { [Pipeline] echo 05:38:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:38:04 ---> create-netrc.sh [Pipeline] } 05:38:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:38:04 ---> python-tools-install.sh [Pipeline] echo 05:38:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:38:04 ---> sudo-logs.sh 05:38:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:38:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:38:04 ---> job-cost.sh 05:38:04 lf-activate-venv: SKIPPING 05:38:04 DEBUG: total: 0.2199999988079071 05:38:04 INFO: Retrieving Stack Cost... 05:38:05 INFO: Retrieving Pricing Info for: v3-standard-8 05:38:05 INFO: Archiving Costs [Pipeline] echo 05:38:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:38:06 ---> logs-deploy.sh 05:38:06 lf-activate-venv: SKIPPING 05:38:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/94 05:38:06 INFO: archiving workspace using pattern(s): 05:38:06 Archives upload complete. 05:38:06 INFO: archiving logs to Nexus