Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6ffd961e50bad5aafcddb961eadc768a2e323cba 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-ssh8151059951194912939.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-ssh2093564192906457224.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-ssh4482771841905488429.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-ssh7988005092879552468.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-ssh3248389386967308764.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-268’ Running on prd-ubuntu20.04-docker-8c-8g-270 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Avoid second fetch Checking out Revision 6ffd961e50bad5aafcddb961eadc768a2e323cba (main) Commit message: "Merge pull request #552 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.13" > git config core.sparsecheckout # timeout=10 > git checkout -f 6ffd961e50bad5aafcddb961eadc768a2e323cba # timeout=10 > git rev-list --no-walk 64d7a7694c36189f4485ea56f1d095402521ef96 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:44:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:44:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:44:04 ========================================================= 09:44:04 EdgeX Global Pipelines Version Info 09:44:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:44:04 ------------------- 09:44:04 stable info: 09:44:04 ------------------- 09:44:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:44:04 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 09:44:04 Message: update stable to v1.0.258 09:44:05 ------------------- 09:44:05 experimental info: 09:44:05 ------------------- 09:44:05 Commited By: **** collab-it+edgex@linuxfoundation.org 09:44:05 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 09:44:05 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:44:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 09:44:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 09:44:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:44:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:44:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:44:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 09:44:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:44:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:44:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:44:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:44:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:44:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 09:44:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:44:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:44:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:44:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:44:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:44:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:44:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:44:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:44:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:44:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:44:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:44:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:44:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:44:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:44:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:44:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 09:44:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 09:44:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 09:44:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6ffd961e50bad5aafcddb961eadc768a2e323cba [Pipeline] echo 09:44:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6ffd961 [Pipeline] echo 09:44:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:44:06 provisioning config files... 09:44:06 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8024831027650442800tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:44:06 ---> ****-login.sh 09:44:06 nexus3.edgexfoundry.org:10001 09:44:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:44:06 Configure a credential helper to remove this warning. See 09:44:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:44:06 09:44:06 Login Succeeded 09:44:06 nexus3.edgexfoundry.org:10002 09:44:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:44:06 Configure a credential helper to remove this warning. See 09:44:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:44:06 09:44:06 Login Succeeded 09:44:06 nexus3.edgexfoundry.org:10003 09:44:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:44:07 Configure a credential helper to remove this warning. See 09:44:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:44:07 09:44:07 Login Succeeded 09:44:07 nexus3.edgexfoundry.org:10004 09:44:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:44:07 Configure a credential helper to remove this warning. See 09:44:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:44:07 09:44:07 Login Succeeded 09:44:07 ****.io 09:44:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:44:07 Configure a credential helper to remove this warning. See 09:44:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:44:07 09:44:07 Login Succeeded 09:44:07 ---> ****-login.sh ends [Pipeline] } 09:44:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:44:07 + git rev-list -1 --merges 6ffd961e50bad5aafcddb961eadc768a2e323cba~1..6ffd961e50bad5aafcddb961eadc768a2e323cba [Pipeline] echo 09:44:07 -----------> git rev-list -1 --merges 6ffd961e50bad5aafcddb961eadc768a2e323cba~1..6ffd961e50bad5aafcddb961eadc768a2e323cba 6ffd961e50bad5aafcddb961eadc768a2e323cba 09:44:07 6ffd961e50bad5aafcddb961eadc768a2e323cba [false] [Pipeline] sh 09:44:08 + git log --format=format:%s -1 6ffd961e50bad5aafcddb961eadc768a2e323cba [Pipeline] echo 09:44:08 ========================================================= 09:44:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:44:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:44:08 + git log --format=format:%s -1 6ffd961e50bad5aafcddb961eadc768a2e323cba [Pipeline] echo 09:44:08 [semverPrep] GIT_COMMIT: 6ffd961e50bad5aafcddb961eadc768a2e323cba, Commit Message: Merge pull request #552 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.13 [Pipeline] echo 09:44:08 [semverPrep] This is not a build commit. [Pipeline] sh 09:44:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:44:08 + grep -v github /etc/ssh/ssh_known_hosts 09:44:08 + [ -e /tmp/ssh_known_hosts ] 09:44:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:44:08 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:44:08 + sudo tee -a /etc/ssh/ssh_known_hosts 09:44:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:44:09 09:44:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:44:09 0.1.4: Pulling from edgex-devops/py-git-semver 09:44:09 b85a868b505f: Pulling fs layer 09:44:09 e2be974225ed: Pulling fs layer 09:44:09 339a4e72a1f5: Pulling fs layer 09:44:09 988bab9f4d93: Pulling fs layer 09:44:09 1469e6f7b9e6: Pulling fs layer 09:44:09 eaf3925da568: Pulling fs layer 09:44:09 bab4dde63d76: Pulling fs layer 09:44:09 bde34c3a00c8: Pulling fs layer 09:44:09 b352a97aabf1: Pulling fs layer 09:44:09 4872d77fe225: Pulling fs layer 09:44:09 5851b861e8e6: Pulling fs layer 09:44:09 b352a97aabf1: Waiting 09:44:09 4872d77fe225: Waiting 09:44:09 988bab9f4d93: Waiting 09:44:09 5851b861e8e6: Waiting 09:44:09 bab4dde63d76: Waiting 09:44:09 bde34c3a00c8: Waiting 09:44:09 1469e6f7b9e6: Waiting 09:44:09 eaf3925da568: Waiting 09:44:09 e2be974225ed: Verifying Checksum 09:44:09 e2be974225ed: Download complete 09:44:09 988bab9f4d93: Verifying Checksum 09:44:09 988bab9f4d93: Download complete 09:44:09 1469e6f7b9e6: Verifying Checksum 09:44:09 1469e6f7b9e6: Download complete 09:44:09 339a4e72a1f5: Verifying Checksum 09:44:09 339a4e72a1f5: Download complete 09:44:09 eaf3925da568: Download complete 09:44:09 bde34c3a00c8: Verifying Checksum 09:44:09 bde34c3a00c8: Download complete 09:44:09 b352a97aabf1: Download complete 09:44:09 4872d77fe225: Verifying Checksum 09:44:09 4872d77fe225: Download complete 09:44:09 5851b861e8e6: Verifying Checksum 09:44:09 5851b861e8e6: Download complete 09:44:09 b85a868b505f: Verifying Checksum 09:44:09 b85a868b505f: Download complete 09:44:10 bab4dde63d76: Verifying Checksum 09:44:10 bab4dde63d76: Download complete 09:44:10 b85a868b505f: Pull complete 09:44:10 e2be974225ed: Pull complete 09:44:11 339a4e72a1f5: Pull complete 09:44:11 988bab9f4d93: Pull complete 09:44:11 1469e6f7b9e6: Pull complete 09:44:11 eaf3925da568: Pull complete 09:44:13 bab4dde63d76: Pull complete 09:44:13 bde34c3a00c8: Pull complete 09:44:13 b352a97aabf1: Pull complete 09:44:13 4872d77fe225: Pull complete 09:44:13 5851b861e8e6: Pull complete 09:44:13 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:44:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:44:13 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:44:13 prd-ubuntu20.04-docker-8c-8g-270 does not seem to be running inside a container 09:44:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:44:17 $ docker top 842af767c7db7a8654515b679812eb1d6bb06a48c602e013fb237ed59f29973e -eo pid,comm 09:44:17 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:44:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:44:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:44:17 [ssh-agent] Looking for ssh-agent implementation... 09:44:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:44:17 $ docker exec 842af767c7db7a8654515b679812eb1d6bb06a48c602e013fb237ed59f29973e ssh-agent 09:44:17 SSH_AUTH_SOCK=/tmp/ssh-eLT0hMc5n2wx/agent.32 09:44:17 SSH_AGENT_PID=38 09:44:17 Running ssh-add (command line suppressed) 09:44:17 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4013312976011706169.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4013312976011706169.key) 09:44:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:44:18 + git tag --points-at HEAD [Pipeline] } 09:44:18 $ docker exec --env ******** --env ******** 842af767c7db7a8654515b679812eb1d6bb06a48c602e013fb237ed59f29973e ssh-agent -k 09:44:18 unset SSH_AUTH_SOCK; 09:44:18 unset SSH_AGENT_PID; 09:44:18 echo Agent pid 38 killed; 09:44:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:44:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:44:18 [ssh-agent] Looking for ssh-agent implementation... 09:44:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:44:18 $ docker exec 842af767c7db7a8654515b679812eb1d6bb06a48c602e013fb237ed59f29973e ssh-agent 09:44:18 SSH_AUTH_SOCK=/tmp/ssh-PPphB5Tk51Fg/agent.71 09:44:18 SSH_AGENT_PID=77 09:44:18 Running ssh-add (command line suppressed) 09:44:18 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17084944297760452269.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17084944297760452269.key) 09:44:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:44:18 + git semver init 09:44:19 2024-05-16 09:44:19,013 [run_init] DEBUG init version:0.0.0 force:False 09:44:19 2024-05-16 09:44:19,014 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 09:44:19 2024-05-16 09:44:19,014 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 09:44:19 2024-05-16 09:44:19,014 [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:44:20 2024-05-16 09:44:20,259 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 09:44:20 2024-05-16 09:44:20,260 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 09:44:20 2024-05-16 09:44:20,260 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:44:20 2024-05-16 09:44:20,260 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:44:20 3.2.0-dev.12 [Pipeline] } 09:44:20 $ docker exec --env ******** --env ******** 842af767c7db7a8654515b679812eb1d6bb06a48c602e013fb237ed59f29973e ssh-agent -k 09:44:20 unset SSH_AUTH_SOCK; 09:44:20 unset SSH_AGENT_PID; 09:44:20 echo Agent pid 77 killed; 09:44:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:44:20 + git semver [Pipeline] } 09:44:21 $ docker stop --time=1 842af767c7db7a8654515b679812eb1d6bb06a48c602e013fb237ed59f29973e 09:44:22 $ docker rm -f --volumes 842af767c7db7a8654515b679812eb1d6bb06a48c602e013fb237ed59f29973e [Pipeline] // withDockerContainer [Pipeline] sh 09:44:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:44:23 Stashed 1 file(s) [Pipeline] echo 09:44:23 [edgeXSemver]: initialized semver on version 3.2.0-dev.12 [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:44:23 provisioning config files... 09:44:23 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13716247757701018319tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:44:23 ---> ****-login.sh 09:44:23 nexus3.edgexfoundry.org:10001 09:44:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:44:23 Configure a credential helper to remove this warning. See 09:44:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:44:23 09:44:23 Login Succeeded 09:44:23 nexus3.edgexfoundry.org:10002 09:44:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:44:23 Configure a credential helper to remove this warning. See 09:44:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:44:23 09:44:23 Login Succeeded 09:44:23 nexus3.edgexfoundry.org:10003 09:44:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:44:23 Configure a credential helper to remove this warning. See 09:44:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:44:23 09:44:23 Login Succeeded 09:44:23 nexus3.edgexfoundry.org:10004 09:44:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:44:23 Configure a credential helper to remove this warning. See 09:44:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:44:23 09:44:23 Login Succeeded 09:44:23 ****.io 09:44:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:44:24 Configure a credential helper to remove this warning. See 09:44:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:44:24 09:44:24 Login Succeeded 09:44:24 ---> ****-login.sh ends [Pipeline] } 09:44:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:44:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:44:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:44:24 ========================================================= 09:44:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 09:44:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:24 + 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:44:24 Sending build context to Docker daemon 20.91MB 09:44:24 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 09:44:24 Step 2/10 : FROM ${BASE} AS builder 09:44:24 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 09:44:24 619be1103602: Pulling fs layer 09:44:24 7862e08f4a3e: Pulling fs layer 09:44:24 5df492c9dc93: Pulling fs layer 09:44:24 7629e6793208: Pulling fs layer 09:44:24 4f4fb700ef54: Pulling fs layer 09:44:24 fb5054dd5b73: Pulling fs layer 09:44:24 eeca6798cff9: Pulling fs layer 09:44:24 aa269ceb94a6: Pulling fs layer 09:44:24 ada007ff1a6a: Pulling fs layer 09:44:24 fb5054dd5b73: Waiting 09:44:24 eeca6798cff9: Waiting 09:44:24 aa269ceb94a6: Waiting 09:44:24 ada007ff1a6a: Waiting 09:44:24 7629e6793208: Waiting 09:44:24 4f4fb700ef54: Waiting 09:44:24 7862e08f4a3e: Verifying Checksum 09:44:24 7862e08f4a3e: Download complete 09:44:24 7629e6793208: Verifying Checksum 09:44:24 7629e6793208: Download complete 09:44:24 4f4fb700ef54: Verifying Checksum 09:44:24 4f4fb700ef54: Download complete 09:44:24 619be1103602: Verifying Checksum 09:44:24 619be1103602: Download complete 09:44:24 fb5054dd5b73: Verifying Checksum 09:44:24 fb5054dd5b73: Download complete 09:44:24 eeca6798cff9: Verifying Checksum 09:44:24 eeca6798cff9: Download complete 09:44:24 619be1103602: Pull complete 09:44:25 ada007ff1a6a: Verifying Checksum 09:44:25 ada007ff1a6a: Download complete 09:44:25 7862e08f4a3e: Pull complete 09:44:25 5df492c9dc93: Verifying Checksum 09:44:25 5df492c9dc93: Download complete 09:44:25 aa269ceb94a6: Verifying Checksum 09:44:25 aa269ceb94a6: Download complete 09:44:28 5df492c9dc93: Pull complete 09:44:28 7629e6793208: Pull complete 09:44:28 4f4fb700ef54: Pull complete 09:44:28 fb5054dd5b73: Pull complete 09:44:28 eeca6798cff9: Pull complete 09:44:30 aa269ceb94a6: Pull complete 09:44:31 ada007ff1a6a: Pull complete 09:44:31 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 09:44:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 09:44:31 ---> f489d0715acc 09:44:31 Step 3/10 : ARG ADD_BUILD_TAGS="" 09:44:36 ---> Running in e64cb6749344 09:44:36 Removing intermediate container e64cb6749344 09:44:36 ---> d6415e3a4760 09:44:36 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:44:36 ---> Running in fdfcc294d212 09:44:36 Removing intermediate container fdfcc294d212 09:44:36 ---> 739b59ac98c3 09:44:36 Step 5/10 : RUN apk add --update --no-cache make git openssh 09:44:36 ---> Running in 07ad9dbea81d 09:44:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:44:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:44:37 (1/8) Installing openssh-keygen (9.3_p2-r1) 09:44:37 (2/8) Installing libedit (20221030.3.1-r1) 09:44:37 (3/8) Installing openssh-client-common (9.3_p2-r1) 09:44:37 (4/8) Installing openssh-client-default (9.3_p2-r1) 09:44:37 (5/8) Installing openssh-sftp-server (9.3_p2-r1) 09:44:37 (6/8) Installing openssh-server-common (9.3_p2-r1) 09:44:37 (7/8) Installing openssh-server (9.3_p2-r1) 09:44:37 (8/8) Installing openssh (9.3_p2-r1) 09:44:37 Executing busybox-1.36.1-r5.trigger 09:44:37 OK: 270 MiB in 60 packages 09:44:37 Removing intermediate container 07ad9dbea81d 09:44:37 ---> ebf046c90166 09:44:37 Step 6/10 : WORKDIR /device-modbus-go 09:44:37 ---> Running in a2f15f8346d7 09:44:37 Removing intermediate container a2f15f8346d7 09:44:37 ---> c64cb4dcc805 09:44:37 Step 7/10 : COPY go.mod vendor* ./ 09:44:37 ---> 2cd0b46cbc60 09:44:37 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:44:37 ---> Running in 6f722a95c81d 09:44:38 Still waiting to schedule task 09:44:38 ‘prd-ubuntu20.04-docker-arm64-4c-16g-269’ is offline 09:45:45 Removing intermediate container 6f722a95c81d 09:45:45 ---> 8d6e40d697aa 09:45:45 Step 9/10 : COPY . . 09:45:45 ---> fd99e7f2212e 09:45:45 Step 10/10 : RUN ${MAKE} 09:45:45 ---> Running in e8b9a99f03a8 09:45:45 noop 09:45:45 Removing intermediate container e8b9a99f03a8 09:45:45 ---> 6e1ecbbc4397 09:45:45 Successfully built 6e1ecbbc4397 09:45:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:45:46 + docker inspect -f . ci-base-image-x86_64 09:45:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:45:46 prd-ubuntu20.04-docker-8c-8g-270 does not seem to be running inside a container 09:45:46 $ 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:45:46 $ docker top 30105fc1572bc0d169c0e7e516ff16e08650a1fb87916b69da62e1f5cc45c6e5 -eo pid,comm [Pipeline] { [Pipeline] sh 09:45:46 + go version 09:45:46 go version go1.21.9 linux/amd64 [Pipeline] } 09:45:46 $ docker stop --time=1 30105fc1572bc0d169c0e7e516ff16e08650a1fb87916b69da62e1f5cc45c6e5 09:45:48 $ docker rm -f --volumes 30105fc1572bc0d169c0e7e516ff16e08650a1fb87916b69da62e1f5cc45c6e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:45:48 + docker inspect -f . ci-base-image-x86_64 09:45:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:45:48 prd-ubuntu20.04-docker-8c-8g-270 does not seem to be running inside a container 09:45:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:45:49 $ docker top 3a01bb4b254dde11c204e0fadf91c6ec3957f5e513d400785391b27d720616c5 -eo pid,comm [Pipeline] { [Pipeline] sh 09:45:49 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 09:45:49 + make test 09:45:49 go test ./... -coverprofile=coverage.out 09:45:51 ? github.com/edgexfoundry/device-modbus-go [no test files] 09:46:09 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 09:46:09 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.019s coverage: 47.9% of statements 09:46:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-272 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 09:46:14 Running in /w/workspace/device-modbus-go/151 [Pipeline] { [Pipeline] checkout 09:46:17 go vet ./... 09:46:17 The recommended git tool is: git 09:46:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:46:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:46:21 ./bin/test-attribution-txt.sh 09:46:21 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 09:46:21 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 09:46:21 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 09:46:21 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 09:46:21 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 09:46:21 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 09:46:21 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 09:46:21 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 09:46:21 An attribution for golang.org/x/term is missing from Attribution.txt, please add 09:46:21 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 09:46:21 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 09:46:21 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 09:46:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:46:21 $ docker stop --time=1 3a01bb4b254dde11c204e0fadf91c6ec3957f5e513d400785391b27d720616c5 09:46:22 using credential edgex-jenkins-ssh 09:46:22 Cloning the remote Git repository 09:46:22 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 09:46:22 > git init /w/workspace/device-modbus-go/151 # timeout=10 09:46:22 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 09:46:22 > git --version # timeout=10 09:46:22 > git --version # 'git version 2.25.1' 09:46:22 using GIT_SSH to set credentials SSH Credentials for GitHub 09:46:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:46:26 $ docker rm -f --volumes 3a01bb4b254dde11c204e0fadf91c6ec3957f5e513d400785391b27d720616c5 [Pipeline] // withDockerContainer [Pipeline] sh 09:46:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:46:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:46:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:46:27 + ls -al . 09:46:27 total 264 09:46:27 drwxrwxr-x 9 jenkins jenkins 4096 May 16 09:45 . 09:46:27 drwxrwxr-x 4 jenkins jenkins 4096 May 16 09:43 .. 09:46:27 -rw-rw-r-- 1 jenkins jenkins 140 May 16 09:43 .dockerignore 09:46:27 drwxrwxr-x 8 jenkins jenkins 4096 May 16 09:46 .git 09:46:27 drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:43 .github 09:46:27 -rw-rw-r-- 1 jenkins jenkins 266 May 16 09:43 .gitignore 09:46:27 -rw-rw-r-- 1 jenkins jenkins 41 May 16 09:43 .golangci.yml 09:46:27 drwxr-xr-x 3 jenkins jenkins 4096 May 16 09:44 .semver 09:46:27 -rw-rw-r-- 1 jenkins jenkins 11101 May 16 09:43 Attribution.txt 09:46:27 -rw-rw-r-- 1 jenkins jenkins 16388 May 16 09:43 CHANGELOG.md 09:46:27 -rw-rw-r-- 1 jenkins jenkins 1474 May 16 09:43 Dockerfile 09:46:27 -rw-rw-r-- 1 jenkins jenkins 677 May 16 09:43 GOVERNANCE.md 09:46:27 -rw-rw-r-- 1 jenkins jenkins 658 May 16 09:43 Jenkinsfile 09:46:27 -rw-rw-r-- 1 jenkins jenkins 11340 May 16 09:43 LICENSE 09:46:27 -rw-rw-r-- 1 jenkins jenkins 1942 May 16 09:43 Makefile 09:46:27 -rw-rw-r-- 1 jenkins jenkins 622 May 16 09:43 OWNERS.md 09:46:27 -rw-rw-r-- 1 jenkins jenkins 4463 May 16 09:43 README.md 09:46:27 -rw-rw-r-- 1 jenkins jenkins 12 May 16 09:44 VERSION 09:46:27 drwxrwxr-x 2 jenkins jenkins 4096 May 16 09:43 bin 09:46:27 drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:43 cmd 09:46:27 -rw-r--r-- 1 jenkins jenkins 24601 May 16 09:46 coverage.out 09:46:27 -rw-rw-r-- 1 jenkins jenkins 7289 May 16 09:43 go.mod 09:46:27 -rw-rw-r-- 1 jenkins jenkins 101859 May 16 09:43 go.sum 09:46:27 drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:43 internal 09:46:27 drwxrwxr-x 2 jenkins jenkins 4096 May 16 09:43 simulator 09:46:27 -rw-rw-r-- 1 jenkins jenkins 229 May 16 09:43 version.go 09:46:27 Avoid second fetch 09:46:27 Checking out Revision 6ffd961e50bad5aafcddb961eadc768a2e323cba (main) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:46:27 + 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=6ffd961e50bad5aafcddb961eadc768a2e323cba --label arch=amd64 --label version=3.2.0-dev.12 . 09:46:27 Sending build context to Docker daemon 20.94MB 09:46:27 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 09:46:27 Step 2/23 : FROM ${BASE} AS builder 09:46:27 ---> 6e1ecbbc4397 09:46:27 Step 3/23 : ARG ADD_BUILD_TAGS="" 09:46:26 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 09:46:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:46:27 > git config core.sparsecheckout # timeout=10 09:46:27 > git checkout -f 6ffd961e50bad5aafcddb961eadc768a2e323cba # timeout=10 09:46:28 ---> Running in 4dc0c8771b5c 09:46:28 Commit message: "Merge pull request #552 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.13" 09:46:28 Removing intermediate container 4dc0c8771b5c 09:46:28 ---> aaf9c026d31f 09:46:28 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:46:28 ---> Running in 523171582db3 09:46:28 Removing intermediate container 523171582db3 09:46:28 ---> 88dec7334650 09:46:28 Step 5/23 : RUN apk add --update --no-cache make git openssh 09:46:28 ---> Running in 9bf21723a87d 09:46:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:46:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:46:29 OK: 270 MiB in 60 packages 09:46:29 Removing intermediate container 9bf21723a87d 09:46:29 ---> f2260a41ad11 09:46:29 Step 6/23 : WORKDIR /device-modbus-go 09:46:29 ---> Running in cc05bde5d326 09:46:29 Removing intermediate container cc05bde5d326 09:46:29 ---> 7bd18b6f1e81 09:46:29 Step 7/23 : COPY go.mod vendor* ./ 09:46:29 ---> 7d0961351d2c 09:46:29 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:46:29 ---> Running in b4c4221e12a8 09:46:30 Removing intermediate container b4c4221e12a8 09:46:30 ---> a70a1bb1b1f7 09:46:30 Step 9/23 : COPY . . 09:46:30 ---> 39740fb2290a 09:46:30 Step 10/23 : RUN ${MAKE} 09:46:30 ---> Running in 0d8e91406663 09:46:31 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.12 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.13" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:46:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:46:32 % Total % Received % Xferd Average Speed Time Time Time Current 09:46:32 Dload Upload Total Spent Left Speed 09:46:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 114k 0 --:--:-- --:--:-- --:--:-- 114k [Pipeline] sh 09:46:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:46:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:46:33 + sudo tee /etc/docker/daemon.new 09:46:33 { 09:46:33 "registry-mirrors": [ 09:46:33 "https://nexus3.edgexfoundry.org:10001" 09:46:33 ], 09:46:33 "bip": "10.250.0.254/24", 09:46:33 "hosts": [ 09:46:33 "tcp://0.0.0.0:5555", 09:46:33 "unix:///var/run/docker.sock" 09:46:33 ], 09:46:33 "mtu": 1458, 09:46:33 "selinux-enabled": true, 09:46:33 "seccomp-profile": "/etc/docker/seccomp.json" 09:46:33 } [Pipeline] sh 09:46:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:46:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:46:52 provisioning config files... 09:46:52 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/151@tmp/config11406310271435862773tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:46:52 ---> ****-login.sh 09:46:52 nexus3.edgexfoundry.org:10001 09:46:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:46:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:46:53 Configure a credential helper to remove this warning. See 09:46:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:46:53 09:46:53 Login Succeeded 09:46:53 nexus3.edgexfoundry.org:10002 09:46:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:46:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:46:53 Configure a credential helper to remove this warning. See 09:46:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:46:53 09:46:54 Login Succeeded 09:46:54 nexus3.edgexfoundry.org:10003 09:46:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:46:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:46:54 Configure a credential helper to remove this warning. See 09:46:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:46:54 09:46:54 Login Succeeded 09:46:54 nexus3.edgexfoundry.org:10004 09:46:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:46:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:46:54 Configure a credential helper to remove this warning. See 09:46:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:46:54 09:46:54 Login Succeeded 09:46:54 ****.io 09:46:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:46:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:46:55 Configure a credential helper to remove this warning. See 09:46:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:46:55 09:46:55 Login Succeeded 09:46:55 ---> ****-login.sh ends [Pipeline] } 09:46:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:46:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:46:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:46:55 ========================================================= 09:46:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 09:46:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:46:55 + 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:46:56 Sending build context to Docker daemon 10.59MB 09:46:56 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 09:46:56 Step 2/10 : FROM ${BASE} AS builder 09:46:56 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:46:56 c6b39de5b339: Pulling fs layer 09:46:56 a69c41024577: Pulling fs layer 09:46:56 d6de4b400683: Pulling fs layer 09:46:56 35cb2a7552d0: Pulling fs layer 09:46:56 4f4fb700ef54: Pulling fs layer 09:46:56 464afbd9ba4c: Pulling fs layer 09:46:56 00f215d4a9da: Pulling fs layer 09:46:56 d496ad576159: Pulling fs layer 09:46:56 4f4fb700ef54: Waiting 09:46:56 464afbd9ba4c: Waiting 09:46:56 00f215d4a9da: Waiting 09:46:56 d496ad576159: Waiting 09:46:56 35cb2a7552d0: Waiting 09:46:56 a69c41024577: Verifying Checksum 09:46:56 a69c41024577: Download complete 09:46:56 35cb2a7552d0: Verifying Checksum 09:46:56 35cb2a7552d0: Download complete 09:46:56 4f4fb700ef54: Verifying Checksum 09:46:56 4f4fb700ef54: Download complete 09:46:56 464afbd9ba4c: Verifying Checksum 09:46:56 464afbd9ba4c: Download complete 09:46:56 c6b39de5b339: Download complete 09:46:56 d496ad576159: Verifying Checksum 09:46:56 d496ad576159: Download complete 09:46:57 c6b39de5b339: Pull complete 09:46:58 a69c41024577: Pull complete 09:46:58 d6de4b400683: Download complete 09:46:59 00f215d4a9da: Verifying Checksum 09:46:59 00f215d4a9da: Download complete 09:47:03 Removing intermediate container 0d8e91406663 09:47:03 ---> 17d6ff2a9be7 09:47:03 Step 11/23 : FROM alpine:3.18 09:47:03 3.18: Pulling from library/alpine 09:47:03 619be1103602: Already exists 09:47:03 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 09:47:03 Status: Downloaded newer image for alpine:3.18 09:47:03 ---> d3782b16ccc9 09:47:03 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 09:47:03 ---> Running in aef68e4fd049 09:47:03 Removing intermediate container aef68e4fd049 09:47:03 ---> 09bca040c11f 09:47:03 Step 13/23 : RUN apk add --update --no-cache dumb-init 09:47:03 ---> Running in 379c12c336e1 09:47:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:47:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:47:03 (1/1) Installing dumb-init (1.2.5-r2) 09:47:03 Executing busybox-1.36.1-r5.trigger 09:47:03 OK: 7 MiB in 16 packages 09:47:03 Removing intermediate container 379c12c336e1 09:47:03 ---> ac6057fd9083 09:47:03 Step 14/23 : RUN apk --no-cache upgrade 09:47:03 ---> Running in 34252f04cd43 09:47:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:47:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:47:03 Upgrading critical system libraries and apk-tools: 09:47:03 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 09:47:03 Executing busybox-1.36.1-r5.trigger 09:47:03 Continuing the upgrade transaction with new apk-tools: 09:47:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:47:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:47:03 (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 09:47:03 (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) 09:47:03 (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) 09:47:03 OK: 7 MiB in 16 packages 09:47:03 Removing intermediate container 34252f04cd43 09:47:03 ---> a2f6ed132081 09:47:03 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 09:47:04 ---> c996eeb76955 09:47:04 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 09:47:04 ---> 7da7c0562ea8 09:47:04 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 09:47:04 ---> c41d1b4a588c 09:47:04 Step 18/23 : EXPOSE 59901 09:47:04 ---> Running in 81ff50e0aaca 09:47:04 Removing intermediate container 81ff50e0aaca 09:47:04 ---> a9612bc89b8a 09:47:04 Step 19/23 : ENTRYPOINT ["/device-modbus"] 09:47:04 ---> Running in 76c12acd33d6 09:47:04 Removing intermediate container 76c12acd33d6 09:47:04 ---> 09408e638305 09:47:04 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 09:47:04 ---> Running in b49c3258ec53 09:47:04 Removing intermediate container b49c3258ec53 09:47:04 ---> 4309a387e1b8 09:47:04 Step 21/23 : LABEL arch=amd64 09:47:04 ---> Running in de4a287f071e 09:47:05 Removing intermediate container de4a287f071e 09:47:05 ---> bf7eb6b32d8c 09:47:05 Step 22/23 : LABEL git_sha=6ffd961e50bad5aafcddb961eadc768a2e323cba 09:47:05 ---> Running in 96b1a1d97c78 09:47:05 Removing intermediate container 96b1a1d97c78 09:47:05 ---> 963d380862ec 09:47:05 Step 23/23 : LABEL version=3.2.0-dev.12 09:47:05 ---> Running in 75cdffb70937 09:47:05 Removing intermediate container 75cdffb70937 09:47:05 ---> f8a265f25842 09:47:05 [Warning] One or more build-args [ARCH] were not consumed 09:47:05 Successfully built f8a265f25842 09:47:05 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:47:05 provisioning config files... 09:47:05 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13248144264130734831tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:47:05 ---> ****-login.sh 09:47:05 nexus3.edgexfoundry.org:10001 09:47:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:47:05 Configure a credential helper to remove this warning. See 09:47:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:47:05 09:47:05 Login Succeeded 09:47:05 nexus3.edgexfoundry.org:10002 09:47:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:47:05 Configure a credential helper to remove this warning. See 09:47:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:47:05 09:47:05 Login Succeeded 09:47:05 nexus3.edgexfoundry.org:10003 09:47:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:47:05 Configure a credential helper to remove this warning. See 09:47:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:47:05 09:47:05 Login Succeeded 09:47:05 nexus3.edgexfoundry.org:10004 09:47:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:47:05 Configure a credential helper to remove this warning. See 09:47:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:47:05 09:47:05 Login Succeeded 09:47:05 ****.io 09:47:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:47:06 Configure a credential helper to remove this warning. See 09:47:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:47:06 09:47:06 Login Succeeded 09:47:06 ---> ****-login.sh ends [Pipeline] } 09:47:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:47:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:47:06 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 09:47:06 6ffd961e50bad5aafcddb961eadc768a2e323cba 09:47:06 latest 09:47:06 3.2.0-dev.12 09:47:06 6ffd961e50bad5aafcddb961eadc768a2e323cba-3.2.0-dev.12 09:47:06 main 09:47:06 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:06 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:6ffd961e50bad5aafcddb961eadc768a2e323cba [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:06 + docker push nexus3.edgexfoundry.org:10004/device-modbus:6ffd961e50bad5aafcddb961eadc768a2e323cba 09:47:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 09:47:06 a0a3449e1e60: Preparing 09:47:06 5109d9586f9c: Preparing 09:47:06 36015c3ca292: Preparing 09:47:06 bfade2d6e1c6: Preparing 09:47:06 6fe1a726c3ee: Preparing 09:47:06 aedc3bda2944: Preparing 09:47:06 aedc3bda2944: Waiting 09:47:06 6fe1a726c3ee: Pushed 09:47:06 aedc3bda2944: Layer already exists 09:47:06 5109d9586f9c: Pushed 09:47:06 a0a3449e1e60: Pushed 09:47:07 bfade2d6e1c6: Pushed 09:47:10 36015c3ca292: Pushed 09:47:10 6ffd961e50bad5aafcddb961eadc768a2e323cba: digest: sha256:c885ba154957d3661ac5d4c7dcdf67cd8352f144dff5779f2048904c1ced595d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:10 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:10 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 09:47:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 09:47:10 a0a3449e1e60: Preparing 09:47:10 5109d9586f9c: Preparing 09:47:10 36015c3ca292: Preparing 09:47:10 bfade2d6e1c6: Preparing 09:47:10 6fe1a726c3ee: Preparing 09:47:10 aedc3bda2944: Preparing 09:47:10 aedc3bda2944: Waiting 09:47:10 a0a3449e1e60: Layer already exists 09:47:10 bfade2d6e1c6: Layer already exists 09:47:10 36015c3ca292: Layer already exists 09:47:10 5109d9586f9c: Layer already exists 09:47:10 6fe1a726c3ee: Layer already exists 09:47:10 aedc3bda2944: Layer already exists 09:47:10 latest: digest: sha256:c885ba154957d3661ac5d4c7dcdf67cd8352f144dff5779f2048904c1ced595d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:10 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:11 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.12 09:47:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 09:47:11 a0a3449e1e60: Preparing 09:47:11 5109d9586f9c: Preparing 09:47:11 36015c3ca292: Preparing 09:47:11 bfade2d6e1c6: Preparing 09:47:11 6fe1a726c3ee: Preparing 09:47:11 aedc3bda2944: Preparing 09:47:11 aedc3bda2944: Waiting 09:47:11 36015c3ca292: Layer already exists 09:47:11 a0a3449e1e60: Layer already exists 09:47:11 5109d9586f9c: Layer already exists 09:47:11 6fe1a726c3ee: Layer already exists 09:47:11 aedc3bda2944: Layer already exists 09:47:11 bfade2d6e1c6: Layer already exists 09:47:11 3.2.0-dev.12: digest: sha256:c885ba154957d3661ac5d4c7dcdf67cd8352f144dff5779f2048904c1ced595d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:11 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:6ffd961e50bad5aafcddb961eadc768a2e323cba-3.2.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:11 + docker push nexus3.edgexfoundry.org:10004/device-modbus:6ffd961e50bad5aafcddb961eadc768a2e323cba-3.2.0-dev.12 09:47:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 09:47:11 a0a3449e1e60: Preparing 09:47:11 5109d9586f9c: Preparing 09:47:11 36015c3ca292: Preparing 09:47:11 bfade2d6e1c6: Preparing 09:47:11 6fe1a726c3ee: Preparing 09:47:11 aedc3bda2944: Preparing 09:47:11 aedc3bda2944: Waiting 09:47:11 5109d9586f9c: Layer already exists 09:47:11 6fe1a726c3ee: Layer already exists 09:47:11 a0a3449e1e60: Layer already exists 09:47:11 bfade2d6e1c6: Layer already exists 09:47:11 36015c3ca292: Layer already exists 09:47:11 aedc3bda2944: Layer already exists 09:47:11 6ffd961e50bad5aafcddb961eadc768a2e323cba-3.2.0-dev.12: digest: sha256:c885ba154957d3661ac5d4c7dcdf67cd8352f144dff5779f2048904c1ced595d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:12 d6de4b400683: Pull complete 09:47:12 35cb2a7552d0: Pull complete 09:47:12 4f4fb700ef54: Pull complete 09:47:12 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:12 464afbd9ba4c: Pull complete 09:47:12 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 09:47:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 09:47:12 a0a3449e1e60: Preparing 09:47:12 5109d9586f9c: Preparing 09:47:12 36015c3ca292: Preparing 09:47:12 bfade2d6e1c6: Preparing 09:47:12 6fe1a726c3ee: Preparing 09:47:12 aedc3bda2944: Preparing 09:47:12 aedc3bda2944: Waiting 09:47:12 bfade2d6e1c6: Layer already exists 09:47:12 5109d9586f9c: Layer already exists 09:47:12 a0a3449e1e60: Layer already exists 09:47:12 6fe1a726c3ee: Layer already exists 09:47:12 36015c3ca292: Layer already exists 09:47:12 aedc3bda2944: Layer already exists 09:47:12 main: digest: sha256:c885ba154957d3661ac5d4c7dcdf67cd8352f144dff5779f2048904c1ced595d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:47:12 ===================================================== [Pipeline] echo 09:47:12 taggedImages: 09:47:12 - nexus3.edgexfoundry.org:10004/device-modbus:6ffd961e50bad5aafcddb961eadc768a2e323cba 09:47:12 - nexus3.edgexfoundry.org:10004/device-modbus:latest 09:47:12 - nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.12 09:47:12 - nexus3.edgexfoundry.org:10004/device-modbus:6ffd961e50bad5aafcddb961eadc768a2e323cba-3.2.0-dev.12 09:47:12 - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:47:13 09:47:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:47:13 latest: Pulling from edgex-lftools-log-publisher 09:47:13 5eb5b503b376: Pulling fs layer 09:47:13 5c69ac0246d0: Pulling fs layer 09:47:13 ec43610c2a17: Pulling fs layer 09:47:13 3a2ae6a8a46f: Pulling fs layer 09:47:13 33b1e0a273af: Pulling fs layer 09:47:13 5d3b04190fa2: Pulling fs layer 09:47:13 2f39f015ded8: Pulling fs layer 09:47:13 33b1e0a273af: Waiting 09:47:13 5d3b04190fa2: Waiting 09:47:13 3a2ae6a8a46f: Waiting 09:47:13 2f39f015ded8: Waiting 09:47:13 5c69ac0246d0: Download complete 09:47:13 3a2ae6a8a46f: Verifying Checksum 09:47:13 3a2ae6a8a46f: Download complete 09:47:13 33b1e0a273af: Verifying Checksum 09:47:13 33b1e0a273af: Download complete 09:47:13 5d3b04190fa2: Verifying Checksum 09:47:13 5d3b04190fa2: Download complete 09:47:13 ec43610c2a17: Verifying Checksum 09:47:13 ec43610c2a17: Download complete 09:47:13 5eb5b503b376: Verifying Checksum 09:47:13 5eb5b503b376: Download complete 09:47:15 5eb5b503b376: Pull complete 09:47:15 5c69ac0246d0: Pull complete 09:47:15 ec43610c2a17: Pull complete 09:47:15 3a2ae6a8a46f: Pull complete 09:47:15 33b1e0a273af: Pull complete 09:47:15 5d3b04190fa2: Pull complete 09:47:21 2f39f015ded8: Pull complete 09:47:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:47:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:47:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:47:21 prd-ubuntu20.04-docker-8c-8g-270 does not seem to be running inside a container 09:47:21 $ 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:47:22 00f215d4a9da: Pull complete 09:47:23 d496ad576159: Pull complete 09:47:23 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 09:47:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 09:47:23 ---> f246e2811388 09:47:23 Step 3/10 : ARG ADD_BUILD_TAGS="" 09:47:25 ---> Running in 04a5ae99fb3d 09:47:25 Removing intermediate container 04a5ae99fb3d 09:47:25 ---> 757ec7d1e6d4 09:47:25 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:47:25 ---> Running in 4f245cd1e23d 09:47:26 Removing intermediate container 4f245cd1e23d 09:47:26 ---> 11980b0c6fef 09:47:26 Step 5/10 : RUN apk add --update --no-cache make git openssh 09:47:26 ---> Running in 8514cbd16c7e 09:47:26 $ docker top 1175c4f163b47a27a8422fb8ce6579a74e72ae4a66e52be84384021ca836b8c4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:47:26 ---> job-cost.sh 09:47:26 lf-activate-venv: SKIPPING 09:47:26 INFO: No Stack... 09:47:26 INFO: Retrieving Pricing Info for: v3-standard-8 09:47:27 INFO: Archiving Costs [Pipeline] sh 09:47:27 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 09:47:27 + cut -d, -f6 [Pipeline] lock 09:47:27 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-151-stack-cost] 09:47:27 Resource [jenkins-edgexfoundry-device-modbus-go-main-151-stack-cost] did not exist. Created. 09:47:27 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-151-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:47:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:47:27 + echo total: 0.2199999988079071 [Pipeline] stash 09:47:27 Stashed 1 file(s) [Pipeline] } 09:47:27 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-151-stack-cost] 09:47:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [Pipeline] // lock [Pipeline] } 09:47:27 $ docker stop --time=1 1175c4f163b47a27a8422fb8ce6579a74e72ae4a66e52be84384021ca836b8c4 09:47:28 (1/8) Installing openssh-keygen (9.3_p2-r1) 09:47:28 (2/8) Installing libedit (20221030.3.1-r1) 09:47:28 (3/8) Installing openssh-client-common (9.3_p2-r1) 09:47:28 $ docker rm -f --volumes 1175c4f163b47a27a8422fb8ce6579a74e72ae4a66e52be84384021ca836b8c4 [Pipeline] // withDockerContainer 09:47:29 (4/8) Installing openssh-client-default (9.3_p2-r1) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:47:29 (5/8) Installing openssh-sftp-server (9.3_p2-r1) 09:47:29 (6/8) Installing openssh-server-common (9.3_p2-r1) 09:47:29 (7/8) Installing openssh-server (9.3_p2-r1) 09:47:29 (8/8) Installing openssh (9.3_p2-r1) 09:47:29 Executing busybox-1.36.1-r5.trigger 09:47:29 OK: 272 MiB in 60 packages 09:47:30 Removing intermediate container 8514cbd16c7e 09:47:30 ---> c84ddaaec735 09:47:30 Step 6/10 : WORKDIR /device-modbus-go 09:47:30 ---> Running in e3a6865e39e3 09:47:30 Removing intermediate container e3a6865e39e3 09:47:30 ---> 63d922da04ad 09:47:30 Step 7/10 : COPY go.mod vendor* ./ 09:47:31 ---> 05ecb210a243 09:47:31 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:47:31 ---> Running in 9220fa5cf1b9 09:49:38 Removing intermediate container 9220fa5cf1b9 09:49:38 ---> f4f6983f93b5 09:49:38 Step 9/10 : COPY . . 09:49:38 ---> 9277ccc8a816 09:49:38 Step 10/10 : RUN ${MAKE} 09:49:38 ---> Running in 943bf7836709 09:49:38 noop 09:49:38 Removing intermediate container 943bf7836709 09:49:38 ---> 594fe0f24308 09:49:38 Successfully built 594fe0f24308 09:49:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:38 + docker inspect -f . ci-base-image-arm64 09:49:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:49:38 prd-ubuntu20.04-docker-arm64-4c-16g-272 does not seem to be running inside a container 09:49:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/151 -v /w/workspace/device-modbus-go/151:/w/workspace/device-modbus-go/151:rw,z -v /w/workspace/device-modbus-go/151@tmp:/w/workspace/device-modbus-go/151@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:49:39 $ docker top 710c50dc255fd767cbaa6ad4314a776d8ff70f8ce6cc13a4507f7d3989ab86ed -eo pid,comm [Pipeline] { [Pipeline] sh 09:49:40 + go version 09:49:40 go version go1.21.9 linux/arm64 [Pipeline] } 09:49:40 $ docker stop --time=1 710c50dc255fd767cbaa6ad4314a776d8ff70f8ce6cc13a4507f7d3989ab86ed 09:49:42 $ docker rm -f --volumes 710c50dc255fd767cbaa6ad4314a776d8ff70f8ce6cc13a4507f7d3989ab86ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:42 + docker inspect -f . ci-base-image-arm64 09:49:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:49:43 prd-ubuntu20.04-docker-arm64-4c-16g-272 does not seem to be running inside a container 09:49:43 $ 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/151 -v /w/workspace/device-modbus-go/151:/w/workspace/device-modbus-go/151:rw,z -v /w/workspace/device-modbus-go/151@tmp:/w/workspace/device-modbus-go/151@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:49:44 $ docker top 5ea2bc92ba74c48fe262a8a882fb38bd1587a203169dfc3b9e7fc0ce8a03d149 -eo pid,comm [Pipeline] { [Pipeline] sh 09:49:44 + git config --global --add safe.directory /w/workspace/device-modbus-go/151 [Pipeline] fileExists [Pipeline] sh 09:49:45 + make test 09:49:45 go test ./... -coverprofile=coverage.out 09:49:52 ? github.com/edgexfoundry/device-modbus-go [no test files] 09:53:13 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 09:53:14 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.083s coverage: 47.9% of statements 09:53:15 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:53:15 go vet ./... 09:54:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:54:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:54:02 ./bin/test-attribution-txt.sh 09:54:02 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 09:54:02 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 09:54:02 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 09:54:02 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 09:54:02 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 09:54:02 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 09:54:02 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 09:54:02 An attribution for golang.org/x/term is missing from Attribution.txt, please add 09:54:02 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 09:54:02 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 09:54:02 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 09:54:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:54:02 $ docker stop --time=1 5ea2bc92ba74c48fe262a8a882fb38bd1587a203169dfc3b9e7fc0ce8a03d149 09:54:04 $ docker rm -f --volumes 5ea2bc92ba74c48fe262a8a882fb38bd1587a203169dfc3b9e7fc0ce8a03d149 [Pipeline] // withDockerContainer [Pipeline] sh 09:54:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:54:06 Warning: overwriting stash ‘coverage-report’ 09:54:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:54:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:54:07 + ls -al . 09:54:07 total 260 09:54:07 drwxrwxr-x 8 jenkins jenkins 4096 May 16 09:49 . 09:54:07 drwxrwxr-x 4 jenkins jenkins 4096 May 16 09:46 .. 09:54:07 -rw-rw-r-- 1 jenkins jenkins 140 May 16 09:46 .dockerignore 09:54:07 drwxrwxr-x 8 jenkins jenkins 4096 May 16 09:46 .git 09:54:07 drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:46 .github 09:54:07 -rw-rw-r-- 1 jenkins jenkins 266 May 16 09:46 .gitignore 09:54:07 -rw-rw-r-- 1 jenkins jenkins 41 May 16 09:46 .golangci.yml 09:54:07 -rw-rw-r-- 1 jenkins jenkins 11101 May 16 09:46 Attribution.txt 09:54:07 -rw-rw-r-- 1 jenkins jenkins 16388 May 16 09:46 CHANGELOG.md 09:54:07 -rw-rw-r-- 1 jenkins jenkins 1474 May 16 09:46 Dockerfile 09:54:07 -rw-rw-r-- 1 jenkins jenkins 677 May 16 09:46 GOVERNANCE.md 09:54:07 -rw-rw-r-- 1 jenkins jenkins 658 May 16 09:46 Jenkinsfile 09:54:07 -rw-rw-r-- 1 jenkins jenkins 11340 May 16 09:46 LICENSE 09:54:07 -rw-rw-r-- 1 jenkins jenkins 1942 May 16 09:46 Makefile 09:54:07 -rw-rw-r-- 1 jenkins jenkins 622 May 16 09:46 OWNERS.md 09:54:07 -rw-rw-r-- 1 jenkins jenkins 4463 May 16 09:46 README.md 09:54:07 -rw-rw-r-- 1 jenkins jenkins 12 May 16 09:44 VERSION 09:54:07 drwxrwxr-x 2 jenkins jenkins 4096 May 16 09:46 bin 09:54:07 drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:46 cmd 09:54:07 -rw-r--r-- 1 jenkins jenkins 24601 May 16 09:53 coverage.out 09:54:07 -rw-rw-r-- 1 jenkins jenkins 7289 May 16 09:46 go.mod 09:54:07 -rw-rw-r-- 1 jenkins jenkins 101859 May 16 09:46 go.sum 09:54:07 drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:46 internal 09:54:07 drwxrwxr-x 2 jenkins jenkins 4096 May 16 09:46 simulator 09:54:07 -rw-rw-r-- 1 jenkins jenkins 229 May 16 09:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:07 + 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=6ffd961e50bad5aafcddb961eadc768a2e323cba --label arch=arm64 --label version=3.2.0-dev.12 . 09:54:08 Sending build context to Docker daemon 10.61MB 09:54:08 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 09:54:08 Step 2/23 : FROM ${BASE} AS builder 09:54:08 ---> 594fe0f24308 09:54:08 Step 3/23 : ARG ADD_BUILD_TAGS="" 09:54:08 ---> Running in 36de9c21a26c 09:54:08 Removing intermediate container 36de9c21a26c 09:54:08 ---> 33b57b305030 09:54:08 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:54:08 ---> Running in d7b959636b3a 09:54:09 Removing intermediate container d7b959636b3a 09:54:09 ---> 47c02064e97d 09:54:09 Step 5/23 : RUN apk add --update --no-cache make git openssh 09:54:09 ---> Running in 9fd15ca985c2 09:54:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:54:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:54:11 OK: 272 MiB in 60 packages 09:54:12 Removing intermediate container 9fd15ca985c2 09:54:12 ---> 3ad81fa9909f 09:54:12 Step 6/23 : WORKDIR /device-modbus-go 09:54:12 ---> Running in e273825bb839 09:54:12 Removing intermediate container e273825bb839 09:54:12 ---> 5f1ec7584c64 09:54:12 Step 7/23 : COPY go.mod vendor* ./ 09:54:13 ---> 8fb00330d975 09:54:13 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:54:13 ---> Running in ed6163dd08e0 09:54:16 Removing intermediate container ed6163dd08e0 09:54:16 ---> f3928b6436a6 09:54:16 Step 9/23 : COPY . . 09:54:17 ---> 07d6482d9266 09:54:17 Step 10/23 : RUN ${MAKE} 09:54:17 ---> Running in a14fac63b7c3 09:54:18 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.12 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.13" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 09:57:55 Removing intermediate container a14fac63b7c3 09:57:55 ---> ffbacf70bed8 09:57:55 Step 11/23 : FROM alpine:3.18 09:57:55 3.18: Pulling from library/alpine 09:57:55 c6b39de5b339: Already exists 09:57:55 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 09:57:55 Status: Downloaded newer image for alpine:3.18 09:57:55 ---> 33abbf032149 09:57:55 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 09:57:55 ---> Running in a901fc133fdf 09:57:55 Removing intermediate container a901fc133fdf 09:57:55 ---> 0b0913c6d0fd 09:57:55 Step 13/23 : RUN apk add --update --no-cache dumb-init 09:57:55 ---> Running in 2888bce556e4 09:57:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:57:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:57:55 (1/1) Installing dumb-init (1.2.5-r2) 09:57:55 Executing busybox-1.36.1-r5.trigger 09:57:55 OK: 8 MiB in 16 packages 09:57:55 Removing intermediate container 2888bce556e4 09:57:55 ---> a6b06100ca0d 09:57:55 Step 14/23 : RUN apk --no-cache upgrade 09:57:55 ---> Running in 81f060c06b04 09:57:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:57:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:57:55 Upgrading critical system libraries and apk-tools: 09:57:55 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 09:57:55 Executing busybox-1.36.1-r5.trigger 09:57:55 Continuing the upgrade transaction with new apk-tools: 09:57:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:57:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:57:55 (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 09:57:55 (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) 09:57:55 (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) 09:57:55 OK: 8 MiB in 16 packages 09:57:56 Removing intermediate container 81f060c06b04 09:57:56 ---> 7e6761ebd690 09:57:56 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 09:57:58 ---> aee77975f487 09:57:58 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 09:57:59 ---> ecd4cda8473a 09:57:59 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 09:57:59 ---> be5e8b76a70a 09:57:59 Step 18/23 : EXPOSE 59901 09:57:59 ---> Running in c3cb4ff1e2f2 09:58:00 Removing intermediate container c3cb4ff1e2f2 09:58:00 ---> 7452a98f8353 09:58:00 Step 19/23 : ENTRYPOINT ["/device-modbus"] 09:58:00 ---> Running in af647a15792b 09:58:00 Removing intermediate container af647a15792b 09:58:00 ---> 468241e50acd 09:58:00 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 09:58:00 ---> Running in 189cb053e13d 09:58:00 Removing intermediate container 189cb053e13d 09:58:00 ---> 2bab0b0e0233 09:58:00 Step 21/23 : LABEL arch=arm64 09:58:00 ---> Running in feb9c4555676 09:58:01 Removing intermediate container feb9c4555676 09:58:01 ---> 9613ac2fed88 09:58:01 Step 22/23 : LABEL git_sha=6ffd961e50bad5aafcddb961eadc768a2e323cba 09:58:01 ---> Running in 86ca55b2a6ce 09:58:01 Removing intermediate container 86ca55b2a6ce 09:58:01 ---> e784f064031d 09:58:01 Step 23/23 : LABEL version=3.2.0-dev.12 09:58:01 ---> Running in a6e59d1c1f85 09:58:01 Removing intermediate container a6e59d1c1f85 09:58:01 ---> 10b68cc482a9 09:58:01 [Warning] One or more build-args [ARCH] were not consumed 09:58:01 Successfully built 10b68cc482a9 09:58:01 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:58:02 provisioning config files... 09:58:02 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/151@tmp/config2536728009389411452tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:58:02 ---> ****-login.sh 09:58:02 nexus3.edgexfoundry.org:10001 09:58:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:58:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:58:02 Configure a credential helper to remove this warning. See 09:58:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:58:02 09:58:02 Login Succeeded 09:58:02 nexus3.edgexfoundry.org:10002 09:58:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:58:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:58:02 Configure a credential helper to remove this warning. See 09:58:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:58:02 09:58:02 Login Succeeded 09:58:02 nexus3.edgexfoundry.org:10003 09:58:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:58:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:58:03 Configure a credential helper to remove this warning. See 09:58:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:58:03 09:58:03 Login Succeeded 09:58:03 nexus3.edgexfoundry.org:10004 09:58:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:58:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:58:03 Configure a credential helper to remove this warning. See 09:58:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:58:03 09:58:03 Login Succeeded 09:58:03 ****.io 09:58:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:58:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:58:03 Configure a credential helper to remove this warning. See 09:58:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:58:03 09:58:03 Login Succeeded 09:58:03 ---> ****-login.sh ends [Pipeline] } 09:58:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:58:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:58:04 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 09:58:04 6ffd961e50bad5aafcddb961eadc768a2e323cba 09:58:04 latest 09:58:04 3.2.0-dev.12 09:58:04 6ffd961e50bad5aafcddb961eadc768a2e323cba-3.2.0-dev.12 09:58:04 main 09:58:04 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:58:04 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:6ffd961e50bad5aafcddb961eadc768a2e323cba [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:58:04 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:6ffd961e50bad5aafcddb961eadc768a2e323cba 09:58:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 09:58:04 d965b683ad4f: Preparing 09:58:04 6a07ed6a0adc: Preparing 09:58:04 1b85e4eb6d88: Preparing 09:58:04 8ea2e9e21ecc: Preparing 09:58:04 622bc59446e8: Preparing 09:58:04 7c504f21be85: Preparing 09:58:04 7c504f21be85: Waiting 09:58:05 6a07ed6a0adc: Pushed 09:58:05 d965b683ad4f: Pushed 09:58:05 622bc59446e8: Pushed 09:58:05 7c504f21be85: Layer already exists 09:58:06 8ea2e9e21ecc: Pushed 09:58:11 1b85e4eb6d88: Pushed 09:58:11 6ffd961e50bad5aafcddb961eadc768a2e323cba: digest: sha256:698668f82ab0fdaba0a25fd3c29e9dfa1f6adb63fee284ae6ebe249aa4107e9a size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:58:12 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:58:12 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 09:58:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 09:58:12 d965b683ad4f: Preparing 09:58:12 6a07ed6a0adc: Preparing 09:58:12 1b85e4eb6d88: Preparing 09:58:12 8ea2e9e21ecc: Preparing 09:58:12 622bc59446e8: Preparing 09:58:12 7c504f21be85: Preparing 09:58:12 7c504f21be85: Waiting 09:58:12 6a07ed6a0adc: Layer already exists 09:58:12 d965b683ad4f: Layer already exists 09:58:12 622bc59446e8: Layer already exists 09:58:12 1b85e4eb6d88: Layer already exists 09:58:12 8ea2e9e21ecc: Layer already exists 09:58:12 7c504f21be85: Layer already exists 09:58:12 latest: digest: sha256:698668f82ab0fdaba0a25fd3c29e9dfa1f6adb63fee284ae6ebe249aa4107e9a size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:58:13 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:58:13 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.12 09:58:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 09:58:13 d965b683ad4f: Preparing 09:58:13 6a07ed6a0adc: Preparing 09:58:13 1b85e4eb6d88: Preparing 09:58:13 8ea2e9e21ecc: Preparing 09:58:13 622bc59446e8: Preparing 09:58:13 7c504f21be85: Preparing 09:58:13 7c504f21be85: Waiting 09:58:13 d965b683ad4f: Layer already exists 09:58:13 1b85e4eb6d88: Layer already exists 09:58:13 8ea2e9e21ecc: Layer already exists 09:58:13 6a07ed6a0adc: Layer already exists 09:58:13 622bc59446e8: Layer already exists 09:58:13 7c504f21be85: Layer already exists 09:58:13 3.2.0-dev.12: digest: sha256:698668f82ab0fdaba0a25fd3c29e9dfa1f6adb63fee284ae6ebe249aa4107e9a size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:58:14 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:6ffd961e50bad5aafcddb961eadc768a2e323cba-3.2.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:58:14 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:6ffd961e50bad5aafcddb961eadc768a2e323cba-3.2.0-dev.12 09:58:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 09:58:14 d965b683ad4f: Preparing 09:58:14 6a07ed6a0adc: Preparing 09:58:14 1b85e4eb6d88: Preparing 09:58:14 8ea2e9e21ecc: Preparing 09:58:14 622bc59446e8: Preparing 09:58:14 7c504f21be85: Preparing 09:58:14 7c504f21be85: Waiting 09:58:14 1b85e4eb6d88: Layer already exists 09:58:14 d965b683ad4f: Layer already exists 09:58:14 6a07ed6a0adc: Layer already exists 09:58:14 622bc59446e8: Layer already exists 09:58:14 8ea2e9e21ecc: Layer already exists 09:58:14 7c504f21be85: Layer already exists 09:58:14 6ffd961e50bad5aafcddb961eadc768a2e323cba-3.2.0-dev.12: digest: sha256:698668f82ab0fdaba0a25fd3c29e9dfa1f6adb63fee284ae6ebe249aa4107e9a size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:58:14 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:58:15 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 09:58:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 09:58:15 d965b683ad4f: Preparing 09:58:15 6a07ed6a0adc: Preparing 09:58:15 1b85e4eb6d88: Preparing 09:58:15 8ea2e9e21ecc: Preparing 09:58:15 622bc59446e8: Preparing 09:58:15 7c504f21be85: Preparing 09:58:15 7c504f21be85: Waiting 09:58:15 6a07ed6a0adc: Layer already exists 09:58:15 622bc59446e8: Layer already exists 09:58:15 8ea2e9e21ecc: Layer already exists 09:58:15 d965b683ad4f: Layer already exists 09:58:15 1b85e4eb6d88: Layer already exists 09:58:15 7c504f21be85: Layer already exists 09:58:15 main: digest: sha256:698668f82ab0fdaba0a25fd3c29e9dfa1f6adb63fee284ae6ebe249aa4107e9a size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:58:15 ===================================================== [Pipeline] echo 09:58:15 taggedImages: 09:58:15 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:6ffd961e50bad5aafcddb961eadc768a2e323cba 09:58:15 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 09:58:15 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.12 09:58:15 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:6ffd961e50bad5aafcddb961eadc768a2e323cba-3.2.0-dev.12 09:58:15 - 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:58:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:58:15 09:58:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:58:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:58:15 arm64: Pulling from edgex-lftools-log-publisher 09:58:15 8998bd30e6a1: Pulling fs layer 09:58:15 04944245beec: Pulling fs layer 09:58:15 699f458cf7ca: Pulling fs layer 09:58:15 765212b225bb: Pulling fs layer 09:58:15 f23df028b6ca: Pulling fs layer 09:58:15 d65c8cfc05b1: Pulling fs layer 09:58:15 2437ff75d9bd: Pulling fs layer 09:58:15 f23df028b6ca: Waiting 09:58:15 d65c8cfc05b1: Waiting 09:58:15 2437ff75d9bd: Waiting 09:58:15 765212b225bb: Waiting 09:58:16 04944245beec: Verifying Checksum 09:58:16 04944245beec: Download complete 09:58:16 765212b225bb: Verifying Checksum 09:58:16 765212b225bb: Download complete 09:58:16 f23df028b6ca: Verifying Checksum 09:58:16 f23df028b6ca: Download complete 09:58:16 d65c8cfc05b1: Download complete 09:58:16 699f458cf7ca: Verifying Checksum 09:58:16 699f458cf7ca: Download complete 09:58:16 8998bd30e6a1: Verifying Checksum 09:58:16 8998bd30e6a1: Download complete 09:58:19 2437ff75d9bd: Verifying Checksum 09:58:19 2437ff75d9bd: Download complete 09:58:21 8998bd30e6a1: Pull complete 09:58:21 04944245beec: Pull complete 09:58:23 699f458cf7ca: Pull complete 09:58:23 765212b225bb: Pull complete 09:58:24 f23df028b6ca: Pull complete 09:58:24 d65c8cfc05b1: Pull complete 09:58:39 2437ff75d9bd: Pull complete 09:58:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:58:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:58:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:58:39 prd-ubuntu20.04-docker-arm64-4c-16g-272 does not seem to be running inside a container 09:58: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/device-modbus-go/151 -v /w/workspace/device-modbus-go/151:/w/workspace/device-modbus-go/151:rw,z -v /w/workspace/device-modbus-go/151@tmp:/w/workspace/device-modbus-go/151@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:58:42 $ docker top 1e6d27bd4a369a05c90d55a510114fa09092a1313c13018f5bb98c244239ae21 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:58:43 ---> job-cost.sh 09:58:43 lf-activate-venv: SKIPPING 09:58:43 INFO: No Stack... 09:58:43 INFO: Retrieving Pricing Info for: v3-standard-4 09:58:44 INFO: Archiving Costs [Pipeline] sh 09:58:45 + cat /w/workspace/device-modbus-go/151/archives/cost.csv 09:58:45 + cut -d, -f6 [Pipeline] lock 09:58:45 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-151-stack-cost] 09:58:45 Resource [jenkins-edgexfoundry-device-modbus-go-main-151-stack-cost] did not exist. Created. 09:58:45 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-151-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:58:45 /w/workspace/device-modbus-go/151@tmp/durable-966eeb49/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:58:46 + echo total: 0.10999999940395355 [Pipeline] stash 09:58:46 Warning: overwriting stash ‘stack-cost’ 09:58:46 Stashed 1 file(s) [Pipeline] } 09:58:46 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-151-stack-cost] [Pipeline] // lock [Pipeline] } 09:58:46 $ docker stop --time=1 1e6d27bd4a369a05c90d55a510114fa09092a1313c13018f5bb98c244239ae21 09:58:48 $ docker rm -f --volumes 1e6d27bd4a369a05c90d55a510114fa09092a1313c13018f5bb98c244239ae21 [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:58:48 provisioning config files... 09:58:48 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11803346891464486449tmp [Pipeline] { [Pipeline] sh 09:58:49 + set +x 09:58:49 + + curl -s https://codecov.io/bash 09:58:49 bash -s -- 09:58:49 09:58:49 _____ _ 09:58:49 / ____| | | 09:58:49 | | ___ __| | ___ ___ _____ __ 09:58:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:58:49 | |___| (_) | (_| | __/ (_| (_) \ V / 09:58:49 \_____\___/ \__,_|\___|\___\___/ \_/ 09:58:49 Bash-1.0.6 09:58:49 09:58:49 09:58:49 ==> git version 2.25.1 found 09:58:49 ==> 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:58:49 Release-Date: 2020-01-08 09:58:49 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:58:49 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:58:49 ==> Jenkins CI detected. 09:58:49 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 09:58:49 project root: . 09:58:49 --> token set from env 09:58:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:58:49 ==> Running gcov in . (disable via -X gcov) 09:58:49 ==> Python coveragepy not found 09:58:49 ==> Searching for coverage reports in: 09:58:49 + . 09:58:49 -> Found 1 reports 09:58:49 ==> Detecting git/mercurial file structure 09:58:49 ==> Reading reports 09:58:49 + ./coverage.out bytes=24601 09:58:49 ==> Appending adjustments 09:58:49 https://docs.codecov.io/docs/fixing-reports 09:58:49 + Found adjustments 09:58:49 ==> Gzipping contents 09:58:49 4.0K /tmp/codecov.2YIjuF.gz 09:58:49 ==> Uploading reports 09:58:49 url: https://codecov.io 09:58:49 query: branch=main&commit=6ffd961e50bad5aafcddb961eadc768a2e323cba&build=151&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F151%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:58:49 -> Pinging Codecov 09:58:49 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=6ffd961e50bad5aafcddb961eadc768a2e323cba&build=151&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F151%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:58:49 -> Uploading to 09:58:49 https://storage.googleapis.com/codecov/v4/raw/2024-05-16/55DBCA73C666E3227836607328DD7E49/6ffd961e50bad5aafcddb961eadc768a2e323cba/1c50d94c-ac21-486a-bcfe-5ce27e691219.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20240516%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240516T095849Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3c7e839c85077e408f56cd7168d73b1f7cfc85fc0ab469dcfa21854cca46a4b5 09:58:49 % Total % Received % Xferd Average Speed Time Time Time Current 09:58:49 Dload Upload Total Spent Left Speed 09:58:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 16215 --:--:-- --:--:-- --:--:-- 16215 09:58:49 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/6ffd961e50bad5aafcddb961eadc768a2e323cba [Pipeline] } 09:58:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:58:50 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:58:50 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:58:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:58:50 09:58:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:58:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:58:50 1.410.4: Pulling from edgex-devops/edgex-snyk-go 09:58:50 df9b9388f04a: Pulling fs layer 09:58:50 52dc419b0ee2: Pulling fs layer 09:58:50 25bc292e5bac: Pulling fs layer 09:58:50 114826534d7a: Pulling fs layer 09:58:50 4657fd5d0bcf: Pulling fs layer 09:58:50 6ad1cebc031e: Pulling fs layer 09:58:50 8a3aa393b2d8: Pulling fs layer 09:58:50 4657fd5d0bcf: Waiting 09:58:50 6ad1cebc031e: Waiting 09:58:50 8a3aa393b2d8: Waiting 09:58:50 114826534d7a: Waiting 09:58:50 25bc292e5bac: Verifying Checksum 09:58:50 25bc292e5bac: Download complete 09:58:50 52dc419b0ee2: Verifying Checksum 09:58:50 52dc419b0ee2: Download complete 09:58:50 4657fd5d0bcf: Download complete 09:58:50 df9b9388f04a: Download complete 09:58:50 df9b9388f04a: Pull complete 09:58:50 6ad1cebc031e: Verifying Checksum 09:58:50 6ad1cebc031e: Download complete 09:58:50 52dc419b0ee2: Pull complete 09:58:50 25bc292e5bac: Pull complete 09:58:51 114826534d7a: Download complete 09:58:51 8a3aa393b2d8: Verifying Checksum 09:58:51 8a3aa393b2d8: Download complete 09:58:54 114826534d7a: Pull complete 09:58:54 4657fd5d0bcf: Pull complete 09:58:55 6ad1cebc031e: Pull complete 09:58:57 8a3aa393b2d8: Pull complete 09:58:57 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 09:58:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:58:57 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:58:57 prd-ubuntu20.04-docker-8c-8g-270 does not seem to be running inside a container 09:58:58 $ 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:59:03 $ docker top 593244ff93c3304a690da139edfc2ee11d6e95282da3eee279193053ebf1703c -eo pid,comm [Pipeline] { [Pipeline] echo 09:59:03 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 09:59:03 + set -o pipefail 09:59:03 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 09:59:10 09:59:10 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 09:59:10 09:59:10 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/68716b01-ff85-46e0-bf43-fb386b566e5c 09:59:10 09:59:10 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 09:59:10 09:59:10 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:59:10 09:59:10 09:59:10 A medium severity vulnerability was found in the Snyk CLI versions you are using. 09:59:10 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 09:59:10 More details here: https://snyk.co/ue1NS [Pipeline] } 09:59:10 $ docker stop --time=1 593244ff93c3304a690da139edfc2ee11d6e95282da3eee279193053ebf1703c 09:59:14 $ docker rm -f --volumes 593244ff93c3304a690da139edfc2ee11d6e95282da3eee279193053ebf1703c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:59:15 + git log --format=format:%s -1 6ffd961e50bad5aafcddb961eadc768a2e323cba [Pipeline] sh 09:59:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:59:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:59:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:59:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:59:16 prd-ubuntu20.04-docker-8c-8g-270 does not seem to be running inside a container 09:59:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:59:16 $ docker top 6dfc3ca246a0ef22190ec22f9d58ca77d149474076d38fe4b2312542a9d978f7 -eo pid,comm 09:59:16 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 09:59:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:59:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:59:16 [ssh-agent] Looking for ssh-agent implementation... 09:59:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:59:17 $ docker exec 6dfc3ca246a0ef22190ec22f9d58ca77d149474076d38fe4b2312542a9d978f7 ssh-agent 09:59:17 SSH_AUTH_SOCK=/tmp/ssh-xNXkxNXbJfbl/agent.32 09:59:17 SSH_AGENT_PID=38 09:59:17 Running ssh-add (command line suppressed) 09:59:17 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11653983280198744116.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11653983280198744116.key) 09:59:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:59:17 + git semver tag 09:59:17 2024-05-16 09:59:17,759 [run_tag] DEBUG tag force:False 09:59:17 2024-05-16 09:59:17,759 [check_head_tag] DEBUG check head tag 09:59:17 2024-05-16 09:59:17,760 [execute] INFO git cat-file --batch-check 09:59:17 2024-05-16 09:59:17,760 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 09:59:17 2024-05-16 09:59:17,764 [execute] INFO git cat-file --batch 09:59:17 2024-05-16 09:59:17,764 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 09:59:17 2024-05-16 09:59:17,783 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:59:17 2024-05-16 09:59:17,784 [execute] INFO git tag -a v3.2.0-dev.12 -m v3.2.0-dev.12 09:59:17 2024-05-16 09:59:17,784 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.12', '-m', 'v3.2.0-dev.12'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 09:59:17 2024-05-16 09:59:17,789 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:59:17 3.2.0-dev.12 [Pipeline] } 09:59:17 $ docker exec --env ******** --env ******** 6dfc3ca246a0ef22190ec22f9d58ca77d149474076d38fe4b2312542a9d978f7 ssh-agent -k 09:59:17 unset SSH_AUTH_SOCK; 09:59:17 unset SSH_AGENT_PID; 09:59:17 echo Agent pid 38 killed; 09:59:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:59:18 + git semver [Pipeline] } 09:59:18 $ docker stop --time=1 6dfc3ca246a0ef22190ec22f9d58ca77d149474076d38fe4b2312542a9d978f7 09:59:19 $ docker rm -f --volumes 6dfc3ca246a0ef22190ec22f9d58ca77d149474076d38fe4b2312542a9d978f7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:59:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:59:20 09:59:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:59:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:59:20 0.23.1-centos7: Pulling from edgex-lftools 09:59:20 ab5ef0e58194: Pulling fs layer 09:59:20 9712f1f96733: Pulling fs layer 09:59:20 63f879dbbcfc: Pulling fs layer 09:59:20 0d9ebad4ef96: Pulling fs layer 09:59:20 e9a5061849ea: Pulling fs layer 09:59:20 d747dcd14b5f: Pulling fs layer 09:59:20 2de7ff778b66: Pulling fs layer 09:59:20 d747dcd14b5f: Waiting 09:59:20 0d9ebad4ef96: Waiting 09:59:20 e9a5061849ea: Waiting 09:59:20 2de7ff778b66: Waiting 09:59:20 9712f1f96733: Download complete 09:59:20 63f879dbbcfc: Verifying Checksum 09:59:20 63f879dbbcfc: Download complete 09:59:21 e9a5061849ea: Verifying Checksum 09:59:21 e9a5061849ea: Download complete 09:59:21 d747dcd14b5f: Verifying Checksum 09:59:21 d747dcd14b5f: Download complete 09:59:21 ab5ef0e58194: Download complete 09:59:21 2de7ff778b66: Verifying Checksum 09:59:21 2de7ff778b66: Download complete 09:59:21 0d9ebad4ef96: Verifying Checksum 09:59:23 ab5ef0e58194: Pull complete 09:59:23 9712f1f96733: Pull complete 09:59:24 63f879dbbcfc: Pull complete 09:59:27 0d9ebad4ef96: Pull complete 09:59:27 e9a5061849ea: Pull complete 09:59:27 d747dcd14b5f: Pull complete 09:59:28 2de7ff778b66: Pull complete 09:59:28 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:59:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:59:28 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:59:28 prd-ubuntu20.04-docker-8c-8g-270 does not seem to be running inside a container 09:59:28 $ 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:59:35 $ docker top 237e2ebd3d28c2076d9a8a9f46460e9ee7f822e98f1699d7dc2d986cd651ed0a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:59:35 provisioning config files... 09:59:35 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config462164933206628723tmp 09:59:35 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10958154950790880330tmp 09:59:35 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13316355418655453575tmp [Pipeline] { [Pipeline] echo 09:59:35 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:59:35 ---> sigul-configuration.sh 09:59:35 gpg: directory `/root/.gnupg' created 09:59:35 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:59:35 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:59:35 gpg: keyring `/root/.gnupg/secring.gpg' created 09:59:35 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:59:35 gpg: CAST5 encrypted data 09:59:35 gpg: encrypted with 1 passphrase 09:59:35 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:59:35 + mkdir /home/jenkins 09:59:35 + mkdir /home/jenkins/sigul [Pipeline] sh 09:59:36 + 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:59:36 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:59:36 ---> sigul-install.sh 09:59:36 Sigul already installed; skipping installation. [Pipeline] sh 09:59:36 + git tag --list 09:59:36 0.7.1 09:59:36 v1.0.0 09:59:36 v1.1.0 09:59:36 v1.1.1 09:59:36 v1.2.2 09:59:36 v1.3.0 09:59:36 v1.3.1 09:59:36 v2.0.0 09:59:36 v2.1.0 09:59:36 v2.1.1 09:59:36 v2.2.0 09:59:36 v2.3.0 09:59:36 v3.0 09:59:36 v3.0.0 09:59:36 v3.1 09:59:36 v3.1.0 09:59:36 v3.1.0-dev.1 09:59:36 v3.1.0-dev.10 09:59:36 v3.1.0-dev.11 09:59:36 v3.1.0-dev.12 09:59:36 v3.1.0-dev.13 09:59:36 v3.1.0-dev.14 09:59:36 v3.1.0-dev.15 09:59:36 v3.1.0-dev.16 09:59:36 v3.1.0-dev.17 09:59:36 v3.1.0-dev.18 09:59:36 v3.1.0-dev.19 09:59:36 v3.1.0-dev.2 09:59:36 v3.1.0-dev.20 09:59:36 v3.1.0-dev.21 09:59:36 v3.1.0-dev.22 09:59:36 v3.1.0-dev.23 09:59:36 v3.1.0-dev.24 09:59:36 v3.1.0-dev.25 09:59:36 v3.1.0-dev.3 09:59:36 v3.1.0-dev.4 09:59:36 v3.1.0-dev.5 09:59:36 v3.1.0-dev.6 09:59:36 v3.1.0-dev.7 09:59:36 v3.1.0-dev.8 09:59:36 v3.1.0-dev.9 09:59:36 v3.1.1 09:59:36 v3.1.1-dev.1 09:59:36 v3.2.0-dev.1 09:59:36 v3.2.0-dev.10 09:59:36 v3.2.0-dev.11 09:59:36 v3.2.0-dev.12 09:59:36 v3.2.0-dev.2 09:59:36 v3.2.0-dev.3 09:59:36 v3.2.0-dev.4 09:59:36 v3.2.0-dev.5 09:59:36 v3.2.0-dev.6 09:59:36 v3.2.0-dev.7 09:59:36 v3.2.0-dev.8 09:59:36 v3.2.0-dev.9 [Pipeline] sh 09:59:36 + lftools sign git-tag v3.2.0-dev.12 09:59:37 Signing Git tag with Sigul... 09:59:37 Signing v3.2.0-dev.12 [Pipeline] echo 09:59:37 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:59:38 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:59:38 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:59:38 $ docker stop --time=1 237e2ebd3d28c2076d9a8a9f46460e9ee7f822e98f1699d7dc2d986cd651ed0a 09:59:39 $ docker rm -f --volumes 237e2ebd3d28c2076d9a8a9f46460e9ee7f822e98f1699d7dc2d986cd651ed0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:59:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:59:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:59:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:59:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:59:40 prd-ubuntu20.04-docker-8c-8g-270 does not seem to be running inside a container 09:59:40 $ 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:59:40 $ docker top d65f63392c4b1b1ddfdc4394e69cd090775f2019c069ba537ed158e3e5ba72ac -eo pid,comm 09:59:40 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:59:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:59:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:59:40 [ssh-agent] Looking for ssh-agent implementation... 09:59:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:59:40 $ docker exec d65f63392c4b1b1ddfdc4394e69cd090775f2019c069ba537ed158e3e5ba72ac ssh-agent 09:59:40 SSH_AUTH_SOCK=/tmp/ssh-x8g9Noa51aa3/agent.32 09:59:40 SSH_AGENT_PID=38 09:59:40 Running ssh-add (command line suppressed) 09:59:41 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12501824872258354109.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12501824872258354109.key) 09:59:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:59:41 + git semver bump pre 09:59:41 2024-05-16 09:59:41,528 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:59:41 2024-05-16 09:59:41,528 [bump_version] DEBUG bumping version:3.2.0-dev.12 on axis:pre with prefix:dev 09:59:41 2024-05-16 09:59:41,528 [bump_version] DEBUG bumped version:3.2.0-dev.13 09:59:41 2024-05-16 09:59:41,528 [write_version] DEBUG write version:3.2.0-dev.13 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 09:59:41 2024-05-16 09:59:41,529 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:59:41 2024-05-16 09:59:41,529 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:59:41 2024-05-16 09:59:41,530 [execute] INFO git cat-file --batch-check 09:59:41 2024-05-16 09:59:41,531 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:59:41 2024-05-16 09:59:41,536 [execute] INFO git cat-file --batch 09:59:41 2024-05-16 09:59:41,536 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:59:41 2024-05-16 09:59:41,541 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:59:41 3.2.0-dev.13 [Pipeline] } 09:59:41 $ docker exec --env ******** --env ******** d65f63392c4b1b1ddfdc4394e69cd090775f2019c069ba537ed158e3e5ba72ac ssh-agent -k 09:59:41 unset SSH_AUTH_SOCK; 09:59:41 unset SSH_AGENT_PID; 09:59:41 echo Agent pid 38 killed; 09:59:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:59:42 + git semver [Pipeline] } 09:59:42 $ docker stop --time=1 d65f63392c4b1b1ddfdc4394e69cd090775f2019c069ba537ed158e3e5ba72ac 09:59:43 $ docker rm -f --volumes d65f63392c4b1b1ddfdc4394e69cd090775f2019c069ba537ed158e3e5ba72ac [Pipeline] // withDockerContainer [Pipeline] sh 09:59:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:59:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:59:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:59:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:59:44 prd-ubuntu20.04-docker-8c-8g-270 does not seem to be running inside a container 09:59:44 $ 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:59:44 $ docker top 44909792c8673e1594763d063276535fcdc8c084688868d930493910647d605a -eo pid,comm 09:59:44 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:59:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:59:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:59:44 [ssh-agent] Looking for ssh-agent implementation... 09:59:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:59:44 $ docker exec 44909792c8673e1594763d063276535fcdc8c084688868d930493910647d605a ssh-agent 09:59:44 SSH_AUTH_SOCK=/tmp/ssh-eRAdcPe7rjYL/agent.31 09:59:44 SSH_AGENT_PID=37 09:59:44 Running ssh-add (command line suppressed) 09:59:45 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9388483305895448795.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9388483305895448795.key) 09:59:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:59:45 + git semver push 09:59:45 2024-05-16 09:59:45,571 [run_push] DEBUG push 09:59:45 2024-05-16 09:59:45,571 [execute] INFO git cat-file --batch-check 09:59:45 2024-05-16 09:59:45,571 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:59:45 2024-05-16 09:59:45,575 [execute] INFO git rev-list d5d120c18c8ed691cf779045877131624fc2d100 -- 09:59:45 2024-05-16 09:59:45,576 [execute] DEBUG Popen(['git', 'rev-list', 'd5d120c18c8ed691cf779045877131624fc2d100', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:59:45 2024-05-16 09:59:45,584 [execute] INFO git fetch -v origin 09:59:45 2024-05-16 09:59:45,585 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 09:59:46 2024-05-16 09:59:46,036 [run_push] DEBUG no remote changes detected 09:59:46 2024-05-16 09:59:46,036 [execute] INFO git push origin semver 09:59:46 2024-05-16 09:59:46,037 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:59:47 2024-05-16 09:59:46,780 [run_push] DEBUG push all version tags 09:59:47 2024-05-16 09:59:46,781 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 09:59:47 2024-05-16 09:59:46,781 [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:59:47 2024-05-16 09:59:47,497 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:59:47 3.2.0-dev.13 [Pipeline] } 09:59:47 $ docker exec --env ******** --env ******** 44909792c8673e1594763d063276535fcdc8c084688868d930493910647d605a ssh-agent -k 09:59:47 unset SSH_AUTH_SOCK; 09:59:47 unset SSH_AGENT_PID; 09:59:47 echo Agent pid 37 killed; 09:59:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:59:48 + git semver [Pipeline] } 09:59:48 $ docker stop --time=1 44909792c8673e1594763d063276535fcdc8c084688868d930493910647d605a 09:59:49 $ docker rm -f --volumes 44909792c8673e1594763d063276535fcdc8c084688868d930493910647d605a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 09:59:50 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 09:59:50 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 09:59:50 total 16 09:59:50 drwxr-xr-x 3 root root 4096 May 16 09:47 . 09:59:50 drwxrwxr-x 10 jenkins jenkins 4096 May 16 09:59 .. 09:59:50 drwxr-xr-x 2 root root 4096 May 16 09:47 cost 09:59:50 -rw-r--r-- 1 root root 88 May 16 09:47 cost.csv 09:59:50 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 09:59:50 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 09:59:50 total 16 09:59:50 drwxr-xr-x 3 jenkins jenkins 4096 May 16 09:47 . 09:59:50 drwxrwxr-x 10 jenkins jenkins 4096 May 16 09:59 .. 09:59:50 drwxr-xr-x 2 jenkins jenkins 4096 May 16 09:47 cost 09:59:50 -rw-r--r-- 1 jenkins jenkins 88 May 16 09:47 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:59:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:59:51 ---> package-listing.sh 09:59:51 ++ facter osfamily 09:59:51 ++ tr '[:upper:]' '[:lower:]' 09:59:51 + OS_FAMILY=debian 09:59:51 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 09:59:51 + START_PACKAGES=/tmp/packages_start.txt 09:59:51 + END_PACKAGES=/tmp/packages_end.txt 09:59:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:59:51 + PACKAGES=/tmp/packages_start.txt 09:59:51 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 09:59:51 + PACKAGES=/tmp/packages_end.txt 09:59:51 + case "${OS_FAMILY}" in 09:59:51 + dpkg -l 09:59:51 + grep '^ii' 09:59:51 + '[' -f /tmp/packages_start.txt ']' 09:59:51 + '[' -f /tmp/packages_end.txt ']' 09:59:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:59:51 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 09:59:51 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 09:59:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 09:59:51 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:59:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:59:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:59:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:59:52 prd-ubuntu20.04-docker-8c-8g-270 does not seem to be running inside a container 09:59:52 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:59:52 $ docker top b37d4de2fa370e1e1d681550f4cacd4e2d8be354650126367dc6540b32238679 -eo pid,comm [Pipeline] { [Pipeline] sh 09:59:53 + touch /tmp/pre-build-complete [Pipeline] sh 09:59:53 + mkdir -p /var/log/sysstat [Pipeline] sh 09:59:53 + ls /var/log/sa-host 09:59:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:59:53 provisioning config files... 09:59:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1699994753705943552tmp [Pipeline] { [Pipeline] echo 09:59:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:59:54 ---> create-netrc.sh [Pipeline] } 09:59:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:59:54 ---> python-tools-install.sh [Pipeline] echo 09:59:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:59:54 ---> sudo-logs.sh 09:59:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:59:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:59:55 ---> job-cost.sh 09:59:55 lf-activate-venv: SKIPPING 09:59:55 DEBUG: total: 0.2199999988079071 09:59:55 INFO: Retrieving Stack Cost... 09:59:55 INFO: Retrieving Pricing Info for: v3-standard-8 09:59:56 INFO: Archiving Costs [Pipeline] echo 09:59:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:59:56 ---> logs-deploy.sh 09:59:56 lf-activate-venv: SKIPPING 09:59:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/151 09:59:56 INFO: archiving workspace using pattern(s): 09:59:57 Archives upload complete. 09:59:57 INFO: archiving logs to Nexus