Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f075d1275b3de083ffef18a345f0eb35bf0251a5 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-ssh1252689755177541872.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-ssh523169026770626564.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-ssh542790807885686616.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-ssh2489412241458284055.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-ssh5419323726291680586.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-25165’ Running on prd-ubuntu20.04-docker-8c-8g-25171 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 f075d1275b3de083ffef18a345f0eb35bf0251a5 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Commit message: "Merge pull request #533 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.4" > git config core.sparsecheckout # timeout=10 > git checkout -f f075d1275b3de083ffef18a345f0eb35bf0251a5 # timeout=10 > git rev-list --no-walk 85c9ff1e57050cb21dd0a25e11b91c09e287920a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:23:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:23:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:23:08 ========================================================= 09:23:08 EdgeX Global Pipelines Version Info 09:23:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:23:08 ------------------- 09:23:08 stable info: 09:23:08 ------------------- 09:23:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:23:08 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 09:23:08 Message: update stable to v1.0.258 09:23:09 ------------------- 09:23:09 experimental info: 09:23:09 ------------------- 09:23:09 Commited By: **** collab-it+edgex@linuxfoundation.org 09:23:09 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 09:23:09 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:23:09 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 09:23:09 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 09:23:09 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:23:09 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:23:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:23:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 09:23:09 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:23:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:23:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:23:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:23:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:23:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 09:23:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:23:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:23:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:23:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:23:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:23:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:23:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:23:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:23:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:23:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:23:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:23:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:23:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:23:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:23:10 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:23:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 09:23:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 09:23:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 09:23:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f075d1275b3de083ffef18a345f0eb35bf0251a5 [Pipeline] echo 09:23:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f075d12 [Pipeline] echo 09:23:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:23:10 provisioning config files... 09:23:10 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13924942473960247717tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:23:10 ---> ****-login.sh 09:23:10 nexus3.edgexfoundry.org:10001 09:23:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:23:11 Configure a credential helper to remove this warning. See 09:23:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:23:11 09:23:11 Login Succeeded 09:23:11 nexus3.edgexfoundry.org:10002 09:23:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:23:11 Configure a credential helper to remove this warning. See 09:23:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:23:11 09:23:11 Login Succeeded 09:23:11 nexus3.edgexfoundry.org:10003 09:23:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:23:11 Configure a credential helper to remove this warning. See 09:23:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:23:11 09:23:11 Login Succeeded 09:23:11 nexus3.edgexfoundry.org:10004 09:23:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:23:11 Configure a credential helper to remove this warning. See 09:23:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:23:11 09:23:11 Login Succeeded 09:23:11 ****.io 09:23:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:23:11 Configure a credential helper to remove this warning. See 09:23:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:23:11 09:23:11 Login Succeeded 09:23:11 ---> ****-login.sh ends [Pipeline] } 09:23:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:23:12 + git rev-list -1 --merges f075d1275b3de083ffef18a345f0eb35bf0251a5~1..f075d1275b3de083ffef18a345f0eb35bf0251a5 [Pipeline] echo 09:23:12 -----------> git rev-list -1 --merges f075d1275b3de083ffef18a345f0eb35bf0251a5~1..f075d1275b3de083ffef18a345f0eb35bf0251a5 f075d1275b3de083ffef18a345f0eb35bf0251a5 09:23:12 f075d1275b3de083ffef18a345f0eb35bf0251a5 [false] [Pipeline] sh 09:23:12 + git log --format=format:%s -1 f075d1275b3de083ffef18a345f0eb35bf0251a5 [Pipeline] echo 09:23:12 ========================================================= 09:23:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:23:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:23:13 + git log --format=format:%s -1 f075d1275b3de083ffef18a345f0eb35bf0251a5 [Pipeline] echo 09:23:13 [semverPrep] GIT_COMMIT: f075d1275b3de083ffef18a345f0eb35bf0251a5, Commit Message: Merge pull request #533 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.4 [Pipeline] echo 09:23:13 [semverPrep] This is not a build commit. [Pipeline] sh 09:23:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:23:13 + grep -v github /etc/ssh/ssh_known_hosts 09:23:13 + [ -e /tmp/ssh_known_hosts ] 09:23:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:23:13 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:23:13 sudo tee -a /etc/ssh/ssh_known_hosts 09:23:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:23:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:23:13 09:23:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:23:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:23:14 0.1.4: Pulling from edgex-devops/py-git-semver 09:23:14 b85a868b505f: Pulling fs layer 09:23:14 e2be974225ed: Pulling fs layer 09:23:14 339a4e72a1f5: Pulling fs layer 09:23:14 988bab9f4d93: Pulling fs layer 09:23:14 1469e6f7b9e6: Pulling fs layer 09:23:14 eaf3925da568: Pulling fs layer 09:23:14 bab4dde63d76: Pulling fs layer 09:23:14 bde34c3a00c8: Pulling fs layer 09:23:14 b352a97aabf1: Pulling fs layer 09:23:14 4872d77fe225: Pulling fs layer 09:23:14 5851b861e8e6: Pulling fs layer 09:23:14 bab4dde63d76: Waiting 09:23:14 bde34c3a00c8: Waiting 09:23:14 b352a97aabf1: Waiting 09:23:14 4872d77fe225: Waiting 09:23:14 5851b861e8e6: Waiting 09:23:14 eaf3925da568: Waiting 09:23:14 988bab9f4d93: Waiting 09:23:14 1469e6f7b9e6: Waiting 09:23:14 e2be974225ed: Verifying Checksum 09:23:14 e2be974225ed: Download complete 09:23:14 988bab9f4d93: Verifying Checksum 09:23:14 988bab9f4d93: Download complete 09:23:14 1469e6f7b9e6: Verifying Checksum 09:23:14 1469e6f7b9e6: Download complete 09:23:14 339a4e72a1f5: Verifying Checksum 09:23:14 339a4e72a1f5: Download complete 09:23:14 eaf3925da568: Verifying Checksum 09:23:14 eaf3925da568: Download complete 09:23:14 bde34c3a00c8: Verifying Checksum 09:23:14 bde34c3a00c8: Download complete 09:23:14 b352a97aabf1: Verifying Checksum 09:23:14 b352a97aabf1: Download complete 09:23:14 4872d77fe225: Download complete 09:23:14 5851b861e8e6: Verifying Checksum 09:23:14 5851b861e8e6: Download complete 09:23:14 b85a868b505f: Verifying Checksum 09:23:14 b85a868b505f: Download complete 09:23:15 bab4dde63d76: Verifying Checksum 09:23:15 bab4dde63d76: Download complete 09:23:16 b85a868b505f: Pull complete 09:23:16 e2be974225ed: Pull complete 09:23:16 339a4e72a1f5: Pull complete 09:23:16 988bab9f4d93: Pull complete 09:23:17 1469e6f7b9e6: Pull complete 09:23:17 eaf3925da568: Pull complete 09:23:19 bab4dde63d76: Pull complete 09:23:19 bde34c3a00c8: Pull complete 09:23:19 b352a97aabf1: Pull complete 09:23:19 4872d77fe225: Pull complete 09:23:19 5851b861e8e6: Pull complete 09:23:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:23:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:23:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:23:19 prd-ubuntu20.04-docker-8c-8g-25171 does not seem to be running inside a container 09:23:19 $ 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 09:23:21 $ docker top 03bcbc75c7109d8d531262b8729f3f32d6d6fa6a2da3c1a8c382b648c3159e8b -eo pid,comm 09:23:21 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). 09:23:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:23:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:23:21 [ssh-agent] Looking for ssh-agent implementation... 09:23:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:23:21 $ docker exec 03bcbc75c7109d8d531262b8729f3f32d6d6fa6a2da3c1a8c382b648c3159e8b ssh-agent 09:23:21 SSH_AUTH_SOCK=/tmp/ssh-AIOQqerX2YVF/agent.33 09:23:21 SSH_AGENT_PID=39 09:23:21 Running ssh-add (command line suppressed) 09:23:21 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2528783956632463523.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2528783956632463523.key) 09:23:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:23:22 + git tag --points-at HEAD [Pipeline] } 09:23:22 $ docker exec --env ******** --env ******** 03bcbc75c7109d8d531262b8729f3f32d6d6fa6a2da3c1a8c382b648c3159e8b ssh-agent -k 09:23:22 unset SSH_AUTH_SOCK; 09:23:22 unset SSH_AGENT_PID; 09:23:22 echo Agent pid 39 killed; 09:23:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:23:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:23:22 [ssh-agent] Looking for ssh-agent implementation... 09:23:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:23:22 $ docker exec 03bcbc75c7109d8d531262b8729f3f32d6d6fa6a2da3c1a8c382b648c3159e8b ssh-agent 09:23:23 SSH_AUTH_SOCK=/tmp/ssh-wqz2v5vwxckz/agent.71 09:23:23 SSH_AGENT_PID=78 09:23:23 Running ssh-add (command line suppressed) 09:23:23 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16346401655716917274.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16346401655716917274.key) 09:23:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:23:24 + git semver init 09:23:24 2023-12-15 09:23:24,247 [run_init] DEBUG init version:0.0.0 force:False 09:23:24 2023-12-15 09:23:24,248 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 09:23:24 2023-12-15 09:23:24,248 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 09:23:24 2023-12-15 09:23:24,248 [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) 09:23:25 2023-12-15 09:23:25,359 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 09:23:25 2023-12-15 09:23:25,359 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 09:23:25 2023-12-15 09:23:25,359 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:23:25 2023-12-15 09:23:25,360 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:23:25 3.2.0-dev.5 [Pipeline] } 09:23:25 $ docker exec --env ******** --env ******** 03bcbc75c7109d8d531262b8729f3f32d6d6fa6a2da3c1a8c382b648c3159e8b ssh-agent -k 09:23:25 unset SSH_AUTH_SOCK; 09:23:25 unset SSH_AGENT_PID; 09:23:25 echo Agent pid 78 killed; 09:23:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:23:26 + git semver [Pipeline] } 09:23:26 $ docker stop --time=1 03bcbc75c7109d8d531262b8729f3f32d6d6fa6a2da3c1a8c382b648c3159e8b 09:23:28 $ docker rm -f --volumes 03bcbc75c7109d8d531262b8729f3f32d6d6fa6a2da3c1a8c382b648c3159e8b [Pipeline] // withDockerContainer [Pipeline] sh 09:23:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:23:28 Stashed 1 file(s) [Pipeline] echo 09:23:28 [edgeXSemver]: initialized semver on version 3.2.0-dev.5 [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 09:23:29 provisioning config files... 09:23:29 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14250109889429393330tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:23:29 ---> ****-login.sh 09:23:29 nexus3.edgexfoundry.org:10001 09:23:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:23:29 Configure a credential helper to remove this warning. See 09:23:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:23:29 09:23:29 Login Succeeded 09:23:29 nexus3.edgexfoundry.org:10002 09:23:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:23:29 Configure a credential helper to remove this warning. See 09:23:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:23:29 09:23:29 Login Succeeded 09:23:29 nexus3.edgexfoundry.org:10003 09:23:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:23:29 Configure a credential helper to remove this warning. See 09:23:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:23:29 09:23:29 Login Succeeded 09:23:29 nexus3.edgexfoundry.org:10004 09:23:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:23:29 Configure a credential helper to remove this warning. See 09:23:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:23:29 09:23:29 Login Succeeded 09:23:29 ****.io 09:23:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:23:29 Configure a credential helper to remove this warning. See 09:23:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:23:29 09:23:29 Login Succeeded 09:23:29 ---> ****-login.sh ends [Pipeline] } 09:23:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:23:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:23:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:23:30 ========================================================= 09:23:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 09:23:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:23:30 + 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 . 09:23:30 Sending build context to Docker daemon 17.23MB 09:23:30 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 09:23:30 Step 2/10 : FROM ${BASE} AS builder 09:23:30 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 09:23:30 7264a8db6415: Pulling fs layer 09:23:30 c4d48a809fc2: Pulling fs layer 09:23:30 4f1c88b9dad5: Pulling fs layer 09:23:30 ad3a456e5733: Pulling fs layer 09:23:30 69c7f0334f64: Pulling fs layer 09:23:30 ad3a456e5733: Waiting 09:23:30 69c7f0334f64: Waiting 09:23:30 1f1c1a5573a3: Pulling fs layer 09:23:30 ce7588e14bc9: Pulling fs layer 09:23:30 b5e4710f87ac: Pulling fs layer 09:23:30 ce7588e14bc9: Waiting 09:23:30 c4d48a809fc2: Download complete 09:23:30 ad3a456e5733: Download complete 09:23:30 69c7f0334f64: Verifying Checksum 09:23:30 69c7f0334f64: Download complete 09:23:30 7264a8db6415: Verifying Checksum 09:23:30 7264a8db6415: Download complete 09:23:30 1f1c1a5573a3: Verifying Checksum 09:23:30 1f1c1a5573a3: Download complete 09:23:30 7264a8db6415: Pull complete 09:23:30 b5e4710f87ac: Verifying Checksum 09:23:30 b5e4710f87ac: Download complete 09:23:31 c4d48a809fc2: Pull complete 09:23:31 4f1c88b9dad5: Verifying Checksum 09:23:31 4f1c88b9dad5: Download complete 09:23:31 ce7588e14bc9: Verifying Checksum 09:23:31 ce7588e14bc9: Download complete 09:23:34 4f1c88b9dad5: Pull complete 09:23:34 ad3a456e5733: Pull complete 09:23:34 69c7f0334f64: Pull complete 09:23:34 1f1c1a5573a3: Pull complete 09:23:37 ce7588e14bc9: Pull complete 09:23:37 b5e4710f87ac: Pull complete 09:23:37 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 09:23:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 09:23:37 ---> 88b5674ff536 09:23:37 Step 3/10 : ARG ADD_BUILD_TAGS="" 09:23:38 ---> Running in cd3a26027750 09:23:39 Removing intermediate container cd3a26027750 09:23:39 ---> cfe3014882c6 09:23:39 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:23:39 ---> Running in 877a2c4b1253 09:23:39 Removing intermediate container 877a2c4b1253 09:23:39 ---> 4cbeabefb990 09:23:39 Step 5/10 : RUN apk add --update --no-cache make git openssh 09:23:39 ---> Running in 686ed9c0876b 09:23:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:23:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:23:39 (1/8) Installing openssh-keygen (9.3_p2-r0) 09:23:39 (2/8) Installing libedit (20221030.3.1-r1) 09:23:39 (3/8) Installing openssh-client-common (9.3_p2-r0) 09:23:39 (4/8) Installing openssh-client-default (9.3_p2-r0) 09:23:39 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 09:23:39 (6/8) Installing openssh-server-common (9.3_p2-r0) 09:23:39 (7/8) Installing openssh-server (9.3_p2-r0) 09:23:39 (8/8) Installing openssh (9.3_p2-r0) 09:23:39 Executing busybox-1.36.1-r5.trigger 09:23:39 OK: 270 MiB in 60 packages 09:23:40 Removing intermediate container 686ed9c0876b 09:23:40 ---> caa6958ce3f5 09:23:40 Step 6/10 : WORKDIR /device-modbus-go 09:23:40 ---> Running in 8e93571d6ad0 09:23:40 Removing intermediate container 8e93571d6ad0 09:23:40 ---> 3eb8085bc440 09:23:40 Step 7/10 : COPY go.mod vendor* ./ 09:23:40 ---> 039b94cb1aaa 09:23:40 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:23:40 ---> Running in e3ad128100ed 09:23:44 Still waiting to schedule task 09:23:44 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-25169’ 09:24:19 Removing intermediate container e3ad128100ed 09:24:19 ---> 0407566a86c3 09:24:19 Step 9/10 : COPY . . 09:24:20 ---> b81bd0ab20fe 09:24:20 Step 10/10 : RUN ${MAKE} 09:24:20 ---> Running in 0e35044e652c 09:24:20 noop 09:24:20 Removing intermediate container 0e35044e652c 09:24:20 ---> 403b054d2cb5 09:24:20 Successfully built 403b054d2cb5 09:24:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:22 + docker inspect -f . ci-base-image-x86_64 09:24:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:24:23 prd-ubuntu20.04-docker-8c-8g-25171 does not seem to be running inside a container 09:24: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 ******** -e ******** ci-base-image-x86_64 cat 09:24:27 $ docker top 3177f228833b8555c205497081793cbc18ac117dd8e0d6ab44d8f1a87135e577 -eo pid,comm [Pipeline] { [Pipeline] sh 09:24:28 + go version 09:24:28 go version go1.21.0 linux/amd64 [Pipeline] } 09:24:28 $ docker stop --time=1 3177f228833b8555c205497081793cbc18ac117dd8e0d6ab44d8f1a87135e577 09:24:29 $ docker rm -f --volumes 3177f228833b8555c205497081793cbc18ac117dd8e0d6ab44d8f1a87135e577 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:29 + docker inspect -f . ci-base-image-x86_64 09:24:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:24:30 prd-ubuntu20.04-docker-8c-8g-25171 does not seem to be running inside a container 09:24:30 $ 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 09:24:31 $ docker top 2e7f178aa8e3a0ea687bca1aaf90b9a84c59e53c0c3c9dd45cf5f27c30f55dad -eo pid,comm [Pipeline] { [Pipeline] sh 09:24:30 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 09:24:31 + make test 09:24:31 go test ./... -coverprofile=coverage.out 09:24:32 ? github.com/edgexfoundry/device-modbus-go [no test files] 09:24:42 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 09:24:42 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.9% of statements 09:24:49 go vet ./... 09:24:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:24:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:24:52 ./bin/test-attribution-txt.sh [Pipeline] echo 09:24:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:24:52 $ docker stop --time=1 2e7f178aa8e3a0ea687bca1aaf90b9a84c59e53c0c3c9dd45cf5f27c30f55dad 09:24:56 $ docker rm -f --volumes 2e7f178aa8e3a0ea687bca1aaf90b9a84c59e53c0c3c9dd45cf5f27c30f55dad [Pipeline] // withDockerContainer [Pipeline] sh 09:24:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:24:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:24:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:24:56 + ls -al . 09:24:56 total 192 09:24:56 drwxrwxr-x 9 jenkins jenkins 4096 Dec 15 09:24 . 09:24:56 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 09:23 .. 09:24:56 -rw-rw-r-- 1 jenkins jenkins 140 Dec 15 09:23 .dockerignore 09:24:56 drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 09:24 .git 09:24:56 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 09:23 .github 09:24:56 -rw-rw-r-- 1 jenkins jenkins 266 Dec 15 09:23 .gitignore 09:24:56 -rw-rw-r-- 1 jenkins jenkins 41 Dec 15 09:23 .golangci.yml 09:24:56 drwxr-xr-x 3 jenkins jenkins 4096 Dec 15 09:23 .semver 09:24:56 -rw-rw-r-- 1 jenkins jenkins 11101 Dec 15 09:23 Attribution.txt 09:24:56 -rw-rw-r-- 1 jenkins jenkins 16388 Dec 15 09:23 CHANGELOG.md 09:24:56 -rw-rw-r-- 1 jenkins jenkins 1474 Dec 15 09:23 Dockerfile 09:24:56 -rw-rw-r-- 1 jenkins jenkins 677 Dec 15 09:23 GOVERNANCE.md 09:24:56 -rw-rw-r-- 1 jenkins jenkins 658 Dec 15 09:23 Jenkinsfile 09:24:56 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 15 09:23 LICENSE 09:24:56 -rw-rw-r-- 1 jenkins jenkins 1942 Dec 15 09:23 Makefile 09:24:56 -rw-rw-r-- 1 jenkins jenkins 622 Dec 15 09:23 OWNERS.md 09:24:56 -rw-rw-r-- 1 jenkins jenkins 4463 Dec 15 09:23 README.md 09:24:56 -rw-rw-r-- 1 jenkins jenkins 11 Dec 15 09:23 VERSION 09:24:56 drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 09:23 bin 09:24:56 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 09:23 cmd 09:24:56 -rw-r--r-- 1 jenkins jenkins 24334 Dec 15 09:24 coverage.out 09:24:56 -rw-rw-r-- 1 jenkins jenkins 3937 Dec 15 09:23 go.mod 09:24:56 -rw-rw-r-- 1 jenkins jenkins 35426 Dec 15 09:23 go.sum 09:24:56 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 09:23 internal 09:24:56 drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 09:23 simulator 09:24:56 -rw-rw-r-- 1 jenkins jenkins 229 Dec 15 09:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:57 + 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=f075d1275b3de083ffef18a345f0eb35bf0251a5 --label arch=amd64 --label version=3.2.0-dev.5 . 09:24:57 Sending build context to Docker daemon 17.25MB 09:24:57 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 09:24:57 Step 2/23 : FROM ${BASE} AS builder 09:24:57 ---> 403b054d2cb5 09:24:57 Step 3/23 : ARG ADD_BUILD_TAGS="" 09:24:57 ---> Running in c1f1ea28b2b8 09:24:57 Removing intermediate container c1f1ea28b2b8 09:24:57 ---> 563a87854e89 09:24:57 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:24:57 ---> Running in 3b67e0dd0213 09:24:57 Removing intermediate container 3b67e0dd0213 09:24:57 ---> 2ed16fdb010b 09:24:57 Step 5/23 : RUN apk add --update --no-cache make git openssh 09:24:57 ---> Running in 1b721a7dd200 09:24:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:24:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:24:58 OK: 270 MiB in 60 packages 09:24:58 Removing intermediate container 1b721a7dd200 09:24:58 ---> 11187d27464a 09:24:58 Step 6/23 : WORKDIR /device-modbus-go 09:24:58 ---> Running in 9fc51144aea2 09:24:58 Removing intermediate container 9fc51144aea2 09:24:58 ---> 5c9e5de2ae44 09:24:58 Step 7/23 : COPY go.mod vendor* ./ 09:24:59 ---> 053786d7c0df 09:24:59 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:24:59 ---> Running in d4cfa1dcdb60 09:24:59 Removing intermediate container d4cfa1dcdb60 09:24:59 ---> 36369bcca36a 09:24:59 Step 9/23 : COPY . . 09:25:00 ---> e68f68fb27b1 09:25:00 Step 10/23 : RUN ${MAKE} 09:25:00 ---> Running in 4f36d3d11c77 09:25:00 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.5 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.4" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 09:25:22 Removing intermediate container 4f36d3d11c77 09:25:22 ---> a1f2b22b220a 09:25:22 Step 11/23 : FROM alpine:3.18 09:25:22 3.18: Pulling from library/alpine 09:25:22 c926b61bad3b: Pulling fs layer 09:25:22 c926b61bad3b: Verifying Checksum 09:25:22 c926b61bad3b: Download complete 09:25:22 c926b61bad3b: Pull complete 09:25:22 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 09:25:22 Status: Downloaded newer image for alpine:3.18 09:25:22 ---> b541f2080109 09:25:22 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 09:25:22 ---> Running in 53ab72fa346a 09:25:22 Removing intermediate container 53ab72fa346a 09:25:22 ---> e7fe292e8a78 09:25:22 Step 13/23 : RUN apk add --update --no-cache dumb-init 09:25:22 ---> Running in 545771c554d4 09:25:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:25:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:25:22 (1/1) Installing dumb-init (1.2.5-r2) 09:25:22 Executing busybox-1.36.1-r5.trigger 09:25:22 OK: 7 MiB in 16 packages 09:25:22 Removing intermediate container 545771c554d4 09:25:22 ---> c23688ac1202 09:25:22 Step 14/23 : RUN apk --no-cache upgrade 09:25:22 ---> Running in f35ac357929b 09:25:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:25:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:25:22 OK: 7 MiB in 16 packages 09:25:22 Removing intermediate container f35ac357929b 09:25:22 ---> b631692fd8ce 09:25:22 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 09:25:22 ---> de2605e506a5 09:25:22 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 09:25:22 ---> 73a6bfa84762 09:25:22 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 09:25:23 ---> 0318444ad48e 09:25:23 Step 18/23 : EXPOSE 59901 09:25:23 ---> Running in e366bfd48245 09:25:23 Removing intermediate container e366bfd48245 09:25:23 ---> 968c94351839 09:25:23 Step 19/23 : ENTRYPOINT ["/device-modbus"] 09:25:23 ---> Running in bb4734879f27 09:25:23 Removing intermediate container bb4734879f27 09:25:23 ---> 788993d1b9f4 09:25:23 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 09:25:23 ---> Running in 45ce9bc95125 09:25:23 Removing intermediate container 45ce9bc95125 09:25:23 ---> cb578fb69fbf 09:25:23 Step 21/23 : LABEL arch=amd64 09:25:23 ---> Running in 92542e08c69e 09:25:23 Removing intermediate container 92542e08c69e 09:25:23 ---> 79a1751ad549 09:25:23 Step 22/23 : LABEL git_sha=f075d1275b3de083ffef18a345f0eb35bf0251a5 09:25:23 ---> Running in 25f774f5a3b8 09:25:23 Removing intermediate container 25f774f5a3b8 09:25:23 ---> a793c6c1a118 09:25:23 Step 23/23 : LABEL version=3.2.0-dev.5 09:25:23 ---> Running in 210f8b813013 09:25:23 Removing intermediate container 210f8b813013 09:25:23 ---> 9d3448099bca 09:25:23 [Warning] One or more build-args [ARCH] were not consumed 09:25:23 Successfully built 9d3448099bca 09:25:23 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:25:23 provisioning config files... 09:25:23 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2099517016601868941tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:25:24 ---> ****-login.sh 09:25:24 nexus3.edgexfoundry.org:10001 09:25:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:25:24 Configure a credential helper to remove this warning. See 09:25:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:25:24 09:25:24 Login Succeeded 09:25:24 nexus3.edgexfoundry.org:10002 09:25:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:25:24 Configure a credential helper to remove this warning. See 09:25:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:25:24 09:25:24 Login Succeeded 09:25:24 nexus3.edgexfoundry.org:10003 09:25:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:25:24 Configure a credential helper to remove this warning. See 09:25:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:25:24 09:25:24 Login Succeeded 09:25:24 nexus3.edgexfoundry.org:10004 09:25:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:25:24 Configure a credential helper to remove this warning. See 09:25:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:25:24 09:25:24 Login Succeeded 09:25:24 ****.io 09:25:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:25:24 Configure a credential helper to remove this warning. See 09:25:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:25:24 09:25:24 Login Succeeded 09:25:24 ---> ****-login.sh ends [Pipeline] } 09:25:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:25:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:25:25 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 09:25:25 f075d1275b3de083ffef18a345f0eb35bf0251a5 09:25:25 latest 09:25:25 3.2.0-dev.5 09:25:25 f075d1275b3de083ffef18a345f0eb35bf0251a5-3.2.0-dev.5 09:25:25 main 09:25:25 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:25 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:f075d1275b3de083ffef18a345f0eb35bf0251a5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:25 + docker push nexus3.edgexfoundry.org:10004/device-modbus:f075d1275b3de083ffef18a345f0eb35bf0251a5 09:25:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 09:25:25 8ee9735674cb: Preparing 09:25:25 5c099b66a6e8: Preparing 09:25:25 77308df55806: Preparing 09:25:25 68ccf8d96fbd: Preparing 09:25:25 ba9a116a3366: Preparing 09:25:25 9fe9a137fd00: Preparing 09:25:25 9fe9a137fd00: Waiting 09:25:25 68ccf8d96fbd: Pushed 09:25:25 5c099b66a6e8: Pushed 09:25:25 ba9a116a3366: Pushed 09:25:25 8ee9735674cb: Pushed 09:25:25 9fe9a137fd00: Layer already exists 09:25:27 77308df55806: Pushed 09:25:28 f075d1275b3de083ffef18a345f0eb35bf0251a5: digest: sha256:efc7137639f9a096291fc612fb3a2417aad7d92beaac9049ca3bc181ee450124 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:28 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:28 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 09:25:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 09:25:28 8ee9735674cb: Preparing 09:25:28 5c099b66a6e8: Preparing 09:25:28 77308df55806: Preparing 09:25:28 68ccf8d96fbd: Preparing 09:25:28 ba9a116a3366: Preparing 09:25:28 9fe9a137fd00: Preparing 09:25:28 9fe9a137fd00: Waiting 09:25:28 68ccf8d96fbd: Layer already exists 09:25:28 5c099b66a6e8: Layer already exists 09:25:28 77308df55806: Layer already exists 09:25:28 ba9a116a3366: Layer already exists 09:25:28 8ee9735674cb: Layer already exists 09:25:28 9fe9a137fd00: Layer already exists 09:25:28 latest: digest: sha256:efc7137639f9a096291fc612fb3a2417aad7d92beaac9049ca3bc181ee450124 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:29 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:29 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.5 09:25:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 09:25:29 8ee9735674cb: Preparing 09:25:29 5c099b66a6e8: Preparing 09:25:29 77308df55806: Preparing 09:25:29 68ccf8d96fbd: Preparing 09:25:29 ba9a116a3366: Preparing 09:25:29 9fe9a137fd00: Preparing 09:25:29 5c099b66a6e8: Layer already exists 09:25:29 77308df55806: Layer already exists 09:25:29 68ccf8d96fbd: Layer already exists 09:25:29 ba9a116a3366: Layer already exists 09:25:29 8ee9735674cb: Layer already exists 09:25:29 9fe9a137fd00: Layer already exists 09:25:29 3.2.0-dev.5: digest: sha256:efc7137639f9a096291fc612fb3a2417aad7d92beaac9049ca3bc181ee450124 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:29 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:f075d1275b3de083ffef18a345f0eb35bf0251a5-3.2.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:30 + docker push nexus3.edgexfoundry.org:10004/device-modbus:f075d1275b3de083ffef18a345f0eb35bf0251a5-3.2.0-dev.5 09:25:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 09:25:30 8ee9735674cb: Preparing 09:25:30 5c099b66a6e8: Preparing 09:25:30 77308df55806: Preparing 09:25:30 68ccf8d96fbd: Preparing 09:25:30 ba9a116a3366: Preparing 09:25:30 9fe9a137fd00: Preparing 09:25:30 9fe9a137fd00: Waiting 09:25:30 ba9a116a3366: Layer already exists 09:25:30 8ee9735674cb: Layer already exists 09:25:30 68ccf8d96fbd: Layer already exists 09:25:30 77308df55806: Layer already exists 09:25:30 5c099b66a6e8: Layer already exists 09:25:30 9fe9a137fd00: Layer already exists 09:25:30 f075d1275b3de083ffef18a345f0eb35bf0251a5-3.2.0-dev.5: digest: sha256:efc7137639f9a096291fc612fb3a2417aad7d92beaac9049ca3bc181ee450124 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:30 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:31 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 09:25:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 09:25:31 8ee9735674cb: Preparing 09:25:31 5c099b66a6e8: Preparing 09:25:31 77308df55806: Preparing 09:25:31 68ccf8d96fbd: Preparing 09:25:31 ba9a116a3366: Preparing 09:25:31 9fe9a137fd00: Preparing 09:25:31 9fe9a137fd00: Waiting 09:25:31 ba9a116a3366: Layer already exists 09:25:31 8ee9735674cb: Layer already exists 09:25:31 77308df55806: Layer already exists 09:25:31 68ccf8d96fbd: Layer already exists 09:25:31 5c099b66a6e8: Layer already exists 09:25:31 9fe9a137fd00: Layer already exists 09:25:31 main: digest: sha256:efc7137639f9a096291fc612fb3a2417aad7d92beaac9049ca3bc181ee450124 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:25:31 ===================================================== [Pipeline] echo 09:25:31 taggedImages: 09:25:31 - nexus3.edgexfoundry.org:10004/device-modbus:f075d1275b3de083ffef18a345f0eb35bf0251a5 09:25:31 - nexus3.edgexfoundry.org:10004/device-modbus:latest 09:25:31 - nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.5 09:25:31 - nexus3.edgexfoundry.org:10004/device-modbus:f075d1275b3de083ffef18a345f0eb35bf0251a5-3.2.0-dev.5 09:25:31 - 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 09:25:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:25:32 09:25:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:25:32 latest: Pulling from edgex-lftools-log-publisher 09:25:32 5eb5b503b376: Pulling fs layer 09:25:32 5c69ac0246d0: Pulling fs layer 09:25:32 ec43610c2a17: Pulling fs layer 09:25:32 3a2ae6a8a46f: Pulling fs layer 09:25:32 33b1e0a273af: Pulling fs layer 09:25:32 5d3b04190fa2: Pulling fs layer 09:25:32 2f39f015ded8: Pulling fs layer 09:25:32 33b1e0a273af: Waiting 09:25:32 5d3b04190fa2: Waiting 09:25:32 3a2ae6a8a46f: Waiting 09:25:32 2f39f015ded8: Waiting 09:25:32 5c69ac0246d0: Verifying Checksum 09:25:32 5c69ac0246d0: Download complete 09:25:32 3a2ae6a8a46f: Verifying Checksum 09:25:32 3a2ae6a8a46f: Download complete 09:25:32 33b1e0a273af: Verifying Checksum 09:25:32 33b1e0a273af: Download complete 09:25:32 5d3b04190fa2: Verifying Checksum 09:25:32 5d3b04190fa2: Download complete 09:25:32 ec43610c2a17: Verifying Checksum 09:25:32 ec43610c2a17: Download complete 09:25:32 5eb5b503b376: Verifying Checksum 09:25:32 5eb5b503b376: Download complete 09:25:33 2f39f015ded8: Download complete 09:25:33 5eb5b503b376: Pull complete 09:25:34 5c69ac0246d0: Pull complete 09:25:34 ec43610c2a17: Pull complete 09:25:34 3a2ae6a8a46f: Pull complete 09:25:34 33b1e0a273af: Pull complete 09:25:34 5d3b04190fa2: Pull complete 09:25:39 2f39f015ded8: Pull complete 09:25:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:25:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:25:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:25:39 prd-ubuntu20.04-docker-8c-8g-25171 does not seem to be running inside a container 09:25:39 $ 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 09:25:43 $ docker top c2c7ddefb873827fd6199b049494d92bcb6daf36d68e38f91ce532cbcf23cf4b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:25:43 ---> job-cost.sh 09:25:43 lf-activate-venv: SKIPPING 09:25:43 INFO: No Stack... 09:25:43 INFO: Retrieving Pricing Info for: v3-standard-8 09:25:44 INFO: Archiving Costs [Pipeline] sh 09:25:44 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 09:25:44 + cut -d, -f6 [Pipeline] lock 09:25:44 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-144-stack-cost] 09:25:44 Resource [jenkins-edgexfoundry-device-modbus-go-main-144-stack-cost] did not exist. Created. 09:25:44 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-144-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:25:44 + echo total: 0.2199999988079071 [Pipeline] stash 09:25:44 Stashed 1 file(s) [Pipeline] } 09:25:44 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-144-stack-cost] [Pipeline] // lock [Pipeline] } 09:25:44 $ docker stop --time=1 c2c7ddefb873827fd6199b049494d92bcb6daf36d68e38f91ce532cbcf23cf4b 09:25:46 $ docker rm -f --volumes c2c7ddefb873827fd6199b049494d92bcb6daf36d68e38f91ce532cbcf23cf4b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:27:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-25172 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 09:27:34 Running in /w/workspace/device-modbus-go/144 [Pipeline] { [Pipeline] checkout 09:27:37 Selected Git installation does not exist. Using Default 09:27:37 The recommended git tool is: NONE 09:27:42 using credential edgex-jenkins-ssh 09:27:42 Cloning the remote Git repository 09:27:42 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 09:27:42 > git init /w/workspace/device-modbus-go/144 # timeout=10 09:27:43 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 09:27:43 > git --version # timeout=10 09:27:43 > git --version # 'git version 2.25.1' 09:27:43 using GIT_SSH to set credentials SSH Credentials for GitHub 09:27:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:27:45 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 09:27:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:27:46 Avoid second fetch 09:27:46 Checking out Revision f075d1275b3de083ffef18a345f0eb35bf0251a5 (main) 09:27:46 Commit message: "Merge pull request #533 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.4" 09:27:46 > git config core.sparsecheckout # timeout=10 09:27:46 > git checkout -f f075d1275b3de083ffef18a345f0eb35bf0251a5 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:27:48 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:27:48 % Total % Received % Xferd Average Speed Time Time Time Current 09:27:48 Dload Upload Total Spent Left Speed 09:27:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 106k 0 --:--:-- --:--:-- --:--:-- 106k [Pipeline] sh 09:27:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:27:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 09:27:48 sudo tee /etc/docker/daemon.new 09:27:48 { 09:27:48 "registry-mirrors": [ 09:27:48 "https://nexus3.edgexfoundry.org:10001" 09:27:48 ], 09:27:48 "bip": "10.250.0.254/24", 09:27:48 "hosts": [ 09:27:48 "tcp://0.0.0.0:5555", 09:27:48 "unix:///var/run/docker.sock" 09:27:48 ], 09:27:48 "mtu": 1458, 09:27:48 "selinux-enabled": true, 09:27:48 "seccomp-profile": "/etc/docker/seccomp.json" 09:27:48 } [Pipeline] sh 09:27:49 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:27:49 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:28:07 provisioning config files... 09:28:07 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/144@tmp/config15685660535995930897tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:28:08 ---> ****-login.sh 09:28:08 nexus3.edgexfoundry.org:10001 09:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:28:08 Configure a credential helper to remove this warning. See 09:28:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:28:08 09:28:08 Login Succeeded 09:28:08 nexus3.edgexfoundry.org:10002 09:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:28:09 Configure a credential helper to remove this warning. See 09:28:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:28:09 09:28:09 Login Succeeded 09:28:09 nexus3.edgexfoundry.org:10003 09:28:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:28:09 Configure a credential helper to remove this warning. See 09:28:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:28:09 09:28:09 Login Succeeded 09:28:09 nexus3.edgexfoundry.org:10004 09:28:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:28:09 Configure a credential helper to remove this warning. See 09:28:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:28:09 09:28:09 Login Succeeded 09:28:09 ****.io 09:28:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:28:10 Configure a credential helper to remove this warning. See 09:28:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:28:10 09:28:10 Login Succeeded 09:28:10 ---> ****-login.sh ends [Pipeline] } 09:28:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:28:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:28:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:28:10 ========================================================= 09:28:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 09:28:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:28:11 + 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 . 09:28:12 #0 building with "default" instance using docker driver 09:28:12 09:28:12 #1 [internal] load .dockerignore 09:28:12 #1 transferring context: 182B done 09:28:12 #1 DONE 0.1s 09:28:12 09:28:12 #2 [internal] load build definition from Dockerfile 09:28:12 #2 transferring dockerfile: 1.51kB done 09:28:12 #2 DONE 0.1s 09:28:12 09:28:12 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 09:28:12 #3 DONE 0.2s 09:28:12 09:28:12 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 09:28:12 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 09:28:13 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 1.05MB / 3.33MB 0.1s 09:28:13 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 09:28:13 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0B / 286.30kB 0.1s 09:28:13 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s 09:28:13 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 09:28:13 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 09:28:13 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 09:28:13 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 09:28:13 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 8.79MB / 63.99MB 0.4s 09:28:13 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 2.10MB / 97.63MB 0.4s 09:28:13 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.3s done 09:28:13 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.3s done 09:28:13 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.09MB / 11.40MB 0.4s 09:28:13 #4 ... 09:28:13 09:28:13 #5 [internal] load build context 09:28:13 #5 transferring context: 8.62MB 0.4s done 09:28:13 #5 DONE 0.5s 09:28:13 09:28:13 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 09:28:13 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 12.58MB / 63.99MB 0.5s 09:28:13 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 4.19MB / 11.40MB 0.5s 09:28:13 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.78MB / 63.99MB 0.6s 09:28:13 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 11.53MB / 97.63MB 0.6s 09:28:13 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 8.29MB / 11.40MB 0.6s 09:28:13 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 22.02MB / 63.99MB 0.7s 09:28:13 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done 09:28:13 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 16.78MB / 97.63MB 0.7s 09:28:13 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s 09:28:13 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 32.05MB / 63.99MB 0.9s 09:28:13 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 26.73MB / 97.63MB 0.9s 09:28:13 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s done 09:28:13 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 36.70MB / 63.99MB 1.0s 09:28:13 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 09:28:14 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 47.19MB / 63.99MB 1.2s 09:28:14 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 40.25MB / 97.63MB 1.2s 09:28:14 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 09:28:14 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 52.35MB / 63.99MB 1.3s 09:28:14 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 62.91MB / 63.99MB 1.5s 09:28:14 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 53.48MB / 97.63MB 1.5s 09:28:14 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 58.72MB / 97.63MB 1.6s 09:28:14 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.6s done 09:28:14 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 63.96MB / 97.63MB 1.7s 09:28:14 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 09:28:14 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 69.21MB / 97.63MB 1.8s 09:28:14 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 74.45MB / 97.63MB 1.9s 09:28:14 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 86.62MB / 97.63MB 2.2s 09:28:15 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 96.47MB / 97.63MB 2.4s 09:28:15 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.6s done 09:28:20 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 6.3s 09:28:26 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.5s 09:28:32 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 18.2s done 09:28:34 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 09:28:34 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 09:28:34 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 09:28:40 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.2s 09:28:43 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.8s done 09:28:43 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0.1s 09:28:45 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.8s done 09:28:45 #4 DONE 32.9s 09:28:45 09:28:45 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh 09:28:46 #6 0.730 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:28:46 #6 1.134 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:28:47 #6 2.224 (1/8) Installing openssh-keygen (9.3_p2-r0) 09:28:47 #6 2.251 (2/8) Installing libedit (20221030.3.1-r1) 09:28:47 #6 2.263 (3/8) Installing openssh-client-common (9.3_p2-r0) 09:28:47 #6 2.330 (4/8) Installing openssh-client-default (9.3_p2-r0) 09:28:48 #6 2.356 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 09:28:48 #6 2.366 (6/8) Installing openssh-server-common (9.3_p2-r0) 09:28:48 #6 2.373 (7/8) Installing openssh-server (9.3_p2-r0) 09:28:48 #6 2.404 (8/8) Installing openssh (9.3_p2-r0) 09:28:48 #6 2.423 Executing busybox-1.36.1-r5.trigger 09:28:48 #6 2.463 OK: 272 MiB in 60 packages 09:28:50 #6 DONE 4.6s 09:28:50 09:28:50 #7 [builder 3/7] WORKDIR /device-modbus-go 09:28:50 #7 DONE 0.2s 09:28:50 09:28:50 #8 [builder 4/7] COPY go.mod vendor* ./ 09:28:50 #8 DONE 0.1s 09:28:50 09:28:50 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:29:12 #9 DONE 21.5s 09:29:12 09:29:12 #10 [builder 6/7] COPY . . 09:29:12 #10 DONE 0.3s 09:29:12 09:29:12 #11 [builder 7/7] RUN echo noop 09:29:13 #11 0.605 noop 09:29:13 #11 DONE 0.7s 09:29:13 09:29:13 #12 exporting to image 09:29:13 #12 exporting layers 09:29:35 #12 exporting layers 20.7s done 09:29:35 #12 writing image sha256:fba8a3d291d3f46e35484c5a72619af5b1bc0621621f4159e3139773115f6199 done 09:29:35 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 09:29:35 #12 DONE 20.8s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:29:35 + docker inspect -f . ci-base-image-arm64 09:29:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:29:36 prd-ubuntu20.04-docker-arm64-4c-16g-25172 does not seem to be running inside a container 09:29:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/144 -v /w/workspace/device-modbus-go/144:/w/workspace/device-modbus-go/144:rw,z -v /w/workspace/device-modbus-go/144@tmp:/w/workspace/device-modbus-go/144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:29:37 $ docker top 76e3933d16edd05066e7063e02407dc495aeb8e7a578a688e70e9ee2c7bd2450 -eo pid,comm [Pipeline] { [Pipeline] sh 09:29:38 + go version 09:29:38 go version go1.21.0 linux/arm64 [Pipeline] } 09:29:38 $ docker stop --time=1 76e3933d16edd05066e7063e02407dc495aeb8e7a578a688e70e9ee2c7bd2450 09:29:40 $ docker rm -f --volumes 76e3933d16edd05066e7063e02407dc495aeb8e7a578a688e70e9ee2c7bd2450 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:29:40 + docker inspect -f . ci-base-image-arm64 09:29:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:29:41 prd-ubuntu20.04-docker-arm64-4c-16g-25172 does not seem to be running inside a container 09:29:41 $ 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/144 -v /w/workspace/device-modbus-go/144:/w/workspace/device-modbus-go/144:rw,z -v /w/workspace/device-modbus-go/144@tmp:/w/workspace/device-modbus-go/144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:29:42 $ docker top aac35963c8808bf464f8eab8a1dfe006be12875895bd0a2b2654887fd6889073 -eo pid,comm [Pipeline] { [Pipeline] sh 09:29:42 + git config --global --add safe.directory /w/workspace/device-modbus-go/144 [Pipeline] fileExists [Pipeline] sh 09:29:43 + make test 09:29:43 go test ./... -coverprofile=coverage.out 09:29:47 ? github.com/edgexfoundry/device-modbus-go [no test files] 09:30:43 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 09:30:43 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.062s coverage: 47.9% of statements 09:30:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:30:43 go vet ./... 09:30:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:30:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:30:56 ./bin/test-attribution-txt.sh [Pipeline] echo 09:30:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:30:56 $ docker stop --time=1 aac35963c8808bf464f8eab8a1dfe006be12875895bd0a2b2654887fd6889073 09:30:58 $ docker rm -f --volumes aac35963c8808bf464f8eab8a1dfe006be12875895bd0a2b2654887fd6889073 [Pipeline] // withDockerContainer [Pipeline] sh 09:31:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:31:00 Warning: overwriting stash ‘coverage-report’ 09:31:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:31:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:31:01 + ls -al . 09:31:01 total 188 09:31:01 drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 09:29 . 09:31:01 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 09:27 .. 09:31:01 -rw-rw-r-- 1 jenkins jenkins 140 Dec 15 09:27 .dockerignore 09:31:01 drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 09:27 .git 09:31:01 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 09:27 .github 09:31:01 -rw-rw-r-- 1 jenkins jenkins 266 Dec 15 09:27 .gitignore 09:31:01 -rw-rw-r-- 1 jenkins jenkins 41 Dec 15 09:27 .golangci.yml 09:31:01 -rw-rw-r-- 1 jenkins jenkins 11101 Dec 15 09:27 Attribution.txt 09:31:01 -rw-rw-r-- 1 jenkins jenkins 16388 Dec 15 09:27 CHANGELOG.md 09:31:01 -rw-rw-r-- 1 jenkins jenkins 1474 Dec 15 09:27 Dockerfile 09:31:01 -rw-rw-r-- 1 jenkins jenkins 677 Dec 15 09:27 GOVERNANCE.md 09:31:01 -rw-rw-r-- 1 jenkins jenkins 658 Dec 15 09:27 Jenkinsfile 09:31:01 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 15 09:27 LICENSE 09:31:01 -rw-rw-r-- 1 jenkins jenkins 1942 Dec 15 09:27 Makefile 09:31:01 -rw-rw-r-- 1 jenkins jenkins 622 Dec 15 09:27 OWNERS.md 09:31:01 -rw-rw-r-- 1 jenkins jenkins 4463 Dec 15 09:27 README.md 09:31:01 -rw-rw-r-- 1 jenkins jenkins 11 Dec 15 09:23 VERSION 09:31:01 drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 09:27 bin 09:31:01 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 09:27 cmd 09:31:01 -rw-r--r-- 1 jenkins jenkins 24334 Dec 15 09:30 coverage.out 09:31:01 -rw-rw-r-- 1 jenkins jenkins 3937 Dec 15 09:27 go.mod 09:31:01 -rw-rw-r-- 1 jenkins jenkins 35426 Dec 15 09:27 go.sum 09:31:01 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 09:27 internal 09:31:01 drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 09:27 simulator 09:31:01 -rw-rw-r-- 1 jenkins jenkins 229 Dec 15 09:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:31:02 + 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=f075d1275b3de083ffef18a345f0eb35bf0251a5 --label arch=arm64 --label version=3.2.0-dev.5 . 09:31:03 #0 building with "default" instance using docker driver 09:31:03 09:31:03 #1 [internal] load build definition from Dockerfile 09:31:03 #1 transferring dockerfile: 1.51kB done 09:31:03 #1 DONE 0.0s 09:31:03 09:31:03 #2 [internal] load .dockerignore 09:31:03 #2 transferring context: 182B done 09:31:03 #2 DONE 0.0s 09:31:03 09:31:03 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 09:31:03 #3 DONE 0.0s 09:31:03 09:31:03 #4 [internal] load metadata for docker.io/library/alpine:3.18 09:31:03 #4 DONE 0.3s 09:31:03 09:31:03 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 09:31:03 #5 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 09:31:03 #5 ... 09:31:03 09:31:03 #6 [internal] load build context 09:31:03 #6 transferring context: 31.17kB 0.1s done 09:31:03 #6 DONE 0.1s 09:31:03 09:31:03 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 09:31:03 #5 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 09:31:03 #5 ... 09:31:03 09:31:03 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 09:31:03 #7 DONE 0.2s 09:31:03 09:31:03 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 09:31:03 #5 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 09:31:03 #5 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 09:31:03 #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 09:31:03 #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 09:31:03 #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.4s done 09:31:04 #5 DONE 0.9s 09:31:04 09:31:04 #8 [builder 2/7] RUN apk add --update --no-cache make git openssh 09:31:04 #8 0.762 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:31:04 #8 1.253 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:31:06 #8 2.582 OK: 272 MiB in 60 packages 09:31:06 #8 DONE 2.9s 09:31:06 09:31:06 #9 [builder 3/7] WORKDIR /device-modbus-go 09:31:06 #9 DONE 0.1s 09:31:06 09:31:06 #10 [builder 4/7] COPY go.mod vendor* ./ 09:31:06 #10 DONE 0.2s 09:31:06 09:31:06 #11 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:31:07 #11 ... 09:31:07 09:31:07 #12 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 09:31:07 #12 0.741 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:31:07 #12 1.153 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:31:07 #12 2.352 (1/1) Installing dumb-init (1.2.5-r2) 09:31:07 #12 2.366 Executing busybox-1.36.1-r5.trigger 09:31:07 #12 2.390 OK: 8 MiB in 16 packages 09:31:07 #12 DONE 2.8s 09:31:07 09:31:07 #13 [stage-1 3/6] RUN apk --no-cache upgrade 09:31:07 #13 0.825 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:31:08 #13 ... 09:31:08 09:31:08 #11 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:31:08 #11 DONE 1.4s 09:31:08 09:31:08 #13 [stage-1 3/6] RUN apk --no-cache upgrade 09:31:08 #13 1.191 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:31:08 #13 ... 09:31:08 09:31:08 #14 [builder 6/7] COPY . . 09:31:08 #14 DONE 0.4s 09:31:08 09:31:08 #15 [builder 7/7] RUN make build 09:31:09 #15 0.639 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.5 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.4" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 09:31:09 #15 ... 09:31:09 09:31:09 #13 [stage-1 3/6] RUN apk --no-cache upgrade 09:31:09 #13 2.331 OK: 8 MiB in 16 packages 09:31:09 #13 DONE 2.6s 09:31:09 09:31:09 #15 [builder 7/7] RUN make build 09:32:17 #15 DONE 67.1s 09:32:17 09:32:17 #16 [stage-1 4/6] COPY --from=builder /device-modbus-go/cmd / 09:32:17 #16 DONE 0.3s 09:32:17 09:32:17 #17 [stage-1 5/6] COPY --from=builder /device-modbus-go/LICENSE / 09:32:17 #17 DONE 0.1s 09:32:17 09:32:17 #18 [stage-1 6/6] COPY --from=builder /device-modbus-go/Attribution.txt / 09:32:17 #18 DONE 0.1s 09:32:17 09:32:17 #19 exporting to image 09:32:17 #19 exporting layers 09:32:17 #19 exporting layers 0.4s done 09:32:17 #19 writing image sha256:d82b347b02481a00d5417a4ac83ba1da4d505e37c4596709321ebad4d8e9bfa0 done 09:32:17 #19 naming to docker.io/library/device-modbus-arm64 0.0s done 09:32:17 #19 DONE 0.4s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:32:17 provisioning config files... 09:32:17 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/144@tmp/config13919346977824857242tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:32:18 ---> ****-login.sh 09:32:18 nexus3.edgexfoundry.org:10001 09:32:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:32:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:32:18 Configure a credential helper to remove this warning. See 09:32:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:32:18 09:32:18 Login Succeeded 09:32:18 nexus3.edgexfoundry.org:10002 09:32:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:32:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:32:18 Configure a credential helper to remove this warning. See 09:32:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:32:18 09:32:18 Login Succeeded 09:32:18 nexus3.edgexfoundry.org:10003 09:32:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:32:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:32:19 Configure a credential helper to remove this warning. See 09:32:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:32:19 09:32:19 Login Succeeded 09:32:19 nexus3.edgexfoundry.org:10004 09:32:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:32:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:32:19 Configure a credential helper to remove this warning. See 09:32:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:32:19 09:32:19 Login Succeeded 09:32:19 ****.io 09:32:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:32:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:32:20 Configure a credential helper to remove this warning. See 09:32:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:32:20 09:32:20 Login Succeeded 09:32:20 ---> ****-login.sh ends [Pipeline] } 09:32:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:32:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:32:20 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 09:32:20 f075d1275b3de083ffef18a345f0eb35bf0251a5 09:32:20 latest 09:32:20 3.2.0-dev.5 09:32:20 f075d1275b3de083ffef18a345f0eb35bf0251a5-3.2.0-dev.5 09:32:20 main 09:32:20 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:32:21 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:f075d1275b3de083ffef18a345f0eb35bf0251a5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:32:21 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:f075d1275b3de083ffef18a345f0eb35bf0251a5 09:32:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 09:32:21 ff654c494382: Preparing 09:32:21 94152eaddb86: Preparing 09:32:21 639f0b468f56: Preparing 09:32:21 67a03536b8e1: Preparing 09:32:21 cb4721bcf488: Preparing 09:32:21 0faf9b67be60: Preparing 09:32:21 0faf9b67be60: Waiting 09:32:21 cb4721bcf488: Pushed 09:32:22 67a03536b8e1: Pushed 09:32:22 94152eaddb86: Pushed 09:32:22 0faf9b67be60: Layer already exists 09:32:22 ff654c494382: Pushed 09:32:25 639f0b468f56: Pushed 09:32:25 f075d1275b3de083ffef18a345f0eb35bf0251a5: digest: sha256:dd803e4f090064774523fa7d317d873c4decfcd29a6355c77bd38637e9f10309 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:32:26 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:32:26 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 09:32:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 09:32:26 ff654c494382: Preparing 09:32:26 94152eaddb86: Preparing 09:32:26 639f0b468f56: Preparing 09:32:26 67a03536b8e1: Preparing 09:32:26 cb4721bcf488: Preparing 09:32:26 0faf9b67be60: Preparing 09:32:26 0faf9b67be60: Waiting 09:32:26 ff654c494382: Layer already exists 09:32:26 cb4721bcf488: Layer already exists 09:32:26 94152eaddb86: Layer already exists 09:32:26 67a03536b8e1: Layer already exists 09:32:26 639f0b468f56: Layer already exists 09:32:26 0faf9b67be60: Layer already exists 09:32:26 latest: digest: sha256:dd803e4f090064774523fa7d317d873c4decfcd29a6355c77bd38637e9f10309 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:32:27 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:32:27 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.5 09:32:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 09:32:27 ff654c494382: Preparing 09:32:27 94152eaddb86: Preparing 09:32:27 639f0b468f56: Preparing 09:32:27 67a03536b8e1: Preparing 09:32:27 cb4721bcf488: Preparing 09:32:27 0faf9b67be60: Preparing 09:32:27 0faf9b67be60: Waiting 09:32:27 cb4721bcf488: Layer already exists 09:32:27 94152eaddb86: Layer already exists 09:32:27 ff654c494382: Layer already exists 09:32:27 67a03536b8e1: Layer already exists 09:32:27 639f0b468f56: Layer already exists 09:32:27 0faf9b67be60: Layer already exists 09:32:28 3.2.0-dev.5: digest: sha256:dd803e4f090064774523fa7d317d873c4decfcd29a6355c77bd38637e9f10309 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:32:28 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:f075d1275b3de083ffef18a345f0eb35bf0251a5-3.2.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:32:29 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:f075d1275b3de083ffef18a345f0eb35bf0251a5-3.2.0-dev.5 09:32:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 09:32:29 ff654c494382: Preparing 09:32:29 94152eaddb86: Preparing 09:32:29 639f0b468f56: Preparing 09:32:29 67a03536b8e1: Preparing 09:32:29 cb4721bcf488: Preparing 09:32:29 0faf9b67be60: Preparing 09:32:29 0faf9b67be60: Waiting 09:32:29 67a03536b8e1: Layer already exists 09:32:29 94152eaddb86: Layer already exists 09:32:29 ff654c494382: Layer already exists 09:32:29 639f0b468f56: Layer already exists 09:32:29 cb4721bcf488: Layer already exists 09:32:29 0faf9b67be60: Layer already exists 09:32:29 f075d1275b3de083ffef18a345f0eb35bf0251a5-3.2.0-dev.5: digest: sha256:dd803e4f090064774523fa7d317d873c4decfcd29a6355c77bd38637e9f10309 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:32:29 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:32:30 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 09:32:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 09:32:30 ff654c494382: Preparing 09:32:30 94152eaddb86: Preparing 09:32:30 639f0b468f56: Preparing 09:32:30 67a03536b8e1: Preparing 09:32:30 cb4721bcf488: Preparing 09:32:30 0faf9b67be60: Preparing 09:32:30 0faf9b67be60: Waiting 09:32:30 cb4721bcf488: Layer already exists 09:32:30 67a03536b8e1: Layer already exists 09:32:30 94152eaddb86: Layer already exists 09:32:30 639f0b468f56: Layer already exists 09:32:30 ff654c494382: Layer already exists 09:32:30 0faf9b67be60: Layer already exists 09:32:30 main: digest: sha256:dd803e4f090064774523fa7d317d873c4decfcd29a6355c77bd38637e9f10309 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:32:30 ===================================================== [Pipeline] echo 09:32:30 taggedImages: 09:32:30 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:f075d1275b3de083ffef18a345f0eb35bf0251a5 09:32:30 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 09:32:30 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.5 09:32:30 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:f075d1275b3de083ffef18a345f0eb35bf0251a5-3.2.0-dev.5 09:32:30 - 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 09:32:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:32:31 09:32:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:32:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:32:34 arm64: Pulling from edgex-lftools-log-publisher 09:32:34 8998bd30e6a1: Pulling fs layer 09:32:34 04944245beec: Pulling fs layer 09:32:34 699f458cf7ca: Pulling fs layer 09:32:34 765212b225bb: Pulling fs layer 09:32:34 f23df028b6ca: Pulling fs layer 09:32:34 d65c8cfc05b1: Pulling fs layer 09:32:34 2437ff75d9bd: Pulling fs layer 09:32:34 f23df028b6ca: Waiting 09:32:34 765212b225bb: Waiting 09:32:34 d65c8cfc05b1: Waiting 09:32:34 2437ff75d9bd: Waiting 09:32:34 04944245beec: Verifying Checksum 09:32:34 04944245beec: Download complete 09:32:34 765212b225bb: Download complete 09:32:34 f23df028b6ca: Verifying Checksum 09:32:34 f23df028b6ca: Download complete 09:32:34 d65c8cfc05b1: Verifying Checksum 09:32:34 699f458cf7ca: Verifying Checksum 09:32:34 699f458cf7ca: Download complete 09:32:35 8998bd30e6a1: Verifying Checksum 09:32:35 8998bd30e6a1: Download complete 09:32:37 2437ff75d9bd: Verifying Checksum 09:32:37 2437ff75d9bd: Download complete 09:32:43 8998bd30e6a1: Pull complete 09:32:43 04944245beec: Pull complete 09:32:50 699f458cf7ca: Pull complete 09:32:50 765212b225bb: Pull complete 09:32:50 f23df028b6ca: Pull complete 09:32:50 d65c8cfc05b1: Pull complete 09:33:12 2437ff75d9bd: Pull complete 09:33:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:33:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:33:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:33:12 prd-ubuntu20.04-docker-arm64-4c-16g-25172 does not seem to be running inside a container 09:33:12 $ 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/144 -v /w/workspace/device-modbus-go/144:/w/workspace/device-modbus-go/144:rw,z -v /w/workspace/device-modbus-go/144@tmp:/w/workspace/device-modbus-go/144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:33:15 $ docker top 18adab73bdfbbcb3cfdd1c80754b645d8a5d28dfe85d7e5e75db8deabcec41a0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:33:15 ---> job-cost.sh 09:33:15 lf-activate-venv: SKIPPING 09:33:15 INFO: No Stack... 09:33:16 INFO: Retrieving Pricing Info for: v3-standard-8 09:33:17 INFO: Archiving Costs [Pipeline] sh 09:33:17 + cat /w/workspace/device-modbus-go/144/archives/cost.csv 09:33:17 + cut -d, -f6 [Pipeline] lock 09:33:17 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-144-stack-cost] 09:33:17 Resource [jenkins-edgexfoundry-device-modbus-go-main-144-stack-cost] did not exist. Created. 09:33:17 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-144-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:33:17 /w/workspace/device-modbus-go/144@tmp/durable-8f2fcc52/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:33:18 + echo total: 0.2199999988079071 [Pipeline] stash 09:33:18 Warning: overwriting stash ‘stack-cost’ 09:33:18 Stashed 1 file(s) [Pipeline] } 09:33:18 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-144-stack-cost] [Pipeline] // lock [Pipeline] } 09:33:18 $ docker stop --time=1 18adab73bdfbbcb3cfdd1c80754b645d8a5d28dfe85d7e5e75db8deabcec41a0 09:33:20 $ docker rm -f --volumes 18adab73bdfbbcb3cfdd1c80754b645d8a5d28dfe85d7e5e75db8deabcec41a0 [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 09:33:21 provisioning config files... 09:33:21 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2333734166315562462tmp [Pipeline] { [Pipeline] sh 09:33:22 + set +x 09:33:22 + curl -s https://codecov.io/bash 09:33:22 + bash -s -- 09:33:22 09:33:22 _____ _ 09:33:22 / ____| | | 09:33:22 | | ___ __| | ___ ___ _____ __ 09:33:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:33:22 | |___| (_) | (_| | __/ (_| (_) \ V / 09:33:22 \_____\___/ \__,_|\___|\___\___/ \_/ 09:33:22 Bash-1.0.6 09:33:22 09:33:22 09:33:22 ==> git version 2.25.1 found 09:33:22 ==> 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 09:33:22 Release-Date: 2020-01-08 09:33:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:33:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:33:22 ==> Jenkins CI detected. 09:33:22 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 09:33:22 project root: . 09:33:22 --> token set from env 09:33:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:33:22 ==> Running gcov in . (disable via -X gcov) 09:33:22 ==> Python coveragepy not found 09:33:22 ==> Searching for coverage reports in: 09:33:22 + . 09:33:22 -> Found 1 reports 09:33:22 ==> Detecting git/mercurial file structure 09:33:22 ==> Reading reports 09:33:22 + ./coverage.out bytes=24334 09:33:22 ==> Appending adjustments 09:33:22 https://docs.codecov.io/docs/fixing-reports 09:33:22 + Found adjustments 09:33:22 ==> Gzipping contents 09:33:22 4.0K /tmp/codecov.MVplW4.gz 09:33:22 ==> Uploading reports 09:33:22 url: https://codecov.io 09:33:22 query: branch=main&commit=f075d1275b3de083ffef18a345f0eb35bf0251a5&build=144&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F144%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:33:22 -> Pinging Codecov 09:33:22 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=f075d1275b3de083ffef18a345f0eb35bf0251a5&build=144&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F144%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:33:22 -> Uploading to 09:33:22 https://storage.googleapis.com/codecov/v4/raw/2023-12-15/55DBCA73C666E3227836607328DD7E49/f075d1275b3de083ffef18a345f0eb35bf0251a5/3b97a3df-3f8e-4297-b9f1-b1e139eb7d02.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231215T093322Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2458335226cfa130aea60f13aa2ee43deac1b922920aac7d96fc52b7e9f68ffd 09:33:22 % Total % Received % Xferd Average Speed Time Time Time Current 09:33:22 Dload Upload Total Spent Left Speed 09:33:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3806 0 0 100 3806 0 15534 --:--:-- --:--:-- --:--:-- 15598 09:33:23 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/f075d1275b3de083ffef18a345f0eb35bf0251a5 [Pipeline] } 09:33:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:33:23 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:33:23 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:33:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:33:24 09:33:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:33:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:33:24 1.410.4: Pulling from edgex-devops/edgex-snyk-go 09:33:24 df9b9388f04a: Pulling fs layer 09:33:24 52dc419b0ee2: Pulling fs layer 09:33:24 25bc292e5bac: Pulling fs layer 09:33:24 114826534d7a: Pulling fs layer 09:33:24 4657fd5d0bcf: Pulling fs layer 09:33:24 6ad1cebc031e: Pulling fs layer 09:33:24 8a3aa393b2d8: Pulling fs layer 09:33:24 4657fd5d0bcf: Waiting 09:33:24 8a3aa393b2d8: Waiting 09:33:24 6ad1cebc031e: Waiting 09:33:24 114826534d7a: Waiting 09:33:24 25bc292e5bac: Download complete 09:33:24 52dc419b0ee2: Verifying Checksum 09:33:24 52dc419b0ee2: Download complete 09:33:24 4657fd5d0bcf: Download complete 09:33:24 df9b9388f04a: Verifying Checksum 09:33:24 df9b9388f04a: Download complete 09:33:24 6ad1cebc031e: Verifying Checksum 09:33:24 6ad1cebc031e: Download complete 09:33:24 df9b9388f04a: Pull complete 09:33:24 52dc419b0ee2: Pull complete 09:33:24 25bc292e5bac: Pull complete 09:33:25 114826534d7a: Verifying Checksum 09:33:25 114826534d7a: Download complete 09:33:25 8a3aa393b2d8: Verifying Checksum 09:33:25 8a3aa393b2d8: Download complete 09:33:28 114826534d7a: Pull complete 09:33:28 4657fd5d0bcf: Pull complete 09:33:28 6ad1cebc031e: Pull complete 09:33:32 8a3aa393b2d8: Pull complete 09:33:32 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 09:33:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:33:32 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:33:32 prd-ubuntu20.04-docker-8c-8g-25171 does not seem to be running inside a container 09:33:32 $ 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 09:33:36 $ docker top 1f5b83c4b3499bdea0861d5fe0f4508b2a44a61d758cf9abd366094e9538836f -eo pid,comm [Pipeline] { [Pipeline] echo 09:33:36 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 09:33:36 + set -o pipefail 09:33:36 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 09:33:41 09:33:41 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 09:33:41 09:33:41 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/186de3c7-76a7-4076-a738-eec051d9583b 09:33:41 09:33:41 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 09:33:41 09:33:41 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:33:41 09:33:41 09:33:41 A medium severity vulnerability was found in the Snyk CLI versions you are using. 09:33:41 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 09:33:41 More details here: https://snyk.co/ue1NS 09:33:41 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 09:33:41 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 09:33:41 $ docker stop --time=1 1f5b83c4b3499bdea0861d5fe0f4508b2a44a61d758cf9abd366094e9538836f 09:33:45 $ docker rm -f --volumes 1f5b83c4b3499bdea0861d5fe0f4508b2a44a61d758cf9abd366094e9538836f [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 09:33:46 + git log --format=format:%s -1 f075d1275b3de083ffef18a345f0eb35bf0251a5 [Pipeline] sh 09:33:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:33:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:33:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:33:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:33:47 prd-ubuntu20.04-docker-8c-8g-25171 does not seem to be running inside a container 09:33:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:33:47 $ docker top 2c2bd4df475569d97d67497213e1c01ef33cbaa3389544ceb4c7f34625bb84e7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:33:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:33:48 [ssh-agent] Looking for ssh-agent implementation... 09:33:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:33:48 $ docker exec 2c2bd4df475569d97d67497213e1c01ef33cbaa3389544ceb4c7f34625bb84e7 ssh-agent 09:33:48 SSH_AUTH_SOCK=/tmp/ssh-azHspK1dqsSO/agent.33 09:33:48 SSH_AGENT_PID=39 09:33:48 Running ssh-add (command line suppressed) 09:33:48 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15046740554415276283.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15046740554415276283.key) 09:33:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:33:48 + git semver tag 09:33:49 2023-12-15 09:33:49,021 [run_tag] DEBUG tag force:False 09:33:49 2023-12-15 09:33:49,021 [check_head_tag] DEBUG check head tag 09:33:49 2023-12-15 09:33:49,022 [execute] INFO git cat-file --batch-check 09:33:49 2023-12-15 09:33:49,023 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 09:33:49 2023-12-15 09:33:49,026 [execute] INFO git cat-file --batch 09:33:49 2023-12-15 09:33:49,027 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 09:33:49 2023-12-15 09:33:49,041 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:33:49 2023-12-15 09:33:49,041 [execute] INFO git tag -a v3.2.0-dev.5 -m v3.2.0-dev.5 09:33:49 2023-12-15 09:33:49,041 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.5', '-m', 'v3.2.0-dev.5'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 09:33:49 2023-12-15 09:33:49,046 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:33:49 3.2.0-dev.5 [Pipeline] } 09:33:49 $ docker exec --env ******** --env ******** 2c2bd4df475569d97d67497213e1c01ef33cbaa3389544ceb4c7f34625bb84e7 ssh-agent -k 09:33:49 unset SSH_AUTH_SOCK; 09:33:49 unset SSH_AGENT_PID; 09:33:49 echo Agent pid 39 killed; 09:33:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:33:49 + git semver [Pipeline] } 09:33:50 $ docker stop --time=1 2c2bd4df475569d97d67497213e1c01ef33cbaa3389544ceb4c7f34625bb84e7 09:33:51 $ docker rm -f --volumes 2c2bd4df475569d97d67497213e1c01ef33cbaa3389544ceb4c7f34625bb84e7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:33:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:33:51 09:33:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:33:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:33:52 0.23.1-centos7: Pulling from edgex-lftools 09:33:52 ab5ef0e58194: Pulling fs layer 09:33:52 9712f1f96733: Pulling fs layer 09:33:52 63f879dbbcfc: Pulling fs layer 09:33:52 0d9ebad4ef96: Pulling fs layer 09:33:52 e9a5061849ea: Pulling fs layer 09:33:52 d747dcd14b5f: Pulling fs layer 09:33:52 2de7ff778b66: Pulling fs layer 09:33:52 0d9ebad4ef96: Waiting 09:33:52 e9a5061849ea: Waiting 09:33:52 d747dcd14b5f: Waiting 09:33:52 2de7ff778b66: Waiting 09:33:52 9712f1f96733: Download complete 09:33:52 63f879dbbcfc: Verifying Checksum 09:33:52 63f879dbbcfc: Download complete 09:33:52 e9a5061849ea: Verifying Checksum 09:33:52 e9a5061849ea: Download complete 09:33:52 d747dcd14b5f: Verifying Checksum 09:33:52 d747dcd14b5f: Download complete 09:33:52 ab5ef0e58194: Download complete 09:33:52 0d9ebad4ef96: Verifying Checksum 09:33:52 0d9ebad4ef96: Download complete 09:33:52 2de7ff778b66: Verifying Checksum 09:33:52 2de7ff778b66: Download complete 09:33:55 ab5ef0e58194: Pull complete 09:33:55 9712f1f96733: Pull complete 09:33:56 63f879dbbcfc: Pull complete 09:34:00 0d9ebad4ef96: Pull complete 09:34:00 e9a5061849ea: Pull complete 09:34:00 d747dcd14b5f: Pull complete 09:34:01 2de7ff778b66: Pull complete 09:34:01 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:34:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:34:01 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:34:01 prd-ubuntu20.04-docker-8c-8g-25171 does not seem to be running inside a container 09:34:01 $ 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 09:34:05 $ docker top 27d8ce35525752c74dcc0a501f6f457bf22608df7e2fc855abb016d2a520f820 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:34:06 provisioning config files... 09:34:06 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5100007095109178870tmp 09:34:06 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9617624987929816614tmp 09:34:06 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9380237019404941546tmp [Pipeline] { [Pipeline] echo 09:34:06 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:34:06 ---> sigul-configuration.sh 09:34:06 gpg: directory `/root/.gnupg' created 09:34:06 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:34:06 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:34:06 gpg: keyring `/root/.gnupg/secring.gpg' created 09:34:06 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:34:06 gpg: CAST5 encrypted data 09:34:06 gpg: encrypted with 1 passphrase 09:34:06 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:34:06 + mkdir /home/jenkins 09:34:06 + mkdir /home/jenkins/sigul [Pipeline] sh 09:34:07 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 09:34:07 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:34:07 ---> sigul-install.sh 09:34:07 Sigul already installed; skipping installation. [Pipeline] sh 09:34:07 + git tag --list 09:34:07 0.7.1 09:34:07 v1.0.0 09:34:07 v1.1.0 09:34:07 v1.1.1 09:34:07 v1.2.2 09:34:07 v1.3.0 09:34:07 v1.3.1 09:34:07 v2.0.0 09:34:07 v2.1.0 09:34:07 v2.1.1 09:34:07 v2.2.0 09:34:07 v2.3.0 09:34:07 v3.0 09:34:07 v3.0.0 09:34:07 v3.1 09:34:07 v3.1.0 09:34:07 v3.1.0-dev.1 09:34:07 v3.1.0-dev.10 09:34:07 v3.1.0-dev.11 09:34:07 v3.1.0-dev.12 09:34:07 v3.1.0-dev.13 09:34:07 v3.1.0-dev.14 09:34:07 v3.1.0-dev.15 09:34:07 v3.1.0-dev.16 09:34:07 v3.1.0-dev.17 09:34:07 v3.1.0-dev.18 09:34:07 v3.1.0-dev.19 09:34:07 v3.1.0-dev.2 09:34:07 v3.1.0-dev.20 09:34:07 v3.1.0-dev.21 09:34:07 v3.1.0-dev.22 09:34:07 v3.1.0-dev.23 09:34:07 v3.1.0-dev.24 09:34:07 v3.1.0-dev.25 09:34:07 v3.1.0-dev.3 09:34:07 v3.1.0-dev.4 09:34:07 v3.1.0-dev.5 09:34:07 v3.1.0-dev.6 09:34:07 v3.1.0-dev.7 09:34:07 v3.1.0-dev.8 09:34:07 v3.1.0-dev.9 09:34:07 v3.2.0-dev.1 09:34:07 v3.2.0-dev.2 09:34:07 v3.2.0-dev.3 09:34:07 v3.2.0-dev.4 09:34:07 v3.2.0-dev.5 [Pipeline] sh 09:34:08 + lftools sign git-tag v3.2.0-dev.5 09:34:08 Signing Git tag with Sigul... 09:34:08 Signing v3.2.0-dev.5 [Pipeline] echo 09:34:09 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:34:09 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:34:09 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:34:09 $ docker stop --time=1 27d8ce35525752c74dcc0a501f6f457bf22608df7e2fc855abb016d2a520f820 09:34:11 $ docker rm -f --volumes 27d8ce35525752c74dcc0a501f6f457bf22608df7e2fc855abb016d2a520f820 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:34:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:34:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:34:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:34:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:34:12 prd-ubuntu20.04-docker-8c-8g-25171 does not seem to be running inside a container 09:34:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:34:12 $ docker top 2d45fc88bc12b38d06987239b6a609a4f9403816159fc88acb386973b492376d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:34:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:34:13 [ssh-agent] Looking for ssh-agent implementation... 09:34:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:34:13 $ docker exec 2d45fc88bc12b38d06987239b6a609a4f9403816159fc88acb386973b492376d ssh-agent 09:34:13 SSH_AUTH_SOCK=/tmp/ssh-aMMz6dUP0ZMe/agent.32 09:34:13 SSH_AGENT_PID=38 09:34:13 Running ssh-add (command line suppressed) 09:34:13 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12290201019669450013.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12290201019669450013.key) 09:34:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:34:13 + git semver bump pre 09:34:14 2023-12-15 09:34:14,046 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:34:14 2023-12-15 09:34:14,046 [bump_version] DEBUG bumping version:3.2.0-dev.5 on axis:pre with prefix:dev 09:34:14 2023-12-15 09:34:14,046 [bump_version] DEBUG bumped version:3.2.0-dev.6 09:34:14 2023-12-15 09:34:14,046 [write_version] DEBUG write version:3.2.0-dev.6 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 09:34:14 2023-12-15 09:34:14,046 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:34:14 2023-12-15 09:34:14,046 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:34:14 2023-12-15 09:34:14,048 [execute] INFO git cat-file --batch-check 09:34:14 2023-12-15 09:34:14,048 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:34:14 2023-12-15 09:34:14,053 [execute] INFO git cat-file --batch 09:34:14 2023-12-15 09:34:14,054 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:34:14 2023-12-15 09:34:14,059 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:34:14 3.2.0-dev.6 [Pipeline] } 09:34:14 $ docker exec --env ******** --env ******** 2d45fc88bc12b38d06987239b6a609a4f9403816159fc88acb386973b492376d ssh-agent -k 09:34:14 unset SSH_AUTH_SOCK; 09:34:14 unset SSH_AGENT_PID; 09:34:14 echo Agent pid 38 killed; 09:34:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:34:14 + git semver [Pipeline] } 09:34:15 $ docker stop --time=1 2d45fc88bc12b38d06987239b6a609a4f9403816159fc88acb386973b492376d 09:34:16 $ docker rm -f --volumes 2d45fc88bc12b38d06987239b6a609a4f9403816159fc88acb386973b492376d [Pipeline] // withDockerContainer [Pipeline] sh 09:34:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:34:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:34:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:34:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:34:17 prd-ubuntu20.04-docker-8c-8g-25171 does not seem to be running inside a container 09:34:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:34:17 $ docker top 2811a1176b92bed49212cc5c2eec5e20f6adb2694aa1042d716cb4c74d0a474b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:34:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:34:18 [ssh-agent] Looking for ssh-agent implementation... 09:34:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:34:18 $ docker exec 2811a1176b92bed49212cc5c2eec5e20f6adb2694aa1042d716cb4c74d0a474b ssh-agent 09:34:18 SSH_AUTH_SOCK=/tmp/ssh-mUYKKUrEi0y1/agent.31 09:34:18 SSH_AGENT_PID=37 09:34:18 Running ssh-add (command line suppressed) 09:34:18 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_247424054411524943.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_247424054411524943.key) 09:34:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:34:18 + git semver push 09:34:19 2023-12-15 09:34:18,941 [run_push] DEBUG push 09:34:19 2023-12-15 09:34:18,942 [execute] INFO git cat-file --batch-check 09:34:19 2023-12-15 09:34:18,943 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:34:19 2023-12-15 09:34:18,946 [execute] INFO git rev-list 9919068b4eaa9678c5fc8f1ad89e36d39290994a -- 09:34:19 2023-12-15 09:34:18,947 [execute] DEBUG Popen(['git', 'rev-list', '9919068b4eaa9678c5fc8f1ad89e36d39290994a', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:34:19 2023-12-15 09:34:18,956 [execute] INFO git fetch -v origin 09:34:19 2023-12-15 09:34:18,957 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 09:34:20 2023-12-15 09:34:19,744 [run_push] DEBUG no remote changes detected 09:34:20 2023-12-15 09:34:19,745 [execute] INFO git push origin semver 09:34:20 2023-12-15 09:34:19,745 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:34:20 2023-12-15 09:34:20,557 [run_push] DEBUG push all version tags 09:34:20 2023-12-15 09:34:20,557 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 09:34:20 2023-12-15 09:34:20,558 [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) 09:34:21 2023-12-15 09:34:21,312 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:34:21 3.2.0-dev.6 [Pipeline] } 09:34:21 $ docker exec --env ******** --env ******** 2811a1176b92bed49212cc5c2eec5e20f6adb2694aa1042d716cb4c74d0a474b ssh-agent -k 09:34:21 unset SSH_AUTH_SOCK; 09:34:21 unset SSH_AGENT_PID; 09:34:21 echo Agent pid 37 killed; 09:34:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:34:22 + git semver [Pipeline] } 09:34:22 $ docker stop --time=1 2811a1176b92bed49212cc5c2eec5e20f6adb2694aa1042d716cb4c74d0a474b 09:34:23 $ docker rm -f --volumes 2811a1176b92bed49212cc5c2eec5e20f6adb2694aa1042d716cb4c74d0a474b [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 09:34:25 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 09:34:25 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 09:34:25 total 16 09:34:25 drwxr-xr-x 3 root root 4096 Dec 15 09:25 . 09:34:25 drwxrwxr-x 10 jenkins jenkins 4096 Dec 15 09:34 .. 09:34:25 drwxr-xr-x 2 root root 4096 Dec 15 09:25 cost 09:34:25 -rw-r--r-- 1 root root 88 Dec 15 09:25 cost.csv 09:34:25 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 09:34:25 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 09:34:25 total 16 09:34:25 drwxr-xr-x 3 jenkins jenkins 4096 Dec 15 09:25 . 09:34:25 drwxrwxr-x 10 jenkins jenkins 4096 Dec 15 09:34 .. 09:34:25 drwxr-xr-x 2 jenkins jenkins 4096 Dec 15 09:25 cost 09:34:25 -rw-r--r-- 1 jenkins jenkins 88 Dec 15 09:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:34:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:34:26 ---> package-listing.sh 09:34:26 ++ facter osfamily 09:34:26 ++ tr '[:upper:]' '[:lower:]' 09:34:26 + OS_FAMILY=debian 09:34:26 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 09:34:26 + START_PACKAGES=/tmp/packages_start.txt 09:34:26 + END_PACKAGES=/tmp/packages_end.txt 09:34:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:34:26 + PACKAGES=/tmp/packages_start.txt 09:34:26 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 09:34:26 + PACKAGES=/tmp/packages_end.txt 09:34:26 + case "${OS_FAMILY}" in 09:34:26 + dpkg -l 09:34:26 + grep '^ii' 09:34:26 + '[' -f /tmp/packages_start.txt ']' 09:34:26 + '[' -f /tmp/packages_end.txt ']' 09:34:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:34:26 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 09:34:26 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 09:34:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 09:34:26 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 09:34:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:34:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:34:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:34:27 prd-ubuntu20.04-docker-8c-8g-25171 does not seem to be running inside a container 09:34:27 $ 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 09:34:28 $ docker top bdda6c646d8f7313c726c7fc973dec8061b234452f3c42afb6e5bfaff1cf9285 -eo pid,comm [Pipeline] { [Pipeline] sh 09:34:28 + touch /tmp/pre-build-complete [Pipeline] sh 09:34:28 + mkdir -p /var/log/sysstat [Pipeline] sh 09:34:29 + ls /var/log/sa-host 09:34:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:34:29 provisioning config files... 09:34:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3215514191729630539tmp [Pipeline] { [Pipeline] echo 09:34:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:34:29 ---> create-netrc.sh [Pipeline] } 09:34:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:34:30 ---> python-tools-install.sh [Pipeline] echo 09:34:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:34:30 ---> sudo-logs.sh 09:34:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:34:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:34:30 ---> job-cost.sh 09:34:30 lf-activate-venv: SKIPPING 09:34:30 DEBUG: total: 0.2199999988079071 09:34:30 INFO: Retrieving Stack Cost... 09:34:31 INFO: Retrieving Pricing Info for: v3-standard-8 09:34:31 INFO: Archiving Costs [Pipeline] echo 09:34:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:34:32 ---> logs-deploy.sh 09:34:32 lf-activate-venv: SKIPPING 09:34:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/144 09:34:32 INFO: archiving workspace using pattern(s): 09:34:33 Archives upload complete. 09:34:33 INFO: archiving logs to Nexus