Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bdf5b46fa02d572085513da6d841dbb0eb23469e 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-ssh4844302090708402326.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-ssh11262656986806529374.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-ssh3053875039972677141.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-ssh9712364802267016935.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-ssh5364845615019984038.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-4896’ is offline Running on prd-ubuntu20.04-docker-8c-8g-4898 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 bdf5b46fa02d572085513da6d841dbb0eb23469e (main) Commit message: "Merge pull request #558 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.20" > 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 bdf5b46fa02d572085513da6d841dbb0eb23469e # timeout=10 > git rev-list --no-walk 016774ad856346449abec6a76f039c0b34c03e63 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:50:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:50:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:50:13 ========================================================= 07:50:13 EdgeX Global Pipelines Version Info 07:50:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:50:14 ------------------- 07:50:14 stable info: 07:50:14 ------------------- 07:50:14 Commited By: Ginny Guan ginny@iotechsys.com 07:50:14 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 07:50:14 Message: update stable to v1.0.260 07:50:14 ------------------- 07:50:14 experimental info: 07:50:14 ------------------- 07:50:14 Commited By: Ginny Guan ginny@iotechsys.com 07:50:14 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 07:50:14 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:50:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 07:50:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 07:50:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:50:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:50:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:50:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bdf5b46fa02d572085513da6d841dbb0eb23469e [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bdf5b46 [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:50:15 provisioning config files... 07:50:15 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12875684973164814032tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:50:16 ---> ****-login.sh 07:50:16 nexus3.edgexfoundry.org:10001 07:50:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:50:16 Configure a credential helper to remove this warning. See 07:50:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:50:16 07:50:16 Login Succeeded 07:50:16 nexus3.edgexfoundry.org:10002 07:50:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:50:16 Configure a credential helper to remove this warning. See 07:50:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:50:16 07:50:16 Login Succeeded 07:50:16 nexus3.edgexfoundry.org:10003 07:50:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:50:16 Configure a credential helper to remove this warning. See 07:50:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:50:16 07:50:16 Login Succeeded 07:50:16 nexus3.edgexfoundry.org:10004 07:50:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:50:16 Configure a credential helper to remove this warning. See 07:50:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:50:16 07:50:16 Login Succeeded 07:50:16 ****.io 07:50:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:50:16 Configure a credential helper to remove this warning. See 07:50:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:50:16 07:50:16 Login Succeeded 07:50:16 ---> ****-login.sh ends [Pipeline] } 07:50:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:50:17 + git rev-list -1 --merges bdf5b46fa02d572085513da6d841dbb0eb23469e~1..bdf5b46fa02d572085513da6d841dbb0eb23469e [Pipeline] echo 07:50:17 -----------> git rev-list -1 --merges bdf5b46fa02d572085513da6d841dbb0eb23469e~1..bdf5b46fa02d572085513da6d841dbb0eb23469e bdf5b46fa02d572085513da6d841dbb0eb23469e 07:50:17 bdf5b46fa02d572085513da6d841dbb0eb23469e [false] [Pipeline] sh 07:50:17 + git log --format=format:%s -1 bdf5b46fa02d572085513da6d841dbb0eb23469e [Pipeline] echo 07:50:17 ========================================================= 07:50:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:50:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:50:17 + git log --format=format:%s -1 bdf5b46fa02d572085513da6d841dbb0eb23469e [Pipeline] echo 07:50:17 [semverPrep] GIT_COMMIT: bdf5b46fa02d572085513da6d841dbb0eb23469e, Commit Message: Merge pull request #558 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.20 [Pipeline] echo 07:50:17 [semverPrep] This is not a build commit. [Pipeline] sh 07:50:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:50:18 + grep -v github /etc/ssh/ssh_known_hosts 07:50:18 + [ -e /tmp/ssh_known_hosts ] 07:50:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:50:18 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:50:18 sudo tee -a /etc/ssh/ssh_known_hosts 07:50:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:50:18 07:50:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:50:19 0.1.4: Pulling from edgex-devops/py-git-semver 07:50:19 b85a868b505f: Pulling fs layer 07:50:19 e2be974225ed: Pulling fs layer 07:50:19 339a4e72a1f5: Pulling fs layer 07:50:19 988bab9f4d93: Pulling fs layer 07:50:19 1469e6f7b9e6: Pulling fs layer 07:50:19 eaf3925da568: Pulling fs layer 07:50:19 bab4dde63d76: Pulling fs layer 07:50:19 bde34c3a00c8: Pulling fs layer 07:50:19 b352a97aabf1: Pulling fs layer 07:50:19 4872d77fe225: Pulling fs layer 07:50:19 5851b861e8e6: Pulling fs layer 07:50:19 bab4dde63d76: Waiting 07:50:19 bde34c3a00c8: Waiting 07:50:19 b352a97aabf1: Waiting 07:50:19 988bab9f4d93: Waiting 07:50:19 eaf3925da568: Waiting 07:50:19 1469e6f7b9e6: Waiting 07:50:19 4872d77fe225: Waiting 07:50:19 5851b861e8e6: Waiting 07:50:19 e2be974225ed: Verifying Checksum 07:50:19 e2be974225ed: Download complete 07:50:19 988bab9f4d93: Verifying Checksum 07:50:19 988bab9f4d93: Download complete 07:50:19 1469e6f7b9e6: Verifying Checksum 07:50:19 1469e6f7b9e6: Download complete 07:50:19 339a4e72a1f5: Verifying Checksum 07:50:19 339a4e72a1f5: Download complete 07:50:19 eaf3925da568: Verifying Checksum 07:50:19 eaf3925da568: Download complete 07:50:19 bde34c3a00c8: Download complete 07:50:19 b352a97aabf1: Verifying Checksum 07:50:19 b352a97aabf1: Download complete 07:50:19 4872d77fe225: Verifying Checksum 07:50:19 4872d77fe225: Download complete 07:50:19 5851b861e8e6: Download complete 07:50:19 b85a868b505f: Verifying Checksum 07:50:19 b85a868b505f: Download complete 07:50:19 bab4dde63d76: Verifying Checksum 07:50:19 bab4dde63d76: Download complete 07:50:20 b85a868b505f: Pull complete 07:50:20 e2be974225ed: Pull complete 07:50:21 339a4e72a1f5: Pull complete 07:50:21 988bab9f4d93: Pull complete 07:50:21 1469e6f7b9e6: Pull complete 07:50:21 eaf3925da568: Pull complete 07:50:23 bab4dde63d76: Pull complete 07:50:23 bde34c3a00c8: Pull complete 07:50:23 b352a97aabf1: Pull complete 07:50:23 4872d77fe225: Pull complete 07:50:23 5851b861e8e6: Pull complete 07:50:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:50:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:50:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:50:24 prd-ubuntu20.04-docker-8c-8g-4898 does not seem to be running inside a container 07:50:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:50:25 $ docker top 4da6cddd77aeda51d9fbc83a1012de8a3736f476d32b3862b9d9e742eda5af57 -eo pid,comm 07:50:25 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:50:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:50:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:50:25 [ssh-agent] Looking for ssh-agent implementation... 07:50:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:50:26 $ docker exec 4da6cddd77aeda51d9fbc83a1012de8a3736f476d32b3862b9d9e742eda5af57 ssh-agent 07:50:26 SSH_AUTH_SOCK=/tmp/ssh-brvoqX6i95H2/agent.32 07:50:26 SSH_AGENT_PID=38 07:50:26 Running ssh-add (command line suppressed) 07:50:26 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_757082113161952253.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_757082113161952253.key) 07:50:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:50:26 + git tag --points-at HEAD [Pipeline] } 07:50:26 $ docker exec --env ******** --env ******** 4da6cddd77aeda51d9fbc83a1012de8a3736f476d32b3862b9d9e742eda5af57 ssh-agent -k 07:50:26 unset SSH_AUTH_SOCK; 07:50:26 unset SSH_AGENT_PID; 07:50:26 echo Agent pid 38 killed; 07:50:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:50:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:50:26 [ssh-agent] Looking for ssh-agent implementation... 07:50:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:50:26 $ docker exec 4da6cddd77aeda51d9fbc83a1012de8a3736f476d32b3862b9d9e742eda5af57 ssh-agent 07:50:27 SSH_AUTH_SOCK=/tmp/ssh-LMvhn7FxmBj9/agent.71 07:50:27 SSH_AGENT_PID=77 07:50:27 Running ssh-add (command line suppressed) 07:50:27 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3525184677081794671.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3525184677081794671.key) 07:50:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:50:27 + git semver init 07:50:27 2024-07-03 07:50:27,622 [run_init] DEBUG init version:0.0.0 force:False 07:50:27 2024-07-03 07:50:27,622 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 07:50:27 2024-07-03 07:50:27,623 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 07:50:27 2024-07-03 07:50:27,623 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 07:50:28 2024-07-03 07:50:28,616 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 07:50:28 2024-07-03 07:50:28,617 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 07:50:28 2024-07-03 07:50:28,617 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:50:28 2024-07-03 07:50:28,617 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:50:28 3.2.0-dev.16 [Pipeline] } 07:50:28 $ docker exec --env ******** --env ******** 4da6cddd77aeda51d9fbc83a1012de8a3736f476d32b3862b9d9e742eda5af57 ssh-agent -k 07:50:29 unset SSH_AUTH_SOCK; 07:50:29 unset SSH_AGENT_PID; 07:50:29 echo Agent pid 77 killed; 07:50:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:50:29 + git semver [Pipeline] } 07:50:29 $ docker stop --time=1 4da6cddd77aeda51d9fbc83a1012de8a3736f476d32b3862b9d9e742eda5af57 07:50:30 $ docker rm -f --volumes 4da6cddd77aeda51d9fbc83a1012de8a3736f476d32b3862b9d9e742eda5af57 [Pipeline] // withDockerContainer [Pipeline] sh 07:50:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:50:31 Stashed 1 file(s) [Pipeline] echo 07:50:31 [edgeXSemver]: initialized semver on version 3.2.0-dev.16 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:50:31 provisioning config files... 07:50:31 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config18135923909222140323tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:50:32 ---> ****-login.sh 07:50:32 nexus3.edgexfoundry.org:10001 07:50:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:50:32 Configure a credential helper to remove this warning. See 07:50:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:50:32 07:50:32 Login Succeeded 07:50:32 nexus3.edgexfoundry.org:10002 07:50:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:50:32 Configure a credential helper to remove this warning. See 07:50:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:50:32 07:50:32 Login Succeeded 07:50:32 nexus3.edgexfoundry.org:10003 07:50:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:50:32 Configure a credential helper to remove this warning. See 07:50:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:50:32 07:50:32 Login Succeeded 07:50:32 nexus3.edgexfoundry.org:10004 07:50:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:50:32 Configure a credential helper to remove this warning. See 07:50:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:50:32 07:50:32 Login Succeeded 07:50:32 ****.io 07:50:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:50:32 Configure a credential helper to remove this warning. See 07:50:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:50:32 07:50:32 Login Succeeded 07:50:32 ---> ****-login.sh ends [Pipeline] } 07:50:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:50:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:50:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:50:32 ========================================================= 07:50:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 07:50:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:33 + 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 . 07:50:33 Sending build context to Docker daemon 17.84MB 07:50:33 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 07:50:33 Step 2/10 : FROM ${BASE} AS builder 07:50:33 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 07:50:33 619be1103602: Pulling fs layer 07:50:33 7862e08f4a3e: Pulling fs layer 07:50:33 5df492c9dc93: Pulling fs layer 07:50:33 7629e6793208: Pulling fs layer 07:50:33 4f4fb700ef54: Pulling fs layer 07:50:33 fb5054dd5b73: Pulling fs layer 07:50:33 eeca6798cff9: Pulling fs layer 07:50:33 aa269ceb94a6: Pulling fs layer 07:50:33 ada007ff1a6a: Pulling fs layer 07:50:33 fb5054dd5b73: Waiting 07:50:33 eeca6798cff9: Waiting 07:50:33 7629e6793208: Waiting 07:50:33 4f4fb700ef54: Waiting 07:50:33 ada007ff1a6a: Waiting 07:50:33 aa269ceb94a6: Waiting 07:50:33 7862e08f4a3e: Verifying Checksum 07:50:33 7862e08f4a3e: Download complete 07:50:33 7629e6793208: Verifying Checksum 07:50:33 7629e6793208: Download complete 07:50:33 4f4fb700ef54: Download complete 07:50:33 619be1103602: Verifying Checksum 07:50:33 619be1103602: Download complete 07:50:33 fb5054dd5b73: Download complete 07:50:33 eeca6798cff9: Verifying Checksum 07:50:33 eeca6798cff9: Download complete 07:50:33 619be1103602: Pull complete 07:50:33 ada007ff1a6a: Verifying Checksum 07:50:33 ada007ff1a6a: Download complete 07:50:33 7862e08f4a3e: Pull complete 07:50:33 5df492c9dc93: Verifying Checksum 07:50:33 5df492c9dc93: Download complete 07:50:34 aa269ceb94a6: Verifying Checksum 07:50:34 aa269ceb94a6: Download complete 07:50:37 5df492c9dc93: Pull complete 07:50:37 7629e6793208: Pull complete 07:50:37 4f4fb700ef54: Pull complete 07:50:37 fb5054dd5b73: Pull complete 07:50:37 eeca6798cff9: Pull complete 07:50:39 aa269ceb94a6: Pull complete 07:50:40 ada007ff1a6a: Pull complete 07:50:40 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 07:50:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 07:50:40 ---> f489d0715acc 07:50:40 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:50:43 ---> Running in fe6845f46ce6 07:50:43 Removing intermediate container fe6845f46ce6 07:50:43 ---> 6682e514acaa 07:50:43 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:50:43 ---> Running in c4c0c8ac6829 07:50:43 Removing intermediate container c4c0c8ac6829 07:50:43 ---> 45ede49d49bb 07:50:43 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:50:43 ---> Running in 1c7833a38b66 07:50:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:50:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:50:43 (1/8) Installing openssh-keygen (9.3_p2-r2) 07:50:43 (2/8) Installing libedit (20221030.3.1-r1) 07:50:43 (3/8) Installing openssh-client-common (9.3_p2-r2) 07:50:43 (4/8) Installing openssh-client-default (9.3_p2-r2) 07:50:43 (5/8) Installing openssh-sftp-server (9.3_p2-r2) 07:50:43 (6/8) Installing openssh-server-common (9.3_p2-r2) 07:50:43 (7/8) Installing openssh-server (9.3_p2-r2) 07:50:43 (8/8) Installing openssh (9.3_p2-r2) 07:50:43 Executing busybox-1.36.1-r5.trigger 07:50:43 OK: 270 MiB in 60 packages 07:50:44 Removing intermediate container 1c7833a38b66 07:50:44 ---> 5eff32e86875 07:50:44 Step 6/10 : WORKDIR /device-modbus-go 07:50:44 ---> Running in a4e1b9317278 07:50:44 Removing intermediate container a4e1b9317278 07:50:44 ---> 81262627df18 07:50:44 Step 7/10 : COPY go.mod vendor* ./ 07:50:44 ---> 64e6ceba8daa 07:50:44 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:50:44 ---> Running in ea42aa186678 07:50:46 Still waiting to schedule task 07:50:46 ‘prd-ubuntu20.04-docker-arm64-4c-16g-4897’ is offline 07:51:23 Removing intermediate container ea42aa186678 07:51:23 ---> 70d11d82392f 07:51:23 Step 9/10 : COPY . . 07:51:23 ---> 871599439089 07:51:23 Step 10/10 : RUN ${MAKE} 07:51:23 ---> Running in 115ff1e30636 07:51:23 noop 07:51:23 Removing intermediate container 115ff1e30636 07:51:23 ---> 5cd69bcfbb80 07:51:23 Successfully built 5cd69bcfbb80 07:51:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:23 + docker inspect -f . ci-base-image-x86_64 07:51:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:51:23 prd-ubuntu20.04-docker-8c-8g-4898 does not seem to be running inside a container 07:51: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 ******** -e ******** ci-base-image-x86_64 cat 07:51:23 $ docker top ac038c436ee0bba985fd59b33a7da2720cf5f98e1602a2e9519dd3a9dc79e815 -eo pid,comm [Pipeline] { [Pipeline] sh 07:51:24 + go version 07:51:24 go version go1.21.9 linux/amd64 [Pipeline] } 07:51:24 $ docker stop --time=1 ac038c436ee0bba985fd59b33a7da2720cf5f98e1602a2e9519dd3a9dc79e815 07:51:25 $ docker rm -f --volumes ac038c436ee0bba985fd59b33a7da2720cf5f98e1602a2e9519dd3a9dc79e815 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:25 + docker inspect -f . ci-base-image-x86_64 07:51:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:51:25 prd-ubuntu20.04-docker-8c-8g-4898 does not seem to be running inside a container 07:51: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 ******** -e ******** ci-base-image-x86_64 cat 07:51:26 $ docker top 553fd4d854e114294b763f09b9ac89b98028ab5da510fe2563483cf2ad53b8b1 -eo pid,comm [Pipeline] { [Pipeline] sh 07:51:26 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 07:51:27 + make test 07:51:27 go test ./... -coverprofile=coverage.out 07:51:27 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:51:49 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:51:49 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.010s coverage: 47.9% of statements 07:51:58 go vet ./... 07:52:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:52:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:52:03 ./bin/test-attribution-txt.sh [Pipeline] echo 07:52:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:52:03 $ docker stop --time=1 553fd4d854e114294b763f09b9ac89b98028ab5da510fe2563483cf2ad53b8b1 07:52:05 $ docker rm -f --volumes 553fd4d854e114294b763f09b9ac89b98028ab5da510fe2563483cf2ad53b8b1 [Pipeline] // withDockerContainer [Pipeline] sh 07:52:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:52:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:52:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:52:07 + ls -al . 07:52:07 total 272 07:52:07 drwxrwxr-x 9 jenkins jenkins 4096 Jul 3 07:51 . 07:52:07 drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 07:50 .. 07:52:07 -rw-rw-r-- 1 jenkins jenkins 140 Jul 3 07:50 .dockerignore 07:52:07 drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 07:51 .git 07:52:07 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 07:50 .github 07:52:07 -rw-rw-r-- 1 jenkins jenkins 266 Jul 3 07:50 .gitignore 07:52:07 -rw-rw-r-- 1 jenkins jenkins 41 Jul 3 07:50 .golangci.yml 07:52:07 drwxr-xr-x 3 jenkins jenkins 4096 Jul 3 07:50 .semver 07:52:07 -rw-rw-r-- 1 jenkins jenkins 19432 Jul 3 07:50 Attribution.txt 07:52:07 -rw-rw-r-- 1 jenkins jenkins 16388 Jul 3 07:50 CHANGELOG.md 07:52:07 -rw-rw-r-- 1 jenkins jenkins 1474 Jul 3 07:50 Dockerfile 07:52:07 -rw-rw-r-- 1 jenkins jenkins 677 Jul 3 07:50 GOVERNANCE.md 07:52:07 -rw-rw-r-- 1 jenkins jenkins 658 Jul 3 07:50 Jenkinsfile 07:52:07 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 3 07:50 LICENSE 07:52:07 -rw-rw-r-- 1 jenkins jenkins 1942 Jul 3 07:50 Makefile 07:52:07 -rw-rw-r-- 1 jenkins jenkins 622 Jul 3 07:50 OWNERS.md 07:52:07 -rw-rw-r-- 1 jenkins jenkins 4463 Jul 3 07:50 README.md 07:52:07 -rw-rw-r-- 1 jenkins jenkins 12 Jul 3 07:50 VERSION 07:52:07 drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 07:50 bin 07:52:07 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 07:50 cmd 07:52:07 -rw-r--r-- 1 jenkins jenkins 24601 Jul 3 07:51 coverage.out 07:52:07 -rw-rw-r-- 1 jenkins jenkins 7242 Jul 3 07:50 go.mod 07:52:07 -rw-rw-r-- 1 jenkins jenkins 102293 Jul 3 07:50 go.sum 07:52:07 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 07:50 internal 07:52:07 drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 07:50 simulator 07:52:07 -rw-rw-r-- 1 jenkins jenkins 229 Jul 3 07:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:07 + 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=bdf5b46fa02d572085513da6d841dbb0eb23469e --label arch=amd64 --label version=3.2.0-dev.16 . 07:52:07 Sending build context to Docker daemon 17.87MB 07:52:07 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 07:52:07 Step 2/23 : FROM ${BASE} AS builder 07:52:07 ---> 5cd69bcfbb80 07:52:07 Step 3/23 : ARG ADD_BUILD_TAGS="" 07:52:07 ---> Running in c85f80471443 07:52:07 Removing intermediate container c85f80471443 07:52:07 ---> 226f952e2e3d 07:52:07 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:52:07 ---> Running in bfcd2f65ca89 07:52:07 Removing intermediate container bfcd2f65ca89 07:52:07 ---> a68a6982912b 07:52:07 Step 5/23 : RUN apk add --update --no-cache make git openssh 07:52:07 ---> Running in 32602d62978f 07:52:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:52:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:52:08 OK: 270 MiB in 60 packages 07:52:08 Removing intermediate container 32602d62978f 07:52:08 ---> 64c6aa364abd 07:52:08 Step 6/23 : WORKDIR /device-modbus-go 07:52:08 ---> Running in aa2cd8c2c0fa 07:52:09 Removing intermediate container aa2cd8c2c0fa 07:52:09 ---> 6c2213ea8c8b 07:52:09 Step 7/23 : COPY go.mod vendor* ./ 07:52:09 ---> 3c34fd13cdf9 07:52:09 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:52:09 ---> Running in cd369304b0c4 07:52:10 Removing intermediate container cd369304b0c4 07:52:10 ---> a467eaf2cf99 07:52:10 Step 9/23 : COPY . . 07:52:10 ---> 7a842643493a 07:52:10 Step 10/23 : RUN ${MAKE} 07:52:10 ---> Running in 937774c66584 07:52:10 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.16 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.20" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 07:52:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4899 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 07:52:13 Running in /w/workspace/device-modbus-go/155 [Pipeline] { [Pipeline] checkout 07:52:16 The recommended git tool is: git 07:52:21 using credential edgex-jenkins-ssh 07:52:21 Cloning the remote Git repository 07:52:21 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 07:52:21 > git init /w/workspace/device-modbus-go/155 # timeout=10 07:52:21 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:52:21 > git --version # timeout=10 07:52:21 > git --version # 'git version 2.25.1' 07:52:21 using GIT_SSH to set credentials SSH Credentials for GitHub 07:52:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:52:23 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:52:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:52:24 Avoid second fetch 07:52:24 Checking out Revision bdf5b46fa02d572085513da6d841dbb0eb23469e (main) 07:52:24 Commit message: "Merge pull request #558 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.20" 07:52:24 > git config core.sparsecheckout # timeout=10 07:52:24 > git checkout -f bdf5b46fa02d572085513da6d841dbb0eb23469e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:52:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:52:29 % Total % Received % Xferd Average Speed Time Time Time Current 07:52:29 Dload Upload Total Spent Left Speed 07:52:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh 07:52:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:52:29 + sudo tee /etc/docker/daemon.new 07:52:29 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:52:29 { 07:52:29 "registry-mirrors": [ 07:52:29 "https://nexus3.edgexfoundry.org:10001" 07:52:29 ], 07:52:29 "bip": "10.250.0.254/24", 07:52:29 "hosts": [ 07:52:29 "tcp://0.0.0.0:5555", 07:52:29 "unix:///var/run/docker.sock" 07:52:29 ], 07:52:29 "mtu": 1458, 07:52:29 "selinux-enabled": true, 07:52:29 "seccomp-profile": "/etc/docker/seccomp.json" 07:52:29 } [Pipeline] sh 07:52:30 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:52:30 + sudo service docker restart 07:52:37 Removing intermediate container 937774c66584 07:52:37 ---> 576c27eeab1b 07:52:37 Step 11/23 : FROM alpine:3.18 07:52:37 3.18: Pulling from library/alpine 07:52:37 73baa7ef167e: Pulling fs layer 07:52:37 73baa7ef167e: Verifying Checksum 07:52:37 73baa7ef167e: Download complete 07:52:37 73baa7ef167e: Pull complete 07:52:37 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 07:52:37 Status: Downloaded newer image for alpine:3.18 07:52:37 ---> 8fd7cac70a4a 07:52:37 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:52:37 ---> Running in 6953a5897254 07:52:38 Removing intermediate container 6953a5897254 07:52:38 ---> f6c5097f02e1 07:52:38 Step 13/23 : RUN apk add --update --no-cache dumb-init 07:52:38 ---> Running in cca324815126 07:52:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:52:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:52:38 (1/1) Installing dumb-init (1.2.5-r2) 07:52:38 Executing busybox-1.36.1-r7.trigger 07:52:38 OK: 7 MiB in 16 packages 07:52:39 Removing intermediate container cca324815126 07:52:39 ---> b9b6371bf55a 07:52:39 Step 14/23 : RUN apk --no-cache upgrade 07:52:39 ---> Running in fdb612d417d9 07:52:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:52:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:52:39 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 07:52:39 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 07:52:39 OK: 7 MiB in 16 packages 07:52:40 Removing intermediate container fdb612d417d9 07:52:40 ---> 3ae511626e3c 07:52:40 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 07:52:40 ---> a3b8406a1e30 07:52:40 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 07:52:40 ---> af8c4c864486 07:52:40 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:52:40 ---> 049478f27222 07:52:40 Step 18/23 : EXPOSE 59901 07:52:41 ---> Running in 1950a9fb990f 07:52:41 Removing intermediate container 1950a9fb990f 07:52:41 ---> cf5490128ceb 07:52:41 Step 19/23 : ENTRYPOINT ["/device-modbus"] 07:52:41 ---> Running in 5e1f0574685f 07:52:41 Removing intermediate container 5e1f0574685f 07:52:41 ---> ea76fbd18511 07:52:41 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:52:41 ---> Running in 5df83495ded5 07:52:41 Removing intermediate container 5df83495ded5 07:52:41 ---> 54c8ba55f92d 07:52:41 Step 21/23 : LABEL arch=amd64 07:52:41 ---> Running in 23a28c4a7fdd 07:52:41 Removing intermediate container 23a28c4a7fdd 07:52:41 ---> 05510be56f2f 07:52:41 Step 22/23 : LABEL git_sha=bdf5b46fa02d572085513da6d841dbb0eb23469e 07:52:41 ---> Running in 75c4f59c4a4e 07:52:41 Removing intermediate container 75c4f59c4a4e 07:52:41 ---> beb8415562c2 07:52:41 Step 23/23 : LABEL version=3.2.0-dev.16 07:52:41 ---> Running in 9c22224ac554 07:52:41 Removing intermediate container 9c22224ac554 07:52:41 ---> f678eabfa160 07:52:41 [Warning] One or more build-args [ARCH] were not consumed 07:52:41 Successfully built f678eabfa160 07:52:41 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:52:41 provisioning config files... 07:52:41 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3719350058051729463tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:52:42 ---> ****-login.sh 07:52:42 nexus3.edgexfoundry.org:10001 07:52:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:52:42 Configure a credential helper to remove this warning. See 07:52:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:52:42 07:52:42 Login Succeeded 07:52:42 nexus3.edgexfoundry.org:10002 07:52:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:52:42 Configure a credential helper to remove this warning. See 07:52:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:52:42 07:52:42 Login Succeeded 07:52:42 nexus3.edgexfoundry.org:10003 07:52:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:52:42 Configure a credential helper to remove this warning. See 07:52:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:52:42 07:52:42 Login Succeeded 07:52:42 nexus3.edgexfoundry.org:10004 07:52:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:52:42 Configure a credential helper to remove this warning. See 07:52:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:52:42 07:52:42 Login Succeeded 07:52:42 ****.io 07:52:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:52:42 Configure a credential helper to remove this warning. See 07:52:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:52:42 07:52:42 Login Succeeded 07:52:42 ---> ****-login.sh ends [Pipeline] } 07:52:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:52:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:52:42 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 07:52:42 bdf5b46fa02d572085513da6d841dbb0eb23469e 07:52:42 latest 07:52:42 3.2.0-dev.16 07:52:42 bdf5b46fa02d572085513da6d841dbb0eb23469e-3.2.0-dev.16 07:52:42 main 07:52:42 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:43 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:bdf5b46fa02d572085513da6d841dbb0eb23469e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:43 + docker push nexus3.edgexfoundry.org:10004/device-modbus:bdf5b46fa02d572085513da6d841dbb0eb23469e 07:52:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:52:43 a8511991ef20: Preparing 07:52:43 85fd30a9d98d: Preparing 07:52:43 8fef3a0fa7de: Preparing 07:52:43 f05732ddf18a: Preparing 07:52:43 3d80d6eeb4e2: Preparing 07:52:43 63ec0bd56cf3: Preparing 07:52:43 63ec0bd56cf3: Waiting 07:52:43 3d80d6eeb4e2: Pushed 07:52:43 a8511991ef20: Pushed 07:52:43 85fd30a9d98d: Pushed 07:52:43 63ec0bd56cf3: Layer already exists 07:52:43 f05732ddf18a: Pushed 07:52:46 8fef3a0fa7de: Pushed 07:52:46 bdf5b46fa02d572085513da6d841dbb0eb23469e: digest: sha256:1220fa1a6597c1c3d323d7f018623c66cf9ec5b007c55e68b8c7e1b1df3c2b69 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:46 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:47 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 07:52:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:52:47 a8511991ef20: Preparing 07:52:47 85fd30a9d98d: Preparing 07:52:47 8fef3a0fa7de: Preparing 07:52:47 f05732ddf18a: Preparing 07:52:47 3d80d6eeb4e2: Preparing 07:52:47 63ec0bd56cf3: Preparing 07:52:47 63ec0bd56cf3: Waiting 07:52:47 a8511991ef20: Layer already exists 07:52:47 8fef3a0fa7de: Layer already exists 07:52:47 85fd30a9d98d: Layer already exists 07:52:47 f05732ddf18a: Layer already exists 07:52:47 3d80d6eeb4e2: Layer already exists 07:52:47 63ec0bd56cf3: Layer already exists 07:52:47 latest: digest: sha256:1220fa1a6597c1c3d323d7f018623c66cf9ec5b007c55e68b8c7e1b1df3c2b69 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:47 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:47 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.16 07:52:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:52:47 a8511991ef20: Preparing 07:52:47 85fd30a9d98d: Preparing 07:52:47 8fef3a0fa7de: Preparing 07:52:47 f05732ddf18a: Preparing 07:52:47 3d80d6eeb4e2: Preparing 07:52:47 63ec0bd56cf3: Preparing 07:52:47 63ec0bd56cf3: Waiting 07:52:47 a8511991ef20: Layer already exists 07:52:47 f05732ddf18a: Layer already exists 07:52:47 8fef3a0fa7de: Layer already exists 07:52:47 3d80d6eeb4e2: Layer already exists 07:52:47 85fd30a9d98d: Layer already exists 07:52:47 63ec0bd56cf3: Layer already exists 07:52:47 3.2.0-dev.16: digest: sha256:1220fa1a6597c1c3d323d7f018623c66cf9ec5b007c55e68b8c7e1b1df3c2b69 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:48 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:bdf5b46fa02d572085513da6d841dbb0eb23469e-3.2.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:48 + docker push nexus3.edgexfoundry.org:10004/device-modbus:bdf5b46fa02d572085513da6d841dbb0eb23469e-3.2.0-dev.16 07:52:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:52:48 a8511991ef20: Preparing 07:52:48 85fd30a9d98d: Preparing 07:52:48 8fef3a0fa7de: Preparing 07:52:48 f05732ddf18a: Preparing 07:52:48 3d80d6eeb4e2: Preparing 07:52:48 63ec0bd56cf3: Preparing 07:52:48 63ec0bd56cf3: Waiting 07:52:48 f05732ddf18a: Layer already exists 07:52:48 a8511991ef20: Layer already exists 07:52:48 85fd30a9d98d: Layer already exists 07:52:48 8fef3a0fa7de: Layer already exists 07:52:48 3d80d6eeb4e2: Layer already exists 07:52:48 63ec0bd56cf3: Layer already exists 07:52:48 bdf5b46fa02d572085513da6d841dbb0eb23469e-3.2.0-dev.16: digest: sha256:1220fa1a6597c1c3d323d7f018623c66cf9ec5b007c55e68b8c7e1b1df3c2b69 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:48 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:52:48 provisioning config files... 07:52:48 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/155@tmp/config9150136711850058743tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:52:49 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 07:52:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:52:49 a8511991ef20: Preparing 07:52:49 85fd30a9d98d: Preparing 07:52:49 8fef3a0fa7de: Preparing 07:52:49 f05732ddf18a: Preparing 07:52:49 3d80d6eeb4e2: Preparing 07:52:49 63ec0bd56cf3: Preparing 07:52:49 63ec0bd56cf3: Waiting 07:52:49 85fd30a9d98d: Layer already exists 07:52:49 f05732ddf18a: Layer already exists 07:52:49 3d80d6eeb4e2: Layer already exists 07:52:49 8fef3a0fa7de: Layer already exists 07:52:49 a8511991ef20: Layer already exists 07:52:49 63ec0bd56cf3: Layer already exists 07:52:49 main: digest: sha256:1220fa1a6597c1c3d323d7f018623c66cf9ec5b007c55e68b8c7e1b1df3c2b69 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:52:49 ===================================================== [Pipeline] echo 07:52:49 taggedImages: 07:52:49 - nexus3.edgexfoundry.org:10004/device-modbus:bdf5b46fa02d572085513da6d841dbb0eb23469e 07:52:49 - nexus3.edgexfoundry.org:10004/device-modbus:latest 07:52:49 - nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.16 07:52:49 - nexus3.edgexfoundry.org:10004/device-modbus:bdf5b46fa02d572085513da6d841dbb0eb23469e-3.2.0-dev.16 07:52:49 - 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 07:52:49 ---> ****-login.sh 07:52:49 nexus3.edgexfoundry.org:10001 07:52:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:52:49 07:52:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:52:49 latest: Pulling from edgex-lftools-log-publisher 07:52:49 5eb5b503b376: Pulling fs layer 07:52:49 5c69ac0246d0: Pulling fs layer 07:52:49 ec43610c2a17: Pulling fs layer 07:52:49 3a2ae6a8a46f: Pulling fs layer 07:52:49 33b1e0a273af: Pulling fs layer 07:52:49 33b1e0a273af: Waiting 07:52:49 3a2ae6a8a46f: Waiting 07:52:49 5d3b04190fa2: Pulling fs layer 07:52:49 2f39f015ded8: Pulling fs layer 07:52:49 2f39f015ded8: Waiting 07:52:49 5d3b04190fa2: Waiting 07:52:49 5c69ac0246d0: Download complete 07:52:49 3a2ae6a8a46f: Verifying Checksum 07:52:49 3a2ae6a8a46f: Download complete 07:52:49 33b1e0a273af: Verifying Checksum 07:52:49 33b1e0a273af: Download complete 07:52:49 ec43610c2a17: Verifying Checksum 07:52:49 ec43610c2a17: Download complete 07:52:49 5d3b04190fa2: Download complete 07:52:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:52:49 Configure a credential helper to remove this warning. See 07:52:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:52:49 07:52:49 Login Succeeded 07:52:49 nexus3.edgexfoundry.org:10002 07:52:50 5eb5b503b376: Verifying Checksum 07:52:50 5eb5b503b376: Download complete 07:52:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:52:50 Configure a credential helper to remove this warning. See 07:52:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:52:50 07:52:50 Login Succeeded 07:52:50 nexus3.edgexfoundry.org:10003 07:52:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:52:50 Configure a credential helper to remove this warning. See 07:52:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:52:50 07:52:50 Login Succeeded 07:52:50 nexus3.edgexfoundry.org:10004 07:52:50 2f39f015ded8: Verifying Checksum 07:52:50 2f39f015ded8: Download complete 07:52:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:52:51 Configure a credential helper to remove this warning. See 07:52:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:52:51 07:52:51 Login Succeeded 07:52:51 ****.io 07:52:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:51 5eb5b503b376: Pull complete 07:52:51 5c69ac0246d0: Pull complete 07:52:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:52:51 Configure a credential helper to remove this warning. See 07:52:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:52:51 07:52:51 Login Succeeded 07:52:51 ---> ****-login.sh ends [Pipeline] } 07:52:51 Deleting 1 temporary files [Pipeline] // configFileProvider 07:52:51 ec43610c2a17: Pull complete [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 07:52:51 3a2ae6a8a46f: Pull complete 07:52:51 33b1e0a273af: Pull complete 07:52:51 5d3b04190fa2: Pull complete [Pipeline] echo 07:52:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:52:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:52:51 ========================================================= 07:52:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 07:52:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:52 + 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 . 07:52:52 Sending build context to Docker daemon 9.059MB 07:52:52 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 07:52:52 Step 2/10 : FROM ${BASE} AS builder 07:52:52 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:52:52 c6b39de5b339: Pulling fs layer 07:52:52 a69c41024577: Pulling fs layer 07:52:52 d6de4b400683: Pulling fs layer 07:52:52 35cb2a7552d0: Pulling fs layer 07:52:52 4f4fb700ef54: Pulling fs layer 07:52:52 464afbd9ba4c: Pulling fs layer 07:52:52 00f215d4a9da: Pulling fs layer 07:52:52 d496ad576159: Pulling fs layer 07:52:52 464afbd9ba4c: Waiting 07:52:52 d496ad576159: Waiting 07:52:52 00f215d4a9da: Waiting 07:52:52 4f4fb700ef54: Waiting 07:52:52 35cb2a7552d0: Waiting 07:52:52 a69c41024577: Verifying Checksum 07:52:52 a69c41024577: Download complete 07:52:52 35cb2a7552d0: Download complete 07:52:52 4f4fb700ef54: Verifying Checksum 07:52:52 4f4fb700ef54: Download complete 07:52:52 464afbd9ba4c: Verifying Checksum 07:52:52 464afbd9ba4c: Download complete 07:52:53 c6b39de5b339: Verifying Checksum 07:52:53 c6b39de5b339: Download complete 07:52:53 d496ad576159: Download complete 07:52:53 c6b39de5b339: Pull complete 07:52:54 a69c41024577: Pull complete 07:52:54 d6de4b400683: Verifying Checksum 07:52:54 d6de4b400683: Download complete 07:52:55 00f215d4a9da: Verifying Checksum 07:52:55 00f215d4a9da: Download complete 07:52:56 2f39f015ded8: Pull complete 07:52:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:52:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:52:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:52:56 prd-ubuntu20.04-docker-8c-8g-4898 does not seem to be running inside a container 07:52:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:52:57 $ docker top 9644341eda60825388de37066a71fd263f1ab93ddb787e2b6d53899c06a0a140 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:52:57 ---> job-cost.sh 07:52:57 lf-activate-venv: SKIPPING 07:52:57 INFO: No Stack... 07:52:57 INFO: Retrieving Pricing Info for: v3-standard-8 07:52:58 INFO: Archiving Costs [Pipeline] sh 07:52:58 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 07:52:58 + cut -d, -f6 [Pipeline] lock 07:52:58 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-155-stack-cost] 07:52:58 Resource [jenkins-edgexfoundry-device-modbus-go-main-155-stack-cost] did not exist. Created. 07:52:58 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-155-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:52:58 + echo total: 0.2199999988079071 [Pipeline] stash 07:52:58 Stashed 1 file(s) [Pipeline] } 07:52:58 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-155-stack-cost] [Pipeline] // lock [Pipeline] } 07:52:58 $ docker stop --time=1 9644341eda60825388de37066a71fd263f1ab93ddb787e2b6d53899c06a0a140 07:53:00 $ docker rm -f --volumes 9644341eda60825388de37066a71fd263f1ab93ddb787e2b6d53899c06a0a140 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:53:08 d6de4b400683: Pull complete 07:53:08 35cb2a7552d0: Pull complete 07:53:08 4f4fb700ef54: Pull complete 07:53:08 464afbd9ba4c: Pull complete 07:53:16 00f215d4a9da: Pull complete 07:53:17 d496ad576159: Pull complete 07:53:17 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 07:53:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 07:53:18 ---> f246e2811388 07:53:18 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:53:19 ---> Running in cb6c18668b52 07:53:20 Removing intermediate container cb6c18668b52 07:53:20 ---> d61c6607b9d1 07:53:20 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:53:20 ---> Running in f02cb19adb34 07:53:20 Removing intermediate container f02cb19adb34 07:53:20 ---> 98ba70196060 07:53:20 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:53:20 ---> Running in 0c1ac07e94d5 07:53:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:53:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:53:22 (1/8) Installing openssh-keygen (9.3_p2-r2) 07:53:22 (2/8) Installing libedit (20221030.3.1-r1) 07:53:22 (3/8) Installing openssh-client-common (9.3_p2-r2) 07:53:22 (4/8) Installing openssh-client-default (9.3_p2-r2) 07:53:22 (5/8) Installing openssh-sftp-server (9.3_p2-r2) 07:53:22 (6/8) Installing openssh-server-common (9.3_p2-r2) 07:53:22 (7/8) Installing openssh-server (9.3_p2-r2) 07:53:22 (8/8) Installing openssh (9.3_p2-r2) 07:53:22 Executing busybox-1.36.1-r5.trigger 07:53:22 OK: 272 MiB in 60 packages 07:53:23 Removing intermediate container 0c1ac07e94d5 07:53:23 ---> ebcea60d6a31 07:53:23 Step 6/10 : WORKDIR /device-modbus-go 07:53:23 ---> Running in 77e43f042ebe 07:53:24 Removing intermediate container 77e43f042ebe 07:53:24 ---> 93b797c382ae 07:53:24 Step 7/10 : COPY go.mod vendor* ./ 07:53:24 ---> 97efed7d922e 07:53:24 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:53:24 ---> Running in a9c0c3d16287 07:55:16 Removing intermediate container a9c0c3d16287 07:55:16 ---> 1062326b02a8 07:55:16 Step 9/10 : COPY . . 07:55:16 ---> 49061b414610 07:55:16 Step 10/10 : RUN ${MAKE} 07:55:16 ---> Running in 1a77f39bec2c 07:55:16 noop 07:55:16 Removing intermediate container 1a77f39bec2c 07:55:16 ---> 1997b470c93f 07:55:16 Successfully built 1997b470c93f 07:55:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:16 + docker inspect -f . ci-base-image-arm64 07:55:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:55:17 prd-ubuntu20.04-docker-arm64-4c-16g-4899 does not seem to be running inside a container 07:55:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/155 -v /w/workspace/device-modbus-go/155:/w/workspace/device-modbus-go/155:rw,z -v /w/workspace/device-modbus-go/155@tmp:/w/workspace/device-modbus-go/155@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:55:18 $ docker top c22618e8e2ee18c14b85239292468d10fa962095cf509cea1aa240f2f5d48a0a -eo pid,comm [Pipeline] { [Pipeline] sh 07:55:19 + go version 07:55:19 go version go1.21.9 linux/arm64 [Pipeline] } 07:55:19 $ docker stop --time=1 c22618e8e2ee18c14b85239292468d10fa962095cf509cea1aa240f2f5d48a0a 07:55:20 $ docker rm -f --volumes c22618e8e2ee18c14b85239292468d10fa962095cf509cea1aa240f2f5d48a0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:21 + docker inspect -f . ci-base-image-arm64 07:55:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:55:21 prd-ubuntu20.04-docker-arm64-4c-16g-4899 does not seem to be running inside a container 07:55:21 $ 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/155 -v /w/workspace/device-modbus-go/155:/w/workspace/device-modbus-go/155:rw,z -v /w/workspace/device-modbus-go/155@tmp:/w/workspace/device-modbus-go/155@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:55:22 $ docker top 7545259199b7cd61f4d2c024e83eea100a68dd85d5554115d9d0a828587994e1 -eo pid,comm [Pipeline] { [Pipeline] sh 07:55:23 + git config --global --add safe.directory /w/workspace/device-modbus-go/155 [Pipeline] fileExists [Pipeline] sh 07:55:23 + make test 07:55:23 go test ./... -coverprofile=coverage.out 07:55:30 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:59:07 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:59:07 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.047s coverage: 47.9% of statements 07:59:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:59:07 go vet ./... 07:59:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:59:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:59:54 ./bin/test-attribution-txt.sh [Pipeline] echo 07:59:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:59:54 $ docker stop --time=1 7545259199b7cd61f4d2c024e83eea100a68dd85d5554115d9d0a828587994e1 07:59:55 $ docker rm -f --volumes 7545259199b7cd61f4d2c024e83eea100a68dd85d5554115d9d0a828587994e1 [Pipeline] // withDockerContainer [Pipeline] sh 07:59:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:59:57 Warning: overwriting stash ‘coverage-report’ 07:59:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:59:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:59:58 + ls -al . 07:59:58 total 268 07:59:58 drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 07:55 . 07:59:58 drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 07:52 .. 07:59:58 -rw-rw-r-- 1 jenkins jenkins 140 Jul 3 07:52 .dockerignore 07:59:58 drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 07:52 .git 07:59:58 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 07:52 .github 07:59:58 -rw-rw-r-- 1 jenkins jenkins 266 Jul 3 07:52 .gitignore 07:59:58 -rw-rw-r-- 1 jenkins jenkins 41 Jul 3 07:52 .golangci.yml 07:59:58 -rw-rw-r-- 1 jenkins jenkins 19432 Jul 3 07:52 Attribution.txt 07:59:58 -rw-rw-r-- 1 jenkins jenkins 16388 Jul 3 07:52 CHANGELOG.md 07:59:58 -rw-rw-r-- 1 jenkins jenkins 1474 Jul 3 07:52 Dockerfile 07:59:58 -rw-rw-r-- 1 jenkins jenkins 677 Jul 3 07:52 GOVERNANCE.md 07:59:58 -rw-rw-r-- 1 jenkins jenkins 658 Jul 3 07:52 Jenkinsfile 07:59:58 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 3 07:52 LICENSE 07:59:58 -rw-rw-r-- 1 jenkins jenkins 1942 Jul 3 07:52 Makefile 07:59:58 -rw-rw-r-- 1 jenkins jenkins 622 Jul 3 07:52 OWNERS.md 07:59:58 -rw-rw-r-- 1 jenkins jenkins 4463 Jul 3 07:52 README.md 07:59:58 -rw-rw-r-- 1 jenkins jenkins 12 Jul 3 07:50 VERSION 07:59:58 drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 07:52 bin 07:59:58 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 07:52 cmd 07:59:58 -rw-r--r-- 1 jenkins jenkins 24601 Jul 3 07:59 coverage.out 07:59:58 -rw-rw-r-- 1 jenkins jenkins 7242 Jul 3 07:52 go.mod 07:59:58 -rw-rw-r-- 1 jenkins jenkins 102293 Jul 3 07:52 go.sum 07:59:58 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 07:52 internal 07:59:58 drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 07:52 simulator 07:59:58 -rw-rw-r-- 1 jenkins jenkins 229 Jul 3 07:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:59:59 + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=bdf5b46fa02d572085513da6d841dbb0eb23469e --label arch=arm64 --label version=3.2.0-dev.16 . 07:59:59 Sending build context to Docker daemon 9.084MB 07:59:59 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 07:59:59 Step 2/23 : FROM ${BASE} AS builder 07:59:59 ---> 1997b470c93f 07:59:59 Step 3/23 : ARG ADD_BUILD_TAGS="" 07:59:59 ---> Running in 25200fdf3219 07:59:59 Removing intermediate container 25200fdf3219 07:59:59 ---> 0c1f0568f5b9 07:59:59 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:00:00 ---> Running in 35d13bbff4db 08:00:00 Removing intermediate container 35d13bbff4db 08:00:00 ---> 365060ce3fbd 08:00:00 Step 5/23 : RUN apk add --update --no-cache make git openssh 08:00:00 ---> Running in 1f41c50267bd 08:00:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:00:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:00:03 OK: 272 MiB in 60 packages 08:00:03 Removing intermediate container 1f41c50267bd 08:00:03 ---> 8b1562afda05 08:00:03 Step 6/23 : WORKDIR /device-modbus-go 08:00:03 ---> Running in 37f85158bb6c 08:00:04 Removing intermediate container 37f85158bb6c 08:00:04 ---> 3812c8237a13 08:00:04 Step 7/23 : COPY go.mod vendor* ./ 08:00:04 ---> 4b47968db18f 08:00:04 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:00:04 ---> Running in 224f6bf3a735 08:00:07 Removing intermediate container 224f6bf3a735 08:00:07 ---> 02b9eaf2adb3 08:00:07 Step 9/23 : COPY . . 08:00:08 ---> 68152547a6fe 08:00:08 Step 10/23 : RUN ${MAKE} 08:00:08 ---> Running in 49d71cc35821 08:00:09 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.16 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.20" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 08:03:31 Removing intermediate container 49d71cc35821 08:03:31 ---> ba03f0ad2313 08:03:31 Step 11/23 : FROM alpine:3.18 08:03:31 3.18: Pulling from library/alpine 08:03:31 5c905c7ebe2f: Pulling fs layer 08:03:31 5c905c7ebe2f: Download complete 08:03:31 5c905c7ebe2f: Pull complete 08:03:31 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 08:03:31 Status: Downloaded newer image for alpine:3.18 08:03:31 ---> dec292d02e07 08:03:31 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 08:03:31 ---> Running in d98b0bfa9138 08:03:31 Removing intermediate container d98b0bfa9138 08:03:31 ---> b5f749620fd2 08:03:31 Step 13/23 : RUN apk add --update --no-cache dumb-init 08:03:31 ---> Running in c5cdc8ab899f 08:03:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:03:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:03:31 (1/1) Installing dumb-init (1.2.5-r2) 08:03:31 Executing busybox-1.36.1-r7.trigger 08:03:31 OK: 8 MiB in 16 packages 08:03:31 Removing intermediate container c5cdc8ab899f 08:03:31 ---> 2a4c207c0adb 08:03:31 Step 14/23 : RUN apk --no-cache upgrade 08:03:32 ---> Running in 67ff1b56dab7 08:03:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:03:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:03:34 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 08:03:34 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 08:03:34 OK: 8 MiB in 16 packages 08:03:36 Removing intermediate container 67ff1b56dab7 08:03:36 ---> 4ee58a530d3e 08:03:36 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 08:03:37 ---> 7ce12a667c8d 08:03:37 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 08:03:38 ---> 5c58e861ad8c 08:03:38 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 08:03:38 ---> 5be4d0212149 08:03:38 Step 18/23 : EXPOSE 59901 08:03:38 ---> Running in 756daa1007b2 08:03:38 Removing intermediate container 756daa1007b2 08:03:38 ---> fc5cb4cfd4a4 08:03:38 Step 19/23 : ENTRYPOINT ["/device-modbus"] 08:03:38 ---> Running in 071540b7e1a3 08:03:39 Removing intermediate container 071540b7e1a3 08:03:39 ---> 52efdee99716 08:03:39 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 08:03:39 ---> Running in 0275281ec864 08:03:39 Removing intermediate container 0275281ec864 08:03:39 ---> 476c942fcfd5 08:03:39 Step 21/23 : LABEL arch=arm64 08:03:39 ---> Running in a56276959c39 08:03:39 Removing intermediate container a56276959c39 08:03:39 ---> f4345c526a49 08:03:39 Step 22/23 : LABEL git_sha=bdf5b46fa02d572085513da6d841dbb0eb23469e 08:03:40 ---> Running in e0fee136f0b9 08:03:40 Removing intermediate container e0fee136f0b9 08:03:40 ---> 648084bb3273 08:03:40 Step 23/23 : LABEL version=3.2.0-dev.16 08:03:40 ---> Running in 8ff127d7c379 08:03:40 Removing intermediate container 8ff127d7c379 08:03:40 ---> deed397af97f 08:03:40 [Warning] One or more build-args [ARCH] were not consumed 08:03:40 Successfully built deed397af97f 08:03:40 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 08:03:40 provisioning config files... 08:03:40 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/155@tmp/config15550591723847169314tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:03:41 ---> ****-login.sh 08:03:41 nexus3.edgexfoundry.org:10001 08:03:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:03:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:03:41 Configure a credential helper to remove this warning. See 08:03:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:03:41 08:03:41 Login Succeeded 08:03:41 nexus3.edgexfoundry.org:10002 08:03:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:03:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:03:41 Configure a credential helper to remove this warning. See 08:03:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:03:41 08:03:41 Login Succeeded 08:03:41 nexus3.edgexfoundry.org:10003 08:03:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:03:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:03:42 Configure a credential helper to remove this warning. See 08:03:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:03:42 08:03:42 Login Succeeded 08:03:42 nexus3.edgexfoundry.org:10004 08:03:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:03:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:03:42 Configure a credential helper to remove this warning. See 08:03:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:03:42 08:03:42 Login Succeeded 08:03:42 ****.io 08:03:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:03:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:03:43 Configure a credential helper to remove this warning. See 08:03:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:03:43 08:03:43 Login Succeeded 08:03:43 ---> ****-login.sh ends [Pipeline] } 08:03:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:03:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:03:43 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 08:03:43 bdf5b46fa02d572085513da6d841dbb0eb23469e 08:03:43 latest 08:03:43 3.2.0-dev.16 08:03:43 bdf5b46fa02d572085513da6d841dbb0eb23469e-3.2.0-dev.16 08:03:43 main 08:03:43 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:03:43 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:bdf5b46fa02d572085513da6d841dbb0eb23469e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:03:43 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:bdf5b46fa02d572085513da6d841dbb0eb23469e 08:03:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 08:03:43 8bf00631c899: Preparing 08:03:43 4ecd93d57753: Preparing 08:03:43 bc9f04ac2d7c: Preparing 08:03:43 630473ff8d96: Preparing 08:03:43 b3ace2eb553c: Preparing 08:03:43 da707bb00cb8: Preparing 08:03:43 da707bb00cb8: Waiting 08:03:44 4ecd93d57753: Pushed 08:03:44 8bf00631c899: Pushed 08:03:44 b3ace2eb553c: Pushed 08:03:44 da707bb00cb8: Layer already exists 08:03:45 630473ff8d96: Pushed 08:03:50 bc9f04ac2d7c: Pushed 08:03:50 bdf5b46fa02d572085513da6d841dbb0eb23469e: digest: sha256:888f00e2f24d88cb488cf4779caa523ae1cfe23fd6db98b42d3909c671015a22 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:03:50 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:03:51 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 08:03:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 08:03:51 8bf00631c899: Preparing 08:03:51 4ecd93d57753: Preparing 08:03:51 bc9f04ac2d7c: Preparing 08:03:51 630473ff8d96: Preparing 08:03:51 b3ace2eb553c: Preparing 08:03:51 da707bb00cb8: Preparing 08:03:51 da707bb00cb8: Waiting 08:03:51 bc9f04ac2d7c: Layer already exists 08:03:51 b3ace2eb553c: Layer already exists 08:03:51 4ecd93d57753: Layer already exists 08:03:51 8bf00631c899: Layer already exists 08:03:51 630473ff8d96: Layer already exists 08:03:51 da707bb00cb8: Layer already exists 08:03:51 latest: digest: sha256:888f00e2f24d88cb488cf4779caa523ae1cfe23fd6db98b42d3909c671015a22 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:03:51 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:03:52 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.16 08:03:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 08:03:52 8bf00631c899: Preparing 08:03:52 4ecd93d57753: Preparing 08:03:52 bc9f04ac2d7c: Preparing 08:03:52 630473ff8d96: Preparing 08:03:52 b3ace2eb553c: Preparing 08:03:52 da707bb00cb8: Preparing 08:03:52 da707bb00cb8: Waiting 08:03:52 b3ace2eb553c: Layer already exists 08:03:52 8bf00631c899: Layer already exists 08:03:52 4ecd93d57753: Layer already exists 08:03:52 bc9f04ac2d7c: Layer already exists 08:03:52 630473ff8d96: Layer already exists 08:03:52 da707bb00cb8: Layer already exists 08:03:52 3.2.0-dev.16: digest: sha256:888f00e2f24d88cb488cf4779caa523ae1cfe23fd6db98b42d3909c671015a22 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:03:52 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:bdf5b46fa02d572085513da6d841dbb0eb23469e-3.2.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:03:53 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:bdf5b46fa02d572085513da6d841dbb0eb23469e-3.2.0-dev.16 08:03:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 08:03:53 8bf00631c899: Preparing 08:03:53 4ecd93d57753: Preparing 08:03:53 bc9f04ac2d7c: Preparing 08:03:53 630473ff8d96: Preparing 08:03:53 b3ace2eb553c: Preparing 08:03:53 da707bb00cb8: Preparing 08:03:53 da707bb00cb8: Waiting 08:03:53 630473ff8d96: Layer already exists 08:03:53 8bf00631c899: Layer already exists 08:03:53 b3ace2eb553c: Layer already exists 08:03:53 4ecd93d57753: Layer already exists 08:03:53 bc9f04ac2d7c: Layer already exists 08:03:53 da707bb00cb8: Layer already exists 08:03:53 bdf5b46fa02d572085513da6d841dbb0eb23469e-3.2.0-dev.16: digest: sha256:888f00e2f24d88cb488cf4779caa523ae1cfe23fd6db98b42d3909c671015a22 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:03:53 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:03:54 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 08:03:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 08:03:54 8bf00631c899: Preparing 08:03:54 4ecd93d57753: Preparing 08:03:54 bc9f04ac2d7c: Preparing 08:03:54 630473ff8d96: Preparing 08:03:54 b3ace2eb553c: Preparing 08:03:54 da707bb00cb8: Preparing 08:03:54 da707bb00cb8: Waiting 08:03:54 bc9f04ac2d7c: Layer already exists 08:03:54 8bf00631c899: Layer already exists 08:03:54 630473ff8d96: Layer already exists 08:03:54 4ecd93d57753: Layer already exists 08:03:54 b3ace2eb553c: Layer already exists 08:03:54 da707bb00cb8: Layer already exists 08:03:54 main: digest: sha256:888f00e2f24d88cb488cf4779caa523ae1cfe23fd6db98b42d3909c671015a22 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:03:54 ===================================================== [Pipeline] echo 08:03:54 taggedImages: 08:03:54 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:bdf5b46fa02d572085513da6d841dbb0eb23469e 08:03:54 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 08:03:54 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.16 08:03:54 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:bdf5b46fa02d572085513da6d841dbb0eb23469e-3.2.0-dev.16 08:03:54 - 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 08:03:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:03:54 08:03:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:03:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:03:55 arm64: Pulling from edgex-lftools-log-publisher 08:03:55 8998bd30e6a1: Pulling fs layer 08:03:55 04944245beec: Pulling fs layer 08:03:55 699f458cf7ca: Pulling fs layer 08:03:55 765212b225bb: Pulling fs layer 08:03:55 f23df028b6ca: Pulling fs layer 08:03:55 d65c8cfc05b1: Pulling fs layer 08:03:55 2437ff75d9bd: Pulling fs layer 08:03:55 f23df028b6ca: Waiting 08:03:55 d65c8cfc05b1: Waiting 08:03:55 2437ff75d9bd: Waiting 08:03:55 765212b225bb: Waiting 08:03:55 04944245beec: Verifying Checksum 08:03:55 04944245beec: Download complete 08:03:55 765212b225bb: Verifying Checksum 08:03:55 765212b225bb: Download complete 08:03:55 f23df028b6ca: Verifying Checksum 08:03:55 f23df028b6ca: Download complete 08:03:55 d65c8cfc05b1: Verifying Checksum 08:03:55 d65c8cfc05b1: Download complete 08:03:55 699f458cf7ca: Verifying Checksum 08:03:56 8998bd30e6a1: Download complete 08:03:58 2437ff75d9bd: Verifying Checksum 08:03:58 2437ff75d9bd: Download complete 08:04:00 8998bd30e6a1: Pull complete 08:04:01 04944245beec: Pull complete 08:04:02 699f458cf7ca: Pull complete 08:04:02 765212b225bb: Pull complete 08:04:03 f23df028b6ca: Pull complete 08:04:03 d65c8cfc05b1: Pull complete 08:04:22 2437ff75d9bd: Pull complete 08:04:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:04:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:04:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:04:22 prd-ubuntu20.04-docker-arm64-4c-16g-4899 does not seem to be running inside a container 08:04:22 $ 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/155 -v /w/workspace/device-modbus-go/155:/w/workspace/device-modbus-go/155:rw,z -v /w/workspace/device-modbus-go/155@tmp:/w/workspace/device-modbus-go/155@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 08:04:25 $ docker top 3a026d439b69ee05603fbc5986909c25e537eebdc5c96b9b725fd8906f6d950e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:04:26 ---> job-cost.sh 08:04:26 lf-activate-venv: SKIPPING 08:04:26 INFO: No Stack... 08:04:26 INFO: Retrieving Pricing Info for: v3-standard-4 08:04:27 INFO: Archiving Costs [Pipeline] sh 08:04:27 + + catcut /w/workspace/device-modbus-go/155/archives/cost.csv -d, 08:04:27 -f6 [Pipeline] lock 08:04:27 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-155-stack-cost] 08:04:27 Resource [jenkins-edgexfoundry-device-modbus-go-main-155-stack-cost] did not exist. Created. 08:04:27 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-155-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:04:28 /w/workspace/device-modbus-go/155@tmp/durable-6b82bf31/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:04:29 + echo total: 0.10999999940395355 [Pipeline] stash 08:04:29 Warning: overwriting stash ‘stack-cost’ 08:04:29 Stashed 1 file(s) [Pipeline] } 08:04:29 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-155-stack-cost] [Pipeline] // lock [Pipeline] } 08:04:29 $ docker stop --time=1 3a026d439b69ee05603fbc5986909c25e537eebdc5c96b9b725fd8906f6d950e 08:04:30 $ docker rm -f --volumes 3a026d439b69ee05603fbc5986909c25e537eebdc5c96b9b725fd8906f6d950e [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 08:04:31 provisioning config files... 08:04:31 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7132399495082331552tmp [Pipeline] { [Pipeline] sh 08:04:31 + set +x 08:04:31 + bash -s -- 08:04:31 + curl -s https://codecov.io/bash 08:04:31 08:04:31 _____ _ 08:04:31 / ____| | | 08:04:31 | | ___ __| | ___ ___ _____ __ 08:04:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:04:31 | |___| (_) | (_| | __/ (_| (_) \ V / 08:04:31 \_____\___/ \__,_|\___|\___\___/ \_/ 08:04:31 Bash-1.0.6 08:04:31 08:04:31 08:04:31 ==> git version 2.25.1 found 08:04:31 ==> 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 08:04:31 Release-Date: 2020-01-08 08:04:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:04:31 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:04:31 ==> Jenkins CI detected. 08:04:31 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 08:04:31 project root: . 08:04:31 --> token set from env 08:04:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:04:31 ==> Running gcov in . (disable via -X gcov) 08:04:31 ==> Python coveragepy not found 08:04:31 ==> Searching for coverage reports in: 08:04:31 + . 08:04:31 -> Found 1 reports 08:04:31 ==> Detecting git/mercurial file structure 08:04:31 ==> Reading reports 08:04:32 + ./coverage.out bytes=24601 08:04:32 ==> Appending adjustments 08:04:32 https://docs.codecov.io/docs/fixing-reports 08:04:32 + Found adjustments 08:04:32 ==> Gzipping contents 08:04:32 4.0K /tmp/codecov.swx3uw.gz 08:04:32 ==> Uploading reports 08:04:32 url: https://codecov.io 08:04:32 query: branch=main&commit=bdf5b46fa02d572085513da6d841dbb0eb23469e&build=155&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F155%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:04:32 -> Pinging Codecov 08:04:32 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=bdf5b46fa02d572085513da6d841dbb0eb23469e&build=155&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F155%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:04:32 -> Uploading to 08:04:32 https://storage.googleapis.com/codecov/v4/raw/2024-07-03/55DBCA73C666E3227836607328DD7E49/bdf5b46fa02d572085513da6d841dbb0eb23469e/bc730284-ff54-4045-9552-e92f3d9007b2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240703%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240703T080431Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2ddf462562f488f1ae9f1b733e3e668bb969259515379b8ef5bdd77262bd446a 08:04:32 % Total % Received % Xferd Average Speed Time Time Time Current 08:04:32 Dload Upload Total Spent Left Speed 08:04:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 16147 --:--:-- --:--:-- --:--:-- 16147 08:04:32 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/bdf5b46fa02d572085513da6d841dbb0eb23469e [Pipeline] } 08:04:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 08:04:32 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 08:04:32 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:04:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:04:32 08:04:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:04:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:04:33 latest: Pulling from edgex-devops/edgex-snyk-go 08:04:33 619be1103602: Already exists 08:04:33 f8ea3408117e: Pulling fs layer 08:04:33 91320369b822: Pulling fs layer 08:04:33 0406650e8295: Pulling fs layer 08:04:33 4f4fb700ef54: Pulling fs layer 08:04:33 96d80e3f36e1: Pulling fs layer 08:04:33 bcf3aedb951c: Pulling fs layer 08:04:33 4f4fb700ef54: Waiting 08:04:33 96d80e3f36e1: Waiting 08:04:33 bcf3aedb951c: Waiting 08:04:33 0406650e8295: Verifying Checksum 08:04:33 0406650e8295: Download complete 08:04:33 f8ea3408117e: Download complete 08:04:33 4f4fb700ef54: Download complete 08:04:33 f8ea3408117e: Pull complete 08:04:33 96d80e3f36e1: Verifying Checksum 08:04:33 96d80e3f36e1: Download complete 08:04:33 91320369b822: Download complete 08:04:34 bcf3aedb951c: Verifying Checksum 08:04:34 bcf3aedb951c: Download complete 08:04:36 91320369b822: Pull complete 08:04:36 0406650e8295: Pull complete 08:04:36 4f4fb700ef54: Pull complete 08:04:37 96d80e3f36e1: Pull complete 08:04:40 bcf3aedb951c: Pull complete 08:04:40 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 08:04:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:04:40 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:04:40 prd-ubuntu20.04-docker-8c-8g-4898 does not seem to be running inside a container 08:04:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 08:04:41 $ docker top daaa58d95773db5d32841b44dcdb038094f74954447da34b27840779f47ac491 -eo pid,comm [Pipeline] { [Pipeline] sh 08:04:42 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] echo 08:04:42 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 08:04:42 + set -o pipefail 08:04:42 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 08:04:49 08:04:49 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 08:04:49 08:04:49 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/0a0805b9-8982-40eb-8dbc-845f1ef902a3/history/58550557-223e-451d-90c4-623566f15758 08:04:49 08:04:49 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 08:04:49 08:04:49 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 08:04:49 08:04:49 08:04:49 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 08:04:49 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 08:04:49 $ docker stop --time=1 daaa58d95773db5d32841b44dcdb038094f74954447da34b27840779f47ac491 08:04:51 $ docker rm -f --volumes daaa58d95773db5d32841b44dcdb038094f74954447da34b27840779f47ac491 [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 08:04:51 + git log --format=format:%s -1 bdf5b46fa02d572085513da6d841dbb0eb23469e [Pipeline] sh 08:04:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:04:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:04:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:04:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:04:52 prd-ubuntu20.04-docker-8c-8g-4898 does not seem to be running inside a container 08:04:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:04:52 $ docker top cbc7b6621810a0ca48712a6babd152b2f25aa0cceea50f890f5b2f291e11560b -eo pid,comm 08:04:53 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 08:04:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:04:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:04:53 [ssh-agent] Looking for ssh-agent implementation... 08:04:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:04:53 $ docker exec cbc7b6621810a0ca48712a6babd152b2f25aa0cceea50f890f5b2f291e11560b ssh-agent 08:04:53 SSH_AUTH_SOCK=/tmp/ssh-btJk41hDLPkm/agent.32 08:04:53 SSH_AGENT_PID=38 08:04:53 Running ssh-add (command line suppressed) 08:04:53 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9276100424180077926.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9276100424180077926.key) 08:04:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:04:53 + git semver tag 08:04:53 2024-07-03 08:04:53,866 [run_tag] DEBUG tag force:False 08:04:53 2024-07-03 08:04:53,866 [check_head_tag] DEBUG check head tag 08:04:53 2024-07-03 08:04:53,867 [execute] INFO git cat-file --batch-check 08:04:53 2024-07-03 08:04:53,867 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 08:04:53 2024-07-03 08:04:53,872 [execute] INFO git cat-file --batch 08:04:53 2024-07-03 08:04:53,872 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 08:04:53 2024-07-03 08:04:53,892 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 08:04:53 2024-07-03 08:04:53,892 [execute] INFO git tag -a v3.2.0-dev.16 -m v3.2.0-dev.16 08:04:53 2024-07-03 08:04:53,892 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.16', '-m', 'v3.2.0-dev.16'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 08:04:53 2024-07-03 08:04:53,896 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 08:04:53 3.2.0-dev.16 [Pipeline] } 08:04:53 $ docker exec --env ******** --env ******** cbc7b6621810a0ca48712a6babd152b2f25aa0cceea50f890f5b2f291e11560b ssh-agent -k 08:04:54 unset SSH_AUTH_SOCK; 08:04:54 unset SSH_AGENT_PID; 08:04:54 echo Agent pid 38 killed; 08:04:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:04:54 + git semver [Pipeline] } 08:04:54 $ docker stop --time=1 cbc7b6621810a0ca48712a6babd152b2f25aa0cceea50f890f5b2f291e11560b 08:04:55 $ docker rm -f --volumes cbc7b6621810a0ca48712a6babd152b2f25aa0cceea50f890f5b2f291e11560b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:04:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:04:56 08:04:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:04:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:04:56 0.23.1-centos7: Pulling from edgex-lftools 08:04:56 ab5ef0e58194: Pulling fs layer 08:04:56 9712f1f96733: Pulling fs layer 08:04:56 63f879dbbcfc: Pulling fs layer 08:04:56 0d9ebad4ef96: Pulling fs layer 08:04:56 e9a5061849ea: Pulling fs layer 08:04:56 d747dcd14b5f: Pulling fs layer 08:04:56 2de7ff778b66: Pulling fs layer 08:04:56 e9a5061849ea: Waiting 08:04:56 0d9ebad4ef96: Waiting 08:04:56 d747dcd14b5f: Waiting 08:04:56 2de7ff778b66: Waiting 08:04:56 9712f1f96733: Verifying Checksum 08:04:56 63f879dbbcfc: Download complete 08:04:57 e9a5061849ea: Verifying Checksum 08:04:57 e9a5061849ea: Download complete 08:04:57 0d9ebad4ef96: Verifying Checksum 08:04:57 0d9ebad4ef96: Download complete 08:04:57 d747dcd14b5f: Verifying Checksum 08:04:57 d747dcd14b5f: Download complete 08:04:57 ab5ef0e58194: Download complete 08:04:57 2de7ff778b66: Verifying Checksum 08:04:57 2de7ff778b66: Download complete 08:04:59 ab5ef0e58194: Pull complete 08:04:59 9712f1f96733: Pull complete 08:05:00 63f879dbbcfc: Pull complete 08:05:03 0d9ebad4ef96: Pull complete 08:05:04 e9a5061849ea: Pull complete 08:05:04 d747dcd14b5f: Pull complete 08:05:05 2de7ff778b66: Pull complete 08:05:05 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 08:05:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:05:05 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:05:05 prd-ubuntu20.04-docker-8c-8g-4898 does not seem to be running inside a container 08:05:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 08:05:06 $ docker top 750e20288464fc193e4f3d14681d389ea074c517cbd5b1e6481df0f828748470 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 08:05:06 provisioning config files... 08:05:06 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2524368248280327507tmp 08:05:06 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14455394624410410509tmp 08:05:06 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14191165478053264000tmp [Pipeline] { [Pipeline] echo 08:05:06 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 08:05:07 ---> sigul-configuration.sh 08:05:07 gpg: directory `/root/.gnupg' created 08:05:07 gpg: new configuration file `/root/.gnupg/gpg.conf' created 08:05:07 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 08:05:07 gpg: keyring `/root/.gnupg/secring.gpg' created 08:05:07 gpg: keyring `/root/.gnupg/pubring.gpg' created 08:05:07 gpg: CAST5 encrypted data 08:05:07 gpg: encrypted with 1 passphrase 08:05:07 gpg: WARNING: message was not integrity protected [Pipeline] sh 08:05:07 + mkdir /home/jenkins 08:05:07 + mkdir /home/jenkins/sigul [Pipeline] sh 08:05:07 + 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 08:05:07 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 08:05:08 ---> sigul-install.sh 08:05:08 Sigul already installed; skipping installation. [Pipeline] sh 08:05:08 + git tag --list 08:05:08 0.7.1 08:05:08 v1.0.0 08:05:08 v1.1.0 08:05:08 v1.1.1 08:05:08 v1.2.2 08:05:08 v1.3.0 08:05:08 v1.3.1 08:05:08 v2.0.0 08:05:08 v2.1.0 08:05:08 v2.1.1 08:05:08 v2.2.0 08:05:08 v2.3.0 08:05:08 v3.0 08:05:08 v3.0.0 08:05:08 v3.1 08:05:08 v3.1.0 08:05:08 v3.1.0-dev.1 08:05:08 v3.1.0-dev.10 08:05:08 v3.1.0-dev.11 08:05:08 v3.1.0-dev.12 08:05:08 v3.1.0-dev.13 08:05:08 v3.1.0-dev.14 08:05:08 v3.1.0-dev.15 08:05:08 v3.1.0-dev.16 08:05:08 v3.1.0-dev.17 08:05:08 v3.1.0-dev.18 08:05:08 v3.1.0-dev.19 08:05:08 v3.1.0-dev.2 08:05:08 v3.1.0-dev.20 08:05:08 v3.1.0-dev.21 08:05:08 v3.1.0-dev.22 08:05:08 v3.1.0-dev.23 08:05:08 v3.1.0-dev.24 08:05:08 v3.1.0-dev.25 08:05:08 v3.1.0-dev.3 08:05:08 v3.1.0-dev.4 08:05:08 v3.1.0-dev.5 08:05:08 v3.1.0-dev.6 08:05:08 v3.1.0-dev.7 08:05:08 v3.1.0-dev.8 08:05:08 v3.1.0-dev.9 08:05:08 v3.1.1 08:05:08 v3.1.1-dev.1 08:05:08 v3.2.0-dev.1 08:05:08 v3.2.0-dev.10 08:05:08 v3.2.0-dev.11 08:05:08 v3.2.0-dev.12 08:05:08 v3.2.0-dev.13 08:05:08 v3.2.0-dev.14 08:05:08 v3.2.0-dev.15 08:05:08 v3.2.0-dev.16 08:05:08 v3.2.0-dev.2 08:05:08 v3.2.0-dev.3 08:05:08 v3.2.0-dev.4 08:05:08 v3.2.0-dev.5 08:05:08 v3.2.0-dev.6 08:05:08 v3.2.0-dev.7 08:05:08 v3.2.0-dev.8 08:05:08 v3.2.0-dev.9 [Pipeline] sh 08:05:08 + lftools sign git-tag v3.2.0-dev.16 08:05:09 Signing Git tag with Sigul... 08:05:09 Signing v3.2.0-dev.16 [Pipeline] echo 08:05:09 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 08:05:09 ---> sigul-configuration-cleanup.sh [Pipeline] } 08:05:09 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 08:05:09 $ docker stop --time=1 750e20288464fc193e4f3d14681d389ea074c517cbd5b1e6481df0f828748470 08:05:11 $ docker rm -f --volumes 750e20288464fc193e4f3d14681d389ea074c517cbd5b1e6481df0f828748470 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 08:05:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:05:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:05:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:05:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:05:12 prd-ubuntu20.04-docker-8c-8g-4898 does not seem to be running inside a container 08:05:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:05:12 $ docker top dbfd9ba6cf6db012a6b973c9d3aa280247458673865912a13f1c23a90f1791aa -eo pid,comm 08:05:12 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). 08:05:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:05:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:05:12 [ssh-agent] Looking for ssh-agent implementation... 08:05:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:05:12 $ docker exec dbfd9ba6cf6db012a6b973c9d3aa280247458673865912a13f1c23a90f1791aa ssh-agent 08:05:12 SSH_AUTH_SOCK=/tmp/ssh-wsroHaVUzI12/agent.32 08:05:12 SSH_AGENT_PID=38 08:05:12 Running ssh-add (command line suppressed) 08:05:12 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1782464601748573612.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1782464601748573612.key) 08:05:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:05:13 + git semver bump pre 08:05:13 2024-07-03 08:05:13,442 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 08:05:13 2024-07-03 08:05:13,443 [bump_version] DEBUG bumping version:3.2.0-dev.16 on axis:pre with prefix:dev 08:05:13 2024-07-03 08:05:13,443 [bump_version] DEBUG bumped version:3.2.0-dev.17 08:05:13 2024-07-03 08:05:13,443 [write_version] DEBUG write version:3.2.0-dev.17 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 08:05:13 2024-07-03 08:05:13,443 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 08:05:13 2024-07-03 08:05:13,443 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 08:05:13 2024-07-03 08:05:13,445 [execute] INFO git cat-file --batch-check 08:05:13 2024-07-03 08:05:13,445 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:05:13 2024-07-03 08:05:13,451 [execute] INFO git cat-file --batch 08:05:13 2024-07-03 08:05:13,451 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:05:13 2024-07-03 08:05:13,457 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 08:05:13 3.2.0-dev.17 [Pipeline] } 08:05:13 $ docker exec --env ******** --env ******** dbfd9ba6cf6db012a6b973c9d3aa280247458673865912a13f1c23a90f1791aa ssh-agent -k 08:05:13 unset SSH_AUTH_SOCK; 08:05:13 unset SSH_AGENT_PID; 08:05:13 echo Agent pid 38 killed; 08:05:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:05:13 + git semver [Pipeline] } 08:05:14 $ docker stop --time=1 dbfd9ba6cf6db012a6b973c9d3aa280247458673865912a13f1c23a90f1791aa 08:05:15 $ docker rm -f --volumes dbfd9ba6cf6db012a6b973c9d3aa280247458673865912a13f1c23a90f1791aa [Pipeline] // withDockerContainer [Pipeline] sh 08:05:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:05:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:05:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:05:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:05:16 prd-ubuntu20.04-docker-8c-8g-4898 does not seem to be running inside a container 08:05:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:05:16 $ docker top d9288fbd15da2903e9364e87935fd8a6cbe883c18820701953f49d351207c825 -eo pid,comm 08:05:16 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). 08:05:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:05:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:05:16 [ssh-agent] Looking for ssh-agent implementation... 08:05:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:05:17 $ docker exec d9288fbd15da2903e9364e87935fd8a6cbe883c18820701953f49d351207c825 ssh-agent 08:05:17 SSH_AUTH_SOCK=/tmp/ssh-Is2jOn8mBOCc/agent.31 08:05:17 SSH_AGENT_PID=37 08:05:17 Running ssh-add (command line suppressed) 08:05:17 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4961945092226796852.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4961945092226796852.key) 08:05:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:05:17 + git semver push 08:05:17 2024-07-03 08:05:17,730 [run_push] DEBUG push 08:05:17 2024-07-03 08:05:17,730 [execute] INFO git cat-file --batch-check 08:05:17 2024-07-03 08:05:17,731 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:05:17 2024-07-03 08:05:17,736 [execute] INFO git rev-list 782f490ce93b5398ea99e77656d3c9e6b04d9907 -- 08:05:17 2024-07-03 08:05:17,736 [execute] DEBUG Popen(['git', 'rev-list', '782f490ce93b5398ea99e77656d3c9e6b04d9907', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 08:05:17 2024-07-03 08:05:17,746 [execute] INFO git fetch -v origin 08:05:17 2024-07-03 08:05:17,746 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 08:05:18 2024-07-03 08:05:18,194 [run_push] DEBUG no remote changes detected 08:05:18 2024-07-03 08:05:18,194 [execute] INFO git push origin semver 08:05:18 2024-07-03 08:05:18,195 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 08:05:18 2024-07-03 08:05:18,928 [run_push] DEBUG push all version tags 08:05:18 2024-07-03 08:05:18,928 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 08:05:18 2024-07-03 08:05:18,929 [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) 08:05:19 2024-07-03 08:05:19,661 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 08:05:19 3.2.0-dev.17 [Pipeline] } 08:05:19 $ docker exec --env ******** --env ******** d9288fbd15da2903e9364e87935fd8a6cbe883c18820701953f49d351207c825 ssh-agent -k 08:05:19 unset SSH_AUTH_SOCK; 08:05:19 unset SSH_AGENT_PID; 08:05:19 echo Agent pid 37 killed; 08:05:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:05:20 + git semver [Pipeline] } 08:05:20 $ docker stop --time=1 d9288fbd15da2903e9364e87935fd8a6cbe883c18820701953f49d351207c825 08:05:21 $ docker rm -f --volumes d9288fbd15da2903e9364e87935fd8a6cbe883c18820701953f49d351207c825 [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 08:05:22 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 08:05:22 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 08:05:22 total 16 08:05:22 drwxr-xr-x 3 root root 4096 Jul 3 07:52 . 08:05:22 drwxrwxr-x 10 jenkins jenkins 4096 Jul 3 08:05 .. 08:05:22 drwxr-xr-x 2 root root 4096 Jul 3 07:52 cost 08:05:22 -rw-r--r-- 1 root root 88 Jul 3 07:52 cost.csv 08:05:22 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 08:05:22 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 08:05:22 total 16 08:05:22 drwxr-xr-x 3 jenkins jenkins 4096 Jul 3 07:52 . 08:05:22 drwxrwxr-x 10 jenkins jenkins 4096 Jul 3 08:05 .. 08:05:22 drwxr-xr-x 2 jenkins jenkins 4096 Jul 3 07:52 cost 08:05:22 -rw-r--r-- 1 jenkins jenkins 88 Jul 3 07:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:05:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:05:23 ---> package-listing.sh 08:05:23 ++ facter osfamily 08:05:23 ++ tr '[:upper:]' '[:lower:]' 08:05:23 + OS_FAMILY=debian 08:05:23 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 08:05:23 + START_PACKAGES=/tmp/packages_start.txt 08:05:23 + END_PACKAGES=/tmp/packages_end.txt 08:05:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:05:23 + PACKAGES=/tmp/packages_start.txt 08:05:23 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 08:05:23 + PACKAGES=/tmp/packages_end.txt 08:05:23 + case "${OS_FAMILY}" in 08:05:23 + dpkg -l 08:05:23 + grep '^ii' 08:05:23 + '[' -f /tmp/packages_start.txt ']' 08:05:23 + '[' -f /tmp/packages_end.txt ']' 08:05:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:05:23 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 08:05:23 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 08:05:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 08:05:23 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 08:05:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:05:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:05:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:05:24 prd-ubuntu20.04-docker-8c-8g-4898 does not seem to be running inside a container 08:05:24 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:05:25 $ docker top 1110c7196f155c9d96f8d80a6eb34670441c7b329ea830e3a11c4baa10aedadb -eo pid,comm [Pipeline] { [Pipeline] sh 08:05:25 + touch /tmp/pre-build-complete [Pipeline] sh 08:05:25 + mkdir -p /var/log/sysstat [Pipeline] sh 08:05:26 + ls /var/log/sa-host 08:05:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:05:26 provisioning config files... 08:05:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17963471303180901611tmp [Pipeline] { [Pipeline] echo 08:05:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:05:26 ---> create-netrc.sh [Pipeline] } 08:05:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:05:26 ---> python-tools-install.sh [Pipeline] echo 08:05:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:05:27 ---> sudo-logs.sh 08:05:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:05:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:05:27 ---> job-cost.sh 08:05:27 lf-activate-venv: SKIPPING 08:05:27 DEBUG: total: 0.2199999988079071 08:05:27 INFO: Retrieving Stack Cost... 08:05:27 INFO: Retrieving Pricing Info for: v3-standard-8 08:05:28 INFO: Archiving Costs [Pipeline] echo 08:05:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:05:28 ---> logs-deploy.sh 08:05:28 lf-activate-venv: SKIPPING 08:05:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/155 08:05:28 INFO: archiving workspace using pattern(s): 08:05:29 Archives upload complete. 08:05:29 INFO: archiving logs to Nexus 08:05:30 ---> uname -a: 08:05:30 Linux prd-ubuntu20-04-docker-8c-8g-4898 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 08:05:30 08:05:30 08:05:30 ---> lscpu: 08:05:30 Architecture: x86_64 08:05:30 CPU op-mode(s): 32-bit, 64-bit 08:05:30 Byte Order: Little Endian 08:05:30 Address sizes: 40 bits physical, 48 bits virtual 08:05:30 CPU(s): 8 08:05:30 On-line CPU(s) list: 0-7 08:05:30 Thread(s) per core: 1 08:05:30 Core(s) per socket: 1 08:05:30 Socket(s): 8 08:05:30 NUMA node(s): 1 08:05:30 Vendor ID: AuthenticAMD 08:05:30 CPU family: 23 08:05:30 Model: 49 08:05:30 Model name: AMD EPYC-Rome Processor 08:05:30 Stepping: 0 08:05:30 CPU MHz: 2799.998 08:05:30 BogoMIPS: 5599.99 08:05:30 Virtualization: AMD-V 08:05:30 Hypervisor vendor: KVM 08:05:30 Virtualization type: full 08:05:30 L1d cache: 256 KiB 08:05:30 L1i cache: 256 KiB 08:05:30 L2 cache: 4 MiB 08:05:30 L3 cache: 128 MiB 08:05:30 NUMA node0 CPU(s): 0-7 08:05:30 Vulnerability Itlb multihit: Not affected 08:05:30 Vulnerability L1tf: Not affected 08:05:30 Vulnerability Mds: Not affected 08:05:30 Vulnerability Meltdown: Not affected 08:05:30 Vulnerability Mmio stale data: Not affected 08:05:30 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 08:05:30 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 08:05:30 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 08:05:30 Vulnerability Srbds: Not affected 08:05:30 Vulnerability Tsx async abort: Not affected 08:05:30 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 08:05:30 08:05:30 08:05:30 ---> nproc: 08:05:30 8 08:05:30 08:05:30 08:05:30 ---> df -h: 08:05:30 Filesystem Size Used Avail Use% Mounted on 08:05:30 overlay 155G 14G 142G 9% / 08:05:30 tmpfs 64M 0 64M 0% /dev 08:05:30 tmpfs 16G 0 16G 0% /sys/fs/cgroup 08:05:30 shm 64M 0 64M 0% /dev/shm 08:05:30 /dev/vda1 155G 14G 142G 9% /facter-os 08:05:30 08:05:30