Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f40d1d667e540eee93f77eb354737bb78aa40b5d 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-ssh4583783899787037753.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh1218719379863975140.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh7806311808381936540.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh6401040637984082990.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-ssh6263321806063187050.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5113 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision f40d1d667e540eee93f77eb354737bb78aa40b5d (main) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f40d1d667e540eee93f77eb354737bb78aa40b5d # timeout=10 Commit message: "build: Update to latest 3.2.0 dev go-mods (#527)" > git rev-list --no-walk 3d748354a43de7f92f17495f0075fba5a156a8dd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:28:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:28:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:28:27 ========================================================= 20:28:27 EdgeX Global Pipelines Version Info 20:28:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:28:28 ------------------- 20:28:28 stable info: 20:28:28 ------------------- 20:28:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:28:28 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 20:28:28 Message: update stable to v1.0.258 20:28:28 ------------------- 20:28:28 experimental info: 20:28:28 ------------------- 20:28:28 Commited By: **** collab-it+edgex@linuxfoundation.org 20:28:28 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 20:28:28 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:28:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 20:28:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 20:28:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:28:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:28:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:28:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:28:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:28:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:28:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:28:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:28:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:28:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 20:28:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:28:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:28:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:28:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:28:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:28:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:28:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:28:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:28:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:28:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:28:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:28:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:28:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:28:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:28:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:28:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:28:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:28:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:28:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f40d1d667e540eee93f77eb354737bb78aa40b5d [Pipeline] echo 20:28:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f40d1d6 [Pipeline] echo 20:28:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:28:30 provisioning config files... 20:28:30 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5375182537300532224tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:28:30 ---> ****-login.sh 20:28:30 nexus3.edgexfoundry.org:10001 20:28:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:28:30 Configure a credential helper to remove this warning. See 20:28:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:28:30 20:28:30 Login Succeeded 20:28:30 nexus3.edgexfoundry.org:10002 20:28:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:28:30 Configure a credential helper to remove this warning. See 20:28:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:28:30 20:28:30 Login Succeeded 20:28:30 nexus3.edgexfoundry.org:10003 20:28:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:28:30 Configure a credential helper to remove this warning. See 20:28:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:28:30 20:28:30 Login Succeeded 20:28:30 nexus3.edgexfoundry.org:10004 20:28:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:28:30 Configure a credential helper to remove this warning. See 20:28:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:28:30 20:28:30 Login Succeeded 20:28:30 ****.io 20:28:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:28:31 Configure a credential helper to remove this warning. See 20:28:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:28:31 20:28:31 Login Succeeded 20:28:31 ---> ****-login.sh ends [Pipeline] } 20:28:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:28:31 + git rev-list -1 --merges f40d1d667e540eee93f77eb354737bb78aa40b5d~1..f40d1d667e540eee93f77eb354737bb78aa40b5d [Pipeline] echo 20:28:31 -----------> git rev-list -1 --merges f40d1d667e540eee93f77eb354737bb78aa40b5d~1..f40d1d667e540eee93f77eb354737bb78aa40b5d f40d1d667e540eee93f77eb354737bb78aa40b5d [false] [Pipeline] sh 20:28:32 + git log --format=format:%s -1 f40d1d667e540eee93f77eb354737bb78aa40b5d [Pipeline] echo 20:28:32 ========================================================= 20:28:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:28:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:28:32 + git log --format=format:%s -1 f40d1d667e540eee93f77eb354737bb78aa40b5d [Pipeline] echo 20:28:32 [semverPrep] GIT_COMMIT: f40d1d667e540eee93f77eb354737bb78aa40b5d, Commit Message: build: Update to latest 3.2.0 dev go-mods (#527) [Pipeline] echo 20:28:32 [semverPrep] This is not a build commit. [Pipeline] sh 20:28:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:28:32 + grep -v github /etc/ssh/ssh_known_hosts 20:28:32 + [ -e /tmp/ssh_known_hosts ] 20:28:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:28:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:28:32 + sudo tee -a /etc/ssh/ssh_known_hosts 20:28:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:28:33 20:28:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:28:33 0.1.4: Pulling from edgex-devops/py-git-semver 20:28:33 b85a868b505f: Pulling fs layer 20:28:33 e2be974225ed: Pulling fs layer 20:28:33 339a4e72a1f5: Pulling fs layer 20:28:33 988bab9f4d93: Pulling fs layer 20:28:33 1469e6f7b9e6: Pulling fs layer 20:28:33 eaf3925da568: Pulling fs layer 20:28:33 bab4dde63d76: Pulling fs layer 20:28:33 bde34c3a00c8: Pulling fs layer 20:28:33 b352a97aabf1: Pulling fs layer 20:28:33 4872d77fe225: Pulling fs layer 20:28:33 5851b861e8e6: Pulling fs layer 20:28:33 bde34c3a00c8: Waiting 20:28:33 b352a97aabf1: Waiting 20:28:33 988bab9f4d93: Waiting 20:28:33 4872d77fe225: Waiting 20:28:33 1469e6f7b9e6: Waiting 20:28:33 5851b861e8e6: Waiting 20:28:33 eaf3925da568: Waiting 20:28:33 bab4dde63d76: Waiting 20:28:33 e2be974225ed: Verifying Checksum 20:28:33 e2be974225ed: Download complete 20:28:33 988bab9f4d93: Verifying Checksum 20:28:33 988bab9f4d93: Download complete 20:28:34 1469e6f7b9e6: Verifying Checksum 20:28:34 1469e6f7b9e6: Download complete 20:28:34 339a4e72a1f5: Verifying Checksum 20:28:34 339a4e72a1f5: Download complete 20:28:34 eaf3925da568: Verifying Checksum 20:28:34 eaf3925da568: Download complete 20:28:34 bde34c3a00c8: Download complete 20:28:34 b352a97aabf1: Verifying Checksum 20:28:34 b352a97aabf1: Download complete 20:28:34 4872d77fe225: Verifying Checksum 20:28:34 4872d77fe225: Download complete 20:28:34 5851b861e8e6: Verifying Checksum 20:28:34 5851b861e8e6: Download complete 20:28:34 b85a868b505f: Download complete 20:28:34 bab4dde63d76: Verifying Checksum 20:28:34 bab4dde63d76: Download complete 20:28:35 b85a868b505f: Pull complete 20:28:35 e2be974225ed: Pull complete 20:28:36 339a4e72a1f5: Pull complete 20:28:37 988bab9f4d93: Pull complete 20:28:38 1469e6f7b9e6: Pull complete 20:28:39 eaf3925da568: Pull complete 20:28:41 bab4dde63d76: Pull complete 20:28:41 bde34c3a00c8: Pull complete 20:28:41 b352a97aabf1: Pull complete 20:28:41 4872d77fe225: Pull complete 20:28:41 5851b861e8e6: Pull complete 20:28:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:28:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:28:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:28:42 prd-ubuntu20.04-docker-8c-8g-5113 does not seem to be running inside a container 20:28:42 $ 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 20:28:46 $ docker top f8f0f98b2a732f73b8393ff6334999c8c71234e7105a9e0b2bc6448aafee7816 -eo pid,comm 20:28:46 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:28:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:28:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:28:46 [ssh-agent] Looking for ssh-agent implementation... 20:28:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:28:46 $ docker exec f8f0f98b2a732f73b8393ff6334999c8c71234e7105a9e0b2bc6448aafee7816 ssh-agent 20:28:46 SSH_AUTH_SOCK=/tmp/ssh-sHT9AHyXyQ66/agent.32 20:28:46 SSH_AGENT_PID=38 20:28:46 Running ssh-add (command line suppressed) 20:28:46 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7912095242391131157.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7912095242391131157.key) 20:28:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:28:46 + git tag --points-at HEAD [Pipeline] } 20:28:46 $ docker exec --env ******** --env ******** f8f0f98b2a732f73b8393ff6334999c8c71234e7105a9e0b2bc6448aafee7816 ssh-agent -k 20:28:46 unset SSH_AUTH_SOCK; 20:28:46 unset SSH_AGENT_PID; 20:28:46 echo Agent pid 38 killed; 20:28:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:28:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:28:47 [ssh-agent] Looking for ssh-agent implementation... 20:28:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:28:47 $ docker exec f8f0f98b2a732f73b8393ff6334999c8c71234e7105a9e0b2bc6448aafee7816 ssh-agent 20:28:47 SSH_AUTH_SOCK=/tmp/ssh-VsOwj7ZWrowM/agent.70 20:28:47 SSH_AGENT_PID=76 20:28:47 Running ssh-add (command line suppressed) 20:28:47 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_18394227090548246284.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_18394227090548246284.key) 20:28:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:28:47 + git semver init 20:28:47 2023-11-28 20:28:47,904 [run_init] DEBUG init version:0.0.0 force:False 20:28:47 2023-11-28 20:28:47,904 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 20:28:47 2023-11-28 20:28:47,905 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 20:28:47 2023-11-28 20:28:47,905 [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) 20:28:49 2023-11-28 20:28:48,988 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 20:28:49 2023-11-28 20:28:48,989 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 20:28:49 2023-11-28 20:28:48,989 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 20:28:49 2023-11-28 20:28:48,989 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 20:28:49 3.2.0-dev.1 [Pipeline] } 20:28:49 $ docker exec --env ******** --env ******** f8f0f98b2a732f73b8393ff6334999c8c71234e7105a9e0b2bc6448aafee7816 ssh-agent -k 20:28:49 unset SSH_AUTH_SOCK; 20:28:49 unset SSH_AGENT_PID; 20:28:49 echo Agent pid 76 killed; 20:28:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:28:49 + git semver [Pipeline] } 20:28:50 $ docker stop --time=1 f8f0f98b2a732f73b8393ff6334999c8c71234e7105a9e0b2bc6448aafee7816 20:28:51 $ docker rm -f --volumes f8f0f98b2a732f73b8393ff6334999c8c71234e7105a9e0b2bc6448aafee7816 [Pipeline] // withDockerContainer [Pipeline] sh 20:28:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:28:52 Stashed 1 file(s) [Pipeline] echo 20:28:52 [edgeXSemver]: initialized semver on version 3.2.0-dev.1 [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 20:28:52 provisioning config files... 20:28:52 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4394240841585876592tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:28:52 ---> ****-login.sh 20:28:52 nexus3.edgexfoundry.org:10001 20:28:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:28:52 Configure a credential helper to remove this warning. See 20:28:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:28:52 20:28:52 Login Succeeded 20:28:52 nexus3.edgexfoundry.org:10002 20:28:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:28:52 Configure a credential helper to remove this warning. See 20:28:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:28:52 20:28:52 Login Succeeded 20:28:52 nexus3.edgexfoundry.org:10003 20:28:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:28:53 Configure a credential helper to remove this warning. See 20:28:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:28:53 20:28:53 Login Succeeded 20:28:53 nexus3.edgexfoundry.org:10004 20:28:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:28:53 Configure a credential helper to remove this warning. See 20:28:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:28:53 20:28:53 Login Succeeded 20:28:53 ****.io 20:28:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:28:53 Configure a credential helper to remove this warning. See 20:28:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:28:53 20:28:53 Login Succeeded 20:28:53 ---> ****-login.sh ends [Pipeline] } 20:28:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:28:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:28:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:28:53 ========================================================= 20:28:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:28:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:53 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 20:28:53 Sending build context to Docker daemon 17.18MB 20:28:53 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 20:28:53 Step 2/10 : FROM ${BASE} AS builder 20:28:53 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:28:53 7264a8db6415: Pulling fs layer 20:28:53 c4d48a809fc2: Pulling fs layer 20:28:53 4f1c88b9dad5: Pulling fs layer 20:28:53 ad3a456e5733: Pulling fs layer 20:28:53 69c7f0334f64: Pulling fs layer 20:28:53 1f1c1a5573a3: Pulling fs layer 20:28:53 ce7588e14bc9: Pulling fs layer 20:28:53 b5e4710f87ac: Pulling fs layer 20:28:53 1f1c1a5573a3: Waiting 20:28:53 ce7588e14bc9: Waiting 20:28:53 ad3a456e5733: Waiting 20:28:53 69c7f0334f64: Waiting 20:28:53 b5e4710f87ac: Waiting 20:28:54 c4d48a809fc2: Download complete 20:28:54 ad3a456e5733: Download complete 20:28:54 69c7f0334f64: Verifying Checksum 20:28:54 69c7f0334f64: Download complete 20:28:54 7264a8db6415: Verifying Checksum 20:28:54 7264a8db6415: Download complete 20:28:54 1f1c1a5573a3: Verifying Checksum 20:28:54 1f1c1a5573a3: Download complete 20:28:54 b5e4710f87ac: Verifying Checksum 20:28:54 b5e4710f87ac: Download complete 20:28:54 7264a8db6415: Pull complete 20:28:54 4f1c88b9dad5: Verifying Checksum 20:28:54 4f1c88b9dad5: Download complete 20:28:54 c4d48a809fc2: Pull complete 20:28:54 ce7588e14bc9: Verifying Checksum 20:28:54 ce7588e14bc9: Download complete 20:28:58 4f1c88b9dad5: Pull complete 20:28:58 ad3a456e5733: Pull complete 20:28:59 69c7f0334f64: Pull complete 20:28:59 1f1c1a5573a3: Pull complete 20:29:02 ce7588e14bc9: Pull complete 20:29:03 b5e4710f87ac: Pull complete 20:29:03 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 20:29:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:29:03 ---> 88b5674ff536 20:29:03 Step 3/10 : ARG ADD_BUILD_TAGS="" 20:29:07 Still waiting to schedule task 20:29:07 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:29:13 ---> Running in b7006227a8ad 20:29:13 Removing intermediate container b7006227a8ad 20:29:13 ---> fde5f2dc790a 20:29:13 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:29:13 ---> Running in 1c7f28f9339d 20:29:13 Removing intermediate container 1c7f28f9339d 20:29:13 ---> 53e062910335 20:29:13 Step 5/10 : RUN apk add --update --no-cache make git openssh 20:29:13 ---> Running in 3ee6517a5399 20:29:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:29:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:29:13 (1/8) Installing openssh-keygen (9.3_p2-r0) 20:29:13 (2/8) Installing libedit (20221030.3.1-r1) 20:29:13 (3/8) Installing openssh-client-common (9.3_p2-r0) 20:29:13 (4/8) Installing openssh-client-default (9.3_p2-r0) 20:29:13 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 20:29:13 (6/8) Installing openssh-server-common (9.3_p2-r0) 20:29:13 (7/8) Installing openssh-server (9.3_p2-r0) 20:29:13 (8/8) Installing openssh (9.3_p2-r0) 20:29:13 Executing busybox-1.36.1-r5.trigger 20:29:13 OK: 270 MiB in 60 packages 20:29:13 Removing intermediate container 3ee6517a5399 20:29:13 ---> 06f9b9b4896a 20:29:13 Step 6/10 : WORKDIR /device-modbus-go 20:29:13 ---> Running in a789fb457dc6 20:29:14 Removing intermediate container a789fb457dc6 20:29:14 ---> 92d54bbcaead 20:29:14 Step 7/10 : COPY go.mod vendor* ./ 20:29:14 ---> 18b615f62de2 20:29:14 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:29:14 ---> Running in 8affbe1c8905 20:30:22 Removing intermediate container 8affbe1c8905 20:30:22 ---> e17a145e5aec 20:30:22 Step 9/10 : COPY . . 20:30:22 ---> 9648484e783a 20:30:22 Step 10/10 : RUN ${MAKE} 20:30:22 ---> Running in ec61abe6d5e6 20:30:22 noop 20:30:22 Removing intermediate container ec61abe6d5e6 20:30:22 ---> 990cacb99d51 20:30:22 Successfully built 990cacb99d51 20:30:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:22 + docker inspect -f . ci-base-image-x86_64 20:30:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:30:22 prd-ubuntu20.04-docker-8c-8g-5113 does not seem to be running inside a container 20:30: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 20:30:24 $ docker top bb5c1ea8d3aa58e558981b9d7eb08042bb209e78a621db0f0c0af1f607cace89 -eo pid,comm [Pipeline] { [Pipeline] sh 20:30:24 + go version 20:30:24 go version go1.21.0 linux/amd64 [Pipeline] } 20:30:24 $ docker stop --time=1 bb5c1ea8d3aa58e558981b9d7eb08042bb209e78a621db0f0c0af1f607cace89 20:30:26 $ docker rm -f --volumes bb5c1ea8d3aa58e558981b9d7eb08042bb209e78a621db0f0c0af1f607cace89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:27 + docker inspect -f . ci-base-image-x86_64 20:30:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:30:27 prd-ubuntu20.04-docker-8c-8g-5113 does not seem to be running inside a container 20:30:27 $ 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 20:30:28 $ docker top 391848ee3513c44a8b608f9ef2ac969c869108ce1efc03a4134e2e428c8f7d40 -eo pid,comm [Pipeline] { [Pipeline] sh 20:30:28 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 20:30:29 + make test 20:30:29 go test ./... -coverprofile=coverage.out 20:30:33 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:30:43 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:30:43 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.9% of statements 20:30:50 go vet ./... 20:30:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:30:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:30:54 ./bin/test-attribution-txt.sh [Pipeline] echo 20:30:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:30:54 $ docker stop --time=1 391848ee3513c44a8b608f9ef2ac969c869108ce1efc03a4134e2e428c8f7d40 20:30:59 $ docker rm -f --volumes 391848ee3513c44a8b608f9ef2ac969c869108ce1efc03a4134e2e428c8f7d40 [Pipeline] // withDockerContainer [Pipeline] sh 20:30:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:31:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:31:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:31:00 + ls -al . 20:31:00 total 192 20:31:00 drwxrwxr-x 9 jenkins jenkins 4096 Nov 28 20:30 . 20:31:00 drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 20:28 .. 20:31:00 -rw-rw-r-- 1 jenkins jenkins 140 Nov 28 20:28 .dockerignore 20:31:00 drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 20:30 .git 20:31:00 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 20:28 .github 20:31:00 -rw-rw-r-- 1 jenkins jenkins 266 Nov 28 20:28 .gitignore 20:31:00 -rw-rw-r-- 1 jenkins jenkins 41 Nov 28 20:28 .golangci.yml 20:31:00 drwxr-xr-x 3 jenkins jenkins 4096 Nov 28 20:28 .semver 20:31:00 -rw-rw-r-- 1 jenkins jenkins 11101 Nov 28 20:28 Attribution.txt 20:31:00 -rw-rw-r-- 1 jenkins jenkins 16388 Nov 28 20:28 CHANGELOG.md 20:31:00 -rw-rw-r-- 1 jenkins jenkins 1474 Nov 28 20:28 Dockerfile 20:31:00 -rw-rw-r-- 1 jenkins jenkins 677 Nov 28 20:28 GOVERNANCE.md 20:31:00 -rw-rw-r-- 1 jenkins jenkins 658 Nov 28 20:28 Jenkinsfile 20:31:00 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 28 20:28 LICENSE 20:31:00 -rw-rw-r-- 1 jenkins jenkins 1936 Nov 28 20:28 Makefile 20:31:00 -rw-rw-r-- 1 jenkins jenkins 622 Nov 28 20:28 OWNERS.md 20:31:00 -rw-rw-r-- 1 jenkins jenkins 4463 Nov 28 20:28 README.md 20:31:00 -rw-rw-r-- 1 jenkins jenkins 11 Nov 28 20:28 VERSION 20:31:00 drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 20:28 bin 20:31:00 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 20:28 cmd 20:31:00 -rw-r--r-- 1 jenkins jenkins 24334 Nov 28 20:30 coverage.out 20:31:00 -rw-rw-r-- 1 jenkins jenkins 3937 Nov 28 20:28 go.mod 20:31:00 -rw-rw-r-- 1 jenkins jenkins 35426 Nov 28 20:28 go.sum 20:31:00 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 20:28 internal 20:31:00 drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 20:28 simulator 20:31:00 -rw-rw-r-- 1 jenkins jenkins 229 Nov 28 20:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:01 + 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=f40d1d667e540eee93f77eb354737bb78aa40b5d --label arch=amd64 --label version=3.2.0-dev.1 . 20:31:01 Sending build context to Docker daemon 17.21MB 20:31:01 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 20:31:01 Step 2/23 : FROM ${BASE} AS builder 20:31:01 ---> 990cacb99d51 20:31:01 Step 3/23 : ARG ADD_BUILD_TAGS="" 20:31:01 ---> Running in b4984b982c63 20:31:01 Removing intermediate container b4984b982c63 20:31:01 ---> 93fa5a6f1ac7 20:31:01 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:31:01 ---> Running in 3afc2bb0532a 20:31:02 Removing intermediate container 3afc2bb0532a 20:31:02 ---> 3b4f583ad240 20:31:02 Step 5/23 : RUN apk add --update --no-cache make git openssh 20:31:02 ---> Running in 6ab2284acb81 20:31:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:31:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:31:02 OK: 270 MiB in 60 packages 20:31:03 Removing intermediate container 6ab2284acb81 20:31:03 ---> de8ceb0801cb 20:31:03 Step 6/23 : WORKDIR /device-modbus-go 20:31:03 ---> Running in 8697ab60a6df 20:31:04 Removing intermediate container 8697ab60a6df 20:31:04 ---> e63504e4d8b6 20:31:04 Step 7/23 : COPY go.mod vendor* ./ 20:31:04 ---> 158c484e1470 20:31:04 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:31:04 ---> Running in a45ff8d67195 20:31:05 Removing intermediate container a45ff8d67195 20:31:05 ---> 5b53e5c2f9b8 20:31:05 Step 9/23 : COPY . . 20:31:06 ---> 98e8f1c40222 20:31:06 Step 10/23 : RUN ${MAKE} 20:31:06 ---> Running in 62c8b40c5f23 20:31:06 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.1" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 20:31:34 Removing intermediate container 62c8b40c5f23 20:31:34 ---> 64996c75cda5 20:31:34 Step 11/23 : FROM alpine:3.18 20:31:34 3.18: Pulling from library/alpine 20:31:35 96526aa774ef: Pulling fs layer 20:31:35 96526aa774ef: Verifying Checksum 20:31:35 96526aa774ef: Download complete 20:31:35 96526aa774ef: Pull complete 20:31:35 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 20:31:35 Status: Downloaded newer image for alpine:3.18 20:31:35 ---> 8ca4688f4f35 20:31:35 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 20:31:36 ---> Running in d69a5135c6b0 20:31:36 Removing intermediate container d69a5135c6b0 20:31:36 ---> aa3e6f2e6ab6 20:31:36 Step 13/23 : RUN apk add --update --no-cache dumb-init 20:31:36 ---> Running in 3e890d4574a3 20:31:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:31:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:31:37 (1/1) Installing dumb-init (1.2.5-r2) 20:31:37 Executing busybox-1.36.1-r2.trigger 20:31:37 OK: 7 MiB in 16 packages 20:31:38 Removing intermediate container 3e890d4574a3 20:31:38 ---> 1f7483b20b26 20:31:38 Step 14/23 : RUN apk --no-cache upgrade 20:31:38 ---> Running in 6298b3256c2e 20:31:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:31:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:31:40 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 20:31:40 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 20:31:40 Executing busybox-1.36.1-r5.post-upgrade 20:31:40 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 20:31:40 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 20:31:40 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 20:31:40 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 20:31:40 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 20:31:40 Executing busybox-1.36.1-r5.trigger 20:31:40 OK: 7 MiB in 16 packages 20:31:41 Removing intermediate container 6298b3256c2e 20:31:41 ---> c9367f789f60 20:31:41 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 20:31:43 ---> ecc74b59f1a5 20:31:43 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 20:31:44 ---> 53b3fdb7f09c 20:31:44 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 20:31:44 ---> 921a02ca6e10 20:31:44 Step 18/23 : EXPOSE 59901 20:31:44 ---> Running in 64df595c14be 20:31:45 Removing intermediate container 64df595c14be 20:31:45 ---> 5c207fe73eaa 20:31:45 Step 19/23 : ENTRYPOINT ["/device-modbus"] 20:31:45 ---> Running in 15162f48aa28 20:31:45 Removing intermediate container 15162f48aa28 20:31:45 ---> fcfd5f34c7e7 20:31:45 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:31:45 ---> Running in 503d5ba8ab6c 20:31:45 Removing intermediate container 503d5ba8ab6c 20:31:45 ---> ca813533dd0e 20:31:45 Step 21/23 : LABEL arch=amd64 20:31:45 ---> Running in eb74faac4483 20:31:45 Removing intermediate container eb74faac4483 20:31:45 ---> 7b9701c8a324 20:31:45 Step 22/23 : LABEL git_sha=f40d1d667e540eee93f77eb354737bb78aa40b5d 20:31:45 ---> Running in 21c3ad0245a7 20:31:45 Removing intermediate container 21c3ad0245a7 20:31:45 ---> ffbad6b6987d 20:31:45 Step 23/23 : LABEL version=3.2.0-dev.1 20:31:45 ---> Running in 4f9eaf840eb1 20:31:45 Removing intermediate container 4f9eaf840eb1 20:31:45 ---> 6cde52ea43b2 20:31:45 [Warning] One or more build-args [ARCH] were not consumed 20:31:45 Successfully built 6cde52ea43b2 20:31:45 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:31:46 provisioning config files... 20:31:46 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10878813764095187786tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:31:46 ---> ****-login.sh 20:31:46 nexus3.edgexfoundry.org:10001 20:31:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:31:46 Configure a credential helper to remove this warning. See 20:31:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:31:46 20:31:46 Login Succeeded 20:31:46 nexus3.edgexfoundry.org:10002 20:31:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:31:46 Configure a credential helper to remove this warning. See 20:31:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:31:46 20:31:46 Login Succeeded 20:31:46 nexus3.edgexfoundry.org:10003 20:31:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:31:46 Configure a credential helper to remove this warning. See 20:31:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:31:46 20:31:46 Login Succeeded 20:31:46 nexus3.edgexfoundry.org:10004 20:31:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:31:46 Configure a credential helper to remove this warning. See 20:31:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:31:46 20:31:46 Login Succeeded 20:31:46 ****.io 20:31:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:31:47 Configure a credential helper to remove this warning. See 20:31:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:31:47 20:31:47 Login Succeeded 20:31:47 ---> ****-login.sh ends [Pipeline] } 20:31:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:31:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:31:47 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 20:31:47 f40d1d667e540eee93f77eb354737bb78aa40b5d 20:31:47 latest 20:31:47 3.2.0-dev.1 20:31:47 f40d1d667e540eee93f77eb354737bb78aa40b5d-3.2.0-dev.1 20:31:47 main 20:31:47 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:47 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:f40d1d667e540eee93f77eb354737bb78aa40b5d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:48 + docker push nexus3.edgexfoundry.org:10004/device-modbus:f40d1d667e540eee93f77eb354737bb78aa40b5d 20:31:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 20:31:48 641b16873515: Preparing 20:31:48 bbaac8847a6a: Preparing 20:31:48 e1b379fd6893: Preparing 20:31:48 4e743d30019a: Preparing 20:31:48 785ca6946a3a: Preparing 20:31:48 cc2447e1835a: Preparing 20:31:48 cc2447e1835a: Waiting 20:31:48 641b16873515: Pushed 20:31:48 cc2447e1835a: Layer already exists 20:31:48 bbaac8847a6a: Pushed 20:31:48 785ca6946a3a: Pushed 20:31:49 4e743d30019a: Pushed 20:31:51 e1b379fd6893: Pushed 20:31:51 f40d1d667e540eee93f77eb354737bb78aa40b5d: digest: sha256:b1af9f2c82368f862a7b865f55b175579ae37e9dce030d7969055b25fbf3e347 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:51 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:52 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 20:31:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 20:31:52 641b16873515: Preparing 20:31:52 bbaac8847a6a: Preparing 20:31:52 e1b379fd6893: Preparing 20:31:52 4e743d30019a: Preparing 20:31:52 785ca6946a3a: Preparing 20:31:52 cc2447e1835a: Preparing 20:31:52 cc2447e1835a: Waiting 20:31:52 e1b379fd6893: Layer already exists 20:31:52 4e743d30019a: Layer already exists 20:31:52 785ca6946a3a: Layer already exists 20:31:52 bbaac8847a6a: Layer already exists 20:31:52 641b16873515: Layer already exists 20:31:52 cc2447e1835a: Layer already exists 20:31:52 latest: digest: sha256:b1af9f2c82368f862a7b865f55b175579ae37e9dce030d7969055b25fbf3e347 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:52 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:52 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.1 20:31:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 20:31:52 641b16873515: Preparing 20:31:52 bbaac8847a6a: Preparing 20:31:52 e1b379fd6893: Preparing 20:31:52 4e743d30019a: Preparing 20:31:52 785ca6946a3a: Preparing 20:31:52 cc2447e1835a: Preparing 20:31:52 cc2447e1835a: Waiting 20:31:52 e1b379fd6893: Layer already exists 20:31:52 bbaac8847a6a: Layer already exists 20:31:52 641b16873515: Layer already exists 20:31:52 785ca6946a3a: Layer already exists 20:31:52 4e743d30019a: Layer already exists 20:31:52 cc2447e1835a: Layer already exists 20:31:52 3.2.0-dev.1: digest: sha256:b1af9f2c82368f862a7b865f55b175579ae37e9dce030d7969055b25fbf3e347 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:53 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:f40d1d667e540eee93f77eb354737bb78aa40b5d-3.2.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:53 + docker push nexus3.edgexfoundry.org:10004/device-modbus:f40d1d667e540eee93f77eb354737bb78aa40b5d-3.2.0-dev.1 20:31:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 20:31:53 641b16873515: Preparing 20:31:53 bbaac8847a6a: Preparing 20:31:53 e1b379fd6893: Preparing 20:31:53 4e743d30019a: Preparing 20:31:53 785ca6946a3a: Preparing 20:31:53 cc2447e1835a: Preparing 20:31:53 785ca6946a3a: Layer already exists 20:31:53 bbaac8847a6a: Layer already exists 20:31:53 641b16873515: Layer already exists 20:31:53 e1b379fd6893: Layer already exists 20:31:53 4e743d30019a: Layer already exists 20:31:53 cc2447e1835a: Layer already exists 20:31:53 f40d1d667e540eee93f77eb354737bb78aa40b5d-3.2.0-dev.1: digest: sha256:b1af9f2c82368f862a7b865f55b175579ae37e9dce030d7969055b25fbf3e347 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:54 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:54 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 20:31:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 20:31:54 641b16873515: Preparing 20:31:54 bbaac8847a6a: Preparing 20:31:54 e1b379fd6893: Preparing 20:31:54 4e743d30019a: Preparing 20:31:54 785ca6946a3a: Preparing 20:31:54 cc2447e1835a: Preparing 20:31:54 cc2447e1835a: Waiting 20:31:54 4e743d30019a: Layer already exists 20:31:54 785ca6946a3a: Layer already exists 20:31:54 e1b379fd6893: Layer already exists 20:31:54 641b16873515: Layer already exists 20:31:54 bbaac8847a6a: Layer already exists 20:31:54 cc2447e1835a: Layer already exists 20:31:54 main: digest: sha256:b1af9f2c82368f862a7b865f55b175579ae37e9dce030d7969055b25fbf3e347 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:31:54 ===================================================== [Pipeline] echo 20:31:54 taggedImages: 20:31:54 - nexus3.edgexfoundry.org:10004/device-modbus:f40d1d667e540eee93f77eb354737bb78aa40b5d 20:31:54 - nexus3.edgexfoundry.org:10004/device-modbus:latest 20:31:54 - nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.1 20:31:54 - nexus3.edgexfoundry.org:10004/device-modbus:f40d1d667e540eee93f77eb354737bb78aa40b5d-3.2.0-dev.1 20:31:54 - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:31:55 20:31:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:31:55 latest: Pulling from edgex-lftools-log-publisher 20:31:55 5eb5b503b376: Pulling fs layer 20:31:55 5c69ac0246d0: Pulling fs layer 20:31:55 ec43610c2a17: Pulling fs layer 20:31:55 3a2ae6a8a46f: Pulling fs layer 20:31:55 33b1e0a273af: Pulling fs layer 20:31:55 5d3b04190fa2: Pulling fs layer 20:31:55 2f39f015ded8: Pulling fs layer 20:31:55 3a2ae6a8a46f: Waiting 20:31:55 33b1e0a273af: Waiting 20:31:55 5c69ac0246d0: Verifying Checksum 20:31:55 5c69ac0246d0: Download complete 20:31:55 3a2ae6a8a46f: Verifying Checksum 20:31:55 3a2ae6a8a46f: Download complete 20:31:55 33b1e0a273af: Verifying Checksum 20:31:55 33b1e0a273af: Download complete 20:31:55 ec43610c2a17: Verifying Checksum 20:31:55 ec43610c2a17: Download complete 20:31:55 5d3b04190fa2: Verifying Checksum 20:31:56 5eb5b503b376: Download complete 20:31:57 2f39f015ded8: Download complete 20:31:57 5eb5b503b376: Pull complete 20:31:57 5c69ac0246d0: Pull complete 20:31:58 ec43610c2a17: Pull complete 20:31:58 3a2ae6a8a46f: Pull complete 20:31:58 33b1e0a273af: Pull complete 20:31:58 5d3b04190fa2: Pull complete 20:32:03 2f39f015ded8: Pull complete 20:32:03 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:32:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:32:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:32:04 prd-ubuntu20.04-docker-8c-8g-5113 does not seem to be running inside a container 20:32:04 $ 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 20:32:20 $ docker top 05d81be7dc8d0b162960d69adf4f95500056994566afe47f21b35f4c17073d28 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:32:21 ---> job-cost.sh 20:32:21 lf-activate-venv: SKIPPING 20:32:21 INFO: No Stack... 20:32:21 INFO: Retrieving Pricing Info for: v3-standard-8 20:32:21 INFO: Archiving Costs [Pipeline] sh 20:32:22 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 20:32:22 + cut -d, -f6 [Pipeline] lock 20:32:22 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-140-stack-cost] 20:32:22 Resource [jenkins-edgexfoundry-device-modbus-go-main-140-stack-cost] did not exist. Created. 20:32:22 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-140-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:32:22 + echo total: 0.2199999988079071 [Pipeline] stash 20:32:22 Stashed 1 file(s) [Pipeline] } 20:32:22 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-140-stack-cost] [Pipeline] // lock [Pipeline] } 20:32:22 $ docker stop --time=1 05d81be7dc8d0b162960d69adf4f95500056994566afe47f21b35f4c17073d28 20:32:23 $ docker rm -f --volumes 05d81be7dc8d0b162960d69adf4f95500056994566afe47f21b35f4c17073d28 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:46:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6013 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 20:46:55 Running in /w/workspace/device-modbus-go/140 [Pipeline] { [Pipeline] checkout 20:46:58 Selected Git installation does not exist. Using Default 20:46:58 The recommended git tool is: NONE 20:47:04 using credential edgex-jenkins-ssh 20:47:04 Cloning the remote Git repository 20:47:04 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 20:47:04 > git init /w/workspace/device-modbus-go/140 # timeout=10 20:47:04 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:47:04 > git --version # timeout=10 20:47:04 > git --version # 'git version 2.25.1' 20:47:04 using GIT_SSH to set credentials SSH Credentials for GitHub 20:47:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:47:06 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:47:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:47:07 Avoid second fetch 20:47:07 Checking out Revision f40d1d667e540eee93f77eb354737bb78aa40b5d (main) 20:47:08 Commit message: "build: Update to latest 3.2.0 dev go-mods (#527)" 20:47:07 > git config core.sparsecheckout # timeout=10 20:47:07 > git checkout -f f40d1d667e540eee93f77eb354737bb78aa40b5d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:47:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:47:09 % Total % Received % Xferd Average Speed Time Time Time Current 20:47:09 Dload Upload Total Spent Left Speed 20:47:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 99858 0 --:--:-- --:--:-- --:--:-- 99858 [Pipeline] sh 20:47:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:47:10 + sudo tee /etc/docker/daemon.new 20:47:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:47:10 { 20:47:10 "registry-mirrors": [ 20:47:10 "https://nexus3.edgexfoundry.org:10001" 20:47:10 ], 20:47:10 "bip": "10.250.0.254/24", 20:47:10 "hosts": [ 20:47:10 "tcp://0.0.0.0:5555", 20:47:10 "unix:///var/run/docker.sock" 20:47:10 ], 20:47:10 "mtu": 1458, 20:47:10 "selinux-enabled": true, 20:47:10 "seccomp-profile": "/etc/docker/seccomp.json" 20:47:10 } [Pipeline] sh 20:47:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:47:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:47:29 provisioning config files... 20:47:29 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/140@tmp/config14523553329968763464tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:47:30 ---> ****-login.sh 20:47:30 nexus3.edgexfoundry.org:10001 20:47:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:47:30 Configure a credential helper to remove this warning. See 20:47:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:47:30 20:47:30 Login Succeeded 20:47:30 nexus3.edgexfoundry.org:10002 20:47:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:47:31 Configure a credential helper to remove this warning. See 20:47:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:47:31 20:47:31 Login Succeeded 20:47:31 nexus3.edgexfoundry.org:10003 20:47:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:47:31 Configure a credential helper to remove this warning. See 20:47:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:47:31 20:47:31 Login Succeeded 20:47:31 nexus3.edgexfoundry.org:10004 20:47:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:47:31 Configure a credential helper to remove this warning. See 20:47:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:47:31 20:47:31 Login Succeeded 20:47:31 ****.io 20:47:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:47:32 Configure a credential helper to remove this warning. See 20:47:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:47:32 20:47:32 Login Succeeded 20:47:32 ---> ****-login.sh ends [Pipeline] } 20:47:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:47:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:47:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:47:33 ========================================================= 20:47:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 20:47:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:33 + 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 . 20:47:35 Sending build context to Docker daemon 8.711MB 20:47:35 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 20:47:35 Step 2/10 : FROM ${BASE} AS builder 20:47:35 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:47:35 9fda8d8052c6: Pulling fs layer 20:47:35 5d54e960e981: Pulling fs layer 20:47:35 c4a7e357bf2a: Pulling fs layer 20:47:35 f0e02332f6b5: Pulling fs layer 20:47:35 872ee5b61b7b: Pulling fs layer 20:47:35 0c6a40ed1a82: Pulling fs layer 20:47:35 94ae7d8d031c: Pulling fs layer 20:47:35 f0e02332f6b5: Waiting 20:47:35 872ee5b61b7b: Waiting 20:47:35 0c6a40ed1a82: Waiting 20:47:35 94ae7d8d031c: Waiting 20:47:35 5d54e960e981: Verifying Checksum 20:47:35 5d54e960e981: Download complete 20:47:35 f0e02332f6b5: Verifying Checksum 20:47:35 f0e02332f6b5: Download complete 20:47:35 872ee5b61b7b: Download complete 20:47:35 9fda8d8052c6: Verifying Checksum 20:47:35 9fda8d8052c6: Download complete 20:47:36 94ae7d8d031c: Verifying Checksum 20:47:36 94ae7d8d031c: Download complete 20:47:36 9fda8d8052c6: Pull complete 20:47:37 5d54e960e981: Pull complete 20:47:37 c4a7e357bf2a: Verifying Checksum 20:47:37 c4a7e357bf2a: Download complete 20:47:38 0c6a40ed1a82: Verifying Checksum 20:47:38 0c6a40ed1a82: Download complete 20:47:51 c4a7e357bf2a: Pull complete 20:47:51 f0e02332f6b5: Pull complete 20:47:51 872ee5b61b7b: Pull complete 20:47:57 0c6a40ed1a82: Pull complete 20:48:03 94ae7d8d031c: Pull complete 20:48:03 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 20:48:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 20:48:03 ---> 86de565de09d 20:48:03 Step 3/10 : ARG ADD_BUILD_TAGS="" 20:48:03 ---> Running in f0a8350cba54 20:48:03 Removing intermediate container f0a8350cba54 20:48:03 ---> 0b87ee7d83d9 20:48:03 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:48:04 ---> Running in d5a91107a6ca 20:48:04 Removing intermediate container d5a91107a6ca 20:48:04 ---> aaf76d4d3143 20:48:04 Step 5/10 : RUN apk add --update --no-cache make git openssh 20:48:04 ---> Running in 560b5b9e7aae 20:48:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:48:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:48:07 (1/8) Installing openssh-keygen (9.3_p2-r0) 20:48:07 (2/8) Installing libedit (20221030.3.1-r1) 20:48:07 (3/8) Installing openssh-client-common (9.3_p2-r0) 20:48:07 (4/8) Installing openssh-client-default (9.3_p2-r0) 20:48:07 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 20:48:07 (6/8) Installing openssh-server-common (9.3_p2-r0) 20:48:07 (7/8) Installing openssh-server (9.3_p2-r0) 20:48:07 (8/8) Installing openssh (9.3_p2-r0) 20:48:07 Executing busybox-1.36.1-r5.trigger 20:48:07 OK: 272 MiB in 60 packages 20:48:08 Removing intermediate container 560b5b9e7aae 20:48:08 ---> 4aba62e5f2bd 20:48:08 Step 6/10 : WORKDIR /device-modbus-go 20:48:08 ---> Running in 5d8faf02584a 20:48:08 Removing intermediate container 5d8faf02584a 20:48:08 ---> 3cdd88d6ab54 20:48:08 Step 7/10 : COPY go.mod vendor* ./ 20:48:08 ---> 40c8d821013f 20:48:08 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:48:08 ---> Running in 07ea3d233ffd 20:49:30 Removing intermediate container 07ea3d233ffd 20:49:30 ---> 29ba4759c647 20:49:30 Step 9/10 : COPY . . 20:49:30 ---> 51e96752e88b 20:49:30 Step 10/10 : RUN ${MAKE} 20:49:30 ---> Running in 70d23db97428 20:49:30 noop 20:49:30 Removing intermediate container 70d23db97428 20:49:30 ---> 68f3ba01170a 20:49:30 Successfully built 68f3ba01170a 20:49:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:49:31 + docker inspect -f . ci-base-image-arm64 20:49:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:49:31 prd-ubuntu20.04-docker-arm64-4c-16g-6013 does not seem to be running inside a container 20:49:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/140 -v /w/workspace/device-modbus-go/140:/w/workspace/device-modbus-go/140:rw,z -v /w/workspace/device-modbus-go/140@tmp:/w/workspace/device-modbus-go/140@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 20:49:32 $ docker top 5359cf18bd2268d12dae0f8e05ee625ad478365340950b5c50be07b2597c45ab -eo pid,comm [Pipeline] { [Pipeline] sh 20:49:33 + go version 20:49:33 go version go1.21.0 linux/arm64 [Pipeline] } 20:49:33 $ docker stop --time=1 5359cf18bd2268d12dae0f8e05ee625ad478365340950b5c50be07b2597c45ab 20:49:35 $ docker rm -f --volumes 5359cf18bd2268d12dae0f8e05ee625ad478365340950b5c50be07b2597c45ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:49:36 + docker inspect -f . ci-base-image-arm64 20:49:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:49:36 prd-ubuntu20.04-docker-arm64-4c-16g-6013 does not seem to be running inside a container 20:49:36 $ 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/140 -v /w/workspace/device-modbus-go/140:/w/workspace/device-modbus-go/140:rw,z -v /w/workspace/device-modbus-go/140@tmp:/w/workspace/device-modbus-go/140@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 20:49:37 $ docker top 6fb43cbe3b4e41b92166fd9f4437738050a3cd5c186c6fc124086e9ea92414f2 -eo pid,comm [Pipeline] { [Pipeline] sh 20:49:38 + git config --global --add safe.directory /w/workspace/device-modbus-go/140 [Pipeline] fileExists [Pipeline] sh 20:49:39 + make test 20:49:39 go test ./... -coverprofile=coverage.out 20:49:43 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:51:20 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:51:20 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.060s coverage: 47.9% of statements 20:51:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:51:20 go vet ./... 20:51:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:51:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:51:42 ./bin/test-attribution-txt.sh [Pipeline] echo 20:51:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:51:42 $ docker stop --time=1 6fb43cbe3b4e41b92166fd9f4437738050a3cd5c186c6fc124086e9ea92414f2 20:51:44 $ docker rm -f --volumes 6fb43cbe3b4e41b92166fd9f4437738050a3cd5c186c6fc124086e9ea92414f2 [Pipeline] // withDockerContainer [Pipeline] sh 20:51:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:51:45 Warning: overwriting stash ‘coverage-report’ 20:51:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:51:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:51:47 + ls -al . 20:51:47 total 188 20:51:47 drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 20:49 . 20:51:47 drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 20:47 .. 20:51:47 -rw-rw-r-- 1 jenkins jenkins 140 Nov 28 20:47 .dockerignore 20:51:47 drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 20:47 .git 20:51:47 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 20:47 .github 20:51:47 -rw-rw-r-- 1 jenkins jenkins 266 Nov 28 20:47 .gitignore 20:51:47 -rw-rw-r-- 1 jenkins jenkins 41 Nov 28 20:47 .golangci.yml 20:51:47 -rw-rw-r-- 1 jenkins jenkins 11101 Nov 28 20:47 Attribution.txt 20:51:47 -rw-rw-r-- 1 jenkins jenkins 16388 Nov 28 20:47 CHANGELOG.md 20:51:47 -rw-rw-r-- 1 jenkins jenkins 1474 Nov 28 20:47 Dockerfile 20:51:47 -rw-rw-r-- 1 jenkins jenkins 677 Nov 28 20:47 GOVERNANCE.md 20:51:47 -rw-rw-r-- 1 jenkins jenkins 658 Nov 28 20:47 Jenkinsfile 20:51:47 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 28 20:47 LICENSE 20:51:47 -rw-rw-r-- 1 jenkins jenkins 1936 Nov 28 20:47 Makefile 20:51:47 -rw-rw-r-- 1 jenkins jenkins 622 Nov 28 20:47 OWNERS.md 20:51:47 -rw-rw-r-- 1 jenkins jenkins 4463 Nov 28 20:47 README.md 20:51:47 -rw-rw-r-- 1 jenkins jenkins 11 Nov 28 20:28 VERSION 20:51:47 drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 20:47 bin 20:51:47 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 20:47 cmd 20:51:47 -rw-r--r-- 1 jenkins jenkins 24334 Nov 28 20:51 coverage.out 20:51:47 -rw-rw-r-- 1 jenkins jenkins 3937 Nov 28 20:47 go.mod 20:51:47 -rw-rw-r-- 1 jenkins jenkins 35426 Nov 28 20:47 go.sum 20:51:47 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 20:47 internal 20:51:47 drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 20:47 simulator 20:51:47 -rw-rw-r-- 1 jenkins jenkins 229 Nov 28 20:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:47 + 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=f40d1d667e540eee93f77eb354737bb78aa40b5d --label arch=arm64 --label version=3.2.0-dev.1 . 20:51:47 Sending build context to Docker daemon 8.736MB 20:51:47 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 20:51:47 Step 2/23 : FROM ${BASE} AS builder 20:51:47 ---> 68f3ba01170a 20:51:47 Step 3/23 : ARG ADD_BUILD_TAGS="" 20:51:48 ---> Running in db948eaef301 20:51:48 Removing intermediate container db948eaef301 20:51:48 ---> 1cc3c4f5acab 20:51:48 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:51:48 ---> Running in 9b8e7982ecfd 20:51:49 Removing intermediate container 9b8e7982ecfd 20:51:49 ---> 9a6765fadf8c 20:51:49 Step 5/23 : RUN apk add --update --no-cache make git openssh 20:51:49 ---> Running in 3d338d3e7a50 20:51:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:51:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:51:51 OK: 272 MiB in 60 packages 20:51:53 Removing intermediate container 3d338d3e7a50 20:51:53 ---> 8e9937fa33b3 20:51:53 Step 6/23 : WORKDIR /device-modbus-go 20:51:53 ---> Running in 940327488e0c 20:51:53 Removing intermediate container 940327488e0c 20:51:53 ---> 53a8ea5c4c43 20:51:53 Step 7/23 : COPY go.mod vendor* ./ 20:51:54 ---> 98d192a122d7 20:51:54 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:51:54 ---> Running in 2591db32ad4d 20:51:56 Removing intermediate container 2591db32ad4d 20:51:56 ---> 510dac5490bd 20:51:56 Step 9/23 : COPY . . 20:51:57 ---> b543957a48f5 20:51:57 Step 10/23 : RUN ${MAKE} 20:51:57 ---> Running in c43ee2ee88cb 20:51:58 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.1" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 20:53:50 Removing intermediate container c43ee2ee88cb 20:53:50 ---> c9b42f9f1058 20:53:50 Step 11/23 : FROM alpine:3.18 20:53:50 3.18: Pulling from library/alpine 20:53:50 579b34f0a95b: Pulling fs layer 20:53:50 579b34f0a95b: Verifying Checksum 20:53:50 579b34f0a95b: Download complete 20:53:50 579b34f0a95b: Pull complete 20:53:50 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 20:53:50 Status: Downloaded newer image for alpine:3.18 20:53:50 ---> 3cc203321400 20:53:50 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 20:53:50 ---> Running in 40fbca00d184 20:53:51 Removing intermediate container 40fbca00d184 20:53:51 ---> 318eafd33b31 20:53:51 Step 13/23 : RUN apk add --update --no-cache dumb-init 20:53:51 ---> Running in 3072b62a34c5 20:53:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:53:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:53:53 (1/1) Installing dumb-init (1.2.5-r2) 20:53:53 Executing busybox-1.36.1-r2.trigger 20:53:53 OK: 8 MiB in 16 packages 20:53:54 Removing intermediate container 3072b62a34c5 20:53:54 ---> e0f3ad272dfc 20:53:54 Step 14/23 : RUN apk --no-cache upgrade 20:53:54 ---> Running in 56458afd8bc8 20:53:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:53:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:53:56 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 20:53:56 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 20:53:56 Executing busybox-1.36.1-r5.post-upgrade 20:53:56 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 20:53:56 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 20:53:57 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 20:53:57 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 20:53:57 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 20:53:57 Executing busybox-1.36.1-r5.trigger 20:53:57 OK: 8 MiB in 16 packages 20:53:58 Removing intermediate container 56458afd8bc8 20:53:58 ---> 746f6f653899 20:53:58 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 20:54:02 ---> baa0c7a916c6 20:54:02 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 20:54:02 ---> e956bb965b3d 20:54:02 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 20:54:02 ---> 24f18991d418 20:54:02 Step 18/23 : EXPOSE 59901 20:54:02 ---> Running in 11a0efe5c104 20:54:02 Removing intermediate container 11a0efe5c104 20:54:02 ---> 7f3c9203a3bc 20:54:02 Step 19/23 : ENTRYPOINT ["/device-modbus"] 20:54:03 ---> Running in 3c0b5e617f3e 20:54:03 Removing intermediate container 3c0b5e617f3e 20:54:03 ---> c59096c0049e 20:54:03 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:54:03 ---> Running in d8c42b76e057 20:54:03 Removing intermediate container d8c42b76e057 20:54:03 ---> 06b08c64721a 20:54:03 Step 21/23 : LABEL arch=arm64 20:54:03 ---> Running in 19440769ecea 20:54:03 Removing intermediate container 19440769ecea 20:54:03 ---> 144cc8931e7f 20:54:03 Step 22/23 : LABEL git_sha=f40d1d667e540eee93f77eb354737bb78aa40b5d 20:54:04 ---> Running in 5979c9cbcf82 20:54:04 Removing intermediate container 5979c9cbcf82 20:54:04 ---> cb87c96afb66 20:54:04 Step 23/23 : LABEL version=3.2.0-dev.1 20:54:04 ---> Running in 5be19d8dd35e 20:54:04 Removing intermediate container 5be19d8dd35e 20:54:04 ---> f46e82f120a9 20:54:04 [Warning] One or more build-args [ARCH] were not consumed 20:54:04 Successfully built f46e82f120a9 20:54:04 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 20:54:05 provisioning config files... 20:54:05 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/140@tmp/config6812625560314943011tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:54:05 ---> ****-login.sh 20:54:05 nexus3.edgexfoundry.org:10001 20:54:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:54:05 Configure a credential helper to remove this warning. See 20:54:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:54:05 20:54:05 Login Succeeded 20:54:05 nexus3.edgexfoundry.org:10002 20:54:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:54:06 Configure a credential helper to remove this warning. See 20:54:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:54:06 20:54:06 Login Succeeded 20:54:06 nexus3.edgexfoundry.org:10003 20:54:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:54:06 Configure a credential helper to remove this warning. See 20:54:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:54:06 20:54:06 Login Succeeded 20:54:06 nexus3.edgexfoundry.org:10004 20:54:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:54:06 Configure a credential helper to remove this warning. See 20:54:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:54:06 20:54:06 Login Succeeded 20:54:06 ****.io 20:54:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:54:07 Configure a credential helper to remove this warning. See 20:54:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:54:07 20:54:07 Login Succeeded 20:54:07 ---> ****-login.sh ends [Pipeline] } 20:54:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:54:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:54:07 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 20:54:07 f40d1d667e540eee93f77eb354737bb78aa40b5d 20:54:07 latest 20:54:07 3.2.0-dev.1 20:54:07 f40d1d667e540eee93f77eb354737bb78aa40b5d-3.2.0-dev.1 20:54:07 main 20:54:07 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:08 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:f40d1d667e540eee93f77eb354737bb78aa40b5d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:08 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:f40d1d667e540eee93f77eb354737bb78aa40b5d 20:54:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 20:54:08 a4a279d395bb: Preparing 20:54:08 05d9a1694889: Preparing 20:54:08 e775d4c69fb3: Preparing 20:54:08 01344d43840c: Preparing 20:54:08 2fb8a0712476: Preparing 20:54:08 5f4d9fc4d98d: Preparing 20:54:08 5f4d9fc4d98d: Waiting 20:54:09 05d9a1694889: Pushed 20:54:09 2fb8a0712476: Pushed 20:54:09 a4a279d395bb: Pushed 20:54:09 5f4d9fc4d98d: Layer already exists 20:54:10 01344d43840c: Pushed 20:54:14 e775d4c69fb3: Pushed 20:54:15 f40d1d667e540eee93f77eb354737bb78aa40b5d: digest: sha256:e4a3e5ffd33f6d5cbea1704b0267c5e81a4825b3d36557a3f13027d46f3ae964 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:16 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:16 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 20:54:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 20:54:16 a4a279d395bb: Preparing 20:54:16 05d9a1694889: Preparing 20:54:16 e775d4c69fb3: Preparing 20:54:16 01344d43840c: Preparing 20:54:16 2fb8a0712476: Preparing 20:54:16 5f4d9fc4d98d: Preparing 20:54:16 5f4d9fc4d98d: Waiting 20:54:16 01344d43840c: Layer already exists 20:54:16 2fb8a0712476: Layer already exists 20:54:16 05d9a1694889: Layer already exists 20:54:16 e775d4c69fb3: Layer already exists 20:54:16 a4a279d395bb: Layer already exists 20:54:16 5f4d9fc4d98d: Layer already exists 20:54:16 latest: digest: sha256:e4a3e5ffd33f6d5cbea1704b0267c5e81a4825b3d36557a3f13027d46f3ae964 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:17 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:17 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.1 20:54:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 20:54:17 a4a279d395bb: Preparing 20:54:17 05d9a1694889: Preparing 20:54:17 e775d4c69fb3: Preparing 20:54:17 01344d43840c: Preparing 20:54:17 2fb8a0712476: Preparing 20:54:17 5f4d9fc4d98d: Preparing 20:54:17 5f4d9fc4d98d: Waiting 20:54:17 2fb8a0712476: Layer already exists 20:54:17 a4a279d395bb: Layer already exists 20:54:17 01344d43840c: Layer already exists 20:54:17 e775d4c69fb3: Layer already exists 20:54:17 05d9a1694889: Layer already exists 20:54:17 5f4d9fc4d98d: Layer already exists 20:54:17 3.2.0-dev.1: digest: sha256:e4a3e5ffd33f6d5cbea1704b0267c5e81a4825b3d36557a3f13027d46f3ae964 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:18 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:f40d1d667e540eee93f77eb354737bb78aa40b5d-3.2.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:19 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:f40d1d667e540eee93f77eb354737bb78aa40b5d-3.2.0-dev.1 20:54:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 20:54:19 a4a279d395bb: Preparing 20:54:19 05d9a1694889: Preparing 20:54:19 e775d4c69fb3: Preparing 20:54:19 01344d43840c: Preparing 20:54:19 2fb8a0712476: Preparing 20:54:19 5f4d9fc4d98d: Preparing 20:54:19 05d9a1694889: Layer already exists 20:54:19 01344d43840c: Layer already exists 20:54:19 2fb8a0712476: Layer already exists 20:54:19 e775d4c69fb3: Layer already exists 20:54:19 a4a279d395bb: Layer already exists 20:54:19 5f4d9fc4d98d: Layer already exists 20:54:19 f40d1d667e540eee93f77eb354737bb78aa40b5d-3.2.0-dev.1: digest: sha256:e4a3e5ffd33f6d5cbea1704b0267c5e81a4825b3d36557a3f13027d46f3ae964 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:19 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:20 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 20:54:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 20:54:20 a4a279d395bb: Preparing 20:54:20 05d9a1694889: Preparing 20:54:20 e775d4c69fb3: Preparing 20:54:20 01344d43840c: Preparing 20:54:20 2fb8a0712476: Preparing 20:54:20 5f4d9fc4d98d: Preparing 20:54:20 5f4d9fc4d98d: Waiting 20:54:20 05d9a1694889: Layer already exists 20:54:20 2fb8a0712476: Layer already exists 20:54:20 a4a279d395bb: Layer already exists 20:54:20 01344d43840c: Layer already exists 20:54:20 e775d4c69fb3: Layer already exists 20:54:20 5f4d9fc4d98d: Layer already exists 20:54:20 main: digest: sha256:e4a3e5ffd33f6d5cbea1704b0267c5e81a4825b3d36557a3f13027d46f3ae964 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:54:20 ===================================================== [Pipeline] echo 20:54:20 taggedImages: 20:54:20 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:f40d1d667e540eee93f77eb354737bb78aa40b5d 20:54:20 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 20:54:20 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.1 20:54:20 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:f40d1d667e540eee93f77eb354737bb78aa40b5d-3.2.0-dev.1 20:54:20 - 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 20:54:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:54:21 20:54:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:54:21 arm64: Pulling from edgex-lftools-log-publisher 20:54:21 8998bd30e6a1: Pulling fs layer 20:54:21 04944245beec: Pulling fs layer 20:54:21 699f458cf7ca: Pulling fs layer 20:54:21 765212b225bb: Pulling fs layer 20:54:21 f23df028b6ca: Pulling fs layer 20:54:21 d65c8cfc05b1: Pulling fs layer 20:54:21 2437ff75d9bd: Pulling fs layer 20:54:21 f23df028b6ca: Waiting 20:54:21 d65c8cfc05b1: Waiting 20:54:21 2437ff75d9bd: Waiting 20:54:21 765212b225bb: Waiting 20:54:22 04944245beec: Verifying Checksum 20:54:22 04944245beec: Download complete 20:54:22 765212b225bb: Verifying Checksum 20:54:22 765212b225bb: Download complete 20:54:22 f23df028b6ca: Download complete 20:54:22 d65c8cfc05b1: Verifying Checksum 20:54:22 d65c8cfc05b1: Download complete 20:54:22 699f458cf7ca: Verifying Checksum 20:54:22 699f458cf7ca: Download complete 20:54:22 8998bd30e6a1: Verifying Checksum 20:54:22 8998bd30e6a1: Download complete 20:54:25 2437ff75d9bd: Verifying Checksum 20:54:25 2437ff75d9bd: Download complete 20:54:27 8998bd30e6a1: Pull complete 20:54:30 04944245beec: Pull complete 20:54:31 699f458cf7ca: Pull complete 20:54:31 765212b225bb: Pull complete 20:54:32 f23df028b6ca: Pull complete 20:54:33 d65c8cfc05b1: Pull complete 20:54:48 2437ff75d9bd: Pull complete 20:54:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:54:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:54:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:54:48 prd-ubuntu20.04-docker-arm64-4c-16g-6013 does not seem to be running inside a container 20:54:48 $ 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/140 -v /w/workspace/device-modbus-go/140:/w/workspace/device-modbus-go/140:rw,z -v /w/workspace/device-modbus-go/140@tmp:/w/workspace/device-modbus-go/140@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 20:54:51 $ docker top 20e46202b95b34db724c1ef3bb044cb7385752ffb7d7a41e260704fd27e23ff4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:54:51 ---> job-cost.sh 20:54:51 lf-activate-venv: SKIPPING 20:54:51 INFO: No Stack... 20:54:54 INFO: Retrieving Pricing Info for: v3-standard-4 20:54:55 INFO: Archiving Costs [Pipeline] sh 20:54:56 + cat /w/workspace/device-modbus-go/140/archives/cost.csv 20:54:56 + cut -d, -f6 [Pipeline] lock 20:54:56 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-140-stack-cost] 20:54:56 Resource [jenkins-edgexfoundry-device-modbus-go-main-140-stack-cost] did not exist. Created. 20:54:56 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-140-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:54:56 /w/workspace/device-modbus-go/140@tmp/durable-1c365d40/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:54:57 + echo total: 0.10999999940395355 [Pipeline] stash 20:54:57 Warning: overwriting stash ‘stack-cost’ 20:54:57 Stashed 1 file(s) [Pipeline] } 20:54:57 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-140-stack-cost] [Pipeline] // lock [Pipeline] } 20:54:57 $ docker stop --time=1 20e46202b95b34db724c1ef3bb044cb7385752ffb7d7a41e260704fd27e23ff4 20:54:59 $ docker rm -f --volumes 20e46202b95b34db724c1ef3bb044cb7385752ffb7d7a41e260704fd27e23ff4 [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 20:55:00 provisioning config files... 20:55:00 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12645534466853454961tmp [Pipeline] { [Pipeline] sh 20:55:01 + set +x 20:55:01 + curl -s https://codecov.io/bash 20:55:01 + bash -s -- 20:55:01 20:55:01 _____ _ 20:55:01 / ____| | | 20:55:01 | | ___ __| | ___ ___ _____ __ 20:55:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:55:01 | |___| (_) | (_| | __/ (_| (_) \ V / 20:55:01 \_____\___/ \__,_|\___|\___\___/ \_/ 20:55:01 Bash-1.0.6 20:55:01 20:55:01 20:55:01 ==> git version 2.25.1 found 20:55:01 ==> 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 20:55:01 Release-Date: 2020-01-08 20:55:01 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:55:01 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:55:01 ==> Jenkins CI detected. 20:55:01 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 20:55:01 project root: . 20:55:01 --> token set from env 20:55:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:55:01 ==> Running gcov in . (disable via -X gcov) 20:55:01 ==> Python coveragepy not found 20:55:01 ==> Searching for coverage reports in: 20:55:01 + . 20:55:01 -> Found 1 reports 20:55:01 ==> Detecting git/mercurial file structure 20:55:01 ==> Reading reports 20:55:01 + ./coverage.out bytes=24334 20:55:01 ==> Appending adjustments 20:55:01 https://docs.codecov.io/docs/fixing-reports 20:55:01 + Found adjustments 20:55:01 ==> Gzipping contents 20:55:01 4.0K /tmp/codecov.AvR2nh.gz 20:55:01 ==> Uploading reports 20:55:01 url: https://codecov.io 20:55:01 query: branch=main&commit=f40d1d667e540eee93f77eb354737bb78aa40b5d&build=140&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F140%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:55:01 -> Pinging Codecov 20:55:01 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=f40d1d667e540eee93f77eb354737bb78aa40b5d&build=140&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F140%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:55:05 -> Uploading to 20:55:05 https://storage.googleapis.com/codecov/v4/raw/2023-11-28/55DBCA73C666E3227836607328DD7E49/f40d1d667e540eee93f77eb354737bb78aa40b5d/ee041ee0-30e4-44bd-8706-24291c2cbc62.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231128%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231128T205504Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c7ded7d69bbe91e4040ab039a083c84c26163417f587a15871fc007a77aabf92 20:55:05 % Total % Received % Xferd Average Speed Time Time Time Current 20:55:05 Dload Upload Total Spent Left Speed 20:55:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 3806 0 0 100 3806 0 1426 0:00:02 0:00:02 --:--:-- 1426 100 3806 0 0 100 3806 0 1426 0:00:02 0:00:02 --:--:-- 1426 20:55:10 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/f40d1d667e540eee93f77eb354737bb78aa40b5d [Pipeline] } 20:55:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:55:10 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:55:10 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:55:11 20:55:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:55:11 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:55:11 df9b9388f04a: Pulling fs layer 20:55:11 52dc419b0ee2: Pulling fs layer 20:55:11 25bc292e5bac: Pulling fs layer 20:55:11 114826534d7a: Pulling fs layer 20:55:11 4657fd5d0bcf: Pulling fs layer 20:55:11 6ad1cebc031e: Pulling fs layer 20:55:11 8a3aa393b2d8: Pulling fs layer 20:55:11 4657fd5d0bcf: Waiting 20:55:11 6ad1cebc031e: Waiting 20:55:11 8a3aa393b2d8: Waiting 20:55:11 114826534d7a: Waiting 20:55:11 25bc292e5bac: Verifying Checksum 20:55:11 25bc292e5bac: Download complete 20:55:11 52dc419b0ee2: Verifying Checksum 20:55:11 52dc419b0ee2: Download complete 20:55:11 4657fd5d0bcf: Verifying Checksum 20:55:11 4657fd5d0bcf: Download complete 20:55:11 df9b9388f04a: Verifying Checksum 20:55:12 df9b9388f04a: Pull complete 20:55:12 52dc419b0ee2: Pull complete 20:55:12 6ad1cebc031e: Verifying Checksum 20:55:12 6ad1cebc031e: Download complete 20:55:12 25bc292e5bac: Pull complete 20:55:13 114826534d7a: Download complete 20:55:13 8a3aa393b2d8: Download complete 20:55:19 114826534d7a: Pull complete 20:55:19 4657fd5d0bcf: Pull complete 20:55:20 6ad1cebc031e: Pull complete 20:55:23 8a3aa393b2d8: Pull complete 20:55:23 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 20:55:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:55:23 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:55:23 prd-ubuntu20.04-docker-8c-8g-5113 does not seem to be running inside a container 20:55:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 20:55:31 $ docker top 9671144c7c51fecaf5a14326a3b498157185ea9b59adf608e3cb5a2c201034c1 -eo pid,comm [Pipeline] { [Pipeline] echo 20:55:31 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 20:55:31 + set -o pipefail 20:55:31 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 20:55:40 20:55:40 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 20:55:40 20:55:40 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/4fdcb1e5-241d-4fd2-89e1-3e3e61320d01 20:55:40 20:55:40 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 20:55:40 20:55:40 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:55:40 20:55:40 20:55:40 A medium severity vulnerability was found in the Snyk CLI versions you are using. 20:55:40 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 20:55:40 More details here: https://snyk.co/ue1NS 20:55:40 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 20:55:40 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 20:55:40 $ docker stop --time=1 9671144c7c51fecaf5a14326a3b498157185ea9b59adf608e3cb5a2c201034c1 20:55:46 $ docker rm -f --volumes 9671144c7c51fecaf5a14326a3b498157185ea9b59adf608e3cb5a2c201034c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:55:47 + git log --format=format:%s -1 f40d1d667e540eee93f77eb354737bb78aa40b5d [Pipeline] sh 20:55:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:55:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:55:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:55:48 prd-ubuntu20.04-docker-8c-8g-5113 does not seem to be running inside a container 20:55:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:55:48 $ docker top 7381d4bd4c477bf649501c76465338e3672ca736ae3f5cbc2cff88d3b45c089e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:55:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:55:49 [ssh-agent] Looking for ssh-agent implementation... 20:55:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:55:49 $ docker exec 7381d4bd4c477bf649501c76465338e3672ca736ae3f5cbc2cff88d3b45c089e ssh-agent 20:55:49 SSH_AUTH_SOCK=/tmp/ssh-xXA02irjxbwR/agent.33 20:55:49 SSH_AGENT_PID=39 20:55:49 Running ssh-add (command line suppressed) 20:55:49 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2673080925464600148.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2673080925464600148.key) 20:55:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:55:49 + git semver tag 20:55:50 2023-11-28 20:55:50,118 [run_tag] DEBUG tag force:False 20:55:50 2023-11-28 20:55:50,118 [check_head_tag] DEBUG check head tag 20:55:50 2023-11-28 20:55:50,119 [execute] INFO git cat-file --batch-check 20:55:50 2023-11-28 20:55:50,119 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 20:55:50 2023-11-28 20:55:50,123 [execute] INFO git cat-file --batch 20:55:50 2023-11-28 20:55:50,123 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 20:55:50 2023-11-28 20:55:50,138 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 20:55:50 2023-11-28 20:55:50,138 [execute] INFO git tag -a v3.2.0-dev.1 -m v3.2.0-dev.1 20:55:50 2023-11-28 20:55:50,138 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.1', '-m', 'v3.2.0-dev.1'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 20:55:50 2023-11-28 20:55:50,142 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 20:55:50 3.2.0-dev.1 [Pipeline] } 20:55:50 $ docker exec --env ******** --env ******** 7381d4bd4c477bf649501c76465338e3672ca736ae3f5cbc2cff88d3b45c089e ssh-agent -k 20:55:50 unset SSH_AUTH_SOCK; 20:55:50 unset SSH_AGENT_PID; 20:55:50 echo Agent pid 39 killed; 20:55:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:55:50 + git semver [Pipeline] } 20:55:51 $ docker stop --time=1 7381d4bd4c477bf649501c76465338e3672ca736ae3f5cbc2cff88d3b45c089e 20:55:52 $ docker rm -f --volumes 7381d4bd4c477bf649501c76465338e3672ca736ae3f5cbc2cff88d3b45c089e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:55:53 20:55:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:55:53 0.23.1-centos7: Pulling from edgex-lftools 20:55:53 ab5ef0e58194: Pulling fs layer 20:55:53 9712f1f96733: Pulling fs layer 20:55:53 63f879dbbcfc: Pulling fs layer 20:55:53 0d9ebad4ef96: Pulling fs layer 20:55:53 e9a5061849ea: Pulling fs layer 20:55:53 d747dcd14b5f: Pulling fs layer 20:55:53 2de7ff778b66: Pulling fs layer 20:55:53 0d9ebad4ef96: Waiting 20:55:53 e9a5061849ea: Waiting 20:55:53 d747dcd14b5f: Waiting 20:55:53 2de7ff778b66: Waiting 20:55:53 9712f1f96733: Verifying Checksum 20:55:53 9712f1f96733: Download complete 20:55:53 63f879dbbcfc: Verifying Checksum 20:55:53 63f879dbbcfc: Download complete 20:55:53 e9a5061849ea: Verifying Checksum 20:55:53 e9a5061849ea: Download complete 20:55:53 d747dcd14b5f: Verifying Checksum 20:55:53 d747dcd14b5f: Download complete 20:55:53 0d9ebad4ef96: Verifying Checksum 20:55:53 ab5ef0e58194: Download complete 20:55:53 2de7ff778b66: Verifying Checksum 20:55:53 2de7ff778b66: Download complete 20:55:57 ab5ef0e58194: Pull complete 20:55:57 9712f1f96733: Pull complete 20:55:58 63f879dbbcfc: Pull complete 20:56:02 0d9ebad4ef96: Pull complete 20:56:02 e9a5061849ea: Pull complete 20:56:02 d747dcd14b5f: Pull complete 20:56:03 2de7ff778b66: Pull complete 20:56:03 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:56:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:56:03 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:56:04 prd-ubuntu20.04-docker-8c-8g-5113 does not seem to be running inside a container 20:56:04 $ 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 20:56:11 $ docker top ef42714a8163af58ffc5bebfac814aa634a817f1052ca196182d33afe6973dba -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:56:11 provisioning config files... 20:56:11 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9246036364666442692tmp 20:56:11 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10064288668090546561tmp 20:56:11 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13920666281241820358tmp [Pipeline] { [Pipeline] echo 20:56:11 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:56:11 ---> sigul-configuration.sh 20:56:11 gpg: directory `/root/.gnupg' created 20:56:11 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:56:11 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:56:11 gpg: keyring `/root/.gnupg/secring.gpg' created 20:56:11 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:56:11 gpg: CAST5 encrypted data 20:56:11 gpg: encrypted with 1 passphrase 20:56:11 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:56:12 + mkdir /home/jenkins 20:56:12 + mkdir /home/jenkins/sigul [Pipeline] sh 20:56:12 + 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 20:56:12 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:56:12 ---> sigul-install.sh 20:56:12 Sigul already installed; skipping installation. [Pipeline] sh 20:56:12 + git tag --list 20:56:12 0.7.1 20:56:12 v1.0.0 20:56:12 v1.1.0 20:56:12 v1.1.1 20:56:12 v1.2.2 20:56:12 v1.3.0 20:56:12 v1.3.1 20:56:12 v2.0.0 20:56:12 v2.1.0 20:56:12 v2.1.1 20:56:12 v2.2.0 20:56:12 v2.3.0 20:56:12 v3.0 20:56:12 v3.0.0 20:56:12 v3.1 20:56:12 v3.1.0 20:56:12 v3.1.0-dev.1 20:56:12 v3.1.0-dev.10 20:56:12 v3.1.0-dev.11 20:56:12 v3.1.0-dev.12 20:56:12 v3.1.0-dev.13 20:56:12 v3.1.0-dev.14 20:56:12 v3.1.0-dev.15 20:56:12 v3.1.0-dev.16 20:56:12 v3.1.0-dev.17 20:56:12 v3.1.0-dev.18 20:56:12 v3.1.0-dev.19 20:56:12 v3.1.0-dev.2 20:56:12 v3.1.0-dev.20 20:56:12 v3.1.0-dev.21 20:56:12 v3.1.0-dev.22 20:56:12 v3.1.0-dev.23 20:56:12 v3.1.0-dev.24 20:56:12 v3.1.0-dev.25 20:56:12 v3.1.0-dev.3 20:56:12 v3.1.0-dev.4 20:56:12 v3.1.0-dev.5 20:56:12 v3.1.0-dev.6 20:56:12 v3.1.0-dev.7 20:56:12 v3.1.0-dev.8 20:56:12 v3.1.0-dev.9 20:56:12 v3.2.0-dev.1 [Pipeline] sh 20:56:13 + lftools sign git-tag v3.2.0-dev.1 20:56:13 Signing Git tag with Sigul... 20:56:13 Signing v3.2.0-dev.1 [Pipeline] echo 20:56:14 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:56:14 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:56:14 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:56:14 $ docker stop --time=1 ef42714a8163af58ffc5bebfac814aa634a817f1052ca196182d33afe6973dba 20:56:16 $ docker rm -f --volumes ef42714a8163af58ffc5bebfac814aa634a817f1052ca196182d33afe6973dba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 20:56:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:56:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:56:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:56:17 prd-ubuntu20.04-docker-8c-8g-5113 does not seem to be running inside a container 20:56:17 $ 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 20:56:18 $ docker top f1a26a4de8c1f6db7cfe3880e1a0844f5f98f71d56ec5f7ceef53f53c7c5b155 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:56:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:56:18 [ssh-agent] Looking for ssh-agent implementation... 20:56:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:56:18 $ docker exec f1a26a4de8c1f6db7cfe3880e1a0844f5f98f71d56ec5f7ceef53f53c7c5b155 ssh-agent 20:56:18 SSH_AUTH_SOCK=/tmp/ssh-xAy9Ml2FN9SH/agent.32 20:56:18 SSH_AGENT_PID=38 20:56:18 Running ssh-add (command line suppressed) 20:56:18 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6185859414315603930.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6185859414315603930.key) 20:56:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:56:19 + git semver bump pre 20:56:19 2023-11-28 20:56:19,254 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 20:56:19 2023-11-28 20:56:19,255 [bump_version] DEBUG bumping version:3.2.0-dev.1 on axis:pre with prefix:dev 20:56:19 2023-11-28 20:56:19,255 [bump_version] DEBUG bumped version:3.2.0-dev.2 20:56:19 2023-11-28 20:56:19,255 [write_version] DEBUG write version:3.2.0-dev.2 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 20:56:19 2023-11-28 20:56:19,255 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 20:56:19 2023-11-28 20:56:19,255 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 20:56:19 2023-11-28 20:56:19,257 [execute] INFO git cat-file --batch-check 20:56:19 2023-11-28 20:56:19,257 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:56:19 2023-11-28 20:56:19,263 [execute] INFO git cat-file --batch 20:56:19 2023-11-28 20:56:19,263 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:56:19 2023-11-28 20:56:19,269 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 20:56:19 3.2.0-dev.2 [Pipeline] } 20:56:19 $ docker exec --env ******** --env ******** f1a26a4de8c1f6db7cfe3880e1a0844f5f98f71d56ec5f7ceef53f53c7c5b155 ssh-agent -k 20:56:19 unset SSH_AUTH_SOCK; 20:56:19 unset SSH_AGENT_PID; 20:56:19 echo Agent pid 38 killed; 20:56:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:56:19 + git semver [Pipeline] } 20:56:20 $ docker stop --time=1 f1a26a4de8c1f6db7cfe3880e1a0844f5f98f71d56ec5f7ceef53f53c7c5b155 20:56:21 $ docker rm -f --volumes f1a26a4de8c1f6db7cfe3880e1a0844f5f98f71d56ec5f7ceef53f53c7c5b155 [Pipeline] // withDockerContainer [Pipeline] sh 20:56:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:56:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:56:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:56:22 prd-ubuntu20.04-docker-8c-8g-5113 does not seem to be running inside a container 20:56:22 $ 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 20:56:22 $ docker top aa049f111d5b856181d82d9286c059efcf501c31fb72b5f9513a23c97319c295 -eo pid,comm 20:56:23 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). 20:56:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:56:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:56:23 [ssh-agent] Looking for ssh-agent implementation... 20:56:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:56:23 $ docker exec aa049f111d5b856181d82d9286c059efcf501c31fb72b5f9513a23c97319c295 ssh-agent 20:56:23 SSH_AUTH_SOCK=/tmp/ssh-Ilkn1aVEjyqC/agent.32 20:56:23 SSH_AGENT_PID=38 20:56:23 Running ssh-add (command line suppressed) 20:56:23 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8100261894590925550.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8100261894590925550.key) 20:56:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:56:23 + git semver push 20:56:24 2023-11-28 20:56:24,135 [run_push] DEBUG push 20:56:24 2023-11-28 20:56:24,136 [execute] INFO git cat-file --batch-check 20:56:24 2023-11-28 20:56:24,136 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:56:24 2023-11-28 20:56:24,140 [execute] INFO git rev-list 1f0908f47c5ee59c00bbbc811ab1585e930b8008 -- 20:56:24 2023-11-28 20:56:24,141 [execute] DEBUG Popen(['git', 'rev-list', '1f0908f47c5ee59c00bbbc811ab1585e930b8008', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 20:56:24 2023-11-28 20:56:24,151 [execute] INFO git fetch -v origin 20:56:24 2023-11-28 20:56:24,151 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 20:56:24 2023-11-28 20:56:24,696 [run_push] DEBUG no remote changes detected 20:56:24 2023-11-28 20:56:24,696 [execute] INFO git push origin semver 20:56:24 2023-11-28 20:56:24,696 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 20:56:25 2023-11-28 20:56:25,507 [run_push] DEBUG push all version tags 20:56:25 2023-11-28 20:56:25,507 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 20:56:25 2023-11-28 20:56:25,508 [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) 20:56:26 2023-11-28 20:56:26,300 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 20:56:26 3.2.0-dev.2 [Pipeline] } 20:56:26 $ docker exec --env ******** --env ******** aa049f111d5b856181d82d9286c059efcf501c31fb72b5f9513a23c97319c295 ssh-agent -k 20:56:26 unset SSH_AUTH_SOCK; 20:56:26 unset SSH_AGENT_PID; 20:56:26 echo Agent pid 38 killed; 20:56:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:56:27 + git semver [Pipeline] } 20:56:27 $ docker stop --time=1 aa049f111d5b856181d82d9286c059efcf501c31fb72b5f9513a23c97319c295 20:56:28 $ docker rm -f --volumes aa049f111d5b856181d82d9286c059efcf501c31fb72b5f9513a23c97319c295 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:56:30 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 20:56:30 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 20:56:30 total 16 20:56:30 drwxr-xr-x 3 root root 4096 Nov 28 20:32 . 20:56:30 drwxrwxr-x 10 jenkins jenkins 4096 Nov 28 20:56 .. 20:56:30 drwxr-xr-x 2 root root 4096 Nov 28 20:32 cost 20:56:30 -rw-r--r-- 1 root root 88 Nov 28 20:32 cost.csv 20:56:30 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 20:56:30 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 20:56:30 total 16 20:56:30 drwxr-xr-x 3 jenkins jenkins 4096 Nov 28 20:32 . 20:56:30 drwxrwxr-x 10 jenkins jenkins 4096 Nov 28 20:56 .. 20:56:30 drwxr-xr-x 2 jenkins jenkins 4096 Nov 28 20:32 cost 20:56:30 -rw-r--r-- 1 jenkins jenkins 88 Nov 28 20:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:56:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:56:31 ---> package-listing.sh 20:56:31 ++ facter osfamily 20:56:31 ++ tr '[:upper:]' '[:lower:]' 20:56:31 + OS_FAMILY=debian 20:56:31 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 20:56:31 + START_PACKAGES=/tmp/packages_start.txt 20:56:31 + END_PACKAGES=/tmp/packages_end.txt 20:56:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:56:31 + PACKAGES=/tmp/packages_start.txt 20:56:31 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 20:56:31 + PACKAGES=/tmp/packages_end.txt 20:56:31 + case "${OS_FAMILY}" in 20:56:31 + dpkg -l 20:56:31 + grep '^ii' 20:56:31 + '[' -f /tmp/packages_start.txt ']' 20:56:31 + '[' -f /tmp/packages_end.txt ']' 20:56:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:56:31 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 20:56:31 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 20:56:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 20:56:31 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 20:56:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:56:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:56:32 prd-ubuntu20.04-docker-8c-8g-5113 does not seem to be running inside a container 20:56:32 $ 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 20:56:33 $ docker top 88a35a0c3771d8543ad89678dd31d76f4c4f2082dd069c38a5b3279b91d15477 -eo pid,comm [Pipeline] { [Pipeline] sh 20:56:33 + touch /tmp/pre-build-complete [Pipeline] sh 20:56:33 + mkdir -p /var/log/sysstat [Pipeline] sh 20:56:34 + ls /var/log/sa-host 20:56:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:56:34 provisioning config files... 20:56:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7699131737351101949tmp [Pipeline] { [Pipeline] echo 20:56:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:56:34 ---> create-netrc.sh [Pipeline] } 20:56:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:56:35 ---> python-tools-install.sh [Pipeline] echo 20:56:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:56:35 ---> sudo-logs.sh 20:56:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:56:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:56:35 ---> job-cost.sh 20:56:35 lf-activate-venv: SKIPPING 20:56:35 DEBUG: total: 0.2199999988079071 20:56:35 INFO: Retrieving Stack Cost... 20:56:36 INFO: Retrieving Pricing Info for: v3-standard-8 20:56:36 INFO: Archiving Costs [Pipeline] echo 20:56:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:56:36 ---> logs-deploy.sh 20:56:36 lf-activate-venv: SKIPPING 20:56:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/140 20:56:36 INFO: archiving workspace using pattern(s): 20:56:37 Archives upload complete. 20:56:37 INFO: archiving logs to Nexus