Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 56822b146883d567dc10738adb0b8ce5338db960 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-ssh5267283135279054906.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-ssh9936994922633458715.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-ssh8932683923051497524.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-ssh10307047072268961370.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-ssh14329746525221480995.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-3504 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 56822b146883d567dc10738adb0b8ce5338db960 (main) Commit message: "Merge pull request #549 from rcrtss/handle-unsupported-primary-table" > 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 56822b146883d567dc10738adb0b8ce5338db960 # timeout=10 > git rev-list --no-walk 78c106f1b1d485d6b9e2c5cc4debe4f465169507 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:59:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:59:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:59:50 ========================================================= 10:59:50 EdgeX Global Pipelines Version Info 10:59:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:59:51 ------------------- 10:59:51 stable info: 10:59:51 ------------------- 10:59:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:59:51 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 10:59:51 Message: update stable to v1.0.258 10:59:52 ------------------- 10:59:52 experimental info: 10:59:52 ------------------- 10:59:52 Commited By: **** collab-it+edgex@linuxfoundation.org 10:59:52 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 10:59:52 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:59:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 10:59:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 10:59:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:59:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:59:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:59:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 10:59:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:59:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:59:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:59:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:59:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:59:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 10:59:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:59:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:59:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:59:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:59:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:59:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:59:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:59:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:59:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:59:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:59:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:59:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:59:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:59:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:59:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:59:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 10:59:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 10:59:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 10:59:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 56822b146883d567dc10738adb0b8ce5338db960 [Pipeline] echo 10:59:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 56822b1 [Pipeline] echo 10:59:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:59:53 provisioning config files... 10:59:53 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config343454654039482142tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:59:53 ---> ****-login.sh 10:59:53 nexus3.edgexfoundry.org:10001 10:59:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:59:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:59:53 Configure a credential helper to remove this warning. See 10:59:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:59:53 10:59:53 Login Succeeded 10:59:53 nexus3.edgexfoundry.org:10002 10:59:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:59:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:59:53 Configure a credential helper to remove this warning. See 10:59:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:59:53 10:59:53 Login Succeeded 10:59:53 nexus3.edgexfoundry.org:10003 10:59:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:59:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:59:54 Configure a credential helper to remove this warning. See 10:59:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:59:54 10:59:54 Login Succeeded 10:59:54 nexus3.edgexfoundry.org:10004 10:59:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:59:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:59:54 Configure a credential helper to remove this warning. See 10:59:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:59:54 10:59:54 Login Succeeded 10:59:54 ****.io 10:59:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:59:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:59:54 Configure a credential helper to remove this warning. See 10:59:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:59:54 10:59:54 Login Succeeded 10:59:54 ---> ****-login.sh ends [Pipeline] } 10:59:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:59:54 + git rev-list -1 --merges 56822b146883d567dc10738adb0b8ce5338db960~1..56822b146883d567dc10738adb0b8ce5338db960 [Pipeline] echo 10:59:54 -----------> git rev-list -1 --merges 56822b146883d567dc10738adb0b8ce5338db960~1..56822b146883d567dc10738adb0b8ce5338db960 56822b146883d567dc10738adb0b8ce5338db960 10:59:54 56822b146883d567dc10738adb0b8ce5338db960 [false] [Pipeline] sh 10:59:55 + git log --format=format:%s -1 56822b146883d567dc10738adb0b8ce5338db960 [Pipeline] echo 10:59:55 ========================================================= 10:59:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:59:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:59:55 + git log --format=format:%s -1 56822b146883d567dc10738adb0b8ce5338db960 [Pipeline] echo 10:59:55 [semverPrep] GIT_COMMIT: 56822b146883d567dc10738adb0b8ce5338db960, Commit Message: Merge pull request #549 from rcrtss/handle-unsupported-primary-table [Pipeline] echo 10:59:55 [semverPrep] This is not a build commit. [Pipeline] sh 10:59:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:59:56 + grep -v github /etc/ssh/ssh_known_hosts 10:59:56 + [ -e /tmp/ssh_known_hosts ] 10:59:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:59:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:59:56 + sudo tee -a /etc/ssh/ssh_known_hosts 10:59:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:59:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:59:56 10:59:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:59:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:59:56 0.1.4: Pulling from edgex-devops/py-git-semver 10:59:56 b85a868b505f: Pulling fs layer 10:59:56 e2be974225ed: Pulling fs layer 10:59:56 339a4e72a1f5: Pulling fs layer 10:59:56 988bab9f4d93: Pulling fs layer 10:59:56 1469e6f7b9e6: Pulling fs layer 10:59:56 eaf3925da568: Pulling fs layer 10:59:56 bab4dde63d76: Pulling fs layer 10:59:56 bde34c3a00c8: Pulling fs layer 10:59:56 b352a97aabf1: Pulling fs layer 10:59:56 4872d77fe225: Pulling fs layer 10:59:56 5851b861e8e6: Pulling fs layer 10:59:56 1469e6f7b9e6: Waiting 10:59:56 b352a97aabf1: Waiting 10:59:56 4872d77fe225: Waiting 10:59:56 5851b861e8e6: Waiting 10:59:56 eaf3925da568: Waiting 10:59:56 bab4dde63d76: Waiting 10:59:56 988bab9f4d93: Waiting 10:59:56 e2be974225ed: Verifying Checksum 10:59:56 e2be974225ed: Download complete 10:59:56 988bab9f4d93: Verifying Checksum 10:59:56 988bab9f4d93: Download complete 10:59:56 1469e6f7b9e6: Verifying Checksum 10:59:56 1469e6f7b9e6: Download complete 10:59:56 eaf3925da568: Verifying Checksum 10:59:56 eaf3925da568: Download complete 10:59:56 339a4e72a1f5: Verifying Checksum 10:59:56 339a4e72a1f5: Download complete 10:59:56 bde34c3a00c8: Verifying Checksum 10:59:56 bde34c3a00c8: Download complete 10:59:56 b352a97aabf1: Download complete 10:59:56 4872d77fe225: Verifying Checksum 10:59:56 4872d77fe225: Download complete 10:59:56 5851b861e8e6: Verifying Checksum 10:59:56 5851b861e8e6: Download complete 10:59:57 b85a868b505f: Verifying Checksum 10:59:57 b85a868b505f: Download complete 10:59:57 bab4dde63d76: Verifying Checksum 10:59:58 b85a868b505f: Pull complete 10:59:58 e2be974225ed: Pull complete 10:59:59 339a4e72a1f5: Pull complete 10:59:59 988bab9f4d93: Pull complete 10:59:59 1469e6f7b9e6: Pull complete 10:59:59 eaf3925da568: Pull complete 11:00:01 bab4dde63d76: Pull complete 11:00:01 bde34c3a00c8: Pull complete 11:00:01 b352a97aabf1: Pull complete 11:00:01 4872d77fe225: Pull complete 11:00:01 5851b861e8e6: Pull complete 11:00:01 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:00:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:00:01 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:00:01 prd-ubuntu20.04-docker-8c-8g-3504 does not seem to be running inside a container 11:00:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:00:06 $ docker top 542e49489b2cd9bc358e46a081b5d99d35a7b49b2e8e1d80e84b0f58546aeb5d -eo pid,comm 11:00:06 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). 11:00:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:00:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:00:06 [ssh-agent] Looking for ssh-agent implementation... 11:00:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:00:06 $ docker exec 542e49489b2cd9bc358e46a081b5d99d35a7b49b2e8e1d80e84b0f58546aeb5d ssh-agent 11:00:06 SSH_AUTH_SOCK=/tmp/ssh-610FFw30bvOo/agent.31 11:00:06 SSH_AGENT_PID=37 11:00:06 Running ssh-add (command line suppressed) 11:00:06 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11883310751264986947.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11883310751264986947.key) 11:00:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:00:07 + git tag --points-at HEAD [Pipeline] } 11:00:07 $ docker exec --env ******** --env ******** 542e49489b2cd9bc358e46a081b5d99d35a7b49b2e8e1d80e84b0f58546aeb5d ssh-agent -k 11:00:07 unset SSH_AUTH_SOCK; 11:00:07 unset SSH_AGENT_PID; 11:00:07 echo Agent pid 37 killed; 11:00:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:00:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:00:07 [ssh-agent] Looking for ssh-agent implementation... 11:00:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:00:07 $ docker exec 542e49489b2cd9bc358e46a081b5d99d35a7b49b2e8e1d80e84b0f58546aeb5d ssh-agent 11:00:07 SSH_AUTH_SOCK=/tmp/ssh-KPbrb8AHpjuh/agent.70 11:00:07 SSH_AGENT_PID=76 11:00:07 Running ssh-add (command line suppressed) 11:00:07 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8965463931654662622.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8965463931654662622.key) 11:00:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:00:08 + git semver init 11:00:08 2024-04-24 11:00:08,316 [run_init] DEBUG init version:0.0.0 force:False 11:00:08 2024-04-24 11:00:08,317 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 11:00:08 2024-04-24 11:00:08,317 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 11:00:08 2024-04-24 11:00:08,318 [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) 11:00:09 2024-04-24 11:00:09,714 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 11:00:09 2024-04-24 11:00:09,716 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 11:00:09 2024-04-24 11:00:09,716 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 11:00:09 2024-04-24 11:00:09,716 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 11:00:09 3.2.0-dev.11 [Pipeline] } 11:00:09 $ docker exec --env ******** --env ******** 542e49489b2cd9bc358e46a081b5d99d35a7b49b2e8e1d80e84b0f58546aeb5d ssh-agent -k 11:00:09 unset SSH_AUTH_SOCK; 11:00:09 unset SSH_AGENT_PID; 11:00:09 echo Agent pid 76 killed; 11:00:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:00:10 + git semver [Pipeline] } 11:00:10 $ docker stop --time=1 542e49489b2cd9bc358e46a081b5d99d35a7b49b2e8e1d80e84b0f58546aeb5d 11:00:11 $ docker rm -f --volumes 542e49489b2cd9bc358e46a081b5d99d35a7b49b2e8e1d80e84b0f58546aeb5d [Pipeline] // withDockerContainer [Pipeline] sh 11:00:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:00:12 Stashed 1 file(s) [Pipeline] echo 11:00:12 [edgeXSemver]: initialized semver on version 3.2.0-dev.11 [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 11:00:12 provisioning config files... 11:00:12 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config106608553208610434tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:00:13 ---> ****-login.sh 11:00:13 nexus3.edgexfoundry.org:10001 11:00:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:00:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:00:13 Configure a credential helper to remove this warning. See 11:00:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:00:13 11:00:13 Login Succeeded 11:00:13 nexus3.edgexfoundry.org:10002 11:00:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:00:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:00:13 Configure a credential helper to remove this warning. See 11:00:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:00:13 11:00:13 Login Succeeded 11:00:13 nexus3.edgexfoundry.org:10003 11:00:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:00:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:00:13 Configure a credential helper to remove this warning. See 11:00:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:00:13 11:00:13 Login Succeeded 11:00:13 nexus3.edgexfoundry.org:10004 11:00:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:00:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:00:13 Configure a credential helper to remove this warning. See 11:00:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:00:13 11:00:13 Login Succeeded 11:00:13 ****.io 11:00:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:00:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:00:15 Configure a credential helper to remove this warning. See 11:00:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:00:15 11:00:15 Login Succeeded 11:00:15 ---> ****-login.sh ends [Pipeline] } 11:00:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:00:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:00:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:00:15 ========================================================= 11:00:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 11:00:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:00:15 + 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 . 11:00:15 Sending build context to Docker daemon 17.35MB 11:00:15 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 11:00:15 Step 2/10 : FROM ${BASE} AS builder 11:00:15 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 11:00:15 619be1103602: Pulling fs layer 11:00:15 7862e08f4a3e: Pulling fs layer 11:00:15 5df492c9dc93: Pulling fs layer 11:00:15 7629e6793208: Pulling fs layer 11:00:15 4f4fb700ef54: Pulling fs layer 11:00:15 fb5054dd5b73: Pulling fs layer 11:00:15 eeca6798cff9: Pulling fs layer 11:00:15 aa269ceb94a6: Pulling fs layer 11:00:15 ada007ff1a6a: Pulling fs layer 11:00:15 7629e6793208: Waiting 11:00:15 4f4fb700ef54: Waiting 11:00:15 fb5054dd5b73: Waiting 11:00:15 eeca6798cff9: Waiting 11:00:15 aa269ceb94a6: Waiting 11:00:15 ada007ff1a6a: Waiting 11:00:15 7862e08f4a3e: Download complete 11:00:15 7629e6793208: Download complete 11:00:15 4f4fb700ef54: Verifying Checksum 11:00:15 4f4fb700ef54: Download complete 11:00:15 619be1103602: Download complete 11:00:15 fb5054dd5b73: Download complete 11:00:15 eeca6798cff9: Verifying Checksum 11:00:15 eeca6798cff9: Download complete 11:00:16 619be1103602: Pull complete 11:00:16 ada007ff1a6a: Verifying Checksum 11:00:16 ada007ff1a6a: Download complete 11:00:16 7862e08f4a3e: Pull complete 11:00:16 5df492c9dc93: Verifying Checksum 11:00:16 5df492c9dc93: Download complete 11:00:16 aa269ceb94a6: Verifying Checksum 11:00:16 aa269ceb94a6: Download complete 11:00:20 5df492c9dc93: Pull complete 11:00:20 7629e6793208: Pull complete 11:00:20 4f4fb700ef54: Pull complete 11:00:20 fb5054dd5b73: Pull complete 11:00:20 eeca6798cff9: Pull complete 11:00:22 aa269ceb94a6: Pull complete 11:00:23 ada007ff1a6a: Pull complete 11:00:23 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 11:00:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 11:00:23 ---> f489d0715acc 11:00:23 Step 3/10 : ARG ADD_BUILD_TAGS="" 11:00:27 Still waiting to schedule task 11:00:27 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:00:28 ---> Running in 9125453184ff 11:00:28 Removing intermediate container 9125453184ff 11:00:28 ---> 7eec47f2e8c5 11:00:28 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:00:28 ---> Running in eea496a3001f 11:00:28 Removing intermediate container eea496a3001f 11:00:28 ---> a918b7b9e8a1 11:00:28 Step 5/10 : RUN apk add --update --no-cache make git openssh 11:00:28 ---> Running in 3bca989546a5 11:00:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:00:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:00:29 (1/8) Installing openssh-keygen (9.3_p2-r1) 11:00:29 (2/8) Installing libedit (20221030.3.1-r1) 11:00:29 (3/8) Installing openssh-client-common (9.3_p2-r1) 11:00:29 (4/8) Installing openssh-client-default (9.3_p2-r1) 11:00:29 (5/8) Installing openssh-sftp-server (9.3_p2-r1) 11:00:29 (6/8) Installing openssh-server-common (9.3_p2-r1) 11:00:29 (7/8) Installing openssh-server (9.3_p2-r1) 11:00:29 (8/8) Installing openssh (9.3_p2-r1) 11:00:29 Executing busybox-1.36.1-r5.trigger 11:00:29 OK: 270 MiB in 60 packages 11:00:30 Removing intermediate container 3bca989546a5 11:00:30 ---> 9eb0450ae1d5 11:00:30 Step 6/10 : WORKDIR /device-modbus-go 11:00:30 ---> Running in a31010d1a91b 11:00:30 Removing intermediate container a31010d1a91b 11:00:30 ---> 9e921e7480e1 11:00:30 Step 7/10 : COPY go.mod vendor* ./ 11:00:30 ---> 2b85b8458dd4 11:00:30 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:00:30 ---> Running in 6bf9c05a40b0 11:01:03 Removing intermediate container 6bf9c05a40b0 11:01:03 ---> 94997f54d72a 11:01:03 Step 9/10 : COPY . . 11:01:03 ---> b41c2d43566f 11:01:03 Step 10/10 : RUN ${MAKE} 11:01:03 ---> Running in 0e5f723ae404 11:01:03 noop 11:01:03 Removing intermediate container 0e5f723ae404 11:01:03 ---> 447cbef9649c 11:01:03 Successfully built 447cbef9649c 11:01:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:01:03 + docker inspect -f . ci-base-image-x86_64 11:01:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:01:03 prd-ubuntu20.04-docker-8c-8g-3504 does not seem to be running inside a container 11:01:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:01:03 $ docker top 5177c87cddeb4cea96db092dadcec403915e850c875c0ee26496ecf7c5e780ce -eo pid,comm [Pipeline] { [Pipeline] sh 11:01:04 + go version 11:01:04 go version go1.21.9 linux/amd64 [Pipeline] } 11:01:04 $ docker stop --time=1 5177c87cddeb4cea96db092dadcec403915e850c875c0ee26496ecf7c5e780ce 11:01:05 $ docker rm -f --volumes 5177c87cddeb4cea96db092dadcec403915e850c875c0ee26496ecf7c5e780ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:01:06 + docker inspect -f . ci-base-image-x86_64 11:01:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:01:06 prd-ubuntu20.04-docker-8c-8g-3504 does not seem to be running inside a container 11:01:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:01:06 $ docker top 4db92deeff184c903ba64041f35a600b6f5e9bb21d21ca60ad5b21b681043970 -eo pid,comm [Pipeline] { [Pipeline] sh 11:01:06 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 11:01:07 + make test 11:01:07 go test ./... -coverprofile=coverage.out 11:01:08 ? github.com/edgexfoundry/device-modbus-go [no test files] 11:01:20 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 11:01:20 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 47.9% of statements 11:01:25 go vet ./... 11:01:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:01:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:01:29 ./bin/test-attribution-txt.sh 11:01:29 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 11:01:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 11:01:29 $ docker stop --time=1 4db92deeff184c903ba64041f35a600b6f5e9bb21d21ca60ad5b21b681043970 11:01:32 $ docker rm -f --volumes 4db92deeff184c903ba64041f35a600b6f5e9bb21d21ca60ad5b21b681043970 [Pipeline] // withDockerContainer [Pipeline] sh 11:01:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:01:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:01:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:01:34 + ls -al . 11:01:34 total 196 11:01:34 drwxrwxr-x 9 jenkins jenkins 4096 Apr 24 11:01 . 11:01:34 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 10:59 .. 11:01:34 -rw-rw-r-- 1 jenkins jenkins 140 Apr 24 10:59 .dockerignore 11:01:34 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 11:01 .git 11:01:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 10:59 .github 11:01:34 -rw-rw-r-- 1 jenkins jenkins 266 Apr 24 10:59 .gitignore 11:01:34 -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 10:59 .golangci.yml 11:01:34 drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 11:00 .semver 11:01:34 -rw-rw-r-- 1 jenkins jenkins 11101 Apr 24 10:59 Attribution.txt 11:01:34 -rw-rw-r-- 1 jenkins jenkins 16388 Apr 24 10:59 CHANGELOG.md 11:01:34 -rw-rw-r-- 1 jenkins jenkins 1474 Apr 24 10:59 Dockerfile 11:01:34 -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 10:59 GOVERNANCE.md 11:01:34 -rw-rw-r-- 1 jenkins jenkins 658 Apr 24 10:59 Jenkinsfile 11:01:34 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 10:59 LICENSE 11:01:34 -rw-rw-r-- 1 jenkins jenkins 1942 Apr 24 10:59 Makefile 11:01:34 -rw-rw-r-- 1 jenkins jenkins 622 Apr 24 10:59 OWNERS.md 11:01:34 -rw-rw-r-- 1 jenkins jenkins 4463 Apr 24 10:59 README.md 11:01:34 -rw-rw-r-- 1 jenkins jenkins 12 Apr 24 11:00 VERSION 11:01:34 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 10:59 bin 11:01:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 10:59 cmd 11:01:34 -rw-r--r-- 1 jenkins jenkins 24601 Apr 24 11:01 coverage.out 11:01:34 -rw-rw-r-- 1 jenkins jenkins 3987 Apr 24 10:59 go.mod 11:01:34 -rw-rw-r-- 1 jenkins jenkins 36558 Apr 24 10:59 go.sum 11:01:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 10:59 internal 11:01:34 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 10:59 simulator 11:01:34 -rw-rw-r-- 1 jenkins jenkins 229 Apr 24 10:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:01:34 + 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=56822b146883d567dc10738adb0b8ce5338db960 --label arch=amd64 --label version=3.2.0-dev.11 . 11:01:34 Sending build context to Docker daemon 17.38MB 11:01:34 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 11:01:34 Step 2/23 : FROM ${BASE} AS builder 11:01:34 ---> 447cbef9649c 11:01:34 Step 3/23 : ARG ADD_BUILD_TAGS="" 11:01:34 ---> Running in 2249af7b57f4 11:01:34 Removing intermediate container 2249af7b57f4 11:01:34 ---> 5744cb2b9e00 11:01:34 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:01:34 ---> Running in e685c4a07d7e 11:01:34 Removing intermediate container e685c4a07d7e 11:01:34 ---> b43b2b8ebbd9 11:01:34 Step 5/23 : RUN apk add --update --no-cache make git openssh 11:01:34 ---> Running in 8134137974c1 11:01:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:01:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:01:35 OK: 270 MiB in 60 packages 11:01:35 Removing intermediate container 8134137974c1 11:01:35 ---> 32778ff34b7d 11:01:35 Step 6/23 : WORKDIR /device-modbus-go 11:01:35 ---> Running in a6c04b0e6571 11:01:35 Removing intermediate container a6c04b0e6571 11:01:35 ---> 93f728608164 11:01:35 Step 7/23 : COPY go.mod vendor* ./ 11:01:36 ---> 90ebe73927db 11:01:36 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:01:36 ---> Running in 0228b32b7746 11:01:36 Removing intermediate container 0228b32b7746 11:01:36 ---> 868286bd8514 11:01:36 Step 9/23 : COPY . . 11:01:37 ---> e1432ca49270 11:01:37 Step 10/23 : RUN ${MAKE} 11:01:37 ---> Running in 0df04e0c7f5e 11:01:37 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.11 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.11" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 11:01:59 Removing intermediate container 0df04e0c7f5e 11:01:59 ---> 9ca9afd3846f 11:01:59 Step 11/23 : FROM alpine:3.18 11:01:59 3.18: Pulling from library/alpine 11:01:59 619be1103602: Already exists 11:01:59 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 11:01:59 Status: Downloaded newer image for alpine:3.18 11:01:59 ---> d3782b16ccc9 11:01:59 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 11:01:59 ---> Running in e7be1592ae5e 11:01:59 Removing intermediate container e7be1592ae5e 11:01:59 ---> b12afe3e68c5 11:01:59 Step 13/23 : RUN apk add --update --no-cache dumb-init 11:01:59 ---> Running in 88e4df414e67 11:01:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:01:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:01:59 (1/1) Installing dumb-init (1.2.5-r2) 11:01:59 Executing busybox-1.36.1-r5.trigger 11:01:59 OK: 7 MiB in 16 packages 11:01:59 Removing intermediate container 88e4df414e67 11:01:59 ---> ecf296037398 11:01:59 Step 14/23 : RUN apk --no-cache upgrade 11:01:59 ---> Running in 51dd2599e5f6 11:01:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:01:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:01:59 Upgrading critical system libraries and apk-tools: 11:01:59 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 11:01:59 Executing busybox-1.36.1-r5.trigger 11:01:59 Continuing the upgrade transaction with new apk-tools: 11:01:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:01:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:01:59 (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 11:01:59 (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) 11:01:59 (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) 11:01:59 OK: 7 MiB in 16 packages 11:02:00 Removing intermediate container 51dd2599e5f6 11:02:00 ---> abb650d8a22d 11:02:00 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 11:02:01 ---> 446d429d68fd 11:02:01 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 11:02:01 ---> 73b9d3e481ca 11:02:01 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 11:02:01 ---> bb33f9e64b35 11:02:01 Step 18/23 : EXPOSE 59901 11:02:01 ---> Running in f17ecbcae3d2 11:02:01 Removing intermediate container f17ecbcae3d2 11:02:01 ---> 4c19f1b99483 11:02:01 Step 19/23 : ENTRYPOINT ["/device-modbus"] 11:02:01 ---> Running in 7a70b92c1f94 11:02:01 Removing intermediate container 7a70b92c1f94 11:02:01 ---> a12094b5e162 11:02:01 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 11:02:01 ---> Running in 56b9278d4754 11:02:01 Removing intermediate container 56b9278d4754 11:02:01 ---> e7b82ecf3bb1 11:02:01 Step 21/23 : LABEL arch=amd64 11:02:01 ---> Running in 97f74dda4d40 11:02:01 Removing intermediate container 97f74dda4d40 11:02:01 ---> e3a73af1355f 11:02:01 Step 22/23 : LABEL git_sha=56822b146883d567dc10738adb0b8ce5338db960 11:02:01 ---> Running in da7a3fadae54 11:02:01 Removing intermediate container da7a3fadae54 11:02:01 ---> 589f26855031 11:02:01 Step 23/23 : LABEL version=3.2.0-dev.11 11:02:01 ---> Running in d26ed7564f57 11:02:01 Removing intermediate container d26ed7564f57 11:02:01 ---> ae28d3bb5382 11:02:01 [Warning] One or more build-args [ARCH] were not consumed 11:02:01 Successfully built ae28d3bb5382 11:02:01 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:02:01 provisioning config files... 11:02:01 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7228454239417765722tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:02:02 ---> ****-login.sh 11:02:02 nexus3.edgexfoundry.org:10001 11:02:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:02:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:02:02 Configure a credential helper to remove this warning. See 11:02:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:02:02 11:02:02 Login Succeeded 11:02:02 nexus3.edgexfoundry.org:10002 11:02:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:02:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:02:02 Configure a credential helper to remove this warning. See 11:02:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:02:02 11:02:02 Login Succeeded 11:02:02 nexus3.edgexfoundry.org:10003 11:02:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:02:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:02:02 Configure a credential helper to remove this warning. See 11:02:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:02:02 11:02:02 Login Succeeded 11:02:02 nexus3.edgexfoundry.org:10004 11:02:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:02:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:02:02 Configure a credential helper to remove this warning. See 11:02:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:02:02 11:02:02 Login Succeeded 11:02:02 ****.io 11:02:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:02:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:02:02 Configure a credential helper to remove this warning. See 11:02:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:02:02 11:02:02 Login Succeeded 11:02:02 ---> ****-login.sh ends [Pipeline] } 11:02:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:02:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:02:02 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 11:02:02 56822b146883d567dc10738adb0b8ce5338db960 11:02:02 latest 11:02:02 3.2.0-dev.11 11:02:02 56822b146883d567dc10738adb0b8ce5338db960-3.2.0-dev.11 11:02:02 main 11:02:02 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:02:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3505 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 11:02:02 Running in /w/workspace/device-modbus-go/150 [Pipeline] { [Pipeline] checkout 11:02:02 Selected Git installation does not exist. Using Default 11:02:02 The recommended git tool is: NONE 11:02:02 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:56822b146883d567dc10738adb0b8ce5338db960 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:02:03 + docker push nexus3.edgexfoundry.org:10004/device-modbus:56822b146883d567dc10738adb0b8ce5338db960 11:02:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 11:02:03 8f6f4026ec80: Preparing 11:02:03 fde0ec5593b0: Preparing 11:02:03 9690ead28f57: Preparing 11:02:03 017e3b045d23: Preparing 11:02:03 e0013bf9a324: Preparing 11:02:03 aedc3bda2944: Preparing 11:02:03 aedc3bda2944: Waiting 11:02:03 e0013bf9a324: Pushed 11:02:03 fde0ec5593b0: Pushed 11:02:03 8f6f4026ec80: Pushed 11:02:03 aedc3bda2944: Layer already exists 11:02:03 017e3b045d23: Pushed 11:02:05 9690ead28f57: Pushed 11:02:05 56822b146883d567dc10738adb0b8ce5338db960: digest: sha256:e7e42e9dae203c718eba55a85dc76560f26e6668c0cf38d973b8f381d2d1c5b9 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:02:05 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:02:06 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 11:02:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 11:02:06 8f6f4026ec80: Preparing 11:02:06 fde0ec5593b0: Preparing 11:02:06 9690ead28f57: Preparing 11:02:06 017e3b045d23: Preparing 11:02:06 e0013bf9a324: Preparing 11:02:06 aedc3bda2944: Preparing 11:02:06 aedc3bda2944: Waiting 11:02:06 e0013bf9a324: Layer already exists 11:02:06 017e3b045d23: Layer already exists 11:02:06 fde0ec5593b0: Layer already exists 11:02:06 8f6f4026ec80: Layer already exists 11:02:06 9690ead28f57: Layer already exists 11:02:06 aedc3bda2944: Layer already exists 11:02:06 latest: digest: sha256:e7e42e9dae203c718eba55a85dc76560f26e6668c0cf38d973b8f381d2d1c5b9 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:02:06 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:02:06 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.11 11:02:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 11:02:06 8f6f4026ec80: Preparing 11:02:06 fde0ec5593b0: Preparing 11:02:06 9690ead28f57: Preparing 11:02:06 017e3b045d23: Preparing 11:02:06 e0013bf9a324: Preparing 11:02:06 aedc3bda2944: Preparing 11:02:06 aedc3bda2944: Waiting 11:02:06 8f6f4026ec80: Layer already exists 11:02:06 017e3b045d23: Layer already exists 11:02:06 fde0ec5593b0: Layer already exists 11:02:06 9690ead28f57: Layer already exists 11:02:06 e0013bf9a324: Layer already exists 11:02:06 aedc3bda2944: Layer already exists 11:02:06 3.2.0-dev.11: digest: sha256:e7e42e9dae203c718eba55a85dc76560f26e6668c0cf38d973b8f381d2d1c5b9 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:02:07 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:56822b146883d567dc10738adb0b8ce5338db960-3.2.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:02:07 using credential edgex-jenkins-ssh 11:02:07 Cloning the remote Git repository 11:02:07 + docker push nexus3.edgexfoundry.org:10004/device-modbus:56822b146883d567dc10738adb0b8ce5338db960-3.2.0-dev.11 11:02:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 11:02:07 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 11:02:07 > git init /w/workspace/device-modbus-go/150 # timeout=10 11:02:07 8f6f4026ec80: Preparing 11:02:07 fde0ec5593b0: Preparing 11:02:07 9690ead28f57: Preparing 11:02:07 017e3b045d23: Preparing 11:02:07 e0013bf9a324: Preparing 11:02:07 aedc3bda2944: Preparing 11:02:07 aedc3bda2944: Waiting 11:02:07 e0013bf9a324: Layer already exists 11:02:07 9690ead28f57: Layer already exists 11:02:07 fde0ec5593b0: Layer already exists 11:02:07 8f6f4026ec80: Layer already exists 11:02:07 017e3b045d23: Layer already exists 11:02:07 aedc3bda2944: Layer already exists 11:02:07 56822b146883d567dc10738adb0b8ce5338db960-3.2.0-dev.11: digest: sha256:e7e42e9dae203c718eba55a85dc76560f26e6668c0cf38d973b8f381d2d1c5b9 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:02:08 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:02:08 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 11:02:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 11:02:08 8f6f4026ec80: Preparing 11:02:08 fde0ec5593b0: Preparing 11:02:08 9690ead28f57: Preparing 11:02:08 017e3b045d23: Preparing 11:02:08 e0013bf9a324: Preparing 11:02:08 aedc3bda2944: Preparing 11:02:08 aedc3bda2944: Waiting 11:02:08 9690ead28f57: Layer already exists 11:02:08 8f6f4026ec80: Layer already exists 11:02:08 017e3b045d23: Layer already exists 11:02:08 e0013bf9a324: Layer already exists 11:02:08 fde0ec5593b0: Layer already exists 11:02:08 aedc3bda2944: Layer already exists 11:02:08 main: digest: sha256:e7e42e9dae203c718eba55a85dc76560f26e6668c0cf38d973b8f381d2d1c5b9 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:02:08 ===================================================== [Pipeline] echo 11:02:08 taggedImages: 11:02:08 - nexus3.edgexfoundry.org:10004/device-modbus:56822b146883d567dc10738adb0b8ce5338db960 11:02:08 - nexus3.edgexfoundry.org:10004/device-modbus:latest 11:02:08 - nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.11 11:02:08 - nexus3.edgexfoundry.org:10004/device-modbus:56822b146883d567dc10738adb0b8ce5338db960-3.2.0-dev.11 11:02:08 - 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] { 11:02:07 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 11:02:07 > git --version # timeout=10 11:02:07 > git --version # 'git version 2.25.1' 11:02:07 using GIT_SSH to set credentials SSH Credentials for GitHub 11:02:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:02:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:02:09 11:02:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:02:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:02:09 latest: Pulling from edgex-lftools-log-publisher 11:02:09 5eb5b503b376: Pulling fs layer 11:02:09 5c69ac0246d0: Pulling fs layer 11:02:09 ec43610c2a17: Pulling fs layer 11:02:09 3a2ae6a8a46f: Pulling fs layer 11:02:09 33b1e0a273af: Pulling fs layer 11:02:09 5d3b04190fa2: Pulling fs layer 11:02:09 2f39f015ded8: Pulling fs layer 11:02:09 5d3b04190fa2: Waiting 11:02:09 33b1e0a273af: Waiting 11:02:09 3a2ae6a8a46f: Waiting 11:02:09 2f39f015ded8: Waiting 11:02:09 5c69ac0246d0: Verifying Checksum 11:02:09 5c69ac0246d0: Download complete 11:02:09 3a2ae6a8a46f: Verifying Checksum 11:02:09 3a2ae6a8a46f: Download complete 11:02:09 33b1e0a273af: Verifying Checksum 11:02:09 33b1e0a273af: Download complete 11:02:09 5d3b04190fa2: Verifying Checksum 11:02:09 5d3b04190fa2: Download complete 11:02:09 ec43610c2a17: Verifying Checksum 11:02:09 ec43610c2a17: Download complete 11:02:09 5eb5b503b376: Verifying Checksum 11:02:09 5eb5b503b376: Download complete 11:02:09 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 11:02:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:02:10 2f39f015ded8: Download complete 11:02:10 Avoid second fetch 11:02:10 Checking out Revision 56822b146883d567dc10738adb0b8ce5338db960 (main) 11:02:10 5eb5b503b376: Pull complete 11:02:11 5c69ac0246d0: Pull complete 11:02:11 Commit message: "Merge pull request #549 from rcrtss/handle-unsupported-primary-table" 11:02:10 > git config core.sparsecheckout # timeout=10 11:02:10 > git checkout -f 56822b146883d567dc10738adb0b8ce5338db960 # timeout=10 11:02:11 ec43610c2a17: Pull complete 11:02:11 3a2ae6a8a46f: Pull complete 11:02:11 33b1e0a273af: Pull complete 11:02:11 5d3b04190fa2: Pull complete 11:02:15 11:02:15 GitHub has been notified of this commit’s build result 11:02:15 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:02:16 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:02:16 % Total % Received % Xferd Average Speed Time Time Time Current 11:02:16 Dload Upload Total Spent Left Speed 11:02:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 92956 0 --:--:-- --:--:-- --:--:-- 92287 100 12828 100 12828 0 0 92287 0 --:--:-- --:--:-- --:--:-- 91628 11:02:16 2f39f015ded8: Pull complete 11:02:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:02:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:02:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] sh [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:02:16 prd-ubuntu20.04-docker-8c-8g-3504 does not seem to be running inside a container 11:02:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:02:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json 11:02:20 $ docker top b41f5f82bb28522f153daddd295ceb201f2f4ab5a8261546b5f73a736aa3b20d -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh 11:02:21 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:02:21 + sudo tee /etc/docker/daemon.new 11:02:21 { 11:02:21 "registry-mirrors": [ 11:02:21 "https://nexus3.edgexfoundry.org:10001" 11:02:21 ], 11:02:21 "bip": "10.250.0.254/24", 11:02:21 "hosts": [ 11:02:21 "tcp://0.0.0.0:5555", 11:02:21 "unix:///var/run/docker.sock" 11:02:21 ], 11:02:21 "mtu": 1458, 11:02:21 "selinux-enabled": true, 11:02:21 "seccomp-profile": "/etc/docker/seccomp.json" 11:02:21 } [Pipeline] sh 11:02:21 ---> job-cost.sh 11:02:21 lf-activate-venv: SKIPPING 11:02:21 INFO: No Stack... 11:02:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:02:21 INFO: Retrieving Pricing Info for: v3-standard-8 11:02:21 INFO: Archiving Costs [Pipeline] sh 11:02:21 + sudo service docker restart 11:02:22 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 11:02:22 + cut -d, -f6 [Pipeline] lock 11:02:22 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-150-stack-cost] 11:02:22 Resource [jenkins-edgexfoundry-device-modbus-go-main-150-stack-cost] did not exist. Created. 11:02:22 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-150-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:02:22 + echo total: 0.2199999988079071 [Pipeline] stash 11:02:22 Stashed 1 file(s) [Pipeline] } 11:02:22 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-150-stack-cost] [Pipeline] // lock [Pipeline] } 11:02:22 $ docker stop --time=1 b41f5f82bb28522f153daddd295ceb201f2f4ab5a8261546b5f73a736aa3b20d 11:02:23 $ docker rm -f --volumes b41f5f82bb28522f153daddd295ceb201f2f4ab5a8261546b5f73a736aa3b20d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:02:40 provisioning config files... 11:02:40 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/150@tmp/config6923982775957697945tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:02:40 ---> ****-login.sh 11:02:40 nexus3.edgexfoundry.org:10001 11:02:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:02:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:02:41 Configure a credential helper to remove this warning. See 11:02:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:02:41 11:02:41 Login Succeeded 11:02:41 nexus3.edgexfoundry.org:10002 11:02:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:02:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:02:41 Configure a credential helper to remove this warning. See 11:02:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:02:41 11:02:41 Login Succeeded 11:02:41 nexus3.edgexfoundry.org:10003 11:02:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:02:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:02:42 Configure a credential helper to remove this warning. See 11:02:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:02:42 11:02:42 Login Succeeded 11:02:42 nexus3.edgexfoundry.org:10004 11:02:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:02:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:02:42 Configure a credential helper to remove this warning. See 11:02:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:02:42 11:02:42 Login Succeeded 11:02:42 ****.io 11:02:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:02:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:02:42 Configure a credential helper to remove this warning. See 11:02:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:02:42 11:02:42 Login Succeeded 11:02:42 ---> ****-login.sh ends [Pipeline] } 11:02:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:02:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:02:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:02:43 ========================================================= 11:02:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 11:02:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:02:43 + 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 . 11:02:43 Sending build context to Docker daemon 8.809MB 11:02:44 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 11:02:44 Step 2/10 : FROM ${BASE} AS builder 11:02:44 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:02:44 c6b39de5b339: Pulling fs layer 11:02:44 a69c41024577: Pulling fs layer 11:02:44 d6de4b400683: Pulling fs layer 11:02:44 35cb2a7552d0: Pulling fs layer 11:02:44 4f4fb700ef54: Pulling fs layer 11:02:44 464afbd9ba4c: Pulling fs layer 11:02:44 00f215d4a9da: Pulling fs layer 11:02:44 d496ad576159: Pulling fs layer 11:02:44 464afbd9ba4c: Waiting 11:02:44 00f215d4a9da: Waiting 11:02:44 d496ad576159: Waiting 11:02:44 4f4fb700ef54: Waiting 11:02:44 35cb2a7552d0: Waiting 11:02:44 a69c41024577: Verifying Checksum 11:02:44 a69c41024577: Download complete 11:02:44 35cb2a7552d0: Verifying Checksum 11:02:44 35cb2a7552d0: Download complete 11:02:44 4f4fb700ef54: Verifying Checksum 11:02:44 4f4fb700ef54: Download complete 11:02:44 464afbd9ba4c: Verifying Checksum 11:02:44 464afbd9ba4c: Download complete 11:02:44 c6b39de5b339: Verifying Checksum 11:02:44 c6b39de5b339: Download complete 11:02:44 d496ad576159: Verifying Checksum 11:02:44 d496ad576159: Download complete 11:02:45 c6b39de5b339: Pull complete 11:02:45 a69c41024577: Pull complete 11:02:46 d6de4b400683: Download complete 11:02:47 00f215d4a9da: Verifying Checksum 11:02:47 00f215d4a9da: Download complete 11:02:59 d6de4b400683: Pull complete 11:02:59 35cb2a7552d0: Pull complete 11:02:59 4f4fb700ef54: Pull complete 11:02:59 464afbd9ba4c: Pull complete 11:03:08 00f215d4a9da: Pull complete 11:03:09 d496ad576159: Pull complete 11:03:09 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 11:03:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 11:03:09 ---> f246e2811388 11:03:09 Step 3/10 : ARG ADD_BUILD_TAGS="" 11:03:11 ---> Running in 7bd47d390131 11:03:11 Removing intermediate container 7bd47d390131 11:03:11 ---> 4409fb943588 11:03:11 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:03:11 ---> Running in 5456d05ed4b5 11:03:11 Removing intermediate container 5456d05ed4b5 11:03:11 ---> 9adb07d80054 11:03:11 Step 5/10 : RUN apk add --update --no-cache make git openssh 11:03:11 ---> Running in b7e9039919eb 11:03:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:03:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:03:14 (1/8) Installing openssh-keygen (9.3_p2-r1) 11:03:14 (2/8) Installing libedit (20221030.3.1-r1) 11:03:14 (3/8) Installing openssh-client-common (9.3_p2-r1) 11:03:14 (4/8) Installing openssh-client-default (9.3_p2-r1) 11:03:14 (5/8) Installing openssh-sftp-server (9.3_p2-r1) 11:03:14 (6/8) Installing openssh-server-common (9.3_p2-r1) 11:03:14 (7/8) Installing openssh-server (9.3_p2-r1) 11:03:14 (8/8) Installing openssh (9.3_p2-r1) 11:03:14 Executing busybox-1.36.1-r5.trigger 11:03:14 OK: 272 MiB in 60 packages 11:03:15 Removing intermediate container b7e9039919eb 11:03:15 ---> f0785a090119 11:03:15 Step 6/10 : WORKDIR /device-modbus-go 11:03:15 ---> Running in 148e680ac726 11:03:15 Removing intermediate container 148e680ac726 11:03:15 ---> 772755ca95f9 11:03:15 Step 7/10 : COPY go.mod vendor* ./ 11:03:16 ---> 5fb3f4abeefe 11:03:16 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:03:16 ---> Running in c816084f12b2 11:04:12 Removing intermediate container c816084f12b2 11:04:12 ---> 7142c9884bf5 11:04:12 Step 9/10 : COPY . . 11:04:13 ---> 8efb6f1911e3 11:04:13 Step 10/10 : RUN ${MAKE} 11:04:14 ---> Running in 92d196b559db 11:04:15 noop 11:04:15 Removing intermediate container 92d196b559db 11:04:15 ---> af337be219ba 11:04:15 Successfully built af337be219ba 11:04:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:04:15 + docker inspect -f . ci-base-image-arm64 11:04:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:04:16 prd-ubuntu20.04-docker-arm64-4c-16g-3505 does not seem to be running inside a container 11:04:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/150 -v /w/workspace/device-modbus-go/150:/w/workspace/device-modbus-go/150:rw,z -v /w/workspace/device-modbus-go/150@tmp:/w/workspace/device-modbus-go/150@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:04:17 $ docker top edbc6af95c09945289560faed6c3febe94f24f5311cb6de63e09a2f65375902c -eo pid,comm [Pipeline] { [Pipeline] sh 11:04:18 + go version 11:04:18 go version go1.21.9 linux/arm64 [Pipeline] } 11:04:18 $ docker stop --time=1 edbc6af95c09945289560faed6c3febe94f24f5311cb6de63e09a2f65375902c 11:04:19 $ docker rm -f --volumes edbc6af95c09945289560faed6c3febe94f24f5311cb6de63e09a2f65375902c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:04:20 + docker inspect -f . ci-base-image-arm64 11:04:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:04:20 prd-ubuntu20.04-docker-arm64-4c-16g-3505 does not seem to be running inside a container 11:04:20 $ 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/150 -v /w/workspace/device-modbus-go/150:/w/workspace/device-modbus-go/150:rw,z -v /w/workspace/device-modbus-go/150@tmp:/w/workspace/device-modbus-go/150@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:04:21 $ docker top c951861c14cbbf7eb1e647437624208047c819812e4178a398dd51b71f88f6a3 -eo pid,comm [Pipeline] { [Pipeline] sh 11:04:22 + git config --global --add safe.directory /w/workspace/device-modbus-go/150 [Pipeline] fileExists [Pipeline] sh 11:04:22 + make test 11:04:22 go test ./... -coverprofile=coverage.out 11:04:27 ? github.com/edgexfoundry/device-modbus-go [no test files] 11:06:18 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 11:06:19 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.081s coverage: 47.9% of statements 11:06:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:06:20 go vet ./... 11:06:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:06:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:06:52 ./bin/test-attribution-txt.sh 11:06:52 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 11:06:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 11:06:52 $ docker stop --time=1 c951861c14cbbf7eb1e647437624208047c819812e4178a398dd51b71f88f6a3 11:06:54 $ docker rm -f --volumes c951861c14cbbf7eb1e647437624208047c819812e4178a398dd51b71f88f6a3 [Pipeline] // withDockerContainer [Pipeline] sh 11:06:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:06:55 Warning: overwriting stash ‘coverage-report’ 11:06:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:06:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:06:56 + ls -al . 11:06:56 total 192 11:06:56 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 11:04 . 11:06:56 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 11:02 .. 11:06:56 -rw-rw-r-- 1 jenkins jenkins 140 Apr 24 11:02 .dockerignore 11:06:56 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 11:02 .git 11:06:56 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 11:02 .github 11:06:56 -rw-rw-r-- 1 jenkins jenkins 266 Apr 24 11:02 .gitignore 11:06:56 -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 11:02 .golangci.yml 11:06:56 -rw-rw-r-- 1 jenkins jenkins 11101 Apr 24 11:02 Attribution.txt 11:06:56 -rw-rw-r-- 1 jenkins jenkins 16388 Apr 24 11:02 CHANGELOG.md 11:06:56 -rw-rw-r-- 1 jenkins jenkins 1474 Apr 24 11:02 Dockerfile 11:06:56 -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 11:02 GOVERNANCE.md 11:06:56 -rw-rw-r-- 1 jenkins jenkins 658 Apr 24 11:02 Jenkinsfile 11:06:56 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 11:02 LICENSE 11:06:56 -rw-rw-r-- 1 jenkins jenkins 1942 Apr 24 11:02 Makefile 11:06:56 -rw-rw-r-- 1 jenkins jenkins 622 Apr 24 11:02 OWNERS.md 11:06:56 -rw-rw-r-- 1 jenkins jenkins 4463 Apr 24 11:02 README.md 11:06:56 -rw-rw-r-- 1 jenkins jenkins 12 Apr 24 11:00 VERSION 11:06:56 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 11:02 bin 11:06:56 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 11:02 cmd 11:06:56 -rw-r--r-- 1 jenkins jenkins 24601 Apr 24 11:06 coverage.out 11:06:56 -rw-rw-r-- 1 jenkins jenkins 3987 Apr 24 11:02 go.mod 11:06:56 -rw-rw-r-- 1 jenkins jenkins 36558 Apr 24 11:02 go.sum 11:06:56 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 11:02 internal 11:06:56 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 11:02 simulator 11:06:56 -rw-rw-r-- 1 jenkins jenkins 229 Apr 24 11:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:06:57 + 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=56822b146883d567dc10738adb0b8ce5338db960 --label arch=arm64 --label version=3.2.0-dev.11 . 11:06:57 Sending build context to Docker daemon 8.835MB 11:06:57 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 11:06:57 Step 2/23 : FROM ${BASE} AS builder 11:06:57 ---> af337be219ba 11:06:57 Step 3/23 : ARG ADD_BUILD_TAGS="" 11:06:57 ---> Running in de055f7045d2 11:06:57 Removing intermediate container de055f7045d2 11:06:57 ---> e5827adff38f 11:06:57 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:06:57 ---> Running in 7e180eddd678 11:06:58 Removing intermediate container 7e180eddd678 11:06:58 ---> 57e4092fe01a 11:06:58 Step 5/23 : RUN apk add --update --no-cache make git openssh 11:06:58 ---> Running in 707a0382f8aa 11:06:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:06:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:07:00 OK: 272 MiB in 60 packages 11:07:01 Removing intermediate container 707a0382f8aa 11:07:01 ---> 5a02b109890f 11:07:01 Step 6/23 : WORKDIR /device-modbus-go 11:07:01 ---> Running in d6b198723980 11:07:01 Removing intermediate container d6b198723980 11:07:01 ---> 8da5e3a86395 11:07:01 Step 7/23 : COPY go.mod vendor* ./ 11:07:02 ---> f500e7fc110c 11:07:02 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:07:02 ---> Running in 0adccdf462c6 11:07:04 Removing intermediate container 0adccdf462c6 11:07:04 ---> 33b77a2c9986 11:07:04 Step 9/23 : COPY . . 11:07:05 ---> 76f0eae45c77 11:07:05 Step 10/23 : RUN ${MAKE} 11:07:05 ---> Running in 07f699406a95 11:07:06 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.11 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.11" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 11:09:12 Removing intermediate container 07f699406a95 11:09:12 ---> 601553d44d55 11:09:12 Step 11/23 : FROM alpine:3.18 11:09:12 3.18: Pulling from library/alpine 11:09:12 c6b39de5b339: Already exists 11:09:12 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 11:09:12 Status: Downloaded newer image for alpine:3.18 11:09:12 ---> 33abbf032149 11:09:12 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 11:09:12 ---> Running in 149284d0c647 11:09:13 Removing intermediate container 149284d0c647 11:09:13 ---> 1168b7dfffd9 11:09:13 Step 13/23 : RUN apk add --update --no-cache dumb-init 11:09:13 ---> Running in 96e5aa9d4d74 11:09:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:09:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:09:15 (1/1) Installing dumb-init (1.2.5-r2) 11:09:15 Executing busybox-1.36.1-r5.trigger 11:09:15 OK: 8 MiB in 16 packages 11:09:16 Removing intermediate container 96e5aa9d4d74 11:09:16 ---> 762872a6ea4e 11:09:16 Step 14/23 : RUN apk --no-cache upgrade 11:09:16 ---> Running in 93fd3d238ecc 11:09:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:09:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:09:18 Upgrading critical system libraries and apk-tools: 11:09:18 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 11:09:18 Executing busybox-1.36.1-r5.trigger 11:09:19 Continuing the upgrade transaction with new apk-tools: 11:09:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:09:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:09:20 (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 11:09:20 (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) 11:09:20 (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) 11:09:20 OK: 8 MiB in 16 packages 11:09:21 Removing intermediate container 93fd3d238ecc 11:09:21 ---> 8cc0943c9e00 11:09:21 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 11:09:22 ---> 6bf8751cdeda 11:09:22 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 11:09:22 ---> dab09b718a11 11:09:22 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 11:09:23 ---> 357257680e1e 11:09:23 Step 18/23 : EXPOSE 59901 11:09:23 ---> Running in f1813652f2e2 11:09:24 Removing intermediate container f1813652f2e2 11:09:24 ---> f578db3d2c0e 11:09:24 Step 19/23 : ENTRYPOINT ["/device-modbus"] 11:09:24 ---> Running in 0b964c2b4cab 11:09:24 Removing intermediate container 0b964c2b4cab 11:09:24 ---> 3897af7ae1df 11:09:24 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 11:09:24 ---> Running in 1201bb8c286f 11:09:24 Removing intermediate container 1201bb8c286f 11:09:24 ---> 5639a536ec38 11:09:24 Step 21/23 : LABEL arch=arm64 11:09:24 ---> Running in b321baa6c9e8 11:09:24 Removing intermediate container b321baa6c9e8 11:09:24 ---> ed6e866ca37e 11:09:24 Step 22/23 : LABEL git_sha=56822b146883d567dc10738adb0b8ce5338db960 11:09:25 ---> Running in 053c5bb6e372 11:09:25 Removing intermediate container 053c5bb6e372 11:09:25 ---> f4e57cfda956 11:09:25 Step 23/23 : LABEL version=3.2.0-dev.11 11:09:25 ---> Running in e0f2995e97bf 11:09:25 Removing intermediate container e0f2995e97bf 11:09:25 ---> 4ad9343aa34b 11:09:25 [Warning] One or more build-args [ARCH] were not consumed 11:09:25 Successfully built 4ad9343aa34b 11:09:25 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 11:09:25 provisioning config files... 11:09:25 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/150@tmp/config17260751030608410092tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:09:26 ---> ****-login.sh 11:09:26 nexus3.edgexfoundry.org:10001 11:09:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:09:26 Configure a credential helper to remove this warning. See 11:09:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:09:26 11:09:26 Login Succeeded 11:09:26 nexus3.edgexfoundry.org:10002 11:09:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:09:26 Configure a credential helper to remove this warning. See 11:09:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:09:26 11:09:26 Login Succeeded 11:09:26 nexus3.edgexfoundry.org:10003 11:09:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:09:27 Configure a credential helper to remove this warning. See 11:09:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:09:27 11:09:27 Login Succeeded 11:09:27 nexus3.edgexfoundry.org:10004 11:09:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:09:27 Configure a credential helper to remove this warning. See 11:09:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:09:27 11:09:27 Login Succeeded 11:09:27 ****.io 11:09:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:09:28 Configure a credential helper to remove this warning. See 11:09:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:09:28 11:09:28 Login Succeeded 11:09:28 ---> ****-login.sh ends [Pipeline] } 11:09:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:09:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:09:28 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 11:09:28 56822b146883d567dc10738adb0b8ce5338db960 11:09:28 latest 11:09:28 3.2.0-dev.11 11:09:28 56822b146883d567dc10738adb0b8ce5338db960-3.2.0-dev.11 11:09:28 main 11:09:28 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:09:28 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:56822b146883d567dc10738adb0b8ce5338db960 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:09:28 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:56822b146883d567dc10738adb0b8ce5338db960 11:09:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 11:09:28 4cc89aa8f9b5: Preparing 11:09:28 1e36fa4a0cd5: Preparing 11:09:28 ab49ecb88aab: Preparing 11:09:28 99c084374845: Preparing 11:09:28 34d8f42b5589: Preparing 11:09:28 7c504f21be85: Preparing 11:09:28 7c504f21be85: Waiting 11:09:29 34d8f42b5589: Pushed 11:09:29 4cc89aa8f9b5: Pushed 11:09:29 1e36fa4a0cd5: Pushed 11:09:29 7c504f21be85: Layer already exists 11:09:30 99c084374845: Pushed 11:09:33 ab49ecb88aab: Pushed 11:09:33 56822b146883d567dc10738adb0b8ce5338db960: digest: sha256:32dab5deb783119dd2750e18f927cbd58705a19b11a5d12035941f8a30f76b67 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:09:35 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:09:35 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 11:09:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 11:09:35 4cc89aa8f9b5: Preparing 11:09:35 1e36fa4a0cd5: Preparing 11:09:35 ab49ecb88aab: Preparing 11:09:35 99c084374845: Preparing 11:09:35 34d8f42b5589: Preparing 11:09:35 7c504f21be85: Preparing 11:09:35 7c504f21be85: Waiting 11:09:35 4cc89aa8f9b5: Layer already exists 11:09:35 99c084374845: Layer already exists 11:09:35 1e36fa4a0cd5: Layer already exists 11:09:35 34d8f42b5589: Layer already exists 11:09:35 ab49ecb88aab: Layer already exists 11:09:35 7c504f21be85: Layer already exists 11:09:36 latest: digest: sha256:32dab5deb783119dd2750e18f927cbd58705a19b11a5d12035941f8a30f76b67 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:09:36 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:09:36 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.11 11:09:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 11:09:36 4cc89aa8f9b5: Preparing 11:09:36 1e36fa4a0cd5: Preparing 11:09:36 ab49ecb88aab: Preparing 11:09:36 99c084374845: Preparing 11:09:36 34d8f42b5589: Preparing 11:09:36 7c504f21be85: Preparing 11:09:36 7c504f21be85: Waiting 11:09:36 1e36fa4a0cd5: Layer already exists 11:09:36 ab49ecb88aab: Layer already exists 11:09:36 4cc89aa8f9b5: Layer already exists 11:09:36 34d8f42b5589: Layer already exists 11:09:36 99c084374845: Layer already exists 11:09:36 7c504f21be85: Layer already exists 11:09:37 3.2.0-dev.11: digest: sha256:32dab5deb783119dd2750e18f927cbd58705a19b11a5d12035941f8a30f76b67 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:09:37 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:56822b146883d567dc10738adb0b8ce5338db960-3.2.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:09:37 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:56822b146883d567dc10738adb0b8ce5338db960-3.2.0-dev.11 11:09:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 11:09:37 4cc89aa8f9b5: Preparing 11:09:37 1e36fa4a0cd5: Preparing 11:09:37 ab49ecb88aab: Preparing 11:09:37 99c084374845: Preparing 11:09:37 34d8f42b5589: Preparing 11:09:37 7c504f21be85: Preparing 11:09:37 7c504f21be85: Waiting 11:09:37 1e36fa4a0cd5: Layer already exists 11:09:37 99c084374845: Layer already exists 11:09:37 4cc89aa8f9b5: Layer already exists 11:09:37 ab49ecb88aab: Layer already exists 11:09:37 34d8f42b5589: Layer already exists 11:09:37 7c504f21be85: Layer already exists 11:09:37 56822b146883d567dc10738adb0b8ce5338db960-3.2.0-dev.11: digest: sha256:32dab5deb783119dd2750e18f927cbd58705a19b11a5d12035941f8a30f76b67 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:09:38 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:09:38 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 11:09:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 11:09:38 4cc89aa8f9b5: Preparing 11:09:38 1e36fa4a0cd5: Preparing 11:09:38 ab49ecb88aab: Preparing 11:09:38 99c084374845: Preparing 11:09:38 34d8f42b5589: Preparing 11:09:38 7c504f21be85: Preparing 11:09:38 7c504f21be85: Waiting 11:09:38 34d8f42b5589: Layer already exists 11:09:38 1e36fa4a0cd5: Layer already exists 11:09:38 4cc89aa8f9b5: Layer already exists 11:09:38 ab49ecb88aab: Layer already exists 11:09:38 99c084374845: Layer already exists 11:09:38 7c504f21be85: Layer already exists 11:09:38 main: digest: sha256:32dab5deb783119dd2750e18f927cbd58705a19b11a5d12035941f8a30f76b67 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:09:39 ===================================================== [Pipeline] echo 11:09:39 taggedImages: 11:09:39 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:56822b146883d567dc10738adb0b8ce5338db960 11:09:39 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 11:09:39 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.11 11:09:39 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:56822b146883d567dc10738adb0b8ce5338db960-3.2.0-dev.11 11:09:39 - 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 11:09:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:09:39 11:09:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:09:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:09:39 arm64: Pulling from edgex-lftools-log-publisher 11:09:39 8998bd30e6a1: Pulling fs layer 11:09:39 04944245beec: Pulling fs layer 11:09:39 699f458cf7ca: Pulling fs layer 11:09:39 765212b225bb: Pulling fs layer 11:09:39 f23df028b6ca: Pulling fs layer 11:09:39 d65c8cfc05b1: Pulling fs layer 11:09:39 2437ff75d9bd: Pulling fs layer 11:09:39 f23df028b6ca: Waiting 11:09:39 d65c8cfc05b1: Waiting 11:09:39 2437ff75d9bd: Waiting 11:09:39 765212b225bb: Waiting 11:09:40 04944245beec: Verifying Checksum 11:09:40 04944245beec: Download complete 11:09:40 765212b225bb: Verifying Checksum 11:09:40 765212b225bb: Download complete 11:09:40 f23df028b6ca: Verifying Checksum 11:09:40 f23df028b6ca: Download complete 11:09:40 d65c8cfc05b1: Verifying Checksum 11:09:40 d65c8cfc05b1: Download complete 11:09:40 699f458cf7ca: Verifying Checksum 11:09:40 699f458cf7ca: Download complete 11:09:40 8998bd30e6a1: Verifying Checksum 11:09:40 8998bd30e6a1: Download complete 11:09:43 2437ff75d9bd: Verifying Checksum 11:09:43 2437ff75d9bd: Download complete 11:09:45 8998bd30e6a1: Pull complete 11:09:46 04944245beec: Pull complete 11:09:47 699f458cf7ca: Pull complete 11:09:47 765212b225bb: Pull complete 11:09:48 f23df028b6ca: Pull complete 11:09:48 d65c8cfc05b1: Pull complete 11:10:07 2437ff75d9bd: Pull complete 11:10:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:10:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:10:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:10:07 prd-ubuntu20.04-docker-arm64-4c-16g-3505 does not seem to be running inside a container 11:10:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/150 -v /w/workspace/device-modbus-go/150:/w/workspace/device-modbus-go/150:rw,z -v /w/workspace/device-modbus-go/150@tmp:/w/workspace/device-modbus-go/150@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:arm64 cat 11:10:09 $ docker top f43f524ac97078e0d47a94a06b7c1c2b3d291697e1d8547afe427cdeee1f0eee -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:10:10 ---> job-cost.sh 11:10:10 lf-activate-venv: SKIPPING 11:10:10 INFO: No Stack... 11:10:11 INFO: Retrieving Pricing Info for: v3-standard-4 11:10:12 INFO: Archiving Costs [Pipeline] sh 11:10:12 + cat /w/workspace/device-modbus-go/150/archives/cost.csv 11:10:12 + cut -d, -f6 [Pipeline] lock 11:10:12 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-150-stack-cost] 11:10:12 Resource [jenkins-edgexfoundry-device-modbus-go-main-150-stack-cost] did not exist. Created. 11:10:12 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-150-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:10:13 /w/workspace/device-modbus-go/150@tmp/durable-20fedf41/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:10:14 + echo total: 0.10999999940395355 [Pipeline] stash 11:10:14 Warning: overwriting stash ‘stack-cost’ 11:10:14 Stashed 1 file(s) [Pipeline] } 11:10:14 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-150-stack-cost] [Pipeline] // lock [Pipeline] } 11:10:14 $ docker stop --time=1 f43f524ac97078e0d47a94a06b7c1c2b3d291697e1d8547afe427cdeee1f0eee 11:10:15 $ docker rm -f --volumes f43f524ac97078e0d47a94a06b7c1c2b3d291697e1d8547afe427cdeee1f0eee [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 11:10:16 provisioning config files... 11:10:16 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3721411887820178878tmp [Pipeline] { [Pipeline] sh 11:10:16 + set +x 11:10:16 + curl -s https://codecov.io/bash 11:10:16 + bash -s -- 11:10:16 11:10:16 _____ _ 11:10:16 / ____| | | 11:10:16 | | ___ __| | ___ ___ _____ __ 11:10:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:10:16 | |___| (_) | (_| | __/ (_| (_) \ V / 11:10:16 \_____\___/ \__,_|\___|\___\___/ \_/ 11:10:16 Bash-1.0.6 11:10:16 11:10:16 11:10:16 ==> git version 2.25.1 found 11:10:16 ==> 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 11:10:16 Release-Date: 2020-01-08 11:10:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:10:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:10:16 ==> Jenkins CI detected. 11:10:16 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 11:10:16 project root: . 11:10:16 --> token set from env 11:10:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:10:16 ==> Running gcov in . (disable via -X gcov) 11:10:16 ==> Python coveragepy not found 11:10:16 ==> Searching for coverage reports in: 11:10:16 + . 11:10:16 -> Found 1 reports 11:10:16 ==> Detecting git/mercurial file structure 11:10:16 ==> Reading reports 11:10:16 + ./coverage.out bytes=24601 11:10:16 ==> Appending adjustments 11:10:16 https://docs.codecov.io/docs/fixing-reports 11:10:16 + Found adjustments 11:10:16 ==> Gzipping contents 11:10:16 4.0K /tmp/codecov.B3J9uz.gz 11:10:16 ==> Uploading reports 11:10:16 url: https://codecov.io 11:10:16 query: branch=main&commit=56822b146883d567dc10738adb0b8ce5338db960&build=150&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F150%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:10:16 -> Pinging Codecov 11:10:16 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=56822b146883d567dc10738adb0b8ce5338db960&build=150&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F150%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:10:17 -> Uploading to 11:10:17 https://storage.googleapis.com/codecov/v4/raw/2024-04-24/55DBCA73C666E3227836607328DD7E49/56822b146883d567dc10738adb0b8ce5338db960/4c715c58-8323-43ac-a710-e015b3ca0678.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240424%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240424T111016Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2285a1f91b1b8652eb88b8efc53d6e0fca8848659df373efb86f56ae75ce5ad7 11:10:17 % Total % Received % Xferd Average Speed Time Time Time Current 11:10:17 Dload Upload Total Spent Left Speed 11:10:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 18838 --:--:-- --:--:-- --:--:-- 18746 100 3843 0 0 100 3843 0 14233 --:--:-- --:--:-- --:--:-- 14180 11:10:17 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/56822b146883d567dc10738adb0b8ce5338db960 [Pipeline] } 11:10:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 11:10:17 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 11:10:17 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:10:17 11:10:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:10:18 1.410.4: Pulling from edgex-devops/edgex-snyk-go 11:10:18 df9b9388f04a: Pulling fs layer 11:10:18 52dc419b0ee2: Pulling fs layer 11:10:18 25bc292e5bac: Pulling fs layer 11:10:18 114826534d7a: Pulling fs layer 11:10:18 4657fd5d0bcf: Pulling fs layer 11:10:18 6ad1cebc031e: Pulling fs layer 11:10:18 8a3aa393b2d8: Pulling fs layer 11:10:18 4657fd5d0bcf: Waiting 11:10:18 6ad1cebc031e: Waiting 11:10:18 8a3aa393b2d8: Waiting 11:10:18 114826534d7a: Waiting 11:10:18 25bc292e5bac: Verifying Checksum 11:10:18 25bc292e5bac: Download complete 11:10:18 52dc419b0ee2: Verifying Checksum 11:10:18 52dc419b0ee2: Download complete 11:10:18 4657fd5d0bcf: Verifying Checksum 11:10:18 4657fd5d0bcf: Download complete 11:10:18 df9b9388f04a: Download complete 11:10:18 df9b9388f04a: Pull complete 11:10:18 6ad1cebc031e: Verifying Checksum 11:10:18 6ad1cebc031e: Download complete 11:10:18 52dc419b0ee2: Pull complete 11:10:18 25bc292e5bac: Pull complete 11:10:18 114826534d7a: Download complete 11:10:19 8a3aa393b2d8: Verifying Checksum 11:10:19 8a3aa393b2d8: Download complete 11:10:22 114826534d7a: Pull complete 11:10:22 4657fd5d0bcf: Pull complete 11:10:22 6ad1cebc031e: Pull complete 11:10:25 8a3aa393b2d8: Pull complete 11:10:25 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 11:10:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:10:25 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:10:25 prd-ubuntu20.04-docker-8c-8g-3504 does not seem to be running inside a container 11:10:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 11:10:30 $ docker top b621cacb75ccd7869f2c6ca41429cf31771f0a3d4f19c96a34aa61cc2ac95713 -eo pid,comm [Pipeline] { [Pipeline] echo 11:10:31 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 11:10:31 + set -o pipefail 11:10:31 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 11:10:36 11:10:36 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 11:10:36 11:10:36 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/28e92aa5-fabd-4099-83af-01e1a674164d 11:10:36 11:10:36 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 11:10:36 11:10:36 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 11:10:36 11:10:36 11:10:36 A medium severity vulnerability was found in the Snyk CLI versions you are using. 11:10:36 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 11:10:36 More details here: https://snyk.co/ue1NS [Pipeline] } 11:10:36 $ docker stop --time=1 b621cacb75ccd7869f2c6ca41429cf31771f0a3d4f19c96a34aa61cc2ac95713 11:10:41 $ docker rm -f --volumes b621cacb75ccd7869f2c6ca41429cf31771f0a3d4f19c96a34aa61cc2ac95713 [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 11:10:41 + git log --format=format:%s -1 56822b146883d567dc10738adb0b8ce5338db960 [Pipeline] sh 11:10:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:10:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:10:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:10:42 prd-ubuntu20.04-docker-8c-8g-3504 does not seem to be running inside a container 11:10: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:10:43 $ docker top 5156d8fe3d929c905f2a14696d9ec7826535d183d1008b1fba78f3772df2c698 -eo pid,comm 11:10:43 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 11:10:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:10:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:10:43 [ssh-agent] Looking for ssh-agent implementation... 11:10:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:10:43 $ docker exec 5156d8fe3d929c905f2a14696d9ec7826535d183d1008b1fba78f3772df2c698 ssh-agent 11:10:43 SSH_AUTH_SOCK=/tmp/ssh-FJyFrD6K41Uc/agent.32 11:10:43 SSH_AGENT_PID=38 11:10:43 Running ssh-add (command line suppressed) 11:10:43 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1460762821260523810.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1460762821260523810.key) 11:10:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:10:43 + git semver tag 11:10:44 2024-04-24 11:10:44,014 [run_tag] DEBUG tag force:False 11:10:44 2024-04-24 11:10:44,014 [check_head_tag] DEBUG check head tag 11:10:44 2024-04-24 11:10:44,015 [execute] INFO git cat-file --batch-check 11:10:44 2024-04-24 11:10:44,015 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 11:10:44 2024-04-24 11:10:44,019 [execute] INFO git cat-file --batch 11:10:44 2024-04-24 11:10:44,019 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 11:10:44 2024-04-24 11:10:44,036 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 11:10:44 2024-04-24 11:10:44,036 [execute] INFO git tag -a v3.2.0-dev.11 -m v3.2.0-dev.11 11:10:44 2024-04-24 11:10:44,036 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.11', '-m', 'v3.2.0-dev.11'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 11:10:44 2024-04-24 11:10:44,040 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 11:10:44 3.2.0-dev.11 [Pipeline] } 11:10:44 $ docker exec --env ******** --env ******** 5156d8fe3d929c905f2a14696d9ec7826535d183d1008b1fba78f3772df2c698 ssh-agent -k 11:10:44 unset SSH_AUTH_SOCK; 11:10:44 unset SSH_AGENT_PID; 11:10:44 echo Agent pid 38 killed; 11:10:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:10:44 + git semver [Pipeline] } 11:10:44 $ docker stop --time=1 5156d8fe3d929c905f2a14696d9ec7826535d183d1008b1fba78f3772df2c698 11:10:46 $ docker rm -f --volumes 5156d8fe3d929c905f2a14696d9ec7826535d183d1008b1fba78f3772df2c698 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:10:46 11:10:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:10:46 0.23.1-centos7: Pulling from edgex-lftools 11:10:46 ab5ef0e58194: Pulling fs layer 11:10:46 9712f1f96733: Pulling fs layer 11:10:46 63f879dbbcfc: Pulling fs layer 11:10:46 0d9ebad4ef96: Pulling fs layer 11:10:46 e9a5061849ea: Pulling fs layer 11:10:46 d747dcd14b5f: Pulling fs layer 11:10:46 2de7ff778b66: Pulling fs layer 11:10:46 d747dcd14b5f: Waiting 11:10:46 2de7ff778b66: Waiting 11:10:46 0d9ebad4ef96: Waiting 11:10:46 e9a5061849ea: Waiting 11:10:46 9712f1f96733: Verifying Checksum 11:10:46 9712f1f96733: Download complete 11:10:47 63f879dbbcfc: Verifying Checksum 11:10:47 63f879dbbcfc: Download complete 11:10:47 0d9ebad4ef96: Verifying Checksum 11:10:47 0d9ebad4ef96: Download complete 11:10:47 d747dcd14b5f: Verifying Checksum 11:10:47 d747dcd14b5f: Download complete 11:10:47 e9a5061849ea: Verifying Checksum 11:10:47 e9a5061849ea: Download complete 11:10:47 ab5ef0e58194: Verifying Checksum 11:10:47 ab5ef0e58194: Download complete 11:10:47 2de7ff778b66: Verifying Checksum 11:10:47 2de7ff778b66: Download complete 11:10:50 ab5ef0e58194: Pull complete 11:10:50 9712f1f96733: Pull complete 11:10:51 63f879dbbcfc: Pull complete 11:10:55 0d9ebad4ef96: Pull complete 11:10:55 e9a5061849ea: Pull complete 11:10:55 d747dcd14b5f: Pull complete 11:10:56 2de7ff778b66: Pull complete 11:10:56 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 11:10:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:10:56 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:10:57 prd-ubuntu20.04-docker-8c-8g-3504 does not seem to be running inside a container 11:10:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 11:11:03 $ docker top c608629d5064fa97c506a09e1ce17dda777b4382010ac31db799e08562b6c71c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 11:11:03 provisioning config files... 11:11:04 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12425089508728917798tmp 11:11:04 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9831037871494009577tmp 11:11:04 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8372617846249601329tmp [Pipeline] { [Pipeline] echo 11:11:04 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 11:11:04 ---> sigul-configuration.sh 11:11:04 gpg: directory `/root/.gnupg' created 11:11:04 gpg: new configuration file `/root/.gnupg/gpg.conf' created 11:11:04 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 11:11:04 gpg: keyring `/root/.gnupg/secring.gpg' created 11:11:04 gpg: keyring `/root/.gnupg/pubring.gpg' created 11:11:04 gpg: CAST5 encrypted data 11:11:04 gpg: encrypted with 1 passphrase 11:11:04 gpg: WARNING: message was not integrity protected [Pipeline] sh 11:11:04 + mkdir /home/jenkins 11:11:04 + mkdir /home/jenkins/sigul [Pipeline] sh 11:11:04 + 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 11:11:04 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 11:11:05 ---> sigul-install.sh 11:11:05 Sigul already installed; skipping installation. [Pipeline] sh 11:11:05 + git tag --list 11:11:05 0.7.1 11:11:05 v1.0.0 11:11:05 v1.1.0 11:11:05 v1.1.1 11:11:05 v1.2.2 11:11:05 v1.3.0 11:11:05 v1.3.1 11:11:05 v2.0.0 11:11:05 v2.1.0 11:11:05 v2.1.1 11:11:05 v2.2.0 11:11:05 v2.3.0 11:11:05 v3.0 11:11:05 v3.0.0 11:11:05 v3.1 11:11:05 v3.1.0 11:11:05 v3.1.0-dev.1 11:11:05 v3.1.0-dev.10 11:11:05 v3.1.0-dev.11 11:11:05 v3.1.0-dev.12 11:11:05 v3.1.0-dev.13 11:11:05 v3.1.0-dev.14 11:11:05 v3.1.0-dev.15 11:11:05 v3.1.0-dev.16 11:11:05 v3.1.0-dev.17 11:11:05 v3.1.0-dev.18 11:11:05 v3.1.0-dev.19 11:11:05 v3.1.0-dev.2 11:11:05 v3.1.0-dev.20 11:11:05 v3.1.0-dev.21 11:11:05 v3.1.0-dev.22 11:11:05 v3.1.0-dev.23 11:11:05 v3.1.0-dev.24 11:11:05 v3.1.0-dev.25 11:11:05 v3.1.0-dev.3 11:11:05 v3.1.0-dev.4 11:11:05 v3.1.0-dev.5 11:11:05 v3.1.0-dev.6 11:11:05 v3.1.0-dev.7 11:11:05 v3.1.0-dev.8 11:11:05 v3.1.0-dev.9 11:11:05 v3.2.0-dev.1 11:11:05 v3.2.0-dev.10 11:11:05 v3.2.0-dev.11 11:11:05 v3.2.0-dev.2 11:11:05 v3.2.0-dev.3 11:11:05 v3.2.0-dev.4 11:11:05 v3.2.0-dev.5 11:11:05 v3.2.0-dev.6 11:11:05 v3.2.0-dev.7 11:11:05 v3.2.0-dev.8 11:11:05 v3.2.0-dev.9 [Pipeline] sh 11:11:05 + lftools sign git-tag v3.2.0-dev.11 11:11:06 Signing Git tag with Sigul... 11:11:06 Signing v3.2.0-dev.11 [Pipeline] echo 11:11:06 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 11:11:07 ---> sigul-configuration-cleanup.sh [Pipeline] } 11:11:07 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 11:11:07 $ docker stop --time=1 c608629d5064fa97c506a09e1ce17dda777b4382010ac31db799e08562b6c71c 11:11:08 $ docker rm -f --volumes c608629d5064fa97c506a09e1ce17dda777b4382010ac31db799e08562b6c71c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 11:11:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:11:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:11:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:11:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:11:09 prd-ubuntu20.04-docker-8c-8g-3504 does not seem to be running inside a container 11:11:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:11:09 $ docker top 9df02b9836782d2dcd29daecb20dd92b778b8e8d818661fb11ce2411fc49f1a1 -eo pid,comm 11:11:09 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). 11:11:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:11:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:11:09 [ssh-agent] Looking for ssh-agent implementation... 11:11:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:11:10 $ docker exec 9df02b9836782d2dcd29daecb20dd92b778b8e8d818661fb11ce2411fc49f1a1 ssh-agent 11:11:10 SSH_AUTH_SOCK=/tmp/ssh-wkjgbmw67wjp/agent.32 11:11:10 SSH_AGENT_PID=38 11:11:10 Running ssh-add (command line suppressed) 11:11:10 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13042947132577628730.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13042947132577628730.key) 11:11:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:11:10 + git semver bump pre 11:11:10 2024-04-24 11:11:10,747 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 11:11:10 2024-04-24 11:11:10,747 [bump_version] DEBUG bumping version:3.2.0-dev.11 on axis:pre with prefix:dev 11:11:10 2024-04-24 11:11:10,747 [bump_version] DEBUG bumped version:3.2.0-dev.12 11:11:10 2024-04-24 11:11:10,747 [write_version] DEBUG write version:3.2.0-dev.12 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 11:11:10 2024-04-24 11:11:10,747 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 11:11:10 2024-04-24 11:11:10,747 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 11:11:10 2024-04-24 11:11:10,750 [execute] INFO git cat-file --batch-check 11:11:10 2024-04-24 11:11:10,750 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 11:11:10 2024-04-24 11:11:10,755 [execute] INFO git cat-file --batch 11:11:10 2024-04-24 11:11:10,755 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 11:11:10 2024-04-24 11:11:10,761 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 11:11:10 3.2.0-dev.12 [Pipeline] } 11:11:10 $ docker exec --env ******** --env ******** 9df02b9836782d2dcd29daecb20dd92b778b8e8d818661fb11ce2411fc49f1a1 ssh-agent -k 11:11:10 unset SSH_AUTH_SOCK; 11:11:10 unset SSH_AGENT_PID; 11:11:10 echo Agent pid 38 killed; 11:11:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:11:11 + git semver [Pipeline] } 11:11:11 $ docker stop --time=1 9df02b9836782d2dcd29daecb20dd92b778b8e8d818661fb11ce2411fc49f1a1 11:11:12 $ docker rm -f --volumes 9df02b9836782d2dcd29daecb20dd92b778b8e8d818661fb11ce2411fc49f1a1 [Pipeline] // withDockerContainer [Pipeline] sh 11:11:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:11:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:11:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:11:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:11:13 prd-ubuntu20.04-docker-8c-8g-3504 does not seem to be running inside a container 11:11:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:11:13 $ docker top f046c6bc408c193383796ed0a284d56a4789b56909fe2576cdb41eb9e596850f -eo pid,comm 11:11:13 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). 11:11:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:11:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:11:14 [ssh-agent] Looking for ssh-agent implementation... 11:11:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:11:14 $ docker exec f046c6bc408c193383796ed0a284d56a4789b56909fe2576cdb41eb9e596850f ssh-agent 11:11:14 SSH_AUTH_SOCK=/tmp/ssh-wAAxuWPggSvn/agent.33 11:11:14 SSH_AGENT_PID=39 11:11:14 Running ssh-add (command line suppressed) 11:11:14 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17887929788435445221.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17887929788435445221.key) 11:11:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:11:14 + git semver push 11:11:14 2024-04-24 11:11:14,906 [run_push] DEBUG push 11:11:14 2024-04-24 11:11:14,907 [execute] INFO git cat-file --batch-check 11:11:14 2024-04-24 11:11:14,907 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 11:11:14 2024-04-24 11:11:14,912 [execute] INFO git rev-list c2bfaca5083cfbb9e643e67d1029c897c4c0e108 -- 11:11:14 2024-04-24 11:11:14,912 [execute] DEBUG Popen(['git', 'rev-list', 'c2bfaca5083cfbb9e643e67d1029c897c4c0e108', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 11:11:14 2024-04-24 11:11:14,919 [execute] INFO git fetch -v origin 11:11:14 2024-04-24 11:11:14,919 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 11:11:15 2024-04-24 11:11:15,391 [run_push] DEBUG no remote changes detected 11:11:15 2024-04-24 11:11:15,391 [execute] INFO git push origin semver 11:11:15 2024-04-24 11:11:15,391 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 11:11:16 2024-04-24 11:11:16,279 [run_push] DEBUG push all version tags 11:11:16 2024-04-24 11:11:16,280 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 11:11:16 2024-04-24 11:11:16,280 [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) 11:11:17 2024-04-24 11:11:17,050 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 11:11:17 3.2.0-dev.12 [Pipeline] } 11:11:17 $ docker exec --env ******** --env ******** f046c6bc408c193383796ed0a284d56a4789b56909fe2576cdb41eb9e596850f ssh-agent -k 11:11:17 unset SSH_AUTH_SOCK; 11:11:17 unset SSH_AGENT_PID; 11:11:17 echo Agent pid 39 killed; 11:11:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:11:17 + git semver [Pipeline] } 11:11:18 $ docker stop --time=1 f046c6bc408c193383796ed0a284d56a4789b56909fe2576cdb41eb9e596850f 11:11:19 $ docker rm -f --volumes f046c6bc408c193383796ed0a284d56a4789b56909fe2576cdb41eb9e596850f [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 11:11:20 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 11:11:20 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 11:11:20 total 16 11:11:20 drwxr-xr-x 3 root root 4096 Apr 24 11:02 . 11:11:20 drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 11:11 .. 11:11:20 drwxr-xr-x 2 root root 4096 Apr 24 11:02 cost 11:11:20 -rw-r--r-- 1 root root 88 Apr 24 11:02 cost.csv 11:11:20 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 11:11:20 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 11:11:20 total 16 11:11:20 drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 11:02 . 11:11:20 drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 11:11 .. 11:11:20 drwxr-xr-x 2 jenkins jenkins 4096 Apr 24 11:02 cost 11:11:20 -rw-r--r-- 1 jenkins jenkins 88 Apr 24 11:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:11:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:11:21 ---> package-listing.sh 11:11:21 ++ facter osfamily 11:11:21 ++ tr '[:upper:]' '[:lower:]' 11:11:21 + OS_FAMILY=debian 11:11:21 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 11:11:21 + START_PACKAGES=/tmp/packages_start.txt 11:11:21 + END_PACKAGES=/tmp/packages_end.txt 11:11:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:11:21 + PACKAGES=/tmp/packages_start.txt 11:11:21 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 11:11:21 + PACKAGES=/tmp/packages_end.txt 11:11:21 + case "${OS_FAMILY}" in 11:11:21 + dpkg -l 11:11:21 + grep '^ii' 11:11:21 + '[' -f /tmp/packages_start.txt ']' 11:11:21 + '[' -f /tmp/packages_end.txt ']' 11:11:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:11:21 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 11:11:21 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 11:11:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 11:11:21 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 11:11:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:11:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:11:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:11:22 prd-ubuntu20.04-docker-8c-8g-3504 does not seem to be running inside a container 11:11:22 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:11:22 $ docker top eeda3013dcb1319902420661cd657443831a78167771fc0aab17f94d36aa48de -eo pid,comm [Pipeline] { [Pipeline] sh 11:11:22 + touch /tmp/pre-build-complete [Pipeline] sh 11:11:23 + mkdir -p /var/log/sysstat [Pipeline] sh 11:11:23 + ls /var/log/sa-host 11:11:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:11:23 provisioning config files... 11:11:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2851954393851055147tmp [Pipeline] { [Pipeline] echo 11:11:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:11:23 ---> create-netrc.sh [Pipeline] } 11:11:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:11:24 ---> python-tools-install.sh [Pipeline] echo 11:11:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:11:24 ---> sudo-logs.sh 11:11:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:11:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:11:24 ---> job-cost.sh 11:11:24 lf-activate-venv: SKIPPING 11:11:24 DEBUG: total: 0.2199999988079071 11:11:24 INFO: Retrieving Stack Cost... 11:11:25 INFO: Retrieving Pricing Info for: v3-standard-8 11:11:25 INFO: Archiving Costs [Pipeline] echo 11:11:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:11:26 ---> logs-deploy.sh 11:11:26 lf-activate-venv: SKIPPING 11:11:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/150 11:11:26 INFO: archiving workspace using pattern(s): 11:11:26 Archives upload complete. 11:11:27 INFO: archiving logs to Nexus