Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d9d7c9445bd01df0ee4a07f33637a5782cac6865 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-ssh15302345933428025616.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh4086191080507802758.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 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh8990112734664175109.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh7010224164737020058.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-ssh8773817266267545707.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] ========================================================= [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.21 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 ‘prd-ubuntu20.04-docker-8c-8g-7265’ is offline Running on prd-ubuntu20.04-docker-8c-8g-7266 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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 d9d7c9445bd01df0ee4a07f33637a5782cac6865 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d9d7c9445bd01df0ee4a07f33637a5782cac6865 # timeout=10 Commit message: "Merge pull request #565 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.7.0" > git rev-list --no-walk a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:24:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:24:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:24:13 ========================================================= 06:24:13 EdgeX Global Pipelines Version Info 06:24:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:24:18 ------------------- 06:24:18 stable info: 06:24:18 ------------------- 06:24:18 Commited By: Ginny Guan ginny@iotechsys.com 06:24:18 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 06:24:18 Message: update stable to v1.0.260 06:24:19 ------------------- 06:24:19 experimental info: 06:24:19 ------------------- 06:24:19 Commited By: Ginny Guan ginny@iotechsys.com 06:24:19 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 06:24:19 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:24:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 06:24:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 06:24:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:24:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:24:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:24:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 06:24:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:24:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:24:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:24:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:24:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:24:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 06:24:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:24:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:24:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:24:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:24:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:24:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:24:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:24:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:24:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:24:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:24:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:24:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:24:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:24:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:24:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:24:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:24:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:24:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:24:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d9d7c9445bd01df0ee4a07f33637a5782cac6865 [Pipeline] echo 06:24:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d9d7c94 [Pipeline] echo 06:24:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:24:29 provisioning config files... 06:24:29 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4684118194989923060tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:24:29 ---> ****-login.sh 06:24:29 nexus3.edgexfoundry.org:10001 06:24:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:24:29 Configure a credential helper to remove this warning. See 06:24:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:24:29 06:24:29 Login Succeeded 06:24:29 nexus3.edgexfoundry.org:10002 06:24:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:24:29 Configure a credential helper to remove this warning. See 06:24:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:24:29 06:24:29 Login Succeeded 06:24:29 nexus3.edgexfoundry.org:10003 06:24:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:24:29 Configure a credential helper to remove this warning. See 06:24:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:24:29 06:24:29 Login Succeeded 06:24:29 nexus3.edgexfoundry.org:10004 06:24:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:24:29 Configure a credential helper to remove this warning. See 06:24:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:24:29 06:24:29 Login Succeeded 06:24:29 ****.io 06:24:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:24:30 Configure a credential helper to remove this warning. See 06:24:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:24:30 06:24:30 Login Succeeded 06:24:30 ---> ****-login.sh ends [Pipeline] } 06:24:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:24:30 + git rev-list -1 --merges d9d7c9445bd01df0ee4a07f33637a5782cac6865~1..d9d7c9445bd01df0ee4a07f33637a5782cac6865 [Pipeline] echo 06:24:30 -----------> git rev-list -1 --merges d9d7c9445bd01df0ee4a07f33637a5782cac6865~1..d9d7c9445bd01df0ee4a07f33637a5782cac6865 d9d7c9445bd01df0ee4a07f33637a5782cac6865 06:24:30 d9d7c9445bd01df0ee4a07f33637a5782cac6865 [false] [Pipeline] sh 06:24:30 + git log --format=format:%s -1 d9d7c9445bd01df0ee4a07f33637a5782cac6865 [Pipeline] echo 06:24:30 ========================================================= 06:24:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:24:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:24:31 + git log --format=format:%s -1 d9d7c9445bd01df0ee4a07f33637a5782cac6865 [Pipeline] echo 06:24:31 [semverPrep] GIT_COMMIT: d9d7c9445bd01df0ee4a07f33637a5782cac6865, Commit Message: Merge pull request #565 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.7.0 [Pipeline] echo 06:24:31 [semverPrep] This is not a build commit. [Pipeline] sh 06:24:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:24:31 + grep -v github /etc/ssh/ssh_known_hosts 06:24:31 + [ -e /tmp/ssh_known_hosts ] 06:24:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:24:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:24:31 + sudo tee -a /etc/ssh/ssh_known_hosts 06:24:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:24:31 06:24:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:24:32 0.1.4: Pulling from edgex-devops/py-git-semver 06:24:32 b85a868b505f: Pulling fs layer 06:24:32 e2be974225ed: Pulling fs layer 06:24:32 339a4e72a1f5: Pulling fs layer 06:24:32 988bab9f4d93: Pulling fs layer 06:24:32 1469e6f7b9e6: Pulling fs layer 06:24:32 eaf3925da568: Pulling fs layer 06:24:32 bab4dde63d76: Pulling fs layer 06:24:32 bde34c3a00c8: Pulling fs layer 06:24:32 b352a97aabf1: Pulling fs layer 06:24:32 4872d77fe225: Pulling fs layer 06:24:32 5851b861e8e6: Pulling fs layer 06:24:32 bab4dde63d76: Waiting 06:24:32 bde34c3a00c8: Waiting 06:24:32 b352a97aabf1: Waiting 06:24:32 4872d77fe225: Waiting 06:24:32 5851b861e8e6: Waiting 06:24:32 988bab9f4d93: Waiting 06:24:32 1469e6f7b9e6: Waiting 06:24:32 eaf3925da568: Waiting 06:24:32 e2be974225ed: Verifying Checksum 06:24:32 e2be974225ed: Download complete 06:24:32 988bab9f4d93: Verifying Checksum 06:24:32 988bab9f4d93: Download complete 06:24:33 339a4e72a1f5: Verifying Checksum 06:24:33 339a4e72a1f5: Download complete 06:24:33 1469e6f7b9e6: Verifying Checksum 06:24:33 1469e6f7b9e6: Download complete 06:24:33 eaf3925da568: Verifying Checksum 06:24:33 eaf3925da568: Download complete 06:24:33 bde34c3a00c8: Verifying Checksum 06:24:33 bde34c3a00c8: Download complete 06:24:33 b352a97aabf1: Download complete 06:24:33 4872d77fe225: Verifying Checksum 06:24:33 4872d77fe225: Download complete 06:24:33 5851b861e8e6: Download complete 06:24:33 b85a868b505f: Verifying Checksum 06:24:33 b85a868b505f: Download complete 06:24:34 b85a868b505f: Pull complete 06:24:34 bab4dde63d76: Verifying Checksum 06:24:34 bab4dde63d76: Download complete 06:24:34 e2be974225ed: Pull complete 06:24:35 339a4e72a1f5: Pull complete 06:24:35 988bab9f4d93: Pull complete 06:24:35 1469e6f7b9e6: Pull complete 06:24:35 eaf3925da568: Pull complete 06:24:37 bab4dde63d76: Pull complete 06:24:37 bde34c3a00c8: Pull complete 06:24:37 b352a97aabf1: Pull complete 06:24:37 4872d77fe225: Pull complete 06:24:37 5851b861e8e6: Pull complete 06:24:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:24:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:24:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:24:37 prd-ubuntu20.04-docker-8c-8g-7266 does not seem to be running inside a container 06:24:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:24:46 $ docker top 405c064448864ae9b97479b4c00bb75556d60b816239129482a387e7f991a6dc -eo pid,comm 06:24: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). 06:24:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:24:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:24:46 [ssh-agent] Looking for ssh-agent implementation... 06:24:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:24:46 $ docker exec 405c064448864ae9b97479b4c00bb75556d60b816239129482a387e7f991a6dc ssh-agent 06:24:46 SSH_AUTH_SOCK=/tmp/ssh-WCX9B4aXIUVF/agent.31 06:24:46 SSH_AGENT_PID=37 06:24:46 Running ssh-add (command line suppressed) 06:24:46 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17474278234419571695.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17474278234419571695.key) 06:24:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:24:46 + git tag --points-at HEAD [Pipeline] } 06:24:46 $ docker exec --env ******** --env ******** 405c064448864ae9b97479b4c00bb75556d60b816239129482a387e7f991a6dc ssh-agent -k 06:24:46 unset SSH_AUTH_SOCK; 06:24:46 unset SSH_AGENT_PID; 06:24:46 echo Agent pid 37 killed; 06:24:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:24:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:24:46 [ssh-agent] Looking for ssh-agent implementation... 06:24:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:24:47 $ docker exec 405c064448864ae9b97479b4c00bb75556d60b816239129482a387e7f991a6dc ssh-agent 06:24:47 SSH_AUTH_SOCK=/tmp/ssh-BJjhsGUJAJiz/agent.71 06:24:47 SSH_AGENT_PID=77 06:24:47 Running ssh-add (command line suppressed) 06:24:47 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12697076369268191415.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12697076369268191415.key) 06:24:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:24:47 + git semver init 06:24:47 2024-08-07 06:24:47,770 [run_init] DEBUG init version:0.0.0 force:False 06:24:47 2024-08-07 06:24:47,770 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 06:24:47 2024-08-07 06:24:47,771 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 06:24:47 2024-08-07 06:24:47,771 [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) 06:24:49 2024-08-07 06:24:48,934 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 06:24:49 2024-08-07 06:24:48,935 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 06:24:49 2024-08-07 06:24:48,935 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:24:49 2024-08-07 06:24:48,935 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:24:49 3.2.0-dev.21 [Pipeline] } 06:24:49 $ docker exec --env ******** --env ******** 405c064448864ae9b97479b4c00bb75556d60b816239129482a387e7f991a6dc ssh-agent -k 06:24:49 unset SSH_AUTH_SOCK; 06:24:49 unset SSH_AGENT_PID; 06:24:49 echo Agent pid 77 killed; 06:24:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:24:49 + git semver [Pipeline] } 06:24:50 $ docker stop --time=1 405c064448864ae9b97479b4c00bb75556d60b816239129482a387e7f991a6dc 06:24:51 $ docker rm -f --volumes 405c064448864ae9b97479b4c00bb75556d60b816239129482a387e7f991a6dc [Pipeline] // withDockerContainer [Pipeline] sh 06:24:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:24:51 Stashed 1 file(s) [Pipeline] echo 06:24:51 [edgeXSemver]: initialized semver on version 3.2.0-dev.21 [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 06:24:52 provisioning config files... 06:24:52 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10153847481756201080tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:24:52 ---> ****-login.sh 06:24:52 nexus3.edgexfoundry.org:10001 06:24:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:24:52 Configure a credential helper to remove this warning. See 06:24:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:24:52 06:24:52 Login Succeeded 06:24:52 nexus3.edgexfoundry.org:10002 06:24:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:24:52 Configure a credential helper to remove this warning. See 06:24:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:24:52 06:24:52 Login Succeeded 06:24:52 nexus3.edgexfoundry.org:10003 06:24:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:24:52 Configure a credential helper to remove this warning. See 06:24:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:24:52 06:24:52 Login Succeeded 06:24:52 nexus3.edgexfoundry.org:10004 06:24:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:24:52 Configure a credential helper to remove this warning. See 06:24:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:24:52 06:24:52 Login Succeeded 06:24:52 ****.io 06:24:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:24:52 Configure a credential helper to remove this warning. See 06:24:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:24:52 06:24:52 Login Succeeded 06:24:52 ---> ****-login.sh ends [Pipeline] } 06:24:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:24:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:24:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:24:53 ========================================================= 06:24:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 06:24:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:53 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 06:24:53 Sending build context to Docker daemon 17.88MB 06:24:53 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 06:24:53 Step 2/10 : FROM ${BASE} AS builder 06:24:53 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 06:24:53 619be1103602: Pulling fs layer 06:24:53 7862e08f4a3e: Pulling fs layer 06:24:53 5df492c9dc93: Pulling fs layer 06:24:53 7629e6793208: Pulling fs layer 06:24:53 4f4fb700ef54: Pulling fs layer 06:24:53 fb5054dd5b73: Pulling fs layer 06:24:53 eeca6798cff9: Pulling fs layer 06:24:53 aa269ceb94a6: Pulling fs layer 06:24:53 ada007ff1a6a: Pulling fs layer 06:24:53 4f4fb700ef54: Waiting 06:24:53 fb5054dd5b73: Waiting 06:24:53 eeca6798cff9: Waiting 06:24:53 aa269ceb94a6: Waiting 06:24:53 ada007ff1a6a: Waiting 06:24:53 7629e6793208: Waiting 06:24:53 7862e08f4a3e: Download complete 06:24:53 7629e6793208: Verifying Checksum 06:24:53 7629e6793208: Download complete 06:24:53 4f4fb700ef54: Verifying Checksum 06:24:53 4f4fb700ef54: Download complete 06:24:53 fb5054dd5b73: Verifying Checksum 06:24:53 fb5054dd5b73: Download complete 06:24:53 619be1103602: Verifying Checksum 06:24:53 619be1103602: Download complete 06:24:53 eeca6798cff9: Verifying Checksum 06:24:53 eeca6798cff9: Download complete 06:24:53 619be1103602: Pull complete 06:24:53 ada007ff1a6a: Verifying Checksum 06:24:53 ada007ff1a6a: Download complete 06:24:53 7862e08f4a3e: Pull complete 06:24:53 5df492c9dc93: Verifying Checksum 06:24:53 5df492c9dc93: Download complete 06:24:54 aa269ceb94a6: Verifying Checksum 06:24:54 aa269ceb94a6: Download complete 06:24:57 5df492c9dc93: Pull complete 06:24:57 7629e6793208: Pull complete 06:24:57 4f4fb700ef54: Pull complete 06:24:57 fb5054dd5b73: Pull complete 06:24:57 eeca6798cff9: Pull complete 06:25:00 aa269ceb94a6: Pull complete 06:25:00 ada007ff1a6a: Pull complete 06:25:00 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 06:25:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 06:25:00 ---> f489d0715acc 06:25:00 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:25:05 ---> Running in 20f08577b2b0 06:25:05 Removing intermediate container 20f08577b2b0 06:25:05 ---> 956feaca6b73 06:25:05 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:25:05 ---> Running in ca504c396b06 06:25:05 Removing intermediate container ca504c396b06 06:25:05 ---> a4300a45e331 06:25:05 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:25:05 ---> Running in 8fc770963ec4 06:25:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:25:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:25:06 (1/8) Installing openssh-keygen (9.3_p2-r2) 06:25:06 (2/8) Installing libedit (20221030.3.1-r1) 06:25:06 (3/8) Installing openssh-client-common (9.3_p2-r2) 06:25:06 (4/8) Installing openssh-client-default (9.3_p2-r2) 06:25:06 (5/8) Installing openssh-sftp-server (9.3_p2-r2) 06:25:06 (6/8) Installing openssh-server-common (9.3_p2-r2) 06:25:06 (7/8) Installing openssh-server (9.3_p2-r2) 06:25:06 (8/8) Installing openssh (9.3_p2-r2) 06:25:06 Executing busybox-1.36.1-r5.trigger 06:25:06 OK: 270 MiB in 60 packages 06:25:06 Removing intermediate container 8fc770963ec4 06:25:06 ---> 8a7bed34d2c0 06:25:06 Step 6/10 : WORKDIR /device-modbus-go 06:25:06 ---> Running in bbe6cae45dcd 06:25:07 Still waiting to schedule task 06:25:07 ‘prd-ubuntu20.04-docker-arm64-4c-16g-7268’ is offline 06:25:07 Removing intermediate container bbe6cae45dcd 06:25:07 ---> 70ee229904ef 06:25:07 Step 7/10 : COPY go.mod vendor* ./ 06:25:07 ---> 3011e9aef27d 06:25:07 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:25:07 ---> Running in f640d580188a 06:26:23 Removing intermediate container f640d580188a 06:26:23 ---> b965e781fcdb 06:26:23 Step 9/10 : COPY . . 06:26:23 ---> 177e9c48c980 06:26:23 Step 10/10 : RUN ${MAKE} 06:26:23 ---> Running in 3ac44cd4519e 06:26:23 noop 06:26:23 Removing intermediate container 3ac44cd4519e 06:26:23 ---> da66309f2db6 06:26:23 Successfully built da66309f2db6 06:26:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:26:23 + docker inspect -f . ci-base-image-x86_64 06:26:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:26:23 prd-ubuntu20.04-docker-8c-8g-7266 does not seem to be running inside a container 06:26:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:26:24 $ docker top c09766d2f7901025dd1c0345bd9eb14dba0db91bd4578f2d41ea0bbbe475cf3c -eo pid,comm [Pipeline] { [Pipeline] sh 06:26:24 + go version 06:26:24 go version go1.21.9 linux/amd64 [Pipeline] } 06:26:24 $ docker stop --time=1 c09766d2f7901025dd1c0345bd9eb14dba0db91bd4578f2d41ea0bbbe475cf3c 06:26:25 $ docker rm -f --volumes c09766d2f7901025dd1c0345bd9eb14dba0db91bd4578f2d41ea0bbbe475cf3c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:26:26 + docker inspect -f . ci-base-image-x86_64 06:26:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:26:26 prd-ubuntu20.04-docker-8c-8g-7266 does not seem to be running inside a container 06:26:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:26:26 $ docker top 820671072e1a25d729542d6bf0ef0abec37b9e021324af033247c5f6f33801dc -eo pid,comm [Pipeline] { [Pipeline] sh 06:26:27 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 06:26:27 + make test 06:26:27 go test ./... -coverprofile=coverage.out 06:26:28 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:26:46 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:26:46 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.008s coverage: 47.9% of statements 06:26:55 go vet ./... 06:27:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:27:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:27:00 ./bin/test-attribution-txt.sh 06:27:00 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo 06:27:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:27:00 $ docker stop --time=1 820671072e1a25d729542d6bf0ef0abec37b9e021324af033247c5f6f33801dc 06:27:03 $ docker rm -f --volumes 820671072e1a25d729542d6bf0ef0abec37b9e021324af033247c5f6f33801dc [Pipeline] // withDockerContainer [Pipeline] sh 06:27:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:27:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:27:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:27:04 + ls -al . 06:27:04 total 272 06:27:04 drwxrwxr-x 9 jenkins jenkins 4096 Aug 7 06:26 . 06:27:04 drwxrwxr-x 4 jenkins jenkins 4096 Aug 7 06:24 .. 06:27:04 -rw-rw-r-- 1 jenkins jenkins 140 Aug 7 06:24 .dockerignore 06:27:04 drwxrwxr-x 8 jenkins jenkins 4096 Aug 7 06:26 .git 06:27:04 drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 06:24 .github 06:27:04 -rw-rw-r-- 1 jenkins jenkins 266 Aug 7 06:24 .gitignore 06:27:04 -rw-rw-r-- 1 jenkins jenkins 41 Aug 7 06:24 .golangci.yml 06:27:04 drwxr-xr-x 3 jenkins jenkins 4096 Aug 7 06:24 .semver 06:27:04 -rw-rw-r-- 1 jenkins jenkins 19432 Aug 7 06:24 Attribution.txt 06:27:04 -rw-rw-r-- 1 jenkins jenkins 16388 Aug 7 06:24 CHANGELOG.md 06:27:04 -rw-rw-r-- 1 jenkins jenkins 1474 Aug 7 06:24 Dockerfile 06:27:04 -rw-rw-r-- 1 jenkins jenkins 677 Aug 7 06:24 GOVERNANCE.md 06:27:04 -rw-rw-r-- 1 jenkins jenkins 658 Aug 7 06:24 Jenkinsfile 06:27:04 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 7 06:24 LICENSE 06:27:04 -rw-rw-r-- 1 jenkins jenkins 1942 Aug 7 06:24 Makefile 06:27:04 -rw-rw-r-- 1 jenkins jenkins 622 Aug 7 06:24 OWNERS.md 06:27:04 -rw-rw-r-- 1 jenkins jenkins 4463 Aug 7 06:24 README.md 06:27:04 -rw-rw-r-- 1 jenkins jenkins 12 Aug 7 06:24 VERSION 06:27:04 drwxrwxr-x 2 jenkins jenkins 4096 Aug 7 06:24 bin 06:27:04 drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 06:24 cmd 06:27:04 -rw-r--r-- 1 jenkins jenkins 24601 Aug 7 06:26 coverage.out 06:27:04 -rw-rw-r-- 1 jenkins jenkins 7185 Aug 7 06:24 go.mod 06:27:04 -rw-rw-r-- 1 jenkins jenkins 102015 Aug 7 06:24 go.sum 06:27:04 drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 06:24 internal 06:27:04 drwxrwxr-x 2 jenkins jenkins 4096 Aug 7 06:24 simulator 06:27:04 -rw-rw-r-- 1 jenkins jenkins 229 Aug 7 06:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:05 + 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=d9d7c9445bd01df0ee4a07f33637a5782cac6865 --label arch=amd64 --label version=3.2.0-dev.21 . 06:27:05 Sending build context to Docker daemon 17.91MB 06:27:05 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 06:27:05 Step 2/23 : FROM ${BASE} AS builder 06:27:05 ---> da66309f2db6 06:27:05 Step 3/23 : ARG ADD_BUILD_TAGS="" 06:27:05 ---> Running in d82550ecf09a 06:27:05 Removing intermediate container d82550ecf09a 06:27:05 ---> 90c0027d0e25 06:27:05 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:27:05 ---> Running in 50b0ec6f6738 06:27:05 Removing intermediate container 50b0ec6f6738 06:27:05 ---> 8d9a68d7d86d 06:27:05 Step 5/23 : RUN apk add --update --no-cache make git openssh 06:27:05 ---> Running in 62cc419cfbf2 06:27:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:27:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:27:06 OK: 270 MiB in 60 packages 06:27:06 Removing intermediate container 62cc419cfbf2 06:27:06 ---> 3b71903a4c03 06:27:06 Step 6/23 : WORKDIR /device-modbus-go 06:27:07 ---> Running in 73cca8bd0aaf 06:27:07 Removing intermediate container 73cca8bd0aaf 06:27:07 ---> adc8e7cae88d 06:27:07 Step 7/23 : COPY go.mod vendor* ./ 06:27:07 ---> 64d3dfbd5874 06:27:07 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:27:07 ---> Running in 24e48e83a30e 06:27:08 Removing intermediate container 24e48e83a30e 06:27:08 ---> d75bea362cef 06:27:08 Step 9/23 : COPY . . 06:27:08 ---> 42fcb16720e6 06:27:08 Step 10/23 : RUN ${MAKE} 06:27:08 ---> Running in e198a8afe822 06:27:08 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.21 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.29" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 06:27:40 Removing intermediate container e198a8afe822 06:27:40 ---> b0097037721e 06:27:40 Step 11/23 : FROM alpine:3.18 06:27:40 3.18: Pulling from library/alpine 06:27:40 930bdd4d222e: Pulling fs layer 06:27:40 930bdd4d222e: Verifying Checksum 06:27:40 930bdd4d222e: Download complete 06:27:40 930bdd4d222e: Pull complete 06:27:40 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 06:27:40 Status: Downloaded newer image for alpine:3.18 06:27:40 ---> 18f865063206 06:27:40 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:27:40 ---> Running in c636d770a127 06:27:40 Removing intermediate container c636d770a127 06:27:40 ---> 78c6c53393ba 06:27:40 Step 13/23 : RUN apk add --update --no-cache dumb-init 06:27:40 ---> Running in ea45c1ac5fbf 06:27:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:27:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:27:40 (1/1) Installing dumb-init (1.2.5-r2) 06:27:40 Executing busybox-1.36.1-r7.trigger 06:27:40 OK: 7 MiB in 16 packages 06:27:41 Removing intermediate container ea45c1ac5fbf 06:27:41 ---> 50c46bccd76a 06:27:41 Step 14/23 : RUN apk --no-cache upgrade 06:27:41 ---> Running in 7f2ba07965df 06:27:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:27:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:27:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7269 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { 06:27:41 OK: 7 MiB in 16 packages [Pipeline] ws 06:27:41 Running in /w/workspace/device-modbus-go/160 [Pipeline] { [Pipeline] checkout 06:27:42 Removing intermediate container 7f2ba07965df 06:27:42 ---> beb097accc96 06:27:42 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 06:27:43 ---> e359119d480a 06:27:43 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 06:27:43 ---> 07c3d7bf537e 06:27:43 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:27:43 ---> 4ac1672b7901 06:27:43 Step 18/23 : EXPOSE 59901 06:27:43 ---> Running in 0883a761ace9 06:27:43 Removing intermediate container 0883a761ace9 06:27:43 ---> a6512fb3d84f 06:27:43 Step 19/23 : ENTRYPOINT ["/device-modbus"] 06:27:43 ---> Running in 91e2f56449d0 06:27:43 Removing intermediate container 91e2f56449d0 06:27:43 ---> 71c5b83586b2 06:27:43 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:27:43 ---> Running in 0087dac9ce8d 06:27:43 Removing intermediate container 0087dac9ce8d 06:27:43 ---> 0c3810413191 06:27:43 Step 21/23 : LABEL arch=amd64 06:27:43 ---> Running in ba06b3a487ce 06:27:43 Removing intermediate container ba06b3a487ce 06:27:43 ---> c93b2bae22bf 06:27:43 Step 22/23 : LABEL git_sha=d9d7c9445bd01df0ee4a07f33637a5782cac6865 06:27:43 ---> Running in a43de0f4771d 06:27:43 Removing intermediate container a43de0f4771d 06:27:43 ---> cbbe5be40d50 06:27:43 Step 23/23 : LABEL version=3.2.0-dev.21 06:27:43 ---> Running in 58e7eff02afc 06:27:43 Removing intermediate container 58e7eff02afc 06:27:43 ---> 364f411c02d0 06:27:43 [Warning] One or more build-args [ARCH] were not consumed 06:27:43 Successfully built 364f411c02d0 06:27:43 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv 06:27:44 The recommended git tool is: git [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:27:45 provisioning config files... 06:27:45 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9854497950412165945tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:27:45 ---> ****-login.sh 06:27:45 nexus3.edgexfoundry.org:10001 06:27:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:27:45 Configure a credential helper to remove this warning. See 06:27:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:27:45 06:27:45 Login Succeeded 06:27:45 nexus3.edgexfoundry.org:10002 06:27:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:27:45 Configure a credential helper to remove this warning. See 06:27:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:27:45 06:27:45 Login Succeeded 06:27:45 nexus3.edgexfoundry.org:10003 06:27:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:27:45 Configure a credential helper to remove this warning. See 06:27:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:27:45 06:27:45 Login Succeeded 06:27:45 nexus3.edgexfoundry.org:10004 06:27:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:27:45 Configure a credential helper to remove this warning. See 06:27:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:27:45 06:27:45 Login Succeeded 06:27:45 ****.io 06:27:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:27:45 Configure a credential helper to remove this warning. See 06:27:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:27:45 06:27:45 Login Succeeded 06:27:45 ---> ****-login.sh ends [Pipeline] } 06:27:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:27:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:27:45 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 06:27:45 d9d7c9445bd01df0ee4a07f33637a5782cac6865 06:27:45 latest 06:27:45 3.2.0-dev.21 06:27:45 d9d7c9445bd01df0ee4a07f33637a5782cac6865-3.2.0-dev.21 06:27:45 main 06:27:45 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:46 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:d9d7c9445bd01df0ee4a07f33637a5782cac6865 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:46 + docker push nexus3.edgexfoundry.org:10004/device-modbus:d9d7c9445bd01df0ee4a07f33637a5782cac6865 06:27:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:27:46 021623881346: Preparing 06:27:46 36dd1d9f26b9: Preparing 06:27:46 bc084694f4ce: Preparing 06:27:46 b2ceab8453f7: Preparing 06:27:46 0d3f6b47a265: Preparing 06:27:46 ce7f800efff9: Preparing 06:27:46 ce7f800efff9: Waiting 06:27:46 b2ceab8453f7: Pushed 06:27:46 0d3f6b47a265: Pushed 06:27:46 36dd1d9f26b9: Pushed 06:27:46 021623881346: Pushed 06:27:46 ce7f800efff9: Layer already exists 06:27:49 bc084694f4ce: Pushed 06:27:49 d9d7c9445bd01df0ee4a07f33637a5782cac6865: digest: sha256:dec5984b8b8c3047aecf2df21e41d6780131098b96a0ce44ee86ff50c00a88f0 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:49 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:50 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 06:27:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:27:50 021623881346: Preparing 06:27:50 36dd1d9f26b9: Preparing 06:27:50 bc084694f4ce: Preparing 06:27:50 b2ceab8453f7: Preparing 06:27:50 0d3f6b47a265: Preparing 06:27:50 ce7f800efff9: Preparing 06:27:50 ce7f800efff9: Waiting 06:27:50 0d3f6b47a265: Layer already exists 06:27:50 36dd1d9f26b9: Layer already exists 06:27:50 b2ceab8453f7: Layer already exists 06:27:50 021623881346: Layer already exists 06:27:50 bc084694f4ce: Layer already exists 06:27:50 ce7f800efff9: Layer already exists 06:27:50 latest: digest: sha256:dec5984b8b8c3047aecf2df21e41d6780131098b96a0ce44ee86ff50c00a88f0 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:50 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:50 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.21 06:27:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:27:50 021623881346: Preparing 06:27:50 36dd1d9f26b9: Preparing 06:27:50 bc084694f4ce: Preparing 06:27:50 b2ceab8453f7: Preparing 06:27:50 0d3f6b47a265: Preparing 06:27:50 ce7f800efff9: Preparing 06:27:50 ce7f800efff9: Waiting 06:27:50 bc084694f4ce: Layer already exists 06:27:50 021623881346: Layer already exists 06:27:50 0d3f6b47a265: Layer already exists 06:27:50 36dd1d9f26b9: Layer already exists 06:27:50 b2ceab8453f7: Layer already exists 06:27:50 ce7f800efff9: Layer already exists 06:27:50 3.2.0-dev.21: digest: sha256:dec5984b8b8c3047aecf2df21e41d6780131098b96a0ce44ee86ff50c00a88f0 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:51 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:d9d7c9445bd01df0ee4a07f33637a5782cac6865-3.2.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:51 + docker push nexus3.edgexfoundry.org:10004/device-modbus:d9d7c9445bd01df0ee4a07f33637a5782cac6865-3.2.0-dev.21 06:27:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:27:51 021623881346: Preparing 06:27:51 36dd1d9f26b9: Preparing 06:27:51 bc084694f4ce: Preparing 06:27:51 b2ceab8453f7: Preparing 06:27:51 0d3f6b47a265: Preparing 06:27:51 ce7f800efff9: Preparing 06:27:51 ce7f800efff9: Waiting 06:27:51 bc084694f4ce: Layer already exists 06:27:51 021623881346: Layer already exists 06:27:51 b2ceab8453f7: Layer already exists 06:27:51 0d3f6b47a265: Layer already exists 06:27:51 36dd1d9f26b9: Layer already exists 06:27:51 ce7f800efff9: Layer already exists 06:27:51 d9d7c9445bd01df0ee4a07f33637a5782cac6865-3.2.0-dev.21: digest: sha256:dec5984b8b8c3047aecf2df21e41d6780131098b96a0ce44ee86ff50c00a88f0 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:51 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:52 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 06:27:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:27:52 021623881346: Preparing 06:27:52 36dd1d9f26b9: Preparing 06:27:52 bc084694f4ce: Preparing 06:27:52 b2ceab8453f7: Preparing 06:27:52 0d3f6b47a265: Preparing 06:27:52 ce7f800efff9: Preparing 06:27:52 ce7f800efff9: Waiting 06:27:52 021623881346: Layer already exists 06:27:52 0d3f6b47a265: Layer already exists 06:27:52 b2ceab8453f7: Layer already exists 06:27:52 bc084694f4ce: Layer already exists 06:27:52 36dd1d9f26b9: Layer already exists 06:27:52 ce7f800efff9: Layer already exists 06:27:52 main: digest: sha256:dec5984b8b8c3047aecf2df21e41d6780131098b96a0ce44ee86ff50c00a88f0 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:27:52 ===================================================== [Pipeline] echo 06:27:52 taggedImages: 06:27:52 - nexus3.edgexfoundry.org:10004/device-modbus:d9d7c9445bd01df0ee4a07f33637a5782cac6865 06:27:52 - nexus3.edgexfoundry.org:10004/device-modbus:latest 06:27:52 - nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.21 06:27:52 - nexus3.edgexfoundry.org:10004/device-modbus:d9d7c9445bd01df0ee4a07f33637a5782cac6865-3.2.0-dev.21 06:27:52 - 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:27:52 06:27:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:27:52 latest: Pulling from edgex-lftools-log-publisher 06:27:52 5eb5b503b376: Pulling fs layer 06:27:52 5c69ac0246d0: Pulling fs layer 06:27:52 ec43610c2a17: Pulling fs layer 06:27:52 3a2ae6a8a46f: Pulling fs layer 06:27:52 33b1e0a273af: Pulling fs layer 06:27:52 5d3b04190fa2: Pulling fs layer 06:27:52 2f39f015ded8: Pulling fs layer 06:27:52 3a2ae6a8a46f: Waiting 06:27:52 33b1e0a273af: Waiting 06:27:52 5d3b04190fa2: Waiting 06:27:52 2f39f015ded8: Waiting 06:27:52 5c69ac0246d0: Verifying Checksum 06:27:52 5c69ac0246d0: Download complete 06:27:52 3a2ae6a8a46f: Verifying Checksum 06:27:52 3a2ae6a8a46f: Download complete 06:27:52 33b1e0a273af: Verifying Checksum 06:27:52 33b1e0a273af: Download complete 06:27:52 5d3b04190fa2: Verifying Checksum 06:27:52 5d3b04190fa2: Download complete 06:27:52 ec43610c2a17: Verifying Checksum 06:27:52 ec43610c2a17: Download complete 06:27:53 using credential edgex-jenkins-ssh 06:27:53 Cloning the remote Git repository 06:27:53 5eb5b503b376: Verifying Checksum 06:27:53 5eb5b503b376: Download complete 06:27:53 2f39f015ded8: Download complete 06:27:54 5eb5b503b376: Pull complete 06:27:54 5c69ac0246d0: Pull complete 06:27:53 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:27:53 > git init /w/workspace/device-modbus-go/160 # timeout=10 06:27:53 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:27:53 > git --version # timeout=10 06:27:53 > git --version # 'git version 2.25.1' 06:27:53 using GIT_SSH to set credentials SSH Credentials for GitHub 06:27:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:27:54 ec43610c2a17: Pull complete 06:27:54 3a2ae6a8a46f: Pull complete 06:27:55 33b1e0a273af: Pull complete 06:27:55 5d3b04190fa2: Pull complete 06:27:56 Avoid second fetch 06:27:56 Checking out Revision d9d7c9445bd01df0ee4a07f33637a5782cac6865 (main) 06:27:55 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:27:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:27:56 > git config core.sparsecheckout # timeout=10 06:27:56 > git checkout -f d9d7c9445bd01df0ee4a07f33637a5782cac6865 # timeout=10 06:27:57 Commit message: "Merge pull request #565 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.7.0" 06:28:00 2f39f015ded8: Pull complete 06:28:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:28:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:28:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:28:00 prd-ubuntu20.04-docker-8c-8g-7266 does not seem to be running inside a container 06:28:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:28:02 06:28:02 GitHub has been notified of this commit’s build result 06:28:02 06:28:05 $ docker top ed7a7e6d274bdd0ac404201cd3e2221973ba56de32685af5269a0692a2ccb78d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:28:05 ---> job-cost.sh 06:28:05 lf-activate-venv: SKIPPING 06:28:05 INFO: No Stack... 06:28:05 INFO: Retrieving Pricing Info for: v3-standard-8 06:28:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:28:05 % Total % Received % Xferd Average Speed Time Time Time Current 06:28:05 Dload Upload Total Spent Left Speed 06:28:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 231k 0 --:--:-- --:--:-- --:--:-- 231k [Pipeline] sh 06:28:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:28:06 INFO: Archiving Costs [Pipeline] sh 06:28:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 06:28:06 sudo tee /etc/docker/daemon.new 06:28:06 { 06:28:06 "registry-mirrors": [ 06:28:06 "https://nexus3.edgexfoundry.org:10001" 06:28:06 ], 06:28:06 "bip": "10.250.0.254/24", 06:28:06 "hosts": [ 06:28:06 "tcp://0.0.0.0:5555", 06:28:06 "unix:///var/run/docker.sock" 06:28:06 ], 06:28:06 "mtu": 1458, 06:28:06 "selinux-enabled": true, 06:28:06 "seccomp-profile": "/etc/docker/seccomp.json" 06:28:06 } [Pipeline] sh 06:28:06 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 06:28:06 + cut -d, -f6 [Pipeline] lock 06:28:06 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-160-stack-cost] 06:28:06 Resource [jenkins-edgexfoundry-device-modbus-go-main-160-stack-cost] did not exist. Created. 06:28:06 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-160-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:28:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:28:06 + echo total: 0.2199999988079071 [Pipeline] stash 06:28:06 Stashed 1 file(s) [Pipeline] } 06:28:06 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-160-stack-cost] [Pipeline] // lock [Pipeline] } 06:28:06 $ docker stop --time=1 ed7a7e6d274bdd0ac404201cd3e2221973ba56de32685af5269a0692a2ccb78d 06:28:07 + sudo service docker restart 06:28:08 $ docker rm -f --volumes ed7a7e6d274bdd0ac404201cd3e2221973ba56de32685af5269a0692a2ccb78d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:28:25 provisioning config files... 06:28:25 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/160@tmp/config158332898993928811tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:28:25 ---> ****-login.sh 06:28:25 nexus3.edgexfoundry.org:10001 06:28:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:28:26 Configure a credential helper to remove this warning. See 06:28:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:28:26 06:28:26 Login Succeeded 06:28:26 nexus3.edgexfoundry.org:10002 06:28:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:28:26 Configure a credential helper to remove this warning. See 06:28:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:28:26 06:28:26 Login Succeeded 06:28:26 nexus3.edgexfoundry.org:10003 06:28:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:28:27 Configure a credential helper to remove this warning. See 06:28:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:28:27 06:28:27 Login Succeeded 06:28:27 nexus3.edgexfoundry.org:10004 06:28:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:28:27 Configure a credential helper to remove this warning. See 06:28:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:28:27 06:28:27 Login Succeeded 06:28:27 ****.io 06:28:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:28:28 Configure a credential helper to remove this warning. See 06:28:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:28:28 06:28:28 Login Succeeded 06:28:28 ---> ****-login.sh ends [Pipeline] } 06:28:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:28:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:28:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:28:28 ========================================================= 06:28:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 06:28:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:28:28 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 06:28:29 Sending build context to Docker daemon 9.085MB 06:28:29 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 06:28:29 Step 2/10 : FROM ${BASE} AS builder 06:28:29 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:28:29 c6b39de5b339: Pulling fs layer 06:28:29 a69c41024577: Pulling fs layer 06:28:29 d6de4b400683: Pulling fs layer 06:28:29 35cb2a7552d0: Pulling fs layer 06:28:29 4f4fb700ef54: Pulling fs layer 06:28:29 464afbd9ba4c: Pulling fs layer 06:28:29 00f215d4a9da: Pulling fs layer 06:28:29 d496ad576159: Pulling fs layer 06:28:29 4f4fb700ef54: Waiting 06:28:29 464afbd9ba4c: Waiting 06:28:29 00f215d4a9da: Waiting 06:28:29 35cb2a7552d0: Waiting 06:28:29 d496ad576159: Waiting 06:28:29 a69c41024577: Verifying Checksum 06:28:29 a69c41024577: Download complete 06:28:29 35cb2a7552d0: Verifying Checksum 06:28:29 35cb2a7552d0: Download complete 06:28:29 4f4fb700ef54: Verifying Checksum 06:28:29 4f4fb700ef54: Download complete 06:28:29 464afbd9ba4c: Verifying Checksum 06:28:29 464afbd9ba4c: Download complete 06:28:29 c6b39de5b339: Verifying Checksum 06:28:29 c6b39de5b339: Download complete 06:28:29 d496ad576159: Verifying Checksum 06:28:29 d496ad576159: Download complete 06:28:30 c6b39de5b339: Pull complete 06:28:31 a69c41024577: Pull complete 06:28:31 d6de4b400683: Verifying Checksum 06:28:31 d6de4b400683: Download complete 06:28:32 00f215d4a9da: Verifying Checksum 06:28:32 00f215d4a9da: Download complete 06:28:44 d6de4b400683: Pull complete 06:28:44 35cb2a7552d0: Pull complete 06:28:44 4f4fb700ef54: Pull complete 06:28:44 464afbd9ba4c: Pull complete 06:28:55 00f215d4a9da: Pull complete 06:28:55 d496ad576159: Pull complete 06:28:55 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 06:28:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 06:28:55 ---> f246e2811388 06:28:55 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:28:57 ---> Running in 4a1e5009adcf 06:28:57 Removing intermediate container 4a1e5009adcf 06:28:57 ---> b48037b9d804 06:28:57 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:28:57 ---> Running in 7dc7f2c9d6c2 06:28:58 Removing intermediate container 7dc7f2c9d6c2 06:28:58 ---> 2528955028bc 06:28:58 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:28:58 ---> Running in 6874fa88844e 06:28:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:28:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:29:00 (1/8) Installing openssh-keygen (9.3_p2-r2) 06:29:00 (2/8) Installing libedit (20221030.3.1-r1) 06:29:00 (3/8) Installing openssh-client-common (9.3_p2-r2) 06:29:00 (4/8) Installing openssh-client-default (9.3_p2-r2) 06:29:00 (5/8) Installing openssh-sftp-server (9.3_p2-r2) 06:29:00 (6/8) Installing openssh-server-common (9.3_p2-r2) 06:29:00 (7/8) Installing openssh-server (9.3_p2-r2) 06:29:00 (8/8) Installing openssh (9.3_p2-r2) 06:29:00 Executing busybox-1.36.1-r5.trigger 06:29:00 OK: 272 MiB in 60 packages 06:29:02 Removing intermediate container 6874fa88844e 06:29:02 ---> 378ba5216b73 06:29:02 Step 6/10 : WORKDIR /device-modbus-go 06:29:02 ---> Running in e7a58f69d0a0 06:29:02 Removing intermediate container e7a58f69d0a0 06:29:02 ---> f3da2ca22984 06:29:02 Step 7/10 : COPY go.mod vendor* ./ 06:29:03 ---> 02688ad17785 06:29:03 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:29:03 ---> Running in 2e0e82fa4553 06:30:55 Removing intermediate container 2e0e82fa4553 06:30:55 ---> 5316054c7ee3 06:30:55 Step 9/10 : COPY . . 06:30:55 ---> 3269e610a83e 06:30:55 Step 10/10 : RUN ${MAKE} 06:30:55 ---> Running in 8f0961cf3199 06:30:55 noop 06:30:55 Removing intermediate container 8f0961cf3199 06:30:55 ---> 5e6f1671d55f 06:30:55 Successfully built 5e6f1671d55f 06:30:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:30:55 + docker inspect -f . ci-base-image-arm64 06:30:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:30:55 prd-ubuntu20.04-docker-arm64-4c-16g-7269 does not seem to be running inside a container 06:30:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/160 -v /w/workspace/device-modbus-go/160:/w/workspace/device-modbus-go/160:rw,z -v /w/workspace/device-modbus-go/160@tmp:/w/workspace/device-modbus-go/160@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 06:30:57 $ docker top a7d1f56f6db97f5960592f129b846d67e57c93a56bcb1d0bc9a615e95a5c3be2 -eo pid,comm [Pipeline] { [Pipeline] sh 06:30:58 + go version 06:30:58 go version go1.21.9 linux/arm64 [Pipeline] } 06:30:58 $ docker stop --time=1 a7d1f56f6db97f5960592f129b846d67e57c93a56bcb1d0bc9a615e95a5c3be2 06:30:59 $ docker rm -f --volumes a7d1f56f6db97f5960592f129b846d67e57c93a56bcb1d0bc9a615e95a5c3be2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:31:00 + docker inspect -f . ci-base-image-arm64 06:31:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:31:00 prd-ubuntu20.04-docker-arm64-4c-16g-7269 does not seem to be running inside a container 06:31:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/160 -v /w/workspace/device-modbus-go/160:/w/workspace/device-modbus-go/160:rw,z -v /w/workspace/device-modbus-go/160@tmp:/w/workspace/device-modbus-go/160@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 06:31:02 $ docker top 07bf082eaa68468d7ce819b21c8fe2c8e253634836bdaf2f1ad249ad475800b6 -eo pid,comm [Pipeline] { [Pipeline] sh 06:31:02 + git config --global --add safe.directory /w/workspace/device-modbus-go/160 [Pipeline] fileExists [Pipeline] sh 06:31:03 + make test 06:31:03 go test ./... -coverprofile=coverage.out 06:31:10 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:34:47 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:34:47 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.056s coverage: 47.9% of statements 06:34:47 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:34:47 go vet ./... 06:35:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:35:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:35:43 ./bin/test-attribution-txt.sh 06:35:43 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo 06:35:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:35:43 $ docker stop --time=1 07bf082eaa68468d7ce819b21c8fe2c8e253634836bdaf2f1ad249ad475800b6 06:35:45 $ docker rm -f --volumes 07bf082eaa68468d7ce819b21c8fe2c8e253634836bdaf2f1ad249ad475800b6 [Pipeline] // withDockerContainer [Pipeline] sh 06:35:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:35:47 Warning: overwriting stash ‘coverage-report’ 06:35:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:35:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:35:48 + ls -al . 06:35:48 total 268 06:35:48 drwxrwxr-x 8 jenkins jenkins 4096 Aug 7 06:31 . 06:35:48 drwxrwxr-x 4 jenkins jenkins 4096 Aug 7 06:27 .. 06:35:48 -rw-rw-r-- 1 jenkins jenkins 140 Aug 7 06:27 .dockerignore 06:35:48 drwxrwxr-x 8 jenkins jenkins 4096 Aug 7 06:28 .git 06:35:48 drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 06:27 .github 06:35:48 -rw-rw-r-- 1 jenkins jenkins 266 Aug 7 06:27 .gitignore 06:35:48 -rw-rw-r-- 1 jenkins jenkins 41 Aug 7 06:27 .golangci.yml 06:35:48 -rw-rw-r-- 1 jenkins jenkins 19432 Aug 7 06:27 Attribution.txt 06:35:48 -rw-rw-r-- 1 jenkins jenkins 16388 Aug 7 06:27 CHANGELOG.md 06:35:48 -rw-rw-r-- 1 jenkins jenkins 1474 Aug 7 06:27 Dockerfile 06:35:48 -rw-rw-r-- 1 jenkins jenkins 677 Aug 7 06:27 GOVERNANCE.md 06:35:48 -rw-rw-r-- 1 jenkins jenkins 658 Aug 7 06:27 Jenkinsfile 06:35:48 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 7 06:27 LICENSE 06:35:48 -rw-rw-r-- 1 jenkins jenkins 1942 Aug 7 06:27 Makefile 06:35:48 -rw-rw-r-- 1 jenkins jenkins 622 Aug 7 06:27 OWNERS.md 06:35:48 -rw-rw-r-- 1 jenkins jenkins 4463 Aug 7 06:27 README.md 06:35:48 -rw-rw-r-- 1 jenkins jenkins 12 Aug 7 06:24 VERSION 06:35:48 drwxrwxr-x 2 jenkins jenkins 4096 Aug 7 06:27 bin 06:35:48 drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 06:27 cmd 06:35:48 -rw-r--r-- 1 jenkins jenkins 24601 Aug 7 06:34 coverage.out 06:35:48 -rw-rw-r-- 1 jenkins jenkins 7185 Aug 7 06:27 go.mod 06:35:48 -rw-rw-r-- 1 jenkins jenkins 102015 Aug 7 06:27 go.sum 06:35:48 drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 06:27 internal 06:35:48 drwxrwxr-x 2 jenkins jenkins 4096 Aug 7 06:27 simulator 06:35:48 -rw-rw-r-- 1 jenkins jenkins 229 Aug 7 06:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:49 + 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=d9d7c9445bd01df0ee4a07f33637a5782cac6865 --label arch=arm64 --label version=3.2.0-dev.21 . 06:35:49 Sending build context to Docker daemon 9.111MB 06:35:49 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 06:35:49 Step 2/23 : FROM ${BASE} AS builder 06:35:49 ---> 5e6f1671d55f 06:35:49 Step 3/23 : ARG ADD_BUILD_TAGS="" 06:35:49 ---> Running in e2b7e93560ed 06:35:50 Removing intermediate container e2b7e93560ed 06:35:50 ---> 617973556ad2 06:35:50 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:35:50 ---> Running in de35e326fadd 06:35:50 Removing intermediate container de35e326fadd 06:35:50 ---> 1ac107622b47 06:35:50 Step 5/23 : RUN apk add --update --no-cache make git openssh 06:35:50 ---> Running in 2689dacf87cc 06:35:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:35:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:35:53 OK: 272 MiB in 60 packages 06:35:54 Removing intermediate container 2689dacf87cc 06:35:54 ---> 6bfd54dfe6d9 06:35:54 Step 6/23 : WORKDIR /device-modbus-go 06:35:54 ---> Running in 211ce1c681a5 06:35:54 Removing intermediate container 211ce1c681a5 06:35:54 ---> f6d53b0fd554 06:35:54 Step 7/23 : COPY go.mod vendor* ./ 06:35:55 ---> cad0051d93a4 06:35:55 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:35:55 ---> Running in 54a1512440c5 06:35:57 Removing intermediate container 54a1512440c5 06:35:57 ---> 22b26db9cf6e 06:35:57 Step 9/23 : COPY . . 06:35:58 ---> 48e0c5be270a 06:35:58 Step 10/23 : RUN ${MAKE} 06:35:58 ---> Running in 3283a82807bc 06:35:59 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.21 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.29" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 06:39:51 Removing intermediate container 3283a82807bc 06:39:51 ---> 53164c6e8f9b 06:39:51 Step 11/23 : FROM alpine:3.18 06:39:51 3.18: Pulling from library/alpine 06:39:51 4983c3fe2029: Pulling fs layer 06:39:51 4983c3fe2029: Verifying Checksum 06:39:51 4983c3fe2029: Download complete 06:39:51 4983c3fe2029: Pull complete 06:39:51 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 06:39:51 Status: Downloaded newer image for alpine:3.18 06:39:51 ---> a0237000ae83 06:39:51 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:39:51 ---> Running in 6809ec6b11aa 06:39:51 Removing intermediate container 6809ec6b11aa 06:39:51 ---> 3f5954be595c 06:39:51 Step 13/23 : RUN apk add --update --no-cache dumb-init 06:39:51 ---> Running in 6084319a06f1 06:39:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:39:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:39:51 (1/1) Installing dumb-init (1.2.5-r2) 06:39:51 Executing busybox-1.36.1-r7.trigger 06:39:51 OK: 8 MiB in 16 packages 06:39:51 Removing intermediate container 6084319a06f1 06:39:51 ---> c4cee3872cbe 06:39:51 Step 14/23 : RUN apk --no-cache upgrade 06:39:51 ---> Running in d800ac408a73 06:39:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:39:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:39:51 OK: 8 MiB in 16 packages 06:39:51 Removing intermediate container d800ac408a73 06:39:51 ---> 565313c39007 06:39:51 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 06:39:51 ---> f2b1e58f126d 06:39:51 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 06:39:51 ---> fb32069934bd 06:39:51 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:39:51 ---> f65cc2172e10 06:39:51 Step 18/23 : EXPOSE 59901 06:39:51 ---> Running in 827c6ad719a5 06:39:52 Removing intermediate container 827c6ad719a5 06:39:52 ---> b418bb2eed13 06:39:52 Step 19/23 : ENTRYPOINT ["/device-modbus"] 06:39:52 ---> Running in 243434cadc4c 06:39:52 Removing intermediate container 243434cadc4c 06:39:52 ---> 4c615d1e2427 06:39:52 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:39:52 ---> Running in e4810f4486b9 06:39:53 Removing intermediate container e4810f4486b9 06:39:53 ---> 80009ea4b21f 06:39:53 Step 21/23 : LABEL arch=arm64 06:39:53 ---> Running in 09e34181fb84 06:39:53 Removing intermediate container 09e34181fb84 06:39:53 ---> e1a5172896ca 06:39:53 Step 22/23 : LABEL git_sha=d9d7c9445bd01df0ee4a07f33637a5782cac6865 06:39:53 ---> Running in 83bcd381f9cf 06:39:53 Removing intermediate container 83bcd381f9cf 06:39:53 ---> 17b3c699119a 06:39:53 Step 23/23 : LABEL version=3.2.0-dev.21 06:39:53 ---> Running in bf6ac96807b2 06:39:53 Removing intermediate container bf6ac96807b2 06:39:53 ---> 13810ca42703 06:39:53 [Warning] One or more build-args [ARCH] were not consumed 06:39:53 Successfully built 13810ca42703 06:39:53 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 06:39:54 provisioning config files... 06:39:54 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/160@tmp/config1619684155874478259tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:39:54 ---> ****-login.sh 06:39:54 nexus3.edgexfoundry.org:10001 06:39:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:39:54 Configure a credential helper to remove this warning. See 06:39:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:39:54 06:39:54 Login Succeeded 06:39:54 nexus3.edgexfoundry.org:10002 06:39:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:39:54 Configure a credential helper to remove this warning. See 06:39:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:39:54 06:39:54 Login Succeeded 06:39:54 nexus3.edgexfoundry.org:10003 06:39:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:39:55 Configure a credential helper to remove this warning. See 06:39:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:39:55 06:39:55 Login Succeeded 06:39:55 nexus3.edgexfoundry.org:10004 06:39:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:39:55 Configure a credential helper to remove this warning. See 06:39:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:39:55 06:39:55 Login Succeeded 06:39:55 ****.io 06:39:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:39:56 Configure a credential helper to remove this warning. See 06:39:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:39:56 06:39:56 Login Succeeded 06:39:56 ---> ****-login.sh ends [Pipeline] } 06:39:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:39:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:39:56 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 06:39:56 d9d7c9445bd01df0ee4a07f33637a5782cac6865 06:39:56 latest 06:39:56 3.2.0-dev.21 06:39:56 d9d7c9445bd01df0ee4a07f33637a5782cac6865-3.2.0-dev.21 06:39:56 main 06:39:56 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:39:56 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:d9d7c9445bd01df0ee4a07f33637a5782cac6865 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:39:57 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:d9d7c9445bd01df0ee4a07f33637a5782cac6865 06:39:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:39:57 786a5573869e: Preparing 06:39:57 f369950e14a2: Preparing 06:39:57 87b31bcaab36: Preparing 06:39:57 8b6170a22423: Preparing 06:39:57 96b75c509f2c: Preparing 06:39:57 3c20671a5817: Preparing 06:39:57 3c20671a5817: Waiting 06:39:57 786a5573869e: Pushed 06:39:57 f369950e14a2: Pushed 06:39:57 96b75c509f2c: Pushed 06:39:57 8b6170a22423: Pushed 06:39:57 3c20671a5817: Layer already exists 06:40:03 87b31bcaab36: Pushed 06:40:03 d9d7c9445bd01df0ee4a07f33637a5782cac6865: digest: sha256:93ca0fc44f715fb81aa78d4da3c7246dcff758fc383eb0415b0c2036e7712004 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:40:04 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:40:04 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 06:40:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:40:04 786a5573869e: Preparing 06:40:04 f369950e14a2: Preparing 06:40:04 87b31bcaab36: Preparing 06:40:04 8b6170a22423: Preparing 06:40:04 96b75c509f2c: Preparing 06:40:04 3c20671a5817: Preparing 06:40:04 3c20671a5817: Waiting 06:40:04 87b31bcaab36: Layer already exists 06:40:04 786a5573869e: Layer already exists 06:40:04 f369950e14a2: Layer already exists 06:40:04 8b6170a22423: Layer already exists 06:40:04 96b75c509f2c: Layer already exists 06:40:04 3c20671a5817: Layer already exists 06:40:04 latest: digest: sha256:93ca0fc44f715fb81aa78d4da3c7246dcff758fc383eb0415b0c2036e7712004 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:40:05 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:40:05 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.21 06:40:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:40:05 786a5573869e: Preparing 06:40:05 f369950e14a2: Preparing 06:40:05 87b31bcaab36: Preparing 06:40:05 8b6170a22423: Preparing 06:40:05 96b75c509f2c: Preparing 06:40:05 3c20671a5817: Preparing 06:40:05 3c20671a5817: Waiting 06:40:05 87b31bcaab36: Layer already exists 06:40:05 f369950e14a2: Layer already exists 06:40:05 8b6170a22423: Layer already exists 06:40:05 96b75c509f2c: Layer already exists 06:40:05 786a5573869e: Layer already exists 06:40:05 3c20671a5817: Layer already exists 06:40:05 3.2.0-dev.21: digest: sha256:93ca0fc44f715fb81aa78d4da3c7246dcff758fc383eb0415b0c2036e7712004 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:40:06 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:d9d7c9445bd01df0ee4a07f33637a5782cac6865-3.2.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:40:06 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:d9d7c9445bd01df0ee4a07f33637a5782cac6865-3.2.0-dev.21 06:40:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:40:06 786a5573869e: Preparing 06:40:06 f369950e14a2: Preparing 06:40:06 87b31bcaab36: Preparing 06:40:06 8b6170a22423: Preparing 06:40:06 96b75c509f2c: Preparing 06:40:06 3c20671a5817: Preparing 06:40:06 3c20671a5817: Waiting 06:40:06 96b75c509f2c: Layer already exists 06:40:06 f369950e14a2: Layer already exists 06:40:06 8b6170a22423: Layer already exists 06:40:06 87b31bcaab36: Layer already exists 06:40:06 786a5573869e: Layer already exists 06:40:06 3c20671a5817: Layer already exists 06:40:06 d9d7c9445bd01df0ee4a07f33637a5782cac6865-3.2.0-dev.21: digest: sha256:93ca0fc44f715fb81aa78d4da3c7246dcff758fc383eb0415b0c2036e7712004 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:40:07 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:40:07 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 06:40:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:40:07 786a5573869e: Preparing 06:40:07 f369950e14a2: Preparing 06:40:07 87b31bcaab36: Preparing 06:40:07 8b6170a22423: Preparing 06:40:07 96b75c509f2c: Preparing 06:40:07 3c20671a5817: Preparing 06:40:07 3c20671a5817: Waiting 06:40:07 87b31bcaab36: Layer already exists 06:40:07 786a5573869e: Layer already exists 06:40:07 f369950e14a2: Layer already exists 06:40:07 96b75c509f2c: Layer already exists 06:40:07 8b6170a22423: Layer already exists 06:40:07 3c20671a5817: Layer already exists 06:40:07 main: digest: sha256:93ca0fc44f715fb81aa78d4da3c7246dcff758fc383eb0415b0c2036e7712004 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:40:08 ===================================================== [Pipeline] echo 06:40:08 taggedImages: 06:40:08 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:d9d7c9445bd01df0ee4a07f33637a5782cac6865 06:40:08 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 06:40:08 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.21 06:40:08 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:d9d7c9445bd01df0ee4a07f33637a5782cac6865-3.2.0-dev.21 06:40:08 - 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 06:40:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:40:08 06:40:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:40:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:40:08 arm64: Pulling from edgex-lftools-log-publisher 06:40:08 8998bd30e6a1: Pulling fs layer 06:40:08 04944245beec: Pulling fs layer 06:40:08 699f458cf7ca: Pulling fs layer 06:40:08 765212b225bb: Pulling fs layer 06:40:08 f23df028b6ca: Pulling fs layer 06:40:08 d65c8cfc05b1: Pulling fs layer 06:40:08 2437ff75d9bd: Pulling fs layer 06:40:08 f23df028b6ca: Waiting 06:40:08 d65c8cfc05b1: Waiting 06:40:08 2437ff75d9bd: Waiting 06:40:08 765212b225bb: Waiting 06:40:09 04944245beec: Verifying Checksum 06:40:09 04944245beec: Download complete 06:40:09 765212b225bb: Verifying Checksum 06:40:09 765212b225bb: Download complete 06:40:09 f23df028b6ca: Verifying Checksum 06:40:09 f23df028b6ca: Download complete 06:40:09 d65c8cfc05b1: Verifying Checksum 06:40:09 d65c8cfc05b1: Download complete 06:40:09 699f458cf7ca: Download complete 06:40:09 8998bd30e6a1: Verifying Checksum 06:40:09 8998bd30e6a1: Download complete 06:40:12 2437ff75d9bd: Verifying Checksum 06:40:12 2437ff75d9bd: Download complete 06:40:14 8998bd30e6a1: Pull complete 06:40:14 04944245beec: Pull complete 06:40:16 699f458cf7ca: Pull complete 06:40:16 765212b225bb: Pull complete 06:40:17 f23df028b6ca: Pull complete 06:40:17 d65c8cfc05b1: Pull complete 06:40:35 2437ff75d9bd: Pull complete 06:40:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:40:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:40:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:40:36 prd-ubuntu20.04-docker-arm64-4c-16g-7269 does not seem to be running inside a container 06:40:36 $ 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/160 -v /w/workspace/device-modbus-go/160:/w/workspace/device-modbus-go/160:rw,z -v /w/workspace/device-modbus-go/160@tmp:/w/workspace/device-modbus-go/160@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 06:40:38 $ docker top 9d95bb5c4bf2611c747e842c591bf47b2c5e4d965c1661840c5a0884a8ca0381 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:40:39 ---> job-cost.sh 06:40:39 lf-activate-venv: SKIPPING 06:40:39 INFO: No Stack... 06:40:40 INFO: Retrieving Pricing Info for: v3-standard-4 06:40:41 INFO: Archiving Costs [Pipeline] sh 06:40:41 + + cat /w/workspace/device-modbus-go/160/archives/cost.csv 06:40:41 cut -d, -f6 [Pipeline] lock 06:40:41 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-160-stack-cost] 06:40:41 Resource [jenkins-edgexfoundry-device-modbus-go-main-160-stack-cost] did not exist. Created. 06:40:41 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-160-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:40:42 /w/workspace/device-modbus-go/160@tmp/durable-ef7992ae/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:40:43 + echo total: 0.10999999940395355 [Pipeline] stash 06:40:43 Warning: overwriting stash ‘stack-cost’ 06:40:43 Stashed 1 file(s) [Pipeline] } 06:40:43 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-160-stack-cost] [Pipeline] // lock [Pipeline] } 06:40:43 $ docker stop --time=1 9d95bb5c4bf2611c747e842c591bf47b2c5e4d965c1661840c5a0884a8ca0381 06:40:44 $ docker rm -f --volumes 9d95bb5c4bf2611c747e842c591bf47b2c5e4d965c1661840c5a0884a8ca0381 [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 06:40:45 provisioning config files... 06:40:45 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13953529163538539054tmp [Pipeline] { [Pipeline] sh 06:40:45 + set +x 06:40:45 + curl -s https://codecov.io/bash 06:40:45 + bash -s -- 06:40:45 06:40:45 _____ _ 06:40:45 / ____| | | 06:40:45 | | ___ __| | ___ ___ _____ __ 06:40:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:40:45 | |___| (_) | (_| | __/ (_| (_) \ V / 06:40:45 \_____\___/ \__,_|\___|\___\___/ \_/ 06:40:45 Bash-1.0.6 06:40:45 06:40:45 06:40:45 ==> git version 2.25.1 found 06:40:45 ==> 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 06:40:45 Release-Date: 2020-01-08 06:40:45 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:40:45 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:40:45 ==> Jenkins CI detected. 06:40:45 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 06:40:45 project root: . 06:40:45 --> token set from env 06:40:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:40:45 ==> Running gcov in . (disable via -X gcov) 06:40:45 ==> Python coveragepy not found 06:40:45 ==> Searching for coverage reports in: 06:40:45 + . 06:40:45 -> Found 1 reports 06:40:45 ==> Detecting git/mercurial file structure 06:40:45 ==> Reading reports 06:40:45 + ./coverage.out bytes=24601 06:40:45 ==> Appending adjustments 06:40:45 https://docs.codecov.io/docs/fixing-reports 06:40:45 + Found adjustments 06:40:45 ==> Gzipping contents 06:40:45 4.0K /tmp/codecov.cJcPmz.gz 06:40:45 ==> Uploading reports 06:40:45 url: https://codecov.io 06:40:45 query: branch=main&commit=d9d7c9445bd01df0ee4a07f33637a5782cac6865&build=160&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F160%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:40:45 -> Pinging Codecov 06:40:45 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=d9d7c9445bd01df0ee4a07f33637a5782cac6865&build=160&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F160%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:40:45 -> Uploading to 06:40:45 https://storage.googleapis.com/codecov/v4/raw/2024-08-07/55DBCA73C666E3227836607328DD7E49/d9d7c9445bd01df0ee4a07f33637a5782cac6865/2c9e0aa9-e668-4fac-b743-3e70d984fa61.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240807%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240807T064045Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fb2f3d0de4513dce39fb95c5a5df2cfbde45baba886026dff3facac3d61f782e 06:40:45 % Total % Received % Xferd Average Speed Time Time Time Current 06:40:45 Dload Upload Total Spent Left Speed 06:40:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 18746 --:--:-- --:--:-- --:--:-- 18655 100 3843 0 0 100 3843 0 15946 --:--:-- --:--:-- --:--:-- 15880 06:40:45 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/d9d7c9445bd01df0ee4a07f33637a5782cac6865 [Pipeline] } 06:40:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:40:46 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:40:46 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:40:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:40:46 06:40:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:40:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:40:46 latest: Pulling from edgex-devops/edgex-snyk-go 06:40:46 619be1103602: Already exists 06:40:46 f8ea3408117e: Pulling fs layer 06:40:46 91320369b822: Pulling fs layer 06:40:46 0406650e8295: Pulling fs layer 06:40:46 4f4fb700ef54: Pulling fs layer 06:40:46 96d80e3f36e1: Pulling fs layer 06:40:46 bcf3aedb951c: Pulling fs layer 06:40:46 4f4fb700ef54: Waiting 06:40:46 bcf3aedb951c: Waiting 06:40:46 96d80e3f36e1: Waiting 06:40:46 0406650e8295: Verifying Checksum 06:40:46 0406650e8295: Download complete 06:40:46 f8ea3408117e: Verifying Checksum 06:40:46 f8ea3408117e: Download complete 06:40:46 4f4fb700ef54: Verifying Checksum 06:40:46 4f4fb700ef54: Download complete 06:40:46 f8ea3408117e: Pull complete 06:40:46 96d80e3f36e1: Verifying Checksum 06:40:46 96d80e3f36e1: Download complete 06:40:47 91320369b822: Verifying Checksum 06:40:47 91320369b822: Download complete 06:40:47 bcf3aedb951c: Verifying Checksum 06:40:47 bcf3aedb951c: Download complete 06:40:50 91320369b822: Pull complete 06:40:50 0406650e8295: Pull complete 06:40:50 4f4fb700ef54: Pull complete 06:40:50 96d80e3f36e1: Pull complete 06:40:53 bcf3aedb951c: Pull complete 06:40:53 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 06:40:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:40:53 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:40:53 prd-ubuntu20.04-docker-8c-8g-7266 does not seem to be running inside a container 06:40:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 06:41:01 $ docker top 0c52711ddd451cc6c6fc1cc17dca3fd2f4a9346011bec9f9129efa50142929fc -eo pid,comm [Pipeline] { [Pipeline] sh 06:41:01 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] echo 06:41:01 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 06:41:01 + set -o pipefail 06:41:01 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 06:41:11 06:41:11 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 06:41:11 06:41:11 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/0a0805b9-8982-40eb-8dbc-845f1ef902a3/history/b5c47b84-72db-4602-8ed9-6c5faea627ce 06:41:11 06:41:11 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 06:41:11 06:41:11 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:41:11 06:41:11 06:41:11 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 06:41:11 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 06:41:11 $ docker stop --time=1 0c52711ddd451cc6c6fc1cc17dca3fd2f4a9346011bec9f9129efa50142929fc 06:41:16 $ docker rm -f --volumes 0c52711ddd451cc6c6fc1cc17dca3fd2f4a9346011bec9f9129efa50142929fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:41:17 + git log --format=format:%s -1 d9d7c9445bd01df0ee4a07f33637a5782cac6865 [Pipeline] sh 06:41:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:41:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:41:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:41:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:41:18 prd-ubuntu20.04-docker-8c-8g-7266 does not seem to be running inside a container 06:41:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:41:18 $ docker top cf7a614784dd1d321043cd1f0e84882df34dc608c7f5d7c863451b202329ac80 -eo pid,comm 06:41:18 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). 06:41:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:41:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:41:18 [ssh-agent] Looking for ssh-agent implementation... 06:41:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:41:18 $ docker exec cf7a614784dd1d321043cd1f0e84882df34dc608c7f5d7c863451b202329ac80 ssh-agent 06:41:18 SSH_AUTH_SOCK=/tmp/ssh-GGTBk5ERrIGs/agent.33 06:41:18 SSH_AGENT_PID=39 06:41:18 Running ssh-add (command line suppressed) 06:41:19 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3717063348678922650.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3717063348678922650.key) 06:41:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:41:19 + git semver tag 06:41:19 2024-08-07 06:41:19,548 [run_tag] DEBUG tag force:False 06:41:19 2024-08-07 06:41:19,548 [check_head_tag] DEBUG check head tag 06:41:19 2024-08-07 06:41:19,549 [execute] INFO git cat-file --batch-check 06:41:19 2024-08-07 06:41:19,549 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 06:41:19 2024-08-07 06:41:19,553 [execute] INFO git cat-file --batch 06:41:19 2024-08-07 06:41:19,553 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 06:41:19 2024-08-07 06:41:19,572 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:41:19 2024-08-07 06:41:19,572 [execute] INFO git tag -a v3.2.0-dev.21 -m v3.2.0-dev.21 06:41:19 2024-08-07 06:41:19,573 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.21', '-m', 'v3.2.0-dev.21'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 06:41:19 2024-08-07 06:41:19,577 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:41:19 3.2.0-dev.21 [Pipeline] } 06:41:19 $ docker exec --env ******** --env ******** cf7a614784dd1d321043cd1f0e84882df34dc608c7f5d7c863451b202329ac80 ssh-agent -k 06:41:19 unset SSH_AUTH_SOCK; 06:41:19 unset SSH_AGENT_PID; 06:41:19 echo Agent pid 39 killed; 06:41:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:41:20 + git semver [Pipeline] } 06:41:20 $ docker stop --time=1 cf7a614784dd1d321043cd1f0e84882df34dc608c7f5d7c863451b202329ac80 06:41:21 $ docker rm -f --volumes cf7a614784dd1d321043cd1f0e84882df34dc608c7f5d7c863451b202329ac80 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:41:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:41:22 06:41:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:41:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:41:22 0.23.1-centos7: Pulling from edgex-lftools 06:41:22 ab5ef0e58194: Pulling fs layer 06:41:22 9712f1f96733: Pulling fs layer 06:41:22 63f879dbbcfc: Pulling fs layer 06:41:22 0d9ebad4ef96: Pulling fs layer 06:41:22 e9a5061849ea: Pulling fs layer 06:41:22 d747dcd14b5f: Pulling fs layer 06:41:22 2de7ff778b66: Pulling fs layer 06:41:22 0d9ebad4ef96: Waiting 06:41:22 e9a5061849ea: Waiting 06:41:22 d747dcd14b5f: Waiting 06:41:22 2de7ff778b66: Waiting 06:41:22 9712f1f96733: Verifying Checksum 06:41:22 9712f1f96733: Download complete 06:41:22 63f879dbbcfc: Verifying Checksum 06:41:22 63f879dbbcfc: Download complete 06:41:22 e9a5061849ea: Verifying Checksum 06:41:22 e9a5061849ea: Download complete 06:41:22 d747dcd14b5f: Verifying Checksum 06:41:22 d747dcd14b5f: Download complete 06:41:22 0d9ebad4ef96: Verifying Checksum 06:41:22 0d9ebad4ef96: Download complete 06:41:22 ab5ef0e58194: Verifying Checksum 06:41:22 ab5ef0e58194: Download complete 06:41:22 2de7ff778b66: Verifying Checksum 06:41:22 2de7ff778b66: Download complete 06:41:26 ab5ef0e58194: Pull complete 06:41:26 9712f1f96733: Pull complete 06:41:26 63f879dbbcfc: Pull complete 06:41:31 0d9ebad4ef96: Pull complete 06:41:31 e9a5061849ea: Pull complete 06:41:31 d747dcd14b5f: Pull complete 06:41:31 2de7ff778b66: Pull complete 06:41:31 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:41:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:41:31 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:41:32 prd-ubuntu20.04-docker-8c-8g-7266 does not seem to be running inside a container 06:41:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:41:37 $ docker top 0fdc3abf091ae77f9be0601c2357f12df1d8559bc697c6a5518b825b8469cc99 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:41:37 provisioning config files... 06:41:37 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13632361382706113195tmp 06:41:37 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14400813121888291522tmp 06:41:37 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15565960073585993390tmp [Pipeline] { [Pipeline] echo 06:41:37 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:41:38 ---> sigul-configuration.sh 06:41:38 gpg: directory `/root/.gnupg' created 06:41:38 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:41:38 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:41:38 gpg: keyring `/root/.gnupg/secring.gpg' created 06:41:38 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:41:38 gpg: CAST5 encrypted data 06:41:38 gpg: encrypted with 1 passphrase 06:41:38 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:41:38 + mkdir /home/jenkins 06:41:38 + mkdir /home/jenkins/sigul [Pipeline] sh 06:41:38 + 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 06:41:38 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:41:39 ---> sigul-install.sh 06:41:39 Sigul already installed; skipping installation. [Pipeline] sh 06:41:39 + git tag --list 06:41:39 0.7.1 06:41:39 v1.0.0 06:41:39 v1.1.0 06:41:39 v1.1.1 06:41:39 v1.2.2 06:41:39 v1.3.0 06:41:39 v1.3.1 06:41:39 v2.0.0 06:41:39 v2.1.0 06:41:39 v2.1.1 06:41:39 v2.2.0 06:41:39 v2.3.0 06:41:39 v3.0 06:41:39 v3.0.0 06:41:39 v3.1 06:41:39 v3.1.0 06:41:39 v3.1.0-dev.1 06:41:39 v3.1.0-dev.10 06:41:39 v3.1.0-dev.11 06:41:39 v3.1.0-dev.12 06:41:39 v3.1.0-dev.13 06:41:39 v3.1.0-dev.14 06:41:39 v3.1.0-dev.15 06:41:39 v3.1.0-dev.16 06:41:39 v3.1.0-dev.17 06:41:39 v3.1.0-dev.18 06:41:39 v3.1.0-dev.19 06:41:39 v3.1.0-dev.2 06:41:39 v3.1.0-dev.20 06:41:39 v3.1.0-dev.21 06:41:39 v3.1.0-dev.22 06:41:39 v3.1.0-dev.23 06:41:39 v3.1.0-dev.24 06:41:39 v3.1.0-dev.25 06:41:39 v3.1.0-dev.3 06:41:39 v3.1.0-dev.4 06:41:39 v3.1.0-dev.5 06:41:39 v3.1.0-dev.6 06:41:39 v3.1.0-dev.7 06:41:39 v3.1.0-dev.8 06:41:39 v3.1.0-dev.9 06:41:39 v3.1.1 06:41:39 v3.1.1-dev.1 06:41:39 v3.2.0-dev.1 06:41:39 v3.2.0-dev.10 06:41:39 v3.2.0-dev.11 06:41:39 v3.2.0-dev.12 06:41:39 v3.2.0-dev.13 06:41:39 v3.2.0-dev.14 06:41:39 v3.2.0-dev.15 06:41:39 v3.2.0-dev.16 06:41:39 v3.2.0-dev.17 06:41:39 v3.2.0-dev.18 06:41:39 v3.2.0-dev.19 06:41:39 v3.2.0-dev.2 06:41:39 v3.2.0-dev.20 06:41:39 v3.2.0-dev.21 06:41:39 v3.2.0-dev.3 06:41:39 v3.2.0-dev.4 06:41:39 v3.2.0-dev.5 06:41:39 v3.2.0-dev.6 06:41:39 v3.2.0-dev.7 06:41:39 v3.2.0-dev.8 06:41:39 v3.2.0-dev.9 [Pipeline] sh 06:41:39 + lftools sign git-tag v3.2.0-dev.21 06:41:40 Signing Git tag with Sigul... 06:41:40 Signing v3.2.0-dev.21 [Pipeline] echo 06:41:40 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:41:41 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:41:41 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:41:41 $ docker stop --time=1 0fdc3abf091ae77f9be0601c2357f12df1d8559bc697c6a5518b825b8469cc99 06:41:42 $ docker rm -f --volumes 0fdc3abf091ae77f9be0601c2357f12df1d8559bc697c6a5518b825b8469cc99 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:41:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:41:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:41:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:41:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:41:43 prd-ubuntu20.04-docker-8c-8g-7266 does not seem to be running inside a container 06:41:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:41:43 $ docker top 081bfec3ba46d8cf5e86d25121e2bbf658d6add10384a4682b1740b63c2e7a22 -eo pid,comm 06:41:43 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). 06:41:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:41:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:41:43 [ssh-agent] Looking for ssh-agent implementation... 06:41:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:41:43 $ docker exec 081bfec3ba46d8cf5e86d25121e2bbf658d6add10384a4682b1740b63c2e7a22 ssh-agent 06:41:43 SSH_AUTH_SOCK=/tmp/ssh-XfpvZ39DY0Ix/agent.32 06:41:43 SSH_AGENT_PID=39 06:41:43 Running ssh-add (command line suppressed) 06:41:44 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16937494011154333434.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16937494011154333434.key) 06:41:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:41:44 + git semver bump pre 06:41:44 2024-08-07 06:41:44,524 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:41:44 2024-08-07 06:41:44,524 [bump_version] DEBUG bumping version:3.2.0-dev.21 on axis:pre with prefix:dev 06:41:44 2024-08-07 06:41:44,524 [bump_version] DEBUG bumped version:3.2.0-dev.22 06:41:44 2024-08-07 06:41:44,524 [write_version] DEBUG write version:3.2.0-dev.22 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 06:41:44 2024-08-07 06:41:44,524 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:41:44 2024-08-07 06:41:44,524 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:41:44 2024-08-07 06:41:44,526 [execute] INFO git cat-file --batch-check 06:41:44 2024-08-07 06:41:44,526 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:41:44 2024-08-07 06:41:44,531 [execute] INFO git cat-file --batch 06:41:44 2024-08-07 06:41:44,531 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:41:44 2024-08-07 06:41:44,535 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:41:44 3.2.0-dev.22 [Pipeline] } 06:41:44 $ docker exec --env ******** --env ******** 081bfec3ba46d8cf5e86d25121e2bbf658d6add10384a4682b1740b63c2e7a22 ssh-agent -k 06:41:44 unset SSH_AUTH_SOCK; 06:41:44 unset SSH_AGENT_PID; 06:41:44 echo Agent pid 39 killed; 06:41:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:41:45 + git semver [Pipeline] } 06:41:45 $ docker stop --time=1 081bfec3ba46d8cf5e86d25121e2bbf658d6add10384a4682b1740b63c2e7a22 06:41:46 $ docker rm -f --volumes 081bfec3ba46d8cf5e86d25121e2bbf658d6add10384a4682b1740b63c2e7a22 [Pipeline] // withDockerContainer [Pipeline] sh 06:41:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:41:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:41:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:41:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:41:47 prd-ubuntu20.04-docker-8c-8g-7266 does not seem to be running inside a container 06:41:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:41:47 $ docker top 8cfea24956efef34572c7c1b19b4ba253a2de99f35d5993d28adccb300b3fe78 -eo pid,comm 06:41:47 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:41:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:41:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:41:47 [ssh-agent] Looking for ssh-agent implementation... 06:41:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:41:47 $ docker exec 8cfea24956efef34572c7c1b19b4ba253a2de99f35d5993d28adccb300b3fe78 ssh-agent 06:41:47 SSH_AUTH_SOCK=/tmp/ssh-8qDDTQIe7ybk/agent.32 06:41:47 SSH_AGENT_PID=38 06:41:47 Running ssh-add (command line suppressed) 06:41:48 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12761543102077864064.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12761543102077864064.key) 06:41:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:41:48 + git semver push 06:41:48 2024-08-07 06:41:48,534 [run_push] DEBUG push 06:41:48 2024-08-07 06:41:48,535 [execute] INFO git cat-file --batch-check 06:41:48 2024-08-07 06:41:48,535 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:41:48 2024-08-07 06:41:48,539 [execute] INFO git rev-list 95c2a92e4ab569726a8574b764026dd561c30b71 -- 06:41:48 2024-08-07 06:41:48,539 [execute] DEBUG Popen(['git', 'rev-list', '95c2a92e4ab569726a8574b764026dd561c30b71', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:41:48 2024-08-07 06:41:48,549 [execute] INFO git fetch -v origin 06:41:48 2024-08-07 06:41:48,549 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 06:41:49 2024-08-07 06:41:49,107 [run_push] DEBUG no remote changes detected 06:41:49 2024-08-07 06:41:49,107 [execute] INFO git push origin semver 06:41:49 2024-08-07 06:41:49,107 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:41:50 2024-08-07 06:41:49,883 [run_push] DEBUG push all version tags 06:41:50 2024-08-07 06:41:49,883 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:41:50 2024-08-07 06:41:49,884 [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) 06:41:50 2024-08-07 06:41:50,662 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:41:50 3.2.0-dev.22 [Pipeline] } 06:41:50 $ docker exec --env ******** --env ******** 8cfea24956efef34572c7c1b19b4ba253a2de99f35d5993d28adccb300b3fe78 ssh-agent -k 06:41:50 unset SSH_AUTH_SOCK; 06:41:50 unset SSH_AGENT_PID; 06:41:50 echo Agent pid 38 killed; 06:41:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:41:51 + git semver [Pipeline] } 06:41:51 $ docker stop --time=1 8cfea24956efef34572c7c1b19b4ba253a2de99f35d5993d28adccb300b3fe78 06:41:52 $ docker rm -f --volumes 8cfea24956efef34572c7c1b19b4ba253a2de99f35d5993d28adccb300b3fe78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:41:53 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 06:41:53 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 06:41:53 total 16 06:41:53 drwxr-xr-x 3 root root 4096 Aug 7 06:28 . 06:41:53 drwxrwxr-x 10 jenkins jenkins 4096 Aug 7 06:41 .. 06:41:53 drwxr-xr-x 2 root root 4096 Aug 7 06:28 cost 06:41:53 -rw-r--r-- 1 root root 88 Aug 7 06:28 cost.csv 06:41:53 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 06:41:53 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 06:41:53 total 16 06:41:53 drwxr-xr-x 3 jenkins jenkins 4096 Aug 7 06:28 . 06:41:53 drwxrwxr-x 10 jenkins jenkins 4096 Aug 7 06:41 .. 06:41:53 drwxr-xr-x 2 jenkins jenkins 4096 Aug 7 06:28 cost 06:41:53 -rw-r--r-- 1 jenkins jenkins 88 Aug 7 06:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:41:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:41:54 ---> package-listing.sh 06:41:54 ++ facter osfamily 06:41:54 ++ tr '[:upper:]' '[:lower:]' 06:41:54 + OS_FAMILY=debian 06:41:54 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 06:41:54 + START_PACKAGES=/tmp/packages_start.txt 06:41:54 + END_PACKAGES=/tmp/packages_end.txt 06:41:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:41:54 + PACKAGES=/tmp/packages_start.txt 06:41:54 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 06:41:54 + PACKAGES=/tmp/packages_end.txt 06:41:54 + case "${OS_FAMILY}" in 06:41:54 + dpkg -l 06:41:54 + grep '^ii' 06:41:54 + '[' -f /tmp/packages_start.txt ']' 06:41:54 + '[' -f /tmp/packages_end.txt ']' 06:41:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:41:54 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 06:41:54 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 06:41:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 06:41:54 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 06:41:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:41:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:41:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:41:55 prd-ubuntu20.04-docker-8c-8g-7266 does not seem to be running inside a container 06:41:55 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:41:55 $ docker top ae973ab1516d49eaab301d919af46674ba7d536e1ae532e77d2b1a5b3e7f2a41 -eo pid,comm [Pipeline] { [Pipeline] sh 06:41:56 + touch /tmp/pre-build-complete [Pipeline] sh 06:41:56 + mkdir -p /var/log/sysstat [Pipeline] sh 06:41:56 + ls /var/log/sa-host 06:41:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:41:56 provisioning config files... 06:41:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6940847859344069653tmp [Pipeline] { [Pipeline] echo 06:41:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:41:57 ---> create-netrc.sh [Pipeline] } 06:41:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:41:57 ---> python-tools-install.sh [Pipeline] echo 06:41:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:41:57 ---> sudo-logs.sh 06:41:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:41:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:41:58 ---> job-cost.sh 06:41:58 lf-activate-venv: SKIPPING 06:41:58 DEBUG: total: 0.2199999988079071 06:41:58 INFO: Retrieving Stack Cost... 06:41:58 INFO: Retrieving Pricing Info for: v3-standard-8 06:41:58 INFO: Archiving Costs [Pipeline] echo 06:41:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:41:58 ---> logs-deploy.sh 06:41:58 lf-activate-venv: SKIPPING 06:41:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/160 06:41:58 INFO: archiving workspace using pattern(s): 06:41:59 Archives upload complete. 06:41:59 INFO: archiving logs to Nexus