Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 600d018d751e79cb36c22856eb8a497d52ddc51b 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-ssh15900494795027392837.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-ssh5656671630966358410.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-ssh9661015844086129716.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-ssh15175739425534711442.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-ssh7391314023700545089.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-9104’ is offline Running on prd-ubuntu20.04-docker-8c-8g-9107 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 600d018d751e79cb36c22856eb8a497d52ddc51b (main) Commit message: "Merge pull request #528 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.6.0" > 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 600d018d751e79cb36c22856eb8a497d52ddc51b # timeout=10 > git rev-list --no-walk f40d1d667e540eee93f77eb354737bb78aa40b5d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:10:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:10:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:10:23 ========================================================= 06:10:23 EdgeX Global Pipelines Version Info 06:10:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:10:24 ------------------- 06:10:24 stable info: 06:10:24 ------------------- 06:10:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:10:24 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 06:10:24 Message: update stable to v1.0.258 06:10:25 ------------------- 06:10:25 experimental info: 06:10:25 ------------------- 06:10:25 Commited By: **** collab-it+edgex@linuxfoundation.org 06:10:25 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 06:10:25 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:10:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 06:10:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 06:10:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:10:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:10:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:10:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 06:10:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:10:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:10:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:10:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:10:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:10:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 06:10:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:10:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:10:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:10:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:10:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:10:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:10:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:10:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:10:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:10:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:10:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:10:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:10:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:10:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:10:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:10:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:10:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:10:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:10:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 600d018d751e79cb36c22856eb8a497d52ddc51b [Pipeline] echo 06:10:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 600d018 [Pipeline] echo 06:10:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:10:26 provisioning config files... 06:10:26 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3179606988782790292tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:10:26 ---> ****-login.sh 06:10:26 nexus3.edgexfoundry.org:10001 06:10:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:10:26 Configure a credential helper to remove this warning. See 06:10:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:10:26 06:10:26 Login Succeeded 06:10:26 nexus3.edgexfoundry.org:10002 06:10:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:10:27 Configure a credential helper to remove this warning. See 06:10:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:10:27 06:10:27 Login Succeeded 06:10:27 nexus3.edgexfoundry.org:10003 06:10:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:10:27 Configure a credential helper to remove this warning. See 06:10:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:10:27 06:10:27 Login Succeeded 06:10:27 nexus3.edgexfoundry.org:10004 06:10:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:10:27 Configure a credential helper to remove this warning. See 06:10:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:10:27 06:10:27 Login Succeeded 06:10:27 ****.io 06:10:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:10:27 Configure a credential helper to remove this warning. See 06:10:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:10:27 06:10:27 Login Succeeded 06:10:27 ---> ****-login.sh ends [Pipeline] } 06:10:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:10:28 + git rev-list -1 --merges 600d018d751e79cb36c22856eb8a497d52ddc51b~1..600d018d751e79cb36c22856eb8a497d52ddc51b [Pipeline] echo 06:10:28 -----------> git rev-list -1 --merges 600d018d751e79cb36c22856eb8a497d52ddc51b~1..600d018d751e79cb36c22856eb8a497d52ddc51b 600d018d751e79cb36c22856eb8a497d52ddc51b 06:10:28 600d018d751e79cb36c22856eb8a497d52ddc51b [false] [Pipeline] sh 06:10:28 + git log --format=format:%s -1 600d018d751e79cb36c22856eb8a497d52ddc51b [Pipeline] echo 06:10:28 ========================================================= 06:10:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:10:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:10:29 + git log --format=format:%s -1 600d018d751e79cb36c22856eb8a497d52ddc51b [Pipeline] echo 06:10:29 [semverPrep] GIT_COMMIT: 600d018d751e79cb36c22856eb8a497d52ddc51b, Commit Message: Merge pull request #528 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.6.0 [Pipeline] echo 06:10:29 [semverPrep] This is not a build commit. [Pipeline] sh 06:10:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:10:29 + grep -v github /etc/ssh/ssh_known_hosts 06:10:29 + [ -e /tmp/ssh_known_hosts ] 06:10:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:10:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:10:29 + sudo tee -a /etc/ssh/ssh_known_hosts 06:10:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:10:29 06:10:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:10:30 0.1.4: Pulling from edgex-devops/py-git-semver 06:10:30 b85a868b505f: Pulling fs layer 06:10:30 e2be974225ed: Pulling fs layer 06:10:30 339a4e72a1f5: Pulling fs layer 06:10:30 988bab9f4d93: Pulling fs layer 06:10:30 1469e6f7b9e6: Pulling fs layer 06:10:30 988bab9f4d93: Waiting 06:10:30 eaf3925da568: Pulling fs layer 06:10:30 bab4dde63d76: Pulling fs layer 06:10:30 bde34c3a00c8: Pulling fs layer 06:10:30 1469e6f7b9e6: Waiting 06:10:30 eaf3925da568: Waiting 06:10:30 bab4dde63d76: Waiting 06:10:30 b352a97aabf1: Pulling fs layer 06:10:30 bde34c3a00c8: Waiting 06:10:30 4872d77fe225: Pulling fs layer 06:10:30 b352a97aabf1: Waiting 06:10:30 5851b861e8e6: Pulling fs layer 06:10:30 4872d77fe225: Waiting 06:10:30 5851b861e8e6: Waiting 06:10:30 e2be974225ed: Download complete 06:10:30 988bab9f4d93: Download complete 06:10:30 1469e6f7b9e6: Verifying Checksum 06:10:30 1469e6f7b9e6: Download complete 06:10:30 339a4e72a1f5: Verifying Checksum 06:10:30 339a4e72a1f5: Download complete 06:10:30 eaf3925da568: Verifying Checksum 06:10:30 eaf3925da568: Download complete 06:10:30 bde34c3a00c8: Download complete 06:10:30 b352a97aabf1: Verifying Checksum 06:10:30 b352a97aabf1: Download complete 06:10:30 4872d77fe225: Verifying Checksum 06:10:30 4872d77fe225: Download complete 06:10:30 5851b861e8e6: Download complete 06:10:30 b85a868b505f: Download complete 06:10:30 bab4dde63d76: Verifying Checksum 06:10:30 bab4dde63d76: Download complete 06:10:32 b85a868b505f: Pull complete 06:10:32 e2be974225ed: Pull complete 06:10:32 339a4e72a1f5: Pull complete 06:10:32 988bab9f4d93: Pull complete 06:10:32 1469e6f7b9e6: Pull complete 06:10:32 eaf3925da568: Pull complete 06:10:34 bab4dde63d76: Pull complete 06:10:34 bde34c3a00c8: Pull complete 06:10:35 b352a97aabf1: Pull complete 06:10:35 4872d77fe225: Pull complete 06:10:35 5851b861e8e6: Pull complete 06:10:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:10:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:10:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:35 prd-ubuntu20.04-docker-8c-8g-9107 does not seem to be running inside a container 06:10:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:10:38 $ docker top 5b3ce986e9977f4edee21deb112bf69ab459b546f482dff6000ae3b8171884a7 -eo pid,comm 06:10:38 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:10:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:10:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:10:38 [ssh-agent] Looking for ssh-agent implementation... 06:10:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:10:38 $ docker exec 5b3ce986e9977f4edee21deb112bf69ab459b546f482dff6000ae3b8171884a7 ssh-agent 06:10:39 SSH_AUTH_SOCK=/tmp/ssh-juOo8i8heZhc/agent.32 06:10:39 SSH_AGENT_PID=38 06:10:39 Running ssh-add (command line suppressed) 06:10:39 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5392684602733104311.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5392684602733104311.key) 06:10:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:10:39 + git tag --points-at HEAD [Pipeline] } 06:10:39 $ docker exec --env ******** --env ******** 5b3ce986e9977f4edee21deb112bf69ab459b546f482dff6000ae3b8171884a7 ssh-agent -k 06:10:39 unset SSH_AUTH_SOCK; 06:10:39 unset SSH_AGENT_PID; 06:10:39 echo Agent pid 38 killed; 06:10:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:10:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:10:39 [ssh-agent] Looking for ssh-agent implementation... 06:10:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:10:39 $ docker exec 5b3ce986e9977f4edee21deb112bf69ab459b546f482dff6000ae3b8171884a7 ssh-agent 06:10:39 SSH_AUTH_SOCK=/tmp/ssh-3S4caIrzqTKn/agent.70 06:10:39 SSH_AGENT_PID=76 06:10:39 Running ssh-add (command line suppressed) 06:10:39 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6906800787417570804.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6906800787417570804.key) 06:10:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:10:40 + git semver init 06:10:40 2023-11-29 06:10:40,469 [run_init] DEBUG init version:0.0.0 force:False 06:10:40 2023-11-29 06:10:40,470 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 06:10:40 2023-11-29 06:10:40,470 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 06:10:40 2023-11-29 06:10:40,470 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 06:10:41 2023-11-29 06:10:41,701 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 06:10:41 2023-11-29 06:10:41,701 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 06:10:41 2023-11-29 06:10:41,701 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:10:41 2023-11-29 06:10:41,702 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:10:41 3.2.0-dev.2 [Pipeline] } 06:10:41 $ docker exec --env ******** --env ******** 5b3ce986e9977f4edee21deb112bf69ab459b546f482dff6000ae3b8171884a7 ssh-agent -k 06:10:42 unset SSH_AUTH_SOCK; 06:10:42 unset SSH_AGENT_PID; 06:10:42 echo Agent pid 76 killed; 06:10:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:10:42 + git semver [Pipeline] } 06:10:42 $ docker stop --time=1 5b3ce986e9977f4edee21deb112bf69ab459b546f482dff6000ae3b8171884a7 06:10:44 $ docker rm -f --volumes 5b3ce986e9977f4edee21deb112bf69ab459b546f482dff6000ae3b8171884a7 [Pipeline] // withDockerContainer [Pipeline] sh 06:10:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:10:44 Stashed 1 file(s) [Pipeline] echo 06:10:44 [edgeXSemver]: initialized semver on version 3.2.0-dev.2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:10:45 provisioning config files... 06:10:45 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16656987706310544866tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:10:45 ---> ****-login.sh 06:10:45 nexus3.edgexfoundry.org:10001 06:10:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:10:45 Configure a credential helper to remove this warning. See 06:10:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:10:45 06:10:45 Login Succeeded 06:10:45 nexus3.edgexfoundry.org:10002 06:10:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:10:45 Configure a credential helper to remove this warning. See 06:10:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:10:45 06:10:45 Login Succeeded 06:10:45 nexus3.edgexfoundry.org:10003 06:10:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:10:45 Configure a credential helper to remove this warning. See 06:10:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:10:45 06:10:45 Login Succeeded 06:10:45 nexus3.edgexfoundry.org:10004 06:10:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:10:45 Configure a credential helper to remove this warning. See 06:10:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:10:45 06:10:45 Login Succeeded 06:10:45 ****.io 06:10:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:10:45 Configure a credential helper to remove this warning. See 06:10:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:10:45 06:10:45 Login Succeeded 06:10:45 ---> ****-login.sh ends [Pipeline] } 06:10:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:10:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:10:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:10:46 ========================================================= 06:10:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 06:10:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:46 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 06:10:46 Sending build context to Docker daemon 17.21MB 06:10:46 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 06:10:46 Step 2/10 : FROM ${BASE} AS builder 06:10:46 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 06:10:46 7264a8db6415: Pulling fs layer 06:10:46 c4d48a809fc2: Pulling fs layer 06:10:46 4f1c88b9dad5: Pulling fs layer 06:10:46 ad3a456e5733: Pulling fs layer 06:10:46 69c7f0334f64: Pulling fs layer 06:10:46 1f1c1a5573a3: Pulling fs layer 06:10:46 ce7588e14bc9: Pulling fs layer 06:10:46 b5e4710f87ac: Pulling fs layer 06:10:46 ad3a456e5733: Waiting 06:10:46 69c7f0334f64: Waiting 06:10:46 1f1c1a5573a3: Waiting 06:10:46 ce7588e14bc9: Waiting 06:10:46 b5e4710f87ac: Waiting 06:10:46 c4d48a809fc2: Verifying Checksum 06:10:46 c4d48a809fc2: Download complete 06:10:46 ad3a456e5733: Verifying Checksum 06:10:46 ad3a456e5733: Download complete 06:10:46 69c7f0334f64: Verifying Checksum 06:10:46 69c7f0334f64: Download complete 06:10:46 7264a8db6415: Verifying Checksum 06:10:46 7264a8db6415: Download complete 06:10:46 1f1c1a5573a3: Verifying Checksum 06:10:46 1f1c1a5573a3: Download complete 06:10:46 7264a8db6415: Pull complete 06:10:47 b5e4710f87ac: Verifying Checksum 06:10:47 b5e4710f87ac: Download complete 06:10:47 c4d48a809fc2: Pull complete 06:10:47 4f1c88b9dad5: Verifying Checksum 06:10:47 4f1c88b9dad5: Download complete 06:10:47 ce7588e14bc9: Verifying Checksum 06:10:47 ce7588e14bc9: Download complete 06:10:55 4f1c88b9dad5: Pull complete 06:10:55 ad3a456e5733: Pull complete 06:10:55 69c7f0334f64: Pull complete 06:10:55 1f1c1a5573a3: Pull complete 06:10:56 ce7588e14bc9: Pull complete 06:10:57 b5e4710f87ac: Pull complete 06:10:57 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 06:10:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 06:10:57 ---> 88b5674ff536 06:10:57 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:10:59 Still waiting to schedule task 06:10:59 ‘prd-ubuntu20.04-docker-arm64-4c-16g-9105’ is offline 06:11:02 ---> Running in 714938c99424 06:11:02 Removing intermediate container 714938c99424 06:11:02 ---> 170fbdd11749 06:11:02 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:11:02 ---> Running in c1da8d439bab 06:11:02 Removing intermediate container c1da8d439bab 06:11:02 ---> db354fd3a71e 06:11:02 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:11:02 ---> Running in 6a4a3807337c 06:11:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:11:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:11:02 (1/8) Installing openssh-keygen (9.3_p2-r0) 06:11:02 (2/8) Installing libedit (20221030.3.1-r1) 06:11:02 (3/8) Installing openssh-client-common (9.3_p2-r0) 06:11:02 (4/8) Installing openssh-client-default (9.3_p2-r0) 06:11:02 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 06:11:02 (6/8) Installing openssh-server-common (9.3_p2-r0) 06:11:02 (7/8) Installing openssh-server (9.3_p2-r0) 06:11:02 (8/8) Installing openssh (9.3_p2-r0) 06:11:02 Executing busybox-1.36.1-r5.trigger 06:11:02 OK: 270 MiB in 60 packages 06:11:03 Removing intermediate container 6a4a3807337c 06:11:03 ---> 536704c71a3a 06:11:03 Step 6/10 : WORKDIR /device-modbus-go 06:11:03 ---> Running in a9efe86978eb 06:11:03 Removing intermediate container a9efe86978eb 06:11:03 ---> d0b4744e4503 06:11:03 Step 7/10 : COPY go.mod vendor* ./ 06:11:03 ---> cca9fac06e28 06:11:03 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:11:03 ---> Running in f6e359aad045 06:11:45 Removing intermediate container f6e359aad045 06:11:45 ---> 4c99b17a1c89 06:11:45 Step 9/10 : COPY . . 06:11:45 ---> d2efe10c1ff5 06:11:45 Step 10/10 : RUN ${MAKE} 06:11:45 ---> Running in a09d6159e16a 06:11:45 noop 06:11:45 Removing intermediate container a09d6159e16a 06:11:45 ---> 9ac07a3397d4 06:11:45 Successfully built 9ac07a3397d4 06:11:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:45 + docker inspect -f . ci-base-image-x86_64 06:11:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:11:45 prd-ubuntu20.04-docker-8c-8g-9107 does not seem to be running inside a container 06:11:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:11:46 $ docker top db972384a13b5259d1249cf819fb0d0b8ab7027c36c179784dd44d2bf52672f4 -eo pid,comm [Pipeline] { [Pipeline] sh 06:11:46 + go version 06:11:46 go version go1.21.0 linux/amd64 [Pipeline] } 06:11:46 $ docker stop --time=1 db972384a13b5259d1249cf819fb0d0b8ab7027c36c179784dd44d2bf52672f4 06:11:47 $ docker rm -f --volumes db972384a13b5259d1249cf819fb0d0b8ab7027c36c179784dd44d2bf52672f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:48 + docker inspect -f . ci-base-image-x86_64 06:11:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:11:48 prd-ubuntu20.04-docker-8c-8g-9107 does not seem to be running inside a container 06:11:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:11:49 $ docker top 2ebcdafbac339364e5baf248e47d5120606791e0404039bfed2d300460bcd003 -eo pid,comm [Pipeline] { [Pipeline] sh 06:11:49 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 06:11:49 + make test 06:11:49 go test ./... -coverprofile=coverage.out 06:11:51 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:12:03 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:12:03 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.018s coverage: 47.9% of statements 06:12:09 go vet ./... 06:12:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:12:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:12:13 ./bin/test-attribution-txt.sh [Pipeline] echo 06:12:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:12:13 $ docker stop --time=1 2ebcdafbac339364e5baf248e47d5120606791e0404039bfed2d300460bcd003 06:12:16 $ docker rm -f --volumes 2ebcdafbac339364e5baf248e47d5120606791e0404039bfed2d300460bcd003 [Pipeline] // withDockerContainer [Pipeline] sh 06:12:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:12:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:12:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:12:18 + ls -al . 06:12:18 total 192 06:12:18 drwxrwxr-x 9 jenkins jenkins 4096 Nov 29 06:11 . 06:12:18 drwxrwxr-x 4 jenkins jenkins 4096 Nov 29 06:10 .. 06:12:18 -rw-rw-r-- 1 jenkins jenkins 140 Nov 29 06:10 .dockerignore 06:12:18 drwxrwxr-x 8 jenkins jenkins 4096 Nov 29 06:12 .git 06:12:18 drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 06:10 .github 06:12:18 -rw-rw-r-- 1 jenkins jenkins 266 Nov 29 06:10 .gitignore 06:12:18 -rw-rw-r-- 1 jenkins jenkins 41 Nov 29 06:10 .golangci.yml 06:12:18 drwxr-xr-x 3 jenkins jenkins 4096 Nov 29 06:10 .semver 06:12:18 -rw-rw-r-- 1 jenkins jenkins 11101 Nov 29 06:10 Attribution.txt 06:12:18 -rw-rw-r-- 1 jenkins jenkins 16388 Nov 29 06:10 CHANGELOG.md 06:12:18 -rw-rw-r-- 1 jenkins jenkins 1474 Nov 29 06:10 Dockerfile 06:12:18 -rw-rw-r-- 1 jenkins jenkins 677 Nov 29 06:10 GOVERNANCE.md 06:12:18 -rw-rw-r-- 1 jenkins jenkins 658 Nov 29 06:10 Jenkinsfile 06:12:18 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 29 06:10 LICENSE 06:12:18 -rw-rw-r-- 1 jenkins jenkins 1936 Nov 29 06:10 Makefile 06:12:18 -rw-rw-r-- 1 jenkins jenkins 622 Nov 29 06:10 OWNERS.md 06:12:18 -rw-rw-r-- 1 jenkins jenkins 4463 Nov 29 06:10 README.md 06:12:18 -rw-rw-r-- 1 jenkins jenkins 11 Nov 29 06:10 VERSION 06:12:18 drwxrwxr-x 2 jenkins jenkins 4096 Nov 29 06:10 bin 06:12:18 drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 06:10 cmd 06:12:18 -rw-r--r-- 1 jenkins jenkins 24334 Nov 29 06:12 coverage.out 06:12:18 -rw-rw-r-- 1 jenkins jenkins 3937 Nov 29 06:10 go.mod 06:12:18 -rw-rw-r-- 1 jenkins jenkins 35426 Nov 29 06:10 go.sum 06:12:18 drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 06:10 internal 06:12:18 drwxrwxr-x 2 jenkins jenkins 4096 Nov 29 06:10 simulator 06:12:18 -rw-rw-r-- 1 jenkins jenkins 229 Nov 29 06:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:18 + 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=600d018d751e79cb36c22856eb8a497d52ddc51b --label arch=amd64 --label version=3.2.0-dev.2 . 06:12:18 Sending build context to Docker daemon 17.23MB 06:12:18 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 06:12:18 Step 2/23 : FROM ${BASE} AS builder 06:12:18 ---> 9ac07a3397d4 06:12:18 Step 3/23 : ARG ADD_BUILD_TAGS="" 06:12:18 ---> Running in b11827b3431c 06:12:18 Removing intermediate container b11827b3431c 06:12:18 ---> c04e926322ad 06:12:18 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:12:19 ---> Running in 26e14b8e74db 06:12:19 Removing intermediate container 26e14b8e74db 06:12:19 ---> 1b68a7fba06b 06:12:19 Step 5/23 : RUN apk add --update --no-cache make git openssh 06:12:19 ---> Running in 88c652707e8f 06:12:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:12:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:12:19 OK: 270 MiB in 60 packages 06:12:20 Removing intermediate container 88c652707e8f 06:12:20 ---> ba43ab546e7c 06:12:20 Step 6/23 : WORKDIR /device-modbus-go 06:12:20 ---> Running in 38dc4eba783a 06:12:20 Removing intermediate container 38dc4eba783a 06:12:20 ---> 6d3d5daf900f 06:12:20 Step 7/23 : COPY go.mod vendor* ./ 06:12:20 ---> 23e78ca664c4 06:12:20 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:12:20 ---> Running in 2b2a274a1d46 06:12:20 Removing intermediate container 2b2a274a1d46 06:12:20 ---> 2f0b41be8f65 06:12:20 Step 9/23 : COPY . . 06:12:21 ---> 991dc73f4747 06:12:21 Step 10/23 : RUN ${MAKE} 06:12:21 ---> Running in a9b8e1d15324 06:12:21 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.1" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 06:12:43 Removing intermediate container a9b8e1d15324 06:12:43 ---> ec003ec980f0 06:12:43 Step 11/23 : FROM alpine:3.18 06:12:43 3.18: Pulling from library/alpine 06:12:43 96526aa774ef: Pulling fs layer 06:12:43 96526aa774ef: Download complete 06:12:43 96526aa774ef: Pull complete 06:12:43 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 06:12:43 Status: Downloaded newer image for alpine:3.18 06:12:43 ---> 8ca4688f4f35 06:12:43 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:12:43 ---> Running in 1297bd107030 06:12:43 Removing intermediate container 1297bd107030 06:12:43 ---> bc93d443fd9f 06:12:43 Step 13/23 : RUN apk add --update --no-cache dumb-init 06:12:43 ---> Running in 2434bb8c16a9 06:12:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:12:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:12:43 (1/1) Installing dumb-init (1.2.5-r2) 06:12:43 Executing busybox-1.36.1-r2.trigger 06:12:43 OK: 7 MiB in 16 packages 06:12:43 Removing intermediate container 2434bb8c16a9 06:12:43 ---> 4df1b8b012e6 06:12:43 Step 14/23 : RUN apk --no-cache upgrade 06:12:43 ---> Running in c14089ce6a3b 06:12:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:12:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:12:44 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 06:12:44 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 06:12:44 Executing busybox-1.36.1-r5.post-upgrade 06:12:44 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 06:12:44 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 06:12:44 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 06:12:44 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 06:12:44 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 06:12:44 Executing busybox-1.36.1-r5.trigger 06:12:44 OK: 7 MiB in 16 packages 06:12:44 Removing intermediate container c14089ce6a3b 06:12:44 ---> 58ebc1ee7355 06:12:44 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 06:12:45 ---> 3e60d4d783f8 06:12:45 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 06:12:45 ---> 4580a47e7d43 06:12:45 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:12:45 ---> 520c1ba97f99 06:12:45 Step 18/23 : EXPOSE 59901 06:12:45 ---> Running in 61d5e43b9740 06:12:46 Removing intermediate container 61d5e43b9740 06:12:46 ---> fb56b30f5aed 06:12:46 Step 19/23 : ENTRYPOINT ["/device-modbus"] 06:12:46 ---> Running in 989b9f9711cb 06:12:46 Removing intermediate container 989b9f9711cb 06:12:46 ---> 7976b58d3308 06:12:46 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:12:46 ---> Running in 5f7234c1eb23 06:12:46 Removing intermediate container 5f7234c1eb23 06:12:46 ---> 13415bcdbc15 06:12:46 Step 21/23 : LABEL arch=amd64 06:12:46 ---> Running in 02f1968a2e18 06:12:46 Removing intermediate container 02f1968a2e18 06:12:46 ---> ecbe446cd557 06:12:46 Step 22/23 : LABEL git_sha=600d018d751e79cb36c22856eb8a497d52ddc51b 06:12:46 ---> Running in d1895464d87b 06:12:46 Removing intermediate container d1895464d87b 06:12:46 ---> 70868c178348 06:12:46 Step 23/23 : LABEL version=3.2.0-dev.2 06:12:46 ---> Running in c8617428e50c 06:12:46 Removing intermediate container c8617428e50c 06:12:46 ---> 7c1260d38a22 06:12:46 [Warning] One or more build-args [ARCH] were not consumed 06:12:46 Successfully built 7c1260d38a22 06:12:46 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:12:46 provisioning config files... 06:12:46 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9819500506388191497tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:12:47 ---> ****-login.sh 06:12:47 nexus3.edgexfoundry.org:10001 06:12:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:12:47 Configure a credential helper to remove this warning. See 06:12:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:12:47 06:12:47 Login Succeeded 06:12:47 nexus3.edgexfoundry.org:10002 06:12:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:12:47 Configure a credential helper to remove this warning. See 06:12:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:12:47 06:12:47 Login Succeeded 06:12:47 nexus3.edgexfoundry.org:10003 06:12:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:12:47 Configure a credential helper to remove this warning. See 06:12:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:12:47 06:12:47 Login Succeeded 06:12:47 nexus3.edgexfoundry.org:10004 06:12:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:12:47 Configure a credential helper to remove this warning. See 06:12:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:12:47 06:12:47 Login Succeeded 06:12:47 ****.io 06:12:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:12:47 Configure a credential helper to remove this warning. See 06:12:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:12:47 06:12:47 Login Succeeded 06:12:47 ---> ****-login.sh ends [Pipeline] } 06:12:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:12:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:12:47 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 06:12:47 600d018d751e79cb36c22856eb8a497d52ddc51b 06:12:47 latest 06:12:47 3.2.0-dev.2 06:12:47 600d018d751e79cb36c22856eb8a497d52ddc51b-3.2.0-dev.2 06:12:47 main 06:12:47 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:48 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:600d018d751e79cb36c22856eb8a497d52ddc51b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:48 + docker push nexus3.edgexfoundry.org:10004/device-modbus:600d018d751e79cb36c22856eb8a497d52ddc51b 06:12:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:12:48 039151e20530: Preparing 06:12:48 332508fb8592: Preparing 06:12:48 2f18fd2a79d4: Preparing 06:12:48 2db7d5e82107: Preparing 06:12:48 0acebbd55984: Preparing 06:12:48 cc2447e1835a: Preparing 06:12:48 cc2447e1835a: Waiting 06:12:48 039151e20530: Pushed 06:12:48 0acebbd55984: Pushed 06:12:48 332508fb8592: Pushed 06:12:48 cc2447e1835a: Layer already exists 06:12:49 2db7d5e82107: Pushed 06:12:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9108 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 06:12:50 Running in /w/workspace/device-modbus-go/141 [Pipeline] { [Pipeline] checkout 06:12:50 Selected Git installation does not exist. Using Default 06:12:50 The recommended git tool is: NONE 06:12:51 2f18fd2a79d4: Pushed 06:12:51 600d018d751e79cb36c22856eb8a497d52ddc51b: digest: sha256:ef8816a0fae0899726af1568f61a39f09bce700b750c75e35e495825691b4102 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:52 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:52 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 06:12:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:12:52 039151e20530: Preparing 06:12:52 332508fb8592: Preparing 06:12:52 2f18fd2a79d4: Preparing 06:12:52 2db7d5e82107: Preparing 06:12:52 0acebbd55984: Preparing 06:12:52 cc2447e1835a: Preparing 06:12:52 cc2447e1835a: Waiting 06:12:52 039151e20530: Layer already exists 06:12:52 2f18fd2a79d4: Layer already exists 06:12:52 0acebbd55984: Layer already exists 06:12:52 332508fb8592: Layer already exists 06:12:52 2db7d5e82107: Layer already exists 06:12:52 cc2447e1835a: Layer already exists 06:12:52 latest: digest: sha256:ef8816a0fae0899726af1568f61a39f09bce700b750c75e35e495825691b4102 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:52 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:53 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.2 06:12:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:12:53 039151e20530: Preparing 06:12:53 332508fb8592: Preparing 06:12:53 2f18fd2a79d4: Preparing 06:12:53 2db7d5e82107: Preparing 06:12:53 0acebbd55984: Preparing 06:12:53 cc2447e1835a: Preparing 06:12:53 cc2447e1835a: Waiting 06:12:53 2f18fd2a79d4: Layer already exists 06:12:53 0acebbd55984: Layer already exists 06:12:53 039151e20530: Layer already exists 06:12:53 332508fb8592: Layer already exists 06:12:53 2db7d5e82107: Layer already exists 06:12:53 cc2447e1835a: Layer already exists 06:12:53 3.2.0-dev.2: digest: sha256:ef8816a0fae0899726af1568f61a39f09bce700b750c75e35e495825691b4102 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:53 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:600d018d751e79cb36c22856eb8a497d52ddc51b-3.2.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:54 + docker push nexus3.edgexfoundry.org:10004/device-modbus:600d018d751e79cb36c22856eb8a497d52ddc51b-3.2.0-dev.2 06:12:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:12:54 039151e20530: Preparing 06:12:54 332508fb8592: Preparing 06:12:54 2f18fd2a79d4: Preparing 06:12:54 2db7d5e82107: Preparing 06:12:54 0acebbd55984: Preparing 06:12:54 cc2447e1835a: Preparing 06:12:54 cc2447e1835a: Waiting 06:12:54 2f18fd2a79d4: Layer already exists 06:12:54 332508fb8592: Layer already exists 06:12:54 2db7d5e82107: Layer already exists 06:12:54 039151e20530: Layer already exists 06:12:54 0acebbd55984: Layer already exists 06:12:54 cc2447e1835a: Layer already exists 06:12:54 600d018d751e79cb36c22856eb8a497d52ddc51b-3.2.0-dev.2: digest: sha256:ef8816a0fae0899726af1568f61a39f09bce700b750c75e35e495825691b4102 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:54 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:54 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 06:12:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:12:54 039151e20530: Preparing 06:12:54 332508fb8592: Preparing 06:12:54 2f18fd2a79d4: Preparing 06:12:54 2db7d5e82107: Preparing 06:12:54 0acebbd55984: Preparing 06:12:54 cc2447e1835a: Preparing 06:12:54 cc2447e1835a: Waiting 06:12:54 2f18fd2a79d4: Layer already exists 06:12:54 2db7d5e82107: Layer already exists 06:12:54 332508fb8592: Layer already exists 06:12:54 0acebbd55984: Layer already exists 06:12:54 039151e20530: Layer already exists 06:12:54 cc2447e1835a: Layer already exists 06:12:54 main: digest: sha256:ef8816a0fae0899726af1568f61a39f09bce700b750c75e35e495825691b4102 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:12:55 ===================================================== [Pipeline] echo 06:12:55 taggedImages: 06:12:55 - nexus3.edgexfoundry.org:10004/device-modbus:600d018d751e79cb36c22856eb8a497d52ddc51b 06:12:55 - nexus3.edgexfoundry.org:10004/device-modbus:latest 06:12:55 - nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.2 06:12:55 - nexus3.edgexfoundry.org:10004/device-modbus:600d018d751e79cb36c22856eb8a497d52ddc51b-3.2.0-dev.2 06:12:55 - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:12:55 06:12:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:12:56 latest: Pulling from edgex-lftools-log-publisher 06:12:56 5eb5b503b376: Pulling fs layer 06:12:56 5c69ac0246d0: Pulling fs layer 06:12:56 ec43610c2a17: Pulling fs layer 06:12:56 3a2ae6a8a46f: Pulling fs layer 06:12:56 33b1e0a273af: Pulling fs layer 06:12:56 5d3b04190fa2: Pulling fs layer 06:12:56 2f39f015ded8: Pulling fs layer 06:12:56 3a2ae6a8a46f: Waiting 06:12:56 5d3b04190fa2: Waiting 06:12:56 33b1e0a273af: Waiting 06:12:56 2f39f015ded8: Waiting 06:12:56 5c69ac0246d0: Download complete 06:12:56 3a2ae6a8a46f: Verifying Checksum 06:12:56 3a2ae6a8a46f: Download complete 06:12:56 33b1e0a273af: Verifying Checksum 06:12:56 33b1e0a273af: Download complete 06:12:56 5d3b04190fa2: Verifying Checksum 06:12:56 5d3b04190fa2: Download complete 06:12:56 ec43610c2a17: Verifying Checksum 06:12:56 ec43610c2a17: Download complete 06:12:56 5eb5b503b376: Verifying Checksum 06:12:56 5eb5b503b376: Download complete 06:12:57 2f39f015ded8: Verifying Checksum 06:12:57 2f39f015ded8: Download complete 06:12:57 5eb5b503b376: Pull complete 06:12:57 5c69ac0246d0: Pull complete 06:12:58 ec43610c2a17: Pull complete 06:12:58 3a2ae6a8a46f: Pull complete 06:12:58 33b1e0a273af: Pull complete 06:12:58 5d3b04190fa2: Pull complete 06:12:58 using credential edgex-jenkins-ssh 06:12:59 Cloning the remote Git repository 06:12:59 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:12:59 > git init /w/workspace/device-modbus-go/141 # timeout=10 06:12:59 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:12:59 > git --version # timeout=10 06:12:59 > git --version # 'git version 2.25.1' 06:12:59 using GIT_SSH to set credentials SSH Credentials for GitHub 06:12:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:13:02 2f39f015ded8: Pull complete 06:13:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:13:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:13:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:13:03 prd-ubuntu20.04-docker-8c-8g-9107 does not seem to be running inside a container 06:13:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:13:03 Avoid second fetch 06:13:03 Checking out Revision 600d018d751e79cb36c22856eb8a497d52ddc51b (main) 06:13:02 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:13:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:13:03 > git config core.sparsecheckout # timeout=10 06:13:03 > git checkout -f 600d018d751e79cb36c22856eb8a497d52ddc51b # timeout=10 06:13:04 Commit message: "Merge pull request #528 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.6.0" 06:13:04 06:13:04 GitHub has been notified of this commit’s build result 06:13:04 06:13:08 $ docker top 5892e52369eba4196665bc957e11056bba7be0de249ca5cd1f6d9affddff805c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:13:08 ---> job-cost.sh 06:13:08 lf-activate-venv: SKIPPING 06:13:08 INFO: No Stack... 06:13:08 INFO: Retrieving Pricing Info for: v3-standard-8 06:13:09 INFO: Archiving Costs [Pipeline] sh 06:13:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:13:09 % Total % Received % Xferd Average Speed Time Time Time Current 06:13:09 Dload Upload Total Spent Left Speed 06:13:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 87 12682 87 11015 0 0 78120 0 --:--:-- --:--:-- --:--:-- 78120 100 12682 100 12682 0 0 89309 0 --:--:-- --:--:-- --:--:-- 88685 [Pipeline] sh 06:13:09 + cut -d, -f6 06:13:09 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [Pipeline] lock 06:13:09 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-141-stack-cost] 06:13:09 Resource [jenkins-edgexfoundry-device-modbus-go-main-141-stack-cost] did not exist. Created. 06:13:09 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-141-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:13:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:13:09 + echo total: 0.2199999988079071 [Pipeline] stash 06:13:09 Stashed 1 file(s) [Pipeline] } 06:13:09 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-141-stack-cost] [Pipeline] // lock [Pipeline] } 06:13:10 $ docker stop --time=1 5892e52369eba4196665bc957e11056bba7be0de249ca5cd1f6d9affddff805c 06:13:10 + sudo tee /etc/docker/daemon.new 06:13:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:13:10 { 06:13:10 "registry-mirrors": [ 06:13:10 "https://nexus3.edgexfoundry.org:10001" 06:13:10 ], 06:13:10 "bip": "10.250.0.254/24", 06:13:10 "hosts": [ 06:13:10 "tcp://0.0.0.0:5555", 06:13:10 "unix:///var/run/docker.sock" 06:13:10 ], 06:13:10 "mtu": 1458, 06:13:10 "selinux-enabled": true, 06:13:10 "seccomp-profile": "/etc/docker/seccomp.json" 06:13:10 } 06:13:11 $ docker rm -f --volumes 5892e52369eba4196665bc957e11056bba7be0de249ca5cd1f6d9affddff805c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:13:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:13:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:13:30 provisioning config files... 06:13:30 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/141@tmp/config2296069090399257295tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:13:30 ---> ****-login.sh 06:13:30 nexus3.edgexfoundry.org:10001 06:13:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:13:36 Configure a credential helper to remove this warning. See 06:13:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:13:36 06:13:36 Login Succeeded 06:13:36 nexus3.edgexfoundry.org:10002 06:13:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:13:36 Configure a credential helper to remove this warning. See 06:13:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:13:36 06:13:36 Login Succeeded 06:13:36 nexus3.edgexfoundry.org:10003 06:13:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:13:37 Configure a credential helper to remove this warning. See 06:13:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:13:37 06:13:37 Login Succeeded 06:13:37 nexus3.edgexfoundry.org:10004 06:13:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:13:37 Configure a credential helper to remove this warning. See 06:13:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:13:37 06:13:37 Login Succeeded 06:13:37 ****.io 06:13:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:13:38 Configure a credential helper to remove this warning. See 06:13:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:13:38 06:13:38 Login Succeeded 06:13:38 ---> ****-login.sh ends [Pipeline] } 06:13:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:13:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:13:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:13:38 ========================================================= 06:13:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 06:13:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:13:39 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 06:13:39 Sending build context to Docker daemon 8.725MB 06:13:39 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 06:13:39 Step 2/10 : FROM ${BASE} AS builder 06:13:39 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:13:39 9fda8d8052c6: Pulling fs layer 06:13:39 5d54e960e981: Pulling fs layer 06:13:39 c4a7e357bf2a: Pulling fs layer 06:13:39 f0e02332f6b5: Pulling fs layer 06:13:39 872ee5b61b7b: Pulling fs layer 06:13:39 0c6a40ed1a82: Pulling fs layer 06:13:39 94ae7d8d031c: Pulling fs layer 06:13:39 f0e02332f6b5: Waiting 06:13:39 872ee5b61b7b: Waiting 06:13:39 0c6a40ed1a82: Waiting 06:13:39 94ae7d8d031c: Waiting 06:13:39 5d54e960e981: Verifying Checksum 06:13:39 5d54e960e981: Download complete 06:13:39 f0e02332f6b5: Verifying Checksum 06:13:39 f0e02332f6b5: Download complete 06:13:39 872ee5b61b7b: Verifying Checksum 06:13:39 872ee5b61b7b: Download complete 06:13:39 9fda8d8052c6: Verifying Checksum 06:13:39 9fda8d8052c6: Download complete 06:13:40 94ae7d8d031c: Verifying Checksum 06:13:40 94ae7d8d031c: Download complete 06:13:40 9fda8d8052c6: Pull complete 06:13:41 5d54e960e981: Pull complete 06:13:41 c4a7e357bf2a: Verifying Checksum 06:13:41 c4a7e357bf2a: Download complete 06:13:42 0c6a40ed1a82: Verifying Checksum 06:13:42 0c6a40ed1a82: Download complete 06:13:55 c4a7e357bf2a: Pull complete 06:13:55 f0e02332f6b5: Pull complete 06:13:55 872ee5b61b7b: Pull complete 06:14:03 0c6a40ed1a82: Pull complete 06:14:04 94ae7d8d031c: Pull complete 06:14:04 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 06:14:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 06:14:04 ---> 86de565de09d 06:14:04 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:14:05 ---> Running in 123eca11eb91 06:14:06 Removing intermediate container 123eca11eb91 06:14:06 ---> 85c36df8e74d 06:14:06 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:14:06 ---> Running in 014723226a9e 06:14:06 Removing intermediate container 014723226a9e 06:14:06 ---> 738652bd5dbe 06:14:06 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:14:06 ---> Running in 2df41591334b 06:14:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:14:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:14:09 (1/8) Installing openssh-keygen (9.3_p2-r0) 06:14:09 (2/8) Installing libedit (20221030.3.1-r1) 06:14:09 (3/8) Installing openssh-client-common (9.3_p2-r0) 06:14:09 (4/8) Installing openssh-client-default (9.3_p2-r0) 06:14:09 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 06:14:09 (6/8) Installing openssh-server-common (9.3_p2-r0) 06:14:09 (7/8) Installing openssh-server (9.3_p2-r0) 06:14:09 (8/8) Installing openssh (9.3_p2-r0) 06:14:09 Executing busybox-1.36.1-r5.trigger 06:14:09 OK: 272 MiB in 60 packages 06:14:10 Removing intermediate container 2df41591334b 06:14:10 ---> 02e3f442f05f 06:14:10 Step 6/10 : WORKDIR /device-modbus-go 06:14:10 ---> Running in 1727e781a76a 06:14:10 Removing intermediate container 1727e781a76a 06:14:10 ---> 0a0f7806edd9 06:14:10 Step 7/10 : COPY go.mod vendor* ./ 06:14:11 ---> 09e04d7a19dd 06:14:11 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:14:11 ---> Running in 0e798f025a3a 06:15:33 Removing intermediate container 0e798f025a3a 06:15:33 ---> a5d77e181910 06:15:33 Step 9/10 : COPY . . 06:15:33 ---> 262997b4e6e6 06:15:33 Step 10/10 : RUN ${MAKE} 06:15:33 ---> Running in b01d2fe05bf5 06:15:33 noop 06:15:33 Removing intermediate container b01d2fe05bf5 06:15:33 ---> b703e4f40bea 06:15:33 Successfully built b703e4f40bea 06:15:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:33 + docker inspect -f . ci-base-image-arm64 06:15:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:15:33 prd-ubuntu20.04-docker-arm64-4c-16g-9108 does not seem to be running inside a container 06:15:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/141 -v /w/workspace/device-modbus-go/141:/w/workspace/device-modbus-go/141:rw,z -v /w/workspace/device-modbus-go/141@tmp:/w/workspace/device-modbus-go/141@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 06:15:35 $ docker top 7a9eb87ae7c9a1854b0219357a90f1fbef825ac53f7c05b616b8524d40d0b58f -eo pid,comm [Pipeline] { [Pipeline] sh 06:15:36 + go version 06:15:36 go version go1.21.0 linux/arm64 [Pipeline] } 06:15:36 $ docker stop --time=1 7a9eb87ae7c9a1854b0219357a90f1fbef825ac53f7c05b616b8524d40d0b58f 06:15:37 $ docker rm -f --volumes 7a9eb87ae7c9a1854b0219357a90f1fbef825ac53f7c05b616b8524d40d0b58f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:38 + docker inspect -f . ci-base-image-arm64 06:15:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:15:38 prd-ubuntu20.04-docker-arm64-4c-16g-9108 does not seem to be running inside a container 06:15:38 $ 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/141 -v /w/workspace/device-modbus-go/141:/w/workspace/device-modbus-go/141:rw,z -v /w/workspace/device-modbus-go/141@tmp:/w/workspace/device-modbus-go/141@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 06:15:42 $ docker top dfd90329e6baf220a4e962c22d13d10ee9c19a7220fba7e67caad2ba21bc55bf -eo pid,comm [Pipeline] { [Pipeline] sh 06:15:43 + git config --global --add safe.directory /w/workspace/device-modbus-go/141 [Pipeline] fileExists [Pipeline] sh 06:15:44 + make test 06:15:44 go test ./... -coverprofile=coverage.out 06:15:48 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:17:25 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:17:25 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.060s coverage: 47.9% of statements 06:17:25 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:17:25 go vet ./... 06:17:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:17:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:17:35 ./bin/test-attribution-txt.sh [Pipeline] echo 06:17:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:17:35 $ docker stop --time=1 dfd90329e6baf220a4e962c22d13d10ee9c19a7220fba7e67caad2ba21bc55bf 06:17:38 $ docker rm -f --volumes dfd90329e6baf220a4e962c22d13d10ee9c19a7220fba7e67caad2ba21bc55bf [Pipeline] // withDockerContainer [Pipeline] sh 06:17:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:17:39 Warning: overwriting stash ‘coverage-report’ 06:17:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:17:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:17:40 + ls -al . 06:17:40 total 188 06:17:40 drwxrwxr-x 8 jenkins jenkins 4096 Nov 29 06:15 . 06:17:40 drwxrwxr-x 4 jenkins jenkins 4096 Nov 29 06:12 .. 06:17:40 -rw-rw-r-- 1 jenkins jenkins 140 Nov 29 06:13 .dockerignore 06:17:40 drwxrwxr-x 8 jenkins jenkins 4096 Nov 29 06:13 .git 06:17:40 drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 06:13 .github 06:17:40 -rw-rw-r-- 1 jenkins jenkins 266 Nov 29 06:13 .gitignore 06:17:40 -rw-rw-r-- 1 jenkins jenkins 41 Nov 29 06:13 .golangci.yml 06:17:40 -rw-rw-r-- 1 jenkins jenkins 11101 Nov 29 06:13 Attribution.txt 06:17:40 -rw-rw-r-- 1 jenkins jenkins 16388 Nov 29 06:13 CHANGELOG.md 06:17:40 -rw-rw-r-- 1 jenkins jenkins 1474 Nov 29 06:13 Dockerfile 06:17:40 -rw-rw-r-- 1 jenkins jenkins 677 Nov 29 06:13 GOVERNANCE.md 06:17:40 -rw-rw-r-- 1 jenkins jenkins 658 Nov 29 06:13 Jenkinsfile 06:17:40 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 29 06:13 LICENSE 06:17:40 -rw-rw-r-- 1 jenkins jenkins 1936 Nov 29 06:13 Makefile 06:17:40 -rw-rw-r-- 1 jenkins jenkins 622 Nov 29 06:13 OWNERS.md 06:17:40 -rw-rw-r-- 1 jenkins jenkins 4463 Nov 29 06:13 README.md 06:17:40 -rw-rw-r-- 1 jenkins jenkins 11 Nov 29 06:10 VERSION 06:17:40 drwxrwxr-x 2 jenkins jenkins 4096 Nov 29 06:13 bin 06:17:40 drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 06:13 cmd 06:17:40 -rw-r--r-- 1 jenkins jenkins 24334 Nov 29 06:17 coverage.out 06:17:40 -rw-rw-r-- 1 jenkins jenkins 3937 Nov 29 06:13 go.mod 06:17:40 -rw-rw-r-- 1 jenkins jenkins 35426 Nov 29 06:13 go.sum 06:17:40 drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 06:13 internal 06:17:40 drwxrwxr-x 2 jenkins jenkins 4096 Nov 29 06:13 simulator 06:17:40 -rw-rw-r-- 1 jenkins jenkins 229 Nov 29 06:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:41 + 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=600d018d751e79cb36c22856eb8a497d52ddc51b --label arch=arm64 --label version=3.2.0-dev.2 . 06:17:41 Sending build context to Docker daemon 8.75MB 06:17:41 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 06:17:41 Step 2/23 : FROM ${BASE} AS builder 06:17:41 ---> b703e4f40bea 06:17:41 Step 3/23 : ARG ADD_BUILD_TAGS="" 06:17:41 ---> Running in f6f323799cc8 06:17:41 Removing intermediate container f6f323799cc8 06:17:41 ---> dd714992c653 06:17:41 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:17:42 ---> Running in 2f1190897071 06:17:42 Removing intermediate container 2f1190897071 06:17:42 ---> 40746bde73f3 06:17:42 Step 5/23 : RUN apk add --update --no-cache make git openssh 06:17:42 ---> Running in 150031de6a0d 06:17:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:17:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:17:45 OK: 272 MiB in 60 packages 06:17:46 Removing intermediate container 150031de6a0d 06:17:46 ---> 25fe2a303b30 06:17:46 Step 6/23 : WORKDIR /device-modbus-go 06:17:46 ---> Running in 58212f161854 06:17:46 Removing intermediate container 58212f161854 06:17:46 ---> f4a1c80de01f 06:17:46 Step 7/23 : COPY go.mod vendor* ./ 06:17:46 ---> 45d961ea2898 06:17:46 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:17:46 ---> Running in a834a2aba84e 06:17:51 Removing intermediate container a834a2aba84e 06:17:51 ---> 953e17ca16ae 06:17:51 Step 9/23 : COPY . . 06:17:51 ---> 8699462663d7 06:17:51 Step 10/23 : RUN ${MAKE} 06:17:52 ---> Running in 041edf74558c 06:17:53 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.1" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 06:19:44 Removing intermediate container 041edf74558c 06:19:44 ---> a2faa34af3a2 06:19:44 Step 11/23 : FROM alpine:3.18 06:19:44 3.18: Pulling from library/alpine 06:19:44 579b34f0a95b: Pulling fs layer 06:19:44 579b34f0a95b: Verifying Checksum 06:19:44 579b34f0a95b: Download complete 06:19:44 579b34f0a95b: Pull complete 06:19:44 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 06:19:44 Status: Downloaded newer image for alpine:3.18 06:19:44 ---> 3cc203321400 06:19:44 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:19:44 ---> Running in 42a3eab1a029 06:19:44 Removing intermediate container 42a3eab1a029 06:19:44 ---> bff2d4faeb09 06:19:44 Step 13/23 : RUN apk add --update --no-cache dumb-init 06:19:44 ---> Running in 43f281ba2793 06:19:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:19:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:19:44 (1/1) Installing dumb-init (1.2.5-r2) 06:19:44 Executing busybox-1.36.1-r2.trigger 06:19:44 OK: 8 MiB in 16 packages 06:19:44 Removing intermediate container 43f281ba2793 06:19:44 ---> 8e4098d1557d 06:19:44 Step 14/23 : RUN apk --no-cache upgrade 06:19:44 ---> Running in 7cf4960bc5ae 06:19:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:19:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:19:44 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 06:19:44 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 06:19:44 Executing busybox-1.36.1-r5.post-upgrade 06:19:44 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 06:19:44 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 06:19:44 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 06:19:44 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 06:19:44 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 06:19:44 Executing busybox-1.36.1-r5.trigger 06:19:44 OK: 8 MiB in 16 packages 06:19:44 Removing intermediate container 7cf4960bc5ae 06:19:44 ---> 56f2ce84bc40 06:19:44 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 06:19:45 ---> 3dbe4ad101e9 06:19:45 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 06:19:46 ---> 3efb22247216 06:19:46 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:19:46 ---> 009858cf3521 06:19:46 Step 18/23 : EXPOSE 59901 06:19:46 ---> Running in 8cdfe4828121 06:19:46 Removing intermediate container 8cdfe4828121 06:19:46 ---> 3eb376a1362c 06:19:46 Step 19/23 : ENTRYPOINT ["/device-modbus"] 06:19:46 ---> Running in 53247e7d53a7 06:19:47 Removing intermediate container 53247e7d53a7 06:19:47 ---> 0977d45a5097 06:19:47 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:19:47 ---> Running in 7f2974fd5dfb 06:19:47 Removing intermediate container 7f2974fd5dfb 06:19:47 ---> 2c15eb167d9a 06:19:47 Step 21/23 : LABEL arch=arm64 06:19:47 ---> Running in 25d6bb71eb01 06:19:47 Removing intermediate container 25d6bb71eb01 06:19:47 ---> 1410ce4c421b 06:19:47 Step 22/23 : LABEL git_sha=600d018d751e79cb36c22856eb8a497d52ddc51b 06:19:47 ---> Running in 7ee995cc7a3c 06:19:48 Removing intermediate container 7ee995cc7a3c 06:19:48 ---> a4c90b3e720e 06:19:48 Step 23/23 : LABEL version=3.2.0-dev.2 06:19:48 ---> Running in a0ba37955eb5 06:19:48 Removing intermediate container a0ba37955eb5 06:19:48 ---> b2d981100c90 06:19:48 [Warning] One or more build-args [ARCH] were not consumed 06:19:48 Successfully built b2d981100c90 06:19:48 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:19:48 provisioning config files... 06:19:49 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/141@tmp/config6399261271082280943tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:19:49 ---> ****-login.sh 06:19:49 nexus3.edgexfoundry.org:10001 06:19:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:19:49 Configure a credential helper to remove this warning. See 06:19:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:19:49 06:19:49 Login Succeeded 06:19:49 nexus3.edgexfoundry.org:10002 06:19:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:19:49 Configure a credential helper to remove this warning. See 06:19:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:19:49 06:19:49 Login Succeeded 06:19:49 nexus3.edgexfoundry.org:10003 06:19:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:19:50 Configure a credential helper to remove this warning. See 06:19:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:19:50 06:19:50 Login Succeeded 06:19:50 nexus3.edgexfoundry.org:10004 06:19:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:19:50 Configure a credential helper to remove this warning. See 06:19:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:19:50 06:19:50 Login Succeeded 06:19:50 ****.io 06:19:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:19:51 Configure a credential helper to remove this warning. See 06:19:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:19:51 06:19:51 Login Succeeded 06:19:51 ---> ****-login.sh ends [Pipeline] } 06:19:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:19:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:19:51 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 06:19:51 600d018d751e79cb36c22856eb8a497d52ddc51b 06:19:51 latest 06:19:51 3.2.0-dev.2 06:19:51 600d018d751e79cb36c22856eb8a497d52ddc51b-3.2.0-dev.2 06:19:51 main 06:19:51 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:52 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:600d018d751e79cb36c22856eb8a497d52ddc51b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:52 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:600d018d751e79cb36c22856eb8a497d52ddc51b 06:19:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:19:52 37dbefbf3f9d: Preparing 06:19:52 add52b2ce2ea: Preparing 06:19:52 4b3b8aaf7870: Preparing 06:19:52 92b161912a1e: Preparing 06:19:52 0c020b505246: Preparing 06:19:52 5f4d9fc4d98d: Preparing 06:19:52 5f4d9fc4d98d: Waiting 06:19:52 37dbefbf3f9d: Pushed 06:19:52 5f4d9fc4d98d: Layer already exists 06:19:52 0c020b505246: Pushed 06:19:52 add52b2ce2ea: Pushed 06:19:58 92b161912a1e: Pushed 06:20:01 4b3b8aaf7870: Pushed 06:20:01 600d018d751e79cb36c22856eb8a497d52ddc51b: digest: sha256:8444a165bea36aef0f180a887f0a88aa1e871d1a8e5b142fd510af95dea02e65 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:02 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:02 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 06:20:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:20:02 37dbefbf3f9d: Preparing 06:20:02 add52b2ce2ea: Preparing 06:20:02 4b3b8aaf7870: Preparing 06:20:02 92b161912a1e: Preparing 06:20:02 0c020b505246: Preparing 06:20:02 5f4d9fc4d98d: Preparing 06:20:02 5f4d9fc4d98d: Waiting 06:20:02 4b3b8aaf7870: Layer already exists 06:20:02 92b161912a1e: Layer already exists 06:20:02 37dbefbf3f9d: Layer already exists 06:20:02 add52b2ce2ea: Layer already exists 06:20:02 0c020b505246: Layer already exists 06:20:02 5f4d9fc4d98d: Layer already exists 06:20:02 latest: digest: sha256:8444a165bea36aef0f180a887f0a88aa1e871d1a8e5b142fd510af95dea02e65 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:03 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:03 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.2 06:20:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:20:03 37dbefbf3f9d: Preparing 06:20:03 add52b2ce2ea: Preparing 06:20:03 4b3b8aaf7870: Preparing 06:20:03 92b161912a1e: Preparing 06:20:03 0c020b505246: Preparing 06:20:03 5f4d9fc4d98d: Preparing 06:20:03 5f4d9fc4d98d: Waiting 06:20:03 37dbefbf3f9d: Layer already exists 06:20:03 92b161912a1e: Layer already exists 06:20:03 4b3b8aaf7870: Layer already exists 06:20:03 add52b2ce2ea: Layer already exists 06:20:03 0c020b505246: Layer already exists 06:20:03 5f4d9fc4d98d: Layer already exists 06:20:03 3.2.0-dev.2: digest: sha256:8444a165bea36aef0f180a887f0a88aa1e871d1a8e5b142fd510af95dea02e65 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:04 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:600d018d751e79cb36c22856eb8a497d52ddc51b-3.2.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:04 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:600d018d751e79cb36c22856eb8a497d52ddc51b-3.2.0-dev.2 06:20:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:20:04 37dbefbf3f9d: Preparing 06:20:04 add52b2ce2ea: Preparing 06:20:04 4b3b8aaf7870: Preparing 06:20:04 92b161912a1e: Preparing 06:20:04 0c020b505246: Preparing 06:20:04 5f4d9fc4d98d: Preparing 06:20:04 5f4d9fc4d98d: Waiting 06:20:04 4b3b8aaf7870: Layer already exists 06:20:04 0c020b505246: Layer already exists 06:20:04 37dbefbf3f9d: Layer already exists 06:20:04 92b161912a1e: Layer already exists 06:20:04 add52b2ce2ea: Layer already exists 06:20:04 5f4d9fc4d98d: Layer already exists 06:20:05 600d018d751e79cb36c22856eb8a497d52ddc51b-3.2.0-dev.2: digest: sha256:8444a165bea36aef0f180a887f0a88aa1e871d1a8e5b142fd510af95dea02e65 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:05 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:06 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 06:20:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:20:06 37dbefbf3f9d: Preparing 06:20:06 add52b2ce2ea: Preparing 06:20:06 4b3b8aaf7870: Preparing 06:20:06 92b161912a1e: Preparing 06:20:06 0c020b505246: Preparing 06:20:06 5f4d9fc4d98d: Preparing 06:20:06 5f4d9fc4d98d: Waiting 06:20:06 0c020b505246: Layer already exists 06:20:06 37dbefbf3f9d: Layer already exists 06:20:06 add52b2ce2ea: Layer already exists 06:20:06 92b161912a1e: Layer already exists 06:20:06 4b3b8aaf7870: Layer already exists 06:20:06 5f4d9fc4d98d: Layer already exists 06:20:06 main: digest: sha256:8444a165bea36aef0f180a887f0a88aa1e871d1a8e5b142fd510af95dea02e65 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:20:06 ===================================================== [Pipeline] echo 06:20:06 taggedImages: 06:20:06 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:600d018d751e79cb36c22856eb8a497d52ddc51b 06:20:06 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 06:20:06 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.2 06:20:06 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:600d018d751e79cb36c22856eb8a497d52ddc51b-3.2.0-dev.2 06:20:06 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:20:07 06:20:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:20:07 arm64: Pulling from edgex-lftools-log-publisher 06:20:07 8998bd30e6a1: Pulling fs layer 06:20:07 04944245beec: Pulling fs layer 06:20:07 699f458cf7ca: Pulling fs layer 06:20:07 765212b225bb: Pulling fs layer 06:20:07 f23df028b6ca: Pulling fs layer 06:20:07 d65c8cfc05b1: Pulling fs layer 06:20:07 2437ff75d9bd: Pulling fs layer 06:20:07 f23df028b6ca: Waiting 06:20:07 d65c8cfc05b1: Waiting 06:20:07 2437ff75d9bd: Waiting 06:20:07 765212b225bb: Waiting 06:20:08 04944245beec: Verifying Checksum 06:20:08 04944245beec: Download complete 06:20:08 765212b225bb: Verifying Checksum 06:20:08 765212b225bb: Download complete 06:20:08 f23df028b6ca: Verifying Checksum 06:20:08 f23df028b6ca: Download complete 06:20:08 d65c8cfc05b1: Verifying Checksum 06:20:08 d65c8cfc05b1: Download complete 06:20:08 699f458cf7ca: Verifying Checksum 06:20:08 699f458cf7ca: Download complete 06:20:08 8998bd30e6a1: Verifying Checksum 06:20:08 8998bd30e6a1: Download complete 06:20:11 2437ff75d9bd: Verifying Checksum 06:20:11 2437ff75d9bd: Download complete 06:20:12 8998bd30e6a1: Pull complete 06:20:13 04944245beec: Pull complete 06:20:14 699f458cf7ca: Pull complete 06:20:15 765212b225bb: Pull complete 06:20:16 f23df028b6ca: Pull complete 06:20:16 d65c8cfc05b1: Pull complete 06:20:31 2437ff75d9bd: Pull complete 06:20:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:20:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:20:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:20:31 prd-ubuntu20.04-docker-arm64-4c-16g-9108 does not seem to be running inside a container 06:20:31 $ 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/141 -v /w/workspace/device-modbus-go/141:/w/workspace/device-modbus-go/141:rw,z -v /w/workspace/device-modbus-go/141@tmp:/w/workspace/device-modbus-go/141@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 06:20:34 $ docker top 8f558a6c42947c5feb4fce1e9aa4fc3a0dac373dd86df69de2e18965f4ec9ecd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:20:35 ---> job-cost.sh 06:20:35 lf-activate-venv: SKIPPING 06:20:35 INFO: No Stack... 06:20:35 INFO: Retrieving Pricing Info for: v3-standard-4 06:20:36 INFO: Archiving Costs [Pipeline] sh 06:20:36 + cat /w/workspace/device-modbus-go/141/archives/cost.csv 06:20:36 + cut -d, -f6 [Pipeline] lock 06:20:36 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-141-stack-cost] 06:20:36 Resource [jenkins-edgexfoundry-device-modbus-go-main-141-stack-cost] did not exist. Created. 06:20:36 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-141-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:20:37 /w/workspace/device-modbus-go/141@tmp/durable-7cca685f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:20:38 + echo total: 0.10999999940395355 [Pipeline] stash 06:20:38 Warning: overwriting stash ‘stack-cost’ 06:20:38 Stashed 1 file(s) [Pipeline] } 06:20:38 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-141-stack-cost] [Pipeline] // lock [Pipeline] } 06:20:38 $ docker stop --time=1 8f558a6c42947c5feb4fce1e9aa4fc3a0dac373dd86df69de2e18965f4ec9ecd 06:20:41 $ docker rm -f --volumes 8f558a6c42947c5feb4fce1e9aa4fc3a0dac373dd86df69de2e18965f4ec9ecd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 06:20:42 provisioning config files... 06:20:42 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16238150686400214795tmp [Pipeline] { [Pipeline] sh 06:20:42 + set +x 06:20:42 + + bash -scurl -- -s 06:20:42 https://codecov.io/bash 06:20:42 06:20:42 _____ _ 06:20:42 / ____| | | 06:20:42 | | ___ __| | ___ ___ _____ __ 06:20:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:20:42 | |___| (_) | (_| | __/ (_| (_) \ V / 06:20:42 \_____\___/ \__,_|\___|\___\___/ \_/ 06:20:42 Bash-1.0.6 06:20:42 06:20:42 06:20:42 ==> git version 2.25.1 found 06:20:42 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 06:20:42 Release-Date: 2020-01-08 06:20:42 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:20:42 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:20:42 ==> Jenkins CI detected. 06:20:42 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 06:20:42 project root: . 06:20:42 --> token set from env 06:20:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:20:42 ==> Running gcov in . (disable via -X gcov) 06:20:42 ==> Python coveragepy not found 06:20:42 ==> Searching for coverage reports in: 06:20:42 + . 06:20:42 -> Found 1 reports 06:20:42 ==> Detecting git/mercurial file structure 06:20:42 ==> Reading reports 06:20:42 + ./coverage.out bytes=24334 06:20:42 ==> Appending adjustments 06:20:42 https://docs.codecov.io/docs/fixing-reports 06:20:42 + Found adjustments 06:20:42 ==> Gzipping contents 06:20:42 4.0K /tmp/codecov.RvG5ww.gz 06:20:42 ==> Uploading reports 06:20:42 url: https://codecov.io 06:20:42 query: branch=main&commit=600d018d751e79cb36c22856eb8a497d52ddc51b&build=141&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F141%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:20:42 -> Pinging Codecov 06:20:42 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=600d018d751e79cb36c22856eb8a497d52ddc51b&build=141&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F141%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:20:42 -> Uploading to 06:20:42 https://storage.googleapis.com/codecov/v4/raw/2023-11-29/55DBCA73C666E3227836607328DD7E49/600d018d751e79cb36c22856eb8a497d52ddc51b/ec574765-f89c-4e3a-bf9e-db4462a3f961.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231129%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231129T062042Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a0fed017644f99d9dd3d78885647f12f0844c0544af3989d52566ecf939a4a5f 06:20:42 % Total % Received % Xferd Average Speed Time Time Time Current 06:20:42 Dload Upload Total Spent Left Speed 06:20:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3806 0 0 100 3806 0 15598 --:--:-- --:--:-- --:--:-- 15598 06:20:43 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/600d018d751e79cb36c22856eb8a497d52ddc51b [Pipeline] } 06:20:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:20:43 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:20:43 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:20:44 06:20:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:20:44 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:20:44 df9b9388f04a: Pulling fs layer 06:20:44 52dc419b0ee2: Pulling fs layer 06:20:44 25bc292e5bac: Pulling fs layer 06:20:44 114826534d7a: Pulling fs layer 06:20:44 4657fd5d0bcf: Pulling fs layer 06:20:44 114826534d7a: Waiting 06:20:44 6ad1cebc031e: Pulling fs layer 06:20:44 8a3aa393b2d8: Pulling fs layer 06:20:44 4657fd5d0bcf: Waiting 06:20:44 6ad1cebc031e: Waiting 06:20:44 8a3aa393b2d8: Waiting 06:20:44 25bc292e5bac: Download complete 06:20:44 52dc419b0ee2: Download complete 06:20:44 4657fd5d0bcf: Verifying Checksum 06:20:44 4657fd5d0bcf: Download complete 06:20:44 df9b9388f04a: Verifying Checksum 06:20:44 6ad1cebc031e: Verifying Checksum 06:20:44 6ad1cebc031e: Download complete 06:20:44 df9b9388f04a: Pull complete 06:20:44 52dc419b0ee2: Pull complete 06:20:44 25bc292e5bac: Pull complete 06:20:45 114826534d7a: Verifying Checksum 06:20:45 114826534d7a: Download complete 06:20:45 8a3aa393b2d8: Verifying Checksum 06:20:45 8a3aa393b2d8: Download complete 06:20:48 114826534d7a: Pull complete 06:20:48 4657fd5d0bcf: Pull complete 06:20:48 6ad1cebc031e: Pull complete 06:20:51 8a3aa393b2d8: Pull complete 06:20:51 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 06:20:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:20:51 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:20:51 prd-ubuntu20.04-docker-8c-8g-9107 does not seem to be running inside a container 06:20:51 $ 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 06:20:56 $ docker top 78c88649634953517bc64d10f06bd25566620aafdfc21e708e1677642dbcbc32 -eo pid,comm [Pipeline] { [Pipeline] echo 06:20:56 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 06:20:56 + set -o pipefail 06:20:56 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 06:21:03 06:21:03 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 06:21:03 06:21:03 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/a73c8e6a-494b-4fef-84c1-8c0799a7cca2 06:21:03 06:21:03 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 06:21:03 06:21:03 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:21:03 06:21:03 06:21:03 A medium severity vulnerability was found in the Snyk CLI versions you are using. 06:21:03 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 06:21:03 More details here: https://snyk.co/ue1NS 06:21:03 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 06:21:03 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 06:21:03 $ docker stop --time=1 78c88649634953517bc64d10f06bd25566620aafdfc21e708e1677642dbcbc32 06:21:07 $ docker rm -f --volumes 78c88649634953517bc64d10f06bd25566620aafdfc21e708e1677642dbcbc32 [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 06:21:09 + git log --format=format:%s -1 600d018d751e79cb36c22856eb8a497d52ddc51b [Pipeline] sh 06:21:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:21:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:21:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:21:10 prd-ubuntu20.04-docker-8c-8g-9107 does not seem to be running inside a container 06:21:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:21:10 $ docker top c83f53f30c94ca6fa097027fb5b4a318ddb9092da91c2c4454d8e24becd22c30 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:21:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:21:10 [ssh-agent] Looking for ssh-agent implementation... 06:21:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:21:11 $ docker exec c83f53f30c94ca6fa097027fb5b4a318ddb9092da91c2c4454d8e24becd22c30 ssh-agent 06:21:11 SSH_AUTH_SOCK=/tmp/ssh-5fyivZs2raaR/agent.32 06:21:11 SSH_AGENT_PID=38 06:21:11 Running ssh-add (command line suppressed) 06:21:11 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9045684041844551861.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9045684041844551861.key) 06:21:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:21:11 + git semver tag 06:21:11 2023-11-29 06:21:11,786 [run_tag] DEBUG tag force:False 06:21:11 2023-11-29 06:21:11,786 [check_head_tag] DEBUG check head tag 06:21:11 2023-11-29 06:21:11,787 [execute] INFO git cat-file --batch-check 06:21:11 2023-11-29 06:21:11,787 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 06:21:11 2023-11-29 06:21:11,791 [execute] INFO git cat-file --batch 06:21:11 2023-11-29 06:21:11,791 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 06:21:11 2023-11-29 06:21:11,805 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:21:11 2023-11-29 06:21:11,805 [execute] INFO git tag -a v3.2.0-dev.2 -m v3.2.0-dev.2 06:21:11 2023-11-29 06:21:11,805 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.2', '-m', 'v3.2.0-dev.2'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 06:21:11 2023-11-29 06:21:11,810 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:21:11 3.2.0-dev.2 [Pipeline] } 06:21:11 $ docker exec --env ******** --env ******** c83f53f30c94ca6fa097027fb5b4a318ddb9092da91c2c4454d8e24becd22c30 ssh-agent -k 06:21:11 unset SSH_AUTH_SOCK; 06:21:11 unset SSH_AGENT_PID; 06:21:11 echo Agent pid 38 killed; 06:21:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:21:12 + git semver [Pipeline] } 06:21:12 $ docker stop --time=1 c83f53f30c94ca6fa097027fb5b4a318ddb9092da91c2c4454d8e24becd22c30 06:21:14 $ docker rm -f --volumes c83f53f30c94ca6fa097027fb5b4a318ddb9092da91c2c4454d8e24becd22c30 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:21:14 06:21:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:21:15 0.23.1-centos7: Pulling from edgex-lftools 06:21:15 ab5ef0e58194: Pulling fs layer 06:21:15 9712f1f96733: Pulling fs layer 06:21:15 63f879dbbcfc: Pulling fs layer 06:21:15 0d9ebad4ef96: Pulling fs layer 06:21:15 e9a5061849ea: Pulling fs layer 06:21:15 d747dcd14b5f: Pulling fs layer 06:21:15 2de7ff778b66: Pulling fs layer 06:21:15 0d9ebad4ef96: Waiting 06:21:15 d747dcd14b5f: Waiting 06:21:15 2de7ff778b66: Waiting 06:21:15 e9a5061849ea: Waiting 06:21:15 9712f1f96733: Verifying Checksum 06:21:15 9712f1f96733: Download complete 06:21:15 63f879dbbcfc: Verifying Checksum 06:21:15 63f879dbbcfc: Download complete 06:21:15 0d9ebad4ef96: Verifying Checksum 06:21:15 0d9ebad4ef96: Download complete 06:21:15 d747dcd14b5f: Verifying Checksum 06:21:15 e9a5061849ea: Verifying Checksum 06:21:15 e9a5061849ea: Download complete 06:21:15 ab5ef0e58194: Verifying Checksum 06:21:15 ab5ef0e58194: Download complete 06:21:15 2de7ff778b66: Verifying Checksum 06:21:15 2de7ff778b66: Download complete 06:21:18 ab5ef0e58194: Pull complete 06:21:18 9712f1f96733: Pull complete 06:21:18 63f879dbbcfc: Pull complete 06:21:22 0d9ebad4ef96: Pull complete 06:21:22 e9a5061849ea: Pull complete 06:21:22 d747dcd14b5f: Pull complete 06:21:23 2de7ff778b66: Pull complete 06:21:23 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:21:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:21:23 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:21:24 prd-ubuntu20.04-docker-8c-8g-9107 does not seem to be running inside a container 06:21:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:21:31 $ docker top 7f2e4f6a372629581617c755cb1ff7e3a4db5cdd0719cb02c99e4ad827b4a6e3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:21:31 provisioning config files... 06:21:31 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6074024804522186286tmp 06:21:31 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7489990470454969513tmp 06:21:31 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7571936660278043897tmp [Pipeline] { [Pipeline] echo 06:21:31 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:21:32 ---> sigul-configuration.sh 06:21:32 gpg: directory `/root/.gnupg' created 06:21:32 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:21:32 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:21:32 gpg: keyring `/root/.gnupg/secring.gpg' created 06:21:32 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:21:32 gpg: CAST5 encrypted data 06:21:32 gpg: encrypted with 1 passphrase 06:21:32 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:21:32 + mkdir /home/jenkins 06:21:32 + mkdir /home/jenkins/sigul [Pipeline] sh 06:21:32 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 06:21:32 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:21:32 ---> sigul-install.sh 06:21:32 Sigul already installed; skipping installation. [Pipeline] sh 06:21:33 + git tag --list 06:21:33 0.7.1 06:21:33 v1.0.0 06:21:33 v1.1.0 06:21:33 v1.1.1 06:21:33 v1.2.2 06:21:33 v1.3.0 06:21:33 v1.3.1 06:21:33 v2.0.0 06:21:33 v2.1.0 06:21:33 v2.1.1 06:21:33 v2.2.0 06:21:33 v2.3.0 06:21:33 v3.0 06:21:33 v3.0.0 06:21:33 v3.1 06:21:33 v3.1.0 06:21:33 v3.1.0-dev.1 06:21:33 v3.1.0-dev.10 06:21:33 v3.1.0-dev.11 06:21:33 v3.1.0-dev.12 06:21:33 v3.1.0-dev.13 06:21:33 v3.1.0-dev.14 06:21:33 v3.1.0-dev.15 06:21:33 v3.1.0-dev.16 06:21:33 v3.1.0-dev.17 06:21:33 v3.1.0-dev.18 06:21:33 v3.1.0-dev.19 06:21:33 v3.1.0-dev.2 06:21:33 v3.1.0-dev.20 06:21:33 v3.1.0-dev.21 06:21:33 v3.1.0-dev.22 06:21:33 v3.1.0-dev.23 06:21:33 v3.1.0-dev.24 06:21:33 v3.1.0-dev.25 06:21:33 v3.1.0-dev.3 06:21:33 v3.1.0-dev.4 06:21:33 v3.1.0-dev.5 06:21:33 v3.1.0-dev.6 06:21:33 v3.1.0-dev.7 06:21:33 v3.1.0-dev.8 06:21:33 v3.1.0-dev.9 06:21:33 v3.2.0-dev.1 06:21:33 v3.2.0-dev.2 [Pipeline] sh 06:21:33 + lftools sign git-tag v3.2.0-dev.2 06:21:34 Signing Git tag with Sigul... 06:21:34 Signing v3.2.0-dev.2 [Pipeline] echo 06:21:34 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:21:34 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:21:34 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:21:34 $ docker stop --time=1 7f2e4f6a372629581617c755cb1ff7e3a4db5cdd0719cb02c99e4ad827b4a6e3 06:21:36 $ docker rm -f --volumes 7f2e4f6a372629581617c755cb1ff7e3a4db5cdd0719cb02c99e4ad827b4a6e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:21:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:21:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:21:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:21:37 prd-ubuntu20.04-docker-8c-8g-9107 does not seem to be running inside a container 06:21:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:21:37 $ docker top 256f1dd4a047576fbacf08a648adc0b624faec64ca5fccd9f0f0f04bc3cd8eec -eo pid,comm 06:21:37 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:21:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:21:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:21:38 [ssh-agent] Looking for ssh-agent implementation... 06:21:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:21:38 $ docker exec 256f1dd4a047576fbacf08a648adc0b624faec64ca5fccd9f0f0f04bc3cd8eec ssh-agent 06:21:38 SSH_AUTH_SOCK=/tmp/ssh-D8TSKWbOcWO1/agent.32 06:21:38 SSH_AGENT_PID=38 06:21:38 Running ssh-add (command line suppressed) 06:21:38 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14241087203282102560.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14241087203282102560.key) 06:21:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:21:38 + git semver bump pre 06:21:39 2023-11-29 06:21:39,049 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:21:39 2023-11-29 06:21:39,049 [bump_version] DEBUG bumping version:3.2.0-dev.2 on axis:pre with prefix:dev 06:21:39 2023-11-29 06:21:39,049 [bump_version] DEBUG bumped version:3.2.0-dev.3 06:21:39 2023-11-29 06:21:39,049 [write_version] DEBUG write version:3.2.0-dev.3 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 06:21:39 2023-11-29 06:21:39,049 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:21:39 2023-11-29 06:21:39,049 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:21:39 2023-11-29 06:21:39,051 [execute] INFO git cat-file --batch-check 06:21:39 2023-11-29 06:21:39,051 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:21:39 2023-11-29 06:21:39,056 [execute] INFO git cat-file --batch 06:21:39 2023-11-29 06:21:39,056 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:21:39 2023-11-29 06:21:39,061 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:21:39 3.2.0-dev.3 [Pipeline] } 06:21:39 $ docker exec --env ******** --env ******** 256f1dd4a047576fbacf08a648adc0b624faec64ca5fccd9f0f0f04bc3cd8eec ssh-agent -k 06:21:39 unset SSH_AUTH_SOCK; 06:21:39 unset SSH_AGENT_PID; 06:21:39 echo Agent pid 38 killed; 06:21:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:21:39 + git semver [Pipeline] } 06:21:40 $ docker stop --time=1 256f1dd4a047576fbacf08a648adc0b624faec64ca5fccd9f0f0f04bc3cd8eec 06:21:41 $ docker rm -f --volumes 256f1dd4a047576fbacf08a648adc0b624faec64ca5fccd9f0f0f04bc3cd8eec [Pipeline] // withDockerContainer [Pipeline] sh 06:21:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:21:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:21:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:21:42 prd-ubuntu20.04-docker-8c-8g-9107 does not seem to be running inside a container 06:21: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 06:21:42 $ docker top 9c33efc7526608fd061da76d6918c60dfde362b47623927b62278d071a340539 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:21:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:21:43 [ssh-agent] Looking for ssh-agent implementation... 06:21:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:21:43 $ docker exec 9c33efc7526608fd061da76d6918c60dfde362b47623927b62278d071a340539 ssh-agent 06:21:43 SSH_AUTH_SOCK=/tmp/ssh-QYcv9lMEarx1/agent.32 06:21:43 SSH_AGENT_PID=38 06:21:43 Running ssh-add (command line suppressed) 06:21:43 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17435177436962438392.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17435177436962438392.key) 06:21:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:21:43 + git semver push 06:21:44 2023-11-29 06:21:43,908 [run_push] DEBUG push 06:21:44 2023-11-29 06:21:43,908 [execute] INFO git cat-file --batch-check 06:21:44 2023-11-29 06:21:43,909 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:21:44 2023-11-29 06:21:43,912 [execute] INFO git rev-list 634ef028bf7ce334c8be690a82dbb90d71470d54 -- 06:21:44 2023-11-29 06:21:43,912 [execute] DEBUG Popen(['git', 'rev-list', '634ef028bf7ce334c8be690a82dbb90d71470d54', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:21:44 2023-11-29 06:21:43,920 [execute] INFO git fetch -v origin 06:21:44 2023-11-29 06:21:43,921 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 06:21:44 2023-11-29 06:21:44,456 [run_push] DEBUG no remote changes detected 06:21:44 2023-11-29 06:21:44,457 [execute] INFO git push origin semver 06:21:44 2023-11-29 06:21:44,457 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:21:45 2023-11-29 06:21:45,242 [run_push] DEBUG push all version tags 06:21:45 2023-11-29 06:21:45,243 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:21:45 2023-11-29 06:21:45,243 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 06:21:46 2023-11-29 06:21:45,972 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:21:46 3.2.0-dev.3 [Pipeline] } 06:21:46 $ docker exec --env ******** --env ******** 9c33efc7526608fd061da76d6918c60dfde362b47623927b62278d071a340539 ssh-agent -k 06:21:46 unset SSH_AUTH_SOCK; 06:21:46 unset SSH_AGENT_PID; 06:21:46 echo Agent pid 38 killed; 06:21:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:21:46 + git semver [Pipeline] } 06:21:46 $ docker stop --time=1 9c33efc7526608fd061da76d6918c60dfde362b47623927b62278d071a340539 06:21:48 $ docker rm -f --volumes 9c33efc7526608fd061da76d6918c60dfde362b47623927b62278d071a340539 [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 06:21:49 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 06:21:49 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 06:21:49 total 16 06:21:49 drwxr-xr-x 3 root root 4096 Nov 29 06:13 . 06:21:49 drwxrwxr-x 10 jenkins jenkins 4096 Nov 29 06:21 .. 06:21:49 drwxr-xr-x 2 root root 4096 Nov 29 06:13 cost 06:21:49 -rw-r--r-- 1 root root 88 Nov 29 06:13 cost.csv 06:21:49 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 06:21:49 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 06:21:49 total 16 06:21:49 drwxr-xr-x 3 jenkins jenkins 4096 Nov 29 06:13 . 06:21:49 drwxrwxr-x 10 jenkins jenkins 4096 Nov 29 06:21 .. 06:21:49 drwxr-xr-x 2 jenkins jenkins 4096 Nov 29 06:13 cost 06:21:49 -rw-r--r-- 1 jenkins jenkins 88 Nov 29 06:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:21:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:21:50 ---> package-listing.sh 06:21:50 ++ tr '[:upper:]' '[:lower:]' 06:21:50 ++ facter osfamily 06:21:51 + OS_FAMILY=debian 06:21:51 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 06:21:51 + START_PACKAGES=/tmp/packages_start.txt 06:21:51 + END_PACKAGES=/tmp/packages_end.txt 06:21:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:21:51 + PACKAGES=/tmp/packages_start.txt 06:21:51 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 06:21:51 + PACKAGES=/tmp/packages_end.txt 06:21:51 + case "${OS_FAMILY}" in 06:21:51 + dpkg -l 06:21:51 + grep '^ii' 06:21:51 + '[' -f /tmp/packages_start.txt ']' 06:21:51 + '[' -f /tmp/packages_end.txt ']' 06:21:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:21:51 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 06:21:51 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 06:21:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 06:21:51 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:21:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:21:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:21:52 prd-ubuntu20.04-docker-8c-8g-9107 does not seem to be running inside a container 06:21:52 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:21:52 $ docker top dbb63dee681f4811492675565780078e9e14d2994c43cfe7a3d0fe6c47603802 -eo pid,comm [Pipeline] { [Pipeline] sh 06:21:52 + touch /tmp/pre-build-complete [Pipeline] sh 06:21:53 + mkdir -p /var/log/sysstat [Pipeline] sh 06:21:53 + ls /var/log/sa-host 06:21:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:21:53 provisioning config files... 06:21:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5403387439472064666tmp [Pipeline] { [Pipeline] echo 06:21:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:21:54 ---> create-netrc.sh [Pipeline] } 06:21:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:21:54 ---> python-tools-install.sh [Pipeline] echo 06:21:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:21:54 ---> sudo-logs.sh 06:21:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:21:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:21:55 ---> job-cost.sh 06:21:55 lf-activate-venv: SKIPPING 06:21:55 DEBUG: total: 0.2199999988079071 06:21:55 INFO: Retrieving Stack Cost... 06:21:55 INFO: Retrieving Pricing Info for: v3-standard-8 06:21:55 INFO: Archiving Costs [Pipeline] echo 06:21:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:21:56 ---> logs-deploy.sh 06:21:56 lf-activate-venv: SKIPPING 06:21:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/141 06:21:56 INFO: archiving workspace using pattern(s): 06:21:57 Archives upload complete. 06:21:57 INFO: archiving logs to Nexus