Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 13e477b7e225234a84aaaa3becdbd9ca8ce93d09 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-ssh7839054091708895452.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh3305737410861701469.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 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh17661698098714190826.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh9394593792712192775.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-ssh8323387635534713224.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1596 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 Avoid second fetch Checking out Revision 13e477b7e225234a84aaaa3becdbd9ca8ce93d09 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 13e477b7e225234a84aaaa3becdbd9ca8ce93d09 # timeout=10 Commit message: "Merge pull request #554 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.16" > git rev-list --no-walk 6ffd961e50bad5aafcddb961eadc768a2e323cba # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:36:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:36:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:36:00 ========================================================= 07:36:00 EdgeX Global Pipelines Version Info 07:36:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:36:01 ------------------- 07:36:01 stable info: 07:36:01 ------------------- 07:36:01 Commited By: Ginny Guan ginny@iotechsys.com 07:36:01 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 07:36:01 Message: update stable to v1.0.260 07:36:02 ------------------- 07:36:02 experimental info: 07:36:02 ------------------- 07:36:02 Commited By: Ginny Guan ginny@iotechsys.com 07:36:02 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 07:36:02 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:36:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 07:36:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 07:36:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:36:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:36:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:36:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 07:36:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:36:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:36:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:36:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:36:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:36:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 07:36:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:36:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:36:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:36:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:36:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:36:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:36:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:36:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:36:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:36:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:36:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:36:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:36:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:36:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:36:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:36:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:36:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:36:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:36:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 13e477b7e225234a84aaaa3becdbd9ca8ce93d09 [Pipeline] echo 07:36:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 13e477b [Pipeline] echo 07:36:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:36:03 provisioning config files... 07:36:03 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10769193549961190839tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:36:03 ---> ****-login.sh 07:36:03 nexus3.edgexfoundry.org:10001 07:36:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:36:04 Configure a credential helper to remove this warning. See 07:36:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:36:04 07:36:04 Login Succeeded 07:36:04 nexus3.edgexfoundry.org:10002 07:36:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:36:04 Configure a credential helper to remove this warning. See 07:36:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:36:04 07:36:04 Login Succeeded 07:36:04 nexus3.edgexfoundry.org:10003 07:36:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:36:04 Configure a credential helper to remove this warning. See 07:36:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:36:04 07:36:04 Login Succeeded 07:36:04 nexus3.edgexfoundry.org:10004 07:36:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:36:04 Configure a credential helper to remove this warning. See 07:36:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:36:04 07:36:04 Login Succeeded 07:36:04 ****.io 07:36:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:36:04 Configure a credential helper to remove this warning. See 07:36:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:36:04 07:36:04 Login Succeeded 07:36:04 ---> ****-login.sh ends [Pipeline] } 07:36:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:36:05 + git rev-list -1 --merges 13e477b7e225234a84aaaa3becdbd9ca8ce93d09~1..13e477b7e225234a84aaaa3becdbd9ca8ce93d09 [Pipeline] echo 07:36:05 -----------> git rev-list -1 --merges 13e477b7e225234a84aaaa3becdbd9ca8ce93d09~1..13e477b7e225234a84aaaa3becdbd9ca8ce93d09 13e477b7e225234a84aaaa3becdbd9ca8ce93d09 07:36:05 13e477b7e225234a84aaaa3becdbd9ca8ce93d09 [false] [Pipeline] sh 07:36:05 + git log --format=format:%s -1 13e477b7e225234a84aaaa3becdbd9ca8ce93d09 [Pipeline] echo 07:36:05 ========================================================= 07:36:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:36:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:36:05 + git log --format=format:%s -1 13e477b7e225234a84aaaa3becdbd9ca8ce93d09 [Pipeline] echo 07:36:05 [semverPrep] GIT_COMMIT: 13e477b7e225234a84aaaa3becdbd9ca8ce93d09, Commit Message: Merge pull request #554 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.16 [Pipeline] echo 07:36:05 [semverPrep] This is not a build commit. [Pipeline] sh 07:36:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:36:06 + grep -v github /etc/ssh/ssh_known_hosts 07:36:06 + [ -e /tmp/ssh_known_hosts ] 07:36:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:36:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:36:06 + sudo tee -a /etc/ssh/ssh_known_hosts 07:36:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:36:06 07:36:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:36:07 0.1.4: Pulling from edgex-devops/py-git-semver 07:36:07 b85a868b505f: Pulling fs layer 07:36:07 e2be974225ed: Pulling fs layer 07:36:07 339a4e72a1f5: Pulling fs layer 07:36:07 988bab9f4d93: Pulling fs layer 07:36:07 1469e6f7b9e6: Pulling fs layer 07:36:07 eaf3925da568: Pulling fs layer 07:36:07 bab4dde63d76: Pulling fs layer 07:36:07 bde34c3a00c8: Pulling fs layer 07:36:07 b352a97aabf1: Pulling fs layer 07:36:07 4872d77fe225: Pulling fs layer 07:36:07 5851b861e8e6: Pulling fs layer 07:36:07 988bab9f4d93: Waiting 07:36:07 b352a97aabf1: Waiting 07:36:07 eaf3925da568: Waiting 07:36:07 4872d77fe225: Waiting 07:36:07 5851b861e8e6: Waiting 07:36:07 bab4dde63d76: Waiting 07:36:07 bde34c3a00c8: Waiting 07:36:07 e2be974225ed: Verifying Checksum 07:36:07 e2be974225ed: Download complete 07:36:07 988bab9f4d93: Download complete 07:36:07 339a4e72a1f5: Verifying Checksum 07:36:07 339a4e72a1f5: Download complete 07:36:07 1469e6f7b9e6: Verifying Checksum 07:36:07 1469e6f7b9e6: Download complete 07:36:07 eaf3925da568: Download complete 07:36:07 bde34c3a00c8: Verifying Checksum 07:36:07 bde34c3a00c8: Download complete 07:36:07 b352a97aabf1: Download complete 07:36:07 4872d77fe225: Download complete 07:36:07 5851b861e8e6: Verifying Checksum 07:36:07 5851b861e8e6: Download complete 07:36:07 b85a868b505f: Verifying Checksum 07:36:07 b85a868b505f: Download complete 07:36:07 bab4dde63d76: Verifying Checksum 07:36:07 bab4dde63d76: Download complete 07:36:08 b85a868b505f: Pull complete 07:36:08 e2be974225ed: Pull complete 07:36:09 339a4e72a1f5: Pull complete 07:36:09 988bab9f4d93: Pull complete 07:36:09 1469e6f7b9e6: Pull complete 07:36:09 eaf3925da568: Pull complete 07:36:11 bab4dde63d76: Pull complete 07:36:11 bde34c3a00c8: Pull complete 07:36:12 b352a97aabf1: Pull complete 07:36:12 4872d77fe225: Pull complete 07:36:12 5851b861e8e6: Pull complete 07:36:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:36:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:36:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:36:12 prd-ubuntu20.04-docker-8c-8g-1596 does not seem to be running inside a container 07:36:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:36:16 $ docker top dd397546bb15f2dfe0828fac83f328a88fc013381c4c47f913882c37be95c593 -eo pid,comm 07:36: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). 07:36:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:36:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:36:17 [ssh-agent] Looking for ssh-agent implementation... 07:36:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:36:17 $ docker exec dd397546bb15f2dfe0828fac83f328a88fc013381c4c47f913882c37be95c593 ssh-agent 07:36:17 SSH_AUTH_SOCK=/tmp/ssh-5Qy9KmsG5L1X/agent.32 07:36:17 SSH_AGENT_PID=38 07:36:17 Running ssh-add (command line suppressed) 07:36:17 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1899673712056932019.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1899673712056932019.key) 07:36:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:36:17 + git tag --points-at HEAD [Pipeline] } 07:36:17 $ docker exec --env ******** --env ******** dd397546bb15f2dfe0828fac83f328a88fc013381c4c47f913882c37be95c593 ssh-agent -k 07:36:17 unset SSH_AUTH_SOCK; 07:36:17 unset SSH_AGENT_PID; 07:36:17 echo Agent pid 38 killed; 07:36:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:36:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:36:17 [ssh-agent] Looking for ssh-agent implementation... 07:36:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:36:18 $ docker exec dd397546bb15f2dfe0828fac83f328a88fc013381c4c47f913882c37be95c593 ssh-agent 07:36:18 SSH_AUTH_SOCK=/tmp/ssh-NwzyXfoEM8KO/agent.71 07:36:18 SSH_AGENT_PID=77 07:36:18 Running ssh-add (command line suppressed) 07:36:18 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17801262196676338527.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17801262196676338527.key) 07:36:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:36:18 + git semver init 07:36:18 2024-05-30 07:36:18,793 [run_init] DEBUG init version:0.0.0 force:False 07:36:18 2024-05-30 07:36:18,794 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 07:36:18 2024-05-30 07:36:18,794 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 07:36:18 2024-05-30 07:36:18,794 [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) 07:36:20 2024-05-30 07:36:19,929 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 07:36:20 2024-05-30 07:36:19,930 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 07:36:20 2024-05-30 07:36:19,930 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:36:20 2024-05-30 07:36:19,930 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:36:20 3.2.0-dev.13 [Pipeline] } 07:36:20 $ docker exec --env ******** --env ******** dd397546bb15f2dfe0828fac83f328a88fc013381c4c47f913882c37be95c593 ssh-agent -k 07:36:20 unset SSH_AUTH_SOCK; 07:36:20 unset SSH_AGENT_PID; 07:36:20 echo Agent pid 77 killed; 07:36:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:36:20 + git semver [Pipeline] } 07:36:20 $ docker stop --time=1 dd397546bb15f2dfe0828fac83f328a88fc013381c4c47f913882c37be95c593 07:36:22 $ docker rm -f --volumes dd397546bb15f2dfe0828fac83f328a88fc013381c4c47f913882c37be95c593 [Pipeline] // withDockerContainer [Pipeline] sh 07:36:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:36:23 Stashed 1 file(s) [Pipeline] echo 07:36:23 [edgeXSemver]: initialized semver on version 3.2.0-dev.13 [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 07:36:23 provisioning config files... 07:36:23 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14211101168291805205tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:36:23 ---> ****-login.sh 07:36:23 nexus3.edgexfoundry.org:10001 07:36:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:36:23 Configure a credential helper to remove this warning. See 07:36:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:36:23 07:36:23 Login Succeeded 07:36:23 nexus3.edgexfoundry.org:10002 07:36:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:36:23 Configure a credential helper to remove this warning. See 07:36:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:36:23 07:36:23 Login Succeeded 07:36:23 nexus3.edgexfoundry.org:10003 07:36:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:36:23 Configure a credential helper to remove this warning. See 07:36:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:36:23 07:36:23 Login Succeeded 07:36:23 nexus3.edgexfoundry.org:10004 07:36:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:36:24 Configure a credential helper to remove this warning. See 07:36:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:36:24 07:36:24 Login Succeeded 07:36:24 ****.io 07:36:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:36:24 Configure a credential helper to remove this warning. See 07:36:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:36:24 07:36:24 Login Succeeded 07:36:24 ---> ****-login.sh ends [Pipeline] } 07:36:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:36:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:36:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:36:24 ========================================================= 07:36:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 07:36:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36: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 . 07:36:24 Sending build context to Docker daemon 17.69MB 07:36:24 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 07:36:24 Step 2/10 : FROM ${BASE} AS builder 07:36:25 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 07:36:25 619be1103602: Pulling fs layer 07:36:25 7862e08f4a3e: Pulling fs layer 07:36:25 5df492c9dc93: Pulling fs layer 07:36:25 7629e6793208: Pulling fs layer 07:36:25 4f4fb700ef54: Pulling fs layer 07:36:25 fb5054dd5b73: Pulling fs layer 07:36:25 eeca6798cff9: Pulling fs layer 07:36:25 aa269ceb94a6: Pulling fs layer 07:36:25 ada007ff1a6a: Pulling fs layer 07:36:25 fb5054dd5b73: Waiting 07:36:25 ada007ff1a6a: Waiting 07:36:25 eeca6798cff9: Waiting 07:36:25 aa269ceb94a6: Waiting 07:36:25 7629e6793208: Waiting 07:36:25 4f4fb700ef54: Waiting 07:36:25 7862e08f4a3e: Download complete 07:36:25 7629e6793208: Verifying Checksum 07:36:25 7629e6793208: Download complete 07:36:25 4f4fb700ef54: Verifying Checksum 07:36:25 4f4fb700ef54: Download complete 07:36:25 fb5054dd5b73: Verifying Checksum 07:36:25 fb5054dd5b73: Download complete 07:36:25 619be1103602: Verifying Checksum 07:36:25 619be1103602: Download complete 07:36:25 eeca6798cff9: Verifying Checksum 07:36:25 eeca6798cff9: Download complete 07:36:25 619be1103602: Pull complete 07:36:25 ada007ff1a6a: Verifying Checksum 07:36:25 ada007ff1a6a: Download complete 07:36:25 7862e08f4a3e: Pull complete 07:36:25 5df492c9dc93: Verifying Checksum 07:36:25 5df492c9dc93: Download complete 07:36:25 aa269ceb94a6: Verifying Checksum 07:36:25 aa269ceb94a6: Download complete 07:36:29 5df492c9dc93: Pull complete 07:36:29 7629e6793208: Pull complete 07:36:29 4f4fb700ef54: Pull complete 07:36:29 fb5054dd5b73: Pull complete 07:36:29 eeca6798cff9: Pull complete 07:36:31 aa269ceb94a6: Pull complete 07:36:32 ada007ff1a6a: Pull complete 07:36:32 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 07:36:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 07:36:32 ---> f489d0715acc 07:36:32 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:36:38 Still waiting to schedule task 07:36:38 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1595’ 07:36:42 ---> Running in 3863a8faa099 07:36:42 Removing intermediate container 3863a8faa099 07:36:42 ---> 5a7d30d2a5bb 07:36:42 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:36:42 ---> Running in b29a1882a97c 07:36:42 Removing intermediate container b29a1882a97c 07:36:42 ---> 54b1610912ec 07:36:42 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:36:42 ---> Running in b037d862ec9c 07:36:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:36:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:36:44 (1/8) Installing openssh-keygen (9.3_p2-r1) 07:36:44 (2/8) Installing libedit (20221030.3.1-r1) 07:36:44 (3/8) Installing openssh-client-common (9.3_p2-r1) 07:36:44 (4/8) Installing openssh-client-default (9.3_p2-r1) 07:36:44 (5/8) Installing openssh-sftp-server (9.3_p2-r1) 07:36:44 (6/8) Installing openssh-server-common (9.3_p2-r1) 07:36:44 (7/8) Installing openssh-server (9.3_p2-r1) 07:36:44 (8/8) Installing openssh (9.3_p2-r1) 07:36:44 Executing busybox-1.36.1-r5.trigger 07:36:44 OK: 270 MiB in 60 packages 07:36:44 Removing intermediate container b037d862ec9c 07:36:44 ---> cabf34a50c55 07:36:44 Step 6/10 : WORKDIR /device-modbus-go 07:36:44 ---> Running in aa59a297bcd4 07:36:44 Removing intermediate container aa59a297bcd4 07:36:44 ---> 7b05ca346960 07:36:44 Step 7/10 : COPY go.mod vendor* ./ 07:36:45 ---> 65944412c278 07:36:45 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:36:45 ---> Running in c0bf6f314b70 07:38:06 Removing intermediate container c0bf6f314b70 07:38:06 ---> 6e6def7f3569 07:38:06 Step 9/10 : COPY . . 07:38:06 ---> fed4a02cbdf5 07:38:06 Step 10/10 : RUN ${MAKE} 07:38:06 ---> Running in 1ffd94c5b57f 07:38:06 noop 07:38:06 Removing intermediate container 1ffd94c5b57f 07:38:06 ---> 85b23e9ba270 07:38:06 Successfully built 85b23e9ba270 07:38:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:38:07 + docker inspect -f . ci-base-image-x86_64 07:38:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:38:07 prd-ubuntu20.04-docker-8c-8g-1596 does not seem to be running inside a container 07:38:07 $ 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 07:38:07 $ docker top d86750a548dd2f88028f67c92e06310d1289ecc3426bfd953451f04636bce066 -eo pid,comm [Pipeline] { [Pipeline] sh 07:38:07 + go version 07:38:07 go version go1.21.9 linux/amd64 [Pipeline] } 07:38:07 $ docker stop --time=1 d86750a548dd2f88028f67c92e06310d1289ecc3426bfd953451f04636bce066 07:38:09 $ docker rm -f --volumes d86750a548dd2f88028f67c92e06310d1289ecc3426bfd953451f04636bce066 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:38:09 + docker inspect -f . ci-base-image-x86_64 07:38:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:38:09 prd-ubuntu20.04-docker-8c-8g-1596 does not seem to be running inside a container 07:38:09 $ 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 07:38:10 $ docker top 614e98bebb10512c20f99a38a23a303ebe694a078c3c1f222b442fefba722d42 -eo pid,comm [Pipeline] { [Pipeline] sh 07:38:10 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 07:38:10 + make test 07:38:10 go test ./... -coverprofile=coverage.out 07:38:12 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:38:30 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:38:30 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.9% of statements 07:38:43 go vet ./... 07:38:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:38:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:38:48 ./bin/test-attribution-txt.sh 07:38:48 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 07:38:48 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 07:38:48 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 07:38:48 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 07:38:48 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 07:38:48 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 07:38:48 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 07:38:48 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 07:38:48 An attribution for golang.org/x/term is missing from Attribution.txt, please add 07:38:48 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 07:38:48 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 07:38:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:38:48 $ docker stop --time=1 614e98bebb10512c20f99a38a23a303ebe694a078c3c1f222b442fefba722d42 07:38:53 $ docker rm -f --volumes 614e98bebb10512c20f99a38a23a303ebe694a078c3c1f222b442fefba722d42 [Pipeline] // withDockerContainer [Pipeline] sh 07:38:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:38:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:38:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:38:55 + ls -al . 07:38:55 total 264 07:38:55 drwxrwxr-x 9 jenkins jenkins 4096 May 30 07:38 . 07:38:55 drwxrwxr-x 4 jenkins jenkins 4096 May 30 07:35 .. 07:38:55 -rw-rw-r-- 1 jenkins jenkins 140 May 30 07:35 .dockerignore 07:38:55 drwxrwxr-x 8 jenkins jenkins 4096 May 30 07:38 .git 07:38:55 drwxrwxr-x 3 jenkins jenkins 4096 May 30 07:35 .github 07:38:55 -rw-rw-r-- 1 jenkins jenkins 266 May 30 07:35 .gitignore 07:38:55 -rw-rw-r-- 1 jenkins jenkins 41 May 30 07:35 .golangci.yml 07:38:55 drwxr-xr-x 3 jenkins jenkins 4096 May 30 07:36 .semver 07:38:55 -rw-rw-r-- 1 jenkins jenkins 11101 May 30 07:35 Attribution.txt 07:38:55 -rw-rw-r-- 1 jenkins jenkins 16388 May 30 07:35 CHANGELOG.md 07:38:55 -rw-rw-r-- 1 jenkins jenkins 1474 May 30 07:35 Dockerfile 07:38:55 -rw-rw-r-- 1 jenkins jenkins 677 May 30 07:35 GOVERNANCE.md 07:38:55 -rw-rw-r-- 1 jenkins jenkins 658 May 30 07:35 Jenkinsfile 07:38:55 -rw-rw-r-- 1 jenkins jenkins 11340 May 30 07:35 LICENSE 07:38:55 -rw-rw-r-- 1 jenkins jenkins 1942 May 30 07:35 Makefile 07:38:55 -rw-rw-r-- 1 jenkins jenkins 622 May 30 07:35 OWNERS.md 07:38:55 -rw-rw-r-- 1 jenkins jenkins 4463 May 30 07:35 README.md 07:38:55 -rw-rw-r-- 1 jenkins jenkins 12 May 30 07:36 VERSION 07:38:55 drwxrwxr-x 2 jenkins jenkins 4096 May 30 07:35 bin 07:38:55 drwxrwxr-x 3 jenkins jenkins 4096 May 30 07:35 cmd 07:38:55 -rw-r--r-- 1 jenkins jenkins 24601 May 30 07:38 coverage.out 07:38:55 -rw-rw-r-- 1 jenkins jenkins 7241 May 30 07:35 go.mod 07:38:55 -rw-rw-r-- 1 jenkins jenkins 101886 May 30 07:35 go.sum 07:38:55 drwxrwxr-x 3 jenkins jenkins 4096 May 30 07:35 internal 07:38:55 drwxrwxr-x 2 jenkins jenkins 4096 May 30 07:35 simulator 07:38:55 -rw-rw-r-- 1 jenkins jenkins 229 May 30 07:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:38:55 + 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=13e477b7e225234a84aaaa3becdbd9ca8ce93d09 --label arch=amd64 --label version=3.2.0-dev.13 . 07:38:55 Sending build context to Docker daemon 17.71MB 07:38:55 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 07:38:55 Step 2/23 : FROM ${BASE} AS builder 07:38:55 ---> 85b23e9ba270 07:38:55 Step 3/23 : ARG ADD_BUILD_TAGS="" 07:38:56 ---> Running in 3e43563b3d2a 07:38:56 Removing intermediate container 3e43563b3d2a 07:38:56 ---> de2f0867666a 07:38:56 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:38:56 ---> Running in a7314929d8b2 07:38:56 Removing intermediate container a7314929d8b2 07:38:56 ---> 699ee2e932b5 07:38:56 Step 5/23 : RUN apk add --update --no-cache make git openssh 07:38:56 ---> Running in e6a01759a28c 07:38:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:38:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:38:57 OK: 270 MiB in 60 packages 07:38:57 Removing intermediate container e6a01759a28c 07:38:57 ---> 96d5586532f1 07:38:57 Step 6/23 : WORKDIR /device-modbus-go 07:38:57 ---> Running in bd5afb3dd23f 07:38:57 Removing intermediate container bd5afb3dd23f 07:38:57 ---> ab5a3cce0603 07:38:57 Step 7/23 : COPY go.mod vendor* ./ 07:38:57 ---> aae303df27bc 07:38:57 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:38:57 ---> Running in 62f27ae81125 07:38:58 Removing intermediate container 62f27ae81125 07:38:58 ---> a658a02afdd8 07:38:58 Step 9/23 : COPY . . 07:38:59 ---> 6c0f6e2854c3 07:38:59 Step 10/23 : RUN ${MAKE} 07:38:59 ---> Running in 25473623043e 07:38:59 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.13 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.16" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 07:39:38 Removing intermediate container 25473623043e 07:39:38 ---> 3ce7d5fb9abb 07:39:38 Step 11/23 : FROM alpine:3.18 07:39:38 3.18: Pulling from library/alpine 07:39:38 619be1103602: Already exists 07:39:38 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 07:39:38 Status: Downloaded newer image for alpine:3.18 07:39:38 ---> d3782b16ccc9 07:39:38 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:39:38 ---> Running in c635ed7e5225 07:39:38 Removing intermediate container c635ed7e5225 07:39:38 ---> fb04db765940 07:39:38 Step 13/23 : RUN apk add --update --no-cache dumb-init 07:39:38 ---> Running in 1f79fb04728a 07:39:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:39:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:39:39 (1/1) Installing dumb-init (1.2.5-r2) 07:39:39 Executing busybox-1.36.1-r5.trigger 07:39:39 OK: 7 MiB in 16 packages 07:39:39 Removing intermediate container 1f79fb04728a 07:39:39 ---> 3a8a7dde70b2 07:39:39 Step 14/23 : RUN apk --no-cache upgrade 07:39:39 ---> Running in 9cac7a826220 07:39:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:39:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:39:40 Upgrading critical system libraries and apk-tools: 07:39:40 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 07:39:40 Executing busybox-1.36.1-r5.trigger 07:39:40 Continuing the upgrade transaction with new apk-tools: 07:39:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:39:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:39:40 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 07:39:40 Executing busybox-1.36.1-r6.post-upgrade 07:39:40 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 07:39:40 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 07:39:40 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 07:39:40 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 07:39:40 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 07:39:40 Executing busybox-1.36.1-r6.trigger 07:39:40 OK: 7 MiB in 16 packages 07:39:41 Removing intermediate container 9cac7a826220 07:39:41 ---> 00587afa31f6 07:39:41 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 07:39:42 ---> c2b883e15667 07:39:42 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 07:39:42 ---> 56155d2ca38e 07:39:42 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:39:43 ---> 7b5ee90009eb 07:39:43 Step 18/23 : EXPOSE 59901 07:39:43 ---> Running in b44c396affc3 07:39:43 Removing intermediate container b44c396affc3 07:39:43 ---> aa9847a2189e 07:39:43 Step 19/23 : ENTRYPOINT ["/device-modbus"] 07:39:43 ---> Running in 93029f950143 07:39:43 Removing intermediate container 93029f950143 07:39:43 ---> 9b1048f16771 07:39:43 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:39:43 ---> Running in 651280ad1095 07:39:43 Removing intermediate container 651280ad1095 07:39:43 ---> 8ea983b808ab 07:39:43 Step 21/23 : LABEL arch=amd64 07:39:43 ---> Running in 144cc523b46d 07:39:43 Removing intermediate container 144cc523b46d 07:39:43 ---> 85a5e0560b50 07:39:43 Step 22/23 : LABEL git_sha=13e477b7e225234a84aaaa3becdbd9ca8ce93d09 07:39:43 ---> Running in 36a2e1fdbece 07:39:43 Removing intermediate container 36a2e1fdbece 07:39:43 ---> 3dc377e15e2a 07:39:43 Step 23/23 : LABEL version=3.2.0-dev.13 07:39:43 ---> Running in b40d9fd07cb6 07:39:44 Removing intermediate container b40d9fd07cb6 07:39:44 ---> 536dded508d0 07:39:44 [Warning] One or more build-args [ARCH] were not consumed 07:39:44 Successfully built 536dded508d0 07:39:44 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:39:44 provisioning config files... 07:39:44 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11140364891549354736tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:39:44 ---> ****-login.sh 07:39:44 nexus3.edgexfoundry.org:10001 07:39:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:39:44 Configure a credential helper to remove this warning. See 07:39:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:39:44 07:39:44 Login Succeeded 07:39:44 nexus3.edgexfoundry.org:10002 07:39:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:39:44 Configure a credential helper to remove this warning. See 07:39:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:39:44 07:39:44 Login Succeeded 07:39:44 nexus3.edgexfoundry.org:10003 07:39:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:39:44 Configure a credential helper to remove this warning. See 07:39:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:39:44 07:39:44 Login Succeeded 07:39:44 nexus3.edgexfoundry.org:10004 07:39:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:39:44 Configure a credential helper to remove this warning. See 07:39:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:39:44 07:39:44 Login Succeeded 07:39:44 ****.io 07:39:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:39:45 Configure a credential helper to remove this warning. See 07:39:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:39:45 07:39:45 Login Succeeded 07:39:45 ---> ****-login.sh ends [Pipeline] } 07:39:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:39:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:39:45 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 07:39:45 13e477b7e225234a84aaaa3becdbd9ca8ce93d09 07:39:45 latest 07:39:45 3.2.0-dev.13 07:39:45 13e477b7e225234a84aaaa3becdbd9ca8ce93d09-3.2.0-dev.13 07:39:45 main 07:39:45 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:45 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:13e477b7e225234a84aaaa3becdbd9ca8ce93d09 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:45 + docker push nexus3.edgexfoundry.org:10004/device-modbus:13e477b7e225234a84aaaa3becdbd9ca8ce93d09 07:39:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:39:45 1525702ef9a5: Preparing 07:39:45 2b7c79976024: Preparing 07:39:45 cf86a82c4506: Preparing 07:39:45 237833cdcb4e: Preparing 07:39:45 c79607fee616: Preparing 07:39:45 aedc3bda2944: Preparing 07:39:45 aedc3bda2944: Waiting 07:39:45 2b7c79976024: Pushed 07:39:45 aedc3bda2944: Layer already exists 07:39:45 c79607fee616: Pushed 07:39:45 1525702ef9a5: Pushed 07:39:46 237833cdcb4e: Pushed 07:39:49 cf86a82c4506: Pushed 07:39:49 13e477b7e225234a84aaaa3becdbd9ca8ce93d09: digest: sha256:5b3e546cc857daa63c5f455d38b20826ab1df7a5cf21db6a961c0856061d22da size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:49 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:50 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 07:39:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:39:50 1525702ef9a5: Preparing 07:39:50 2b7c79976024: Preparing 07:39:50 cf86a82c4506: Preparing 07:39:50 237833cdcb4e: Preparing 07:39:50 c79607fee616: Preparing 07:39:50 aedc3bda2944: Preparing 07:39:50 aedc3bda2944: Waiting 07:39:50 cf86a82c4506: Layer already exists 07:39:50 1525702ef9a5: Layer already exists 07:39:50 237833cdcb4e: Layer already exists 07:39:50 c79607fee616: Layer already exists 07:39:50 2b7c79976024: Layer already exists 07:39:50 aedc3bda2944: Layer already exists 07:39:50 latest: digest: sha256:5b3e546cc857daa63c5f455d38b20826ab1df7a5cf21db6a961c0856061d22da size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:50 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:50 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.13 07:39:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:39:50 1525702ef9a5: Preparing 07:39:50 2b7c79976024: Preparing 07:39:50 cf86a82c4506: Preparing 07:39:50 237833cdcb4e: Preparing 07:39:50 c79607fee616: Preparing 07:39:50 aedc3bda2944: Preparing 07:39:50 aedc3bda2944: Waiting 07:39:50 1525702ef9a5: Layer already exists 07:39:50 2b7c79976024: Layer already exists 07:39:50 cf86a82c4506: Layer already exists 07:39:50 237833cdcb4e: Layer already exists 07:39:50 c79607fee616: Layer already exists 07:39:50 aedc3bda2944: Layer already exists 07:39:50 3.2.0-dev.13: digest: sha256:5b3e546cc857daa63c5f455d38b20826ab1df7a5cf21db6a961c0856061d22da size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:51 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:13e477b7e225234a84aaaa3becdbd9ca8ce93d09-3.2.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:51 + docker push nexus3.edgexfoundry.org:10004/device-modbus:13e477b7e225234a84aaaa3becdbd9ca8ce93d09-3.2.0-dev.13 07:39:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:39:51 1525702ef9a5: Preparing 07:39:51 2b7c79976024: Preparing 07:39:51 cf86a82c4506: Preparing 07:39:51 237833cdcb4e: Preparing 07:39:51 c79607fee616: Preparing 07:39:51 aedc3bda2944: Preparing 07:39:51 aedc3bda2944: Waiting 07:39:51 c79607fee616: Layer already exists 07:39:51 1525702ef9a5: Layer already exists 07:39:51 237833cdcb4e: Layer already exists 07:39:51 cf86a82c4506: Layer already exists 07:39:51 2b7c79976024: Layer already exists 07:39:51 aedc3bda2944: Layer already exists 07:39:51 13e477b7e225234a84aaaa3becdbd9ca8ce93d09-3.2.0-dev.13: digest: sha256:5b3e546cc857daa63c5f455d38b20826ab1df7a5cf21db6a961c0856061d22da size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:51 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:52 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 07:39:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:39:52 1525702ef9a5: Preparing 07:39:52 2b7c79976024: Preparing 07:39:52 cf86a82c4506: Preparing 07:39:52 237833cdcb4e: Preparing 07:39:52 c79607fee616: Preparing 07:39:52 aedc3bda2944: Preparing 07:39:52 aedc3bda2944: Waiting 07:39:52 237833cdcb4e: Layer already exists 07:39:52 cf86a82c4506: Layer already exists 07:39:52 c79607fee616: Layer already exists 07:39:52 1525702ef9a5: Layer already exists 07:39:52 2b7c79976024: Layer already exists 07:39:52 aedc3bda2944: Layer already exists 07:39:52 main: digest: sha256:5b3e546cc857daa63c5f455d38b20826ab1df7a5cf21db6a961c0856061d22da size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:39:52 ===================================================== [Pipeline] echo 07:39:52 taggedImages: 07:39:52 - nexus3.edgexfoundry.org:10004/device-modbus:13e477b7e225234a84aaaa3becdbd9ca8ce93d09 07:39:52 - nexus3.edgexfoundry.org:10004/device-modbus:latest 07:39:52 - nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.13 07:39:52 - nexus3.edgexfoundry.org:10004/device-modbus:13e477b7e225234a84aaaa3becdbd9ca8ce93d09-3.2.0-dev.13 07:39:52 - 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 07:39:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:39:52 07:39:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:39:52 latest: Pulling from edgex-lftools-log-publisher 07:39:52 5eb5b503b376: Pulling fs layer 07:39:52 5c69ac0246d0: Pulling fs layer 07:39:52 ec43610c2a17: Pulling fs layer 07:39:52 3a2ae6a8a46f: Pulling fs layer 07:39:52 33b1e0a273af: Pulling fs layer 07:39:52 5d3b04190fa2: Pulling fs layer 07:39:52 2f39f015ded8: Pulling fs layer 07:39:52 3a2ae6a8a46f: Waiting 07:39:52 5d3b04190fa2: Waiting 07:39:52 33b1e0a273af: Waiting 07:39:52 5c69ac0246d0: Verifying Checksum 07:39:52 5c69ac0246d0: Download complete 07:39:52 3a2ae6a8a46f: Verifying Checksum 07:39:52 3a2ae6a8a46f: Download complete 07:39:52 33b1e0a273af: Verifying Checksum 07:39:52 33b1e0a273af: Download complete 07:39:52 5d3b04190fa2: Verifying Checksum 07:39:52 5d3b04190fa2: Download complete 07:39:52 ec43610c2a17: Verifying Checksum 07:39:52 ec43610c2a17: Download complete 07:39:53 5eb5b503b376: Verifying Checksum 07:39:53 5eb5b503b376: Download complete 07:39:53 2f39f015ded8: Download complete 07:39:54 5eb5b503b376: Pull complete 07:39:54 5c69ac0246d0: Pull complete 07:39:55 ec43610c2a17: Pull complete 07:39:55 3a2ae6a8a46f: Pull complete 07:39:55 33b1e0a273af: Pull complete 07:39:55 5d3b04190fa2: Pull complete 07:40:00 2f39f015ded8: Pull complete 07:40:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:40:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:40:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:40:00 prd-ubuntu20.04-docker-8c-8g-1596 does not seem to be running inside a container 07:40:00 $ 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 07:40:10 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1597 in /w/workspace/gexfoundry_device-modbus-go_main 07:40:10 $ docker top 8408d6b9821f756d03dd3634d56aa9f8ef73707be1a342ba578ce47feaabb64d -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 07:40:11 Running in /w/workspace/device-modbus-go/152 [Pipeline] { [Pipeline] checkout 07:40:11 ---> job-cost.sh 07:40:11 lf-activate-venv: SKIPPING 07:40:11 INFO: No Stack... 07:40:11 INFO: Retrieving Pricing Info for: v3-standard-8 07:40:12 INFO: Archiving Costs [Pipeline] sh 07:40:14 The recommended git tool is: git 07:40:14 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 07:40:14 + cut -d, -f6 [Pipeline] lock 07:40:14 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-152-stack-cost] 07:40:14 Resource [jenkins-edgexfoundry-device-modbus-go-main-152-stack-cost] did not exist. Created. 07:40:14 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-152-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:40:14 + echo total: 0.2199999988079071 [Pipeline] stash 07:40:14 Stashed 1 file(s) [Pipeline] } 07:40:14 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-152-stack-cost] [Pipeline] // lock [Pipeline] } 07:40:14 $ docker stop --time=1 8408d6b9821f756d03dd3634d56aa9f8ef73707be1a342ba578ce47feaabb64d 07:40:16 $ docker rm -f --volumes 8408d6b9821f756d03dd3634d56aa9f8ef73707be1a342ba578ce47feaabb64d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:40:22 using credential edgex-jenkins-ssh 07:40:22 Cloning the remote Git repository 07:40:22 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 07:40:22 > git init /w/workspace/device-modbus-go/152 # timeout=10 07:40:23 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:40:23 > git --version # timeout=10 07:40:23 > git --version # 'git version 2.25.1' 07:40:23 using GIT_SSH to set credentials SSH Credentials for GitHub 07:40:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:40:25 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:40:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:40:26 Avoid second fetch 07:40:26 Checking out Revision 13e477b7e225234a84aaaa3becdbd9ca8ce93d09 (main) 07:40:28 Commit message: "Merge pull request #554 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.16" 07:40:27 > git config core.sparsecheckout # timeout=10 07:40:27 > git checkout -f 13e477b7e225234a84aaaa3becdbd9ca8ce93d09 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:40:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:40:32 % Total % Received % Xferd Average Speed Time Time Time Current 07:40:32 Dload Upload Total Spent Left Speed 07:40:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 113k 0 --:--:-- --:--:-- --:--:-- 113k [Pipeline] sh 07:40:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:40:33 + sudo tee /etc/docker/daemon.new 07:40:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:40:33 { 07:40:33 "registry-mirrors": [ 07:40:33 "https://nexus3.edgexfoundry.org:10001" 07:40:33 ], 07:40:33 "bip": "10.250.0.254/24", 07:40:33 "hosts": [ 07:40:33 "tcp://0.0.0.0:5555", 07:40:33 "unix:///var/run/docker.sock" 07:40:33 ], 07:40:33 "mtu": 1458, 07:40:33 "selinux-enabled": true, 07:40:33 "seccomp-profile": "/etc/docker/seccomp.json" 07:40:33 } [Pipeline] sh 07:40:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:40:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:40:52 provisioning config files... 07:40:52 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/152@tmp/config6328425590452399696tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:40:52 ---> ****-login.sh 07:40:52 nexus3.edgexfoundry.org:10001 07:40:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:40:53 Configure a credential helper to remove this warning. See 07:40:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:40:53 07:40:53 Login Succeeded 07:40:53 nexus3.edgexfoundry.org:10002 07:40:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:40:53 Configure a credential helper to remove this warning. See 07:40:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:40:53 07:40:53 Login Succeeded 07:40:53 nexus3.edgexfoundry.org:10003 07:40:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:40:54 Configure a credential helper to remove this warning. See 07:40:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:40:54 07:40:54 Login Succeeded 07:40:54 nexus3.edgexfoundry.org:10004 07:40:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:40:54 Configure a credential helper to remove this warning. See 07:40:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:40:54 07:40:54 Login Succeeded 07:40:54 ****.io 07:40:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:40:55 Configure a credential helper to remove this warning. See 07:40:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:40:55 07:40:55 Login Succeeded 07:40:55 ---> ****-login.sh ends [Pipeline] } 07:40:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:40:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:40:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:40:55 ========================================================= 07:40:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 07:40:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40: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 . 07:40:56 Sending build context to Docker daemon 8.984MB 07:40:56 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 07:40:56 Step 2/10 : FROM ${BASE} AS builder 07:40:56 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:40:56 c6b39de5b339: Pulling fs layer 07:40:56 a69c41024577: Pulling fs layer 07:40:56 d6de4b400683: Pulling fs layer 07:40:56 35cb2a7552d0: Pulling fs layer 07:40:56 4f4fb700ef54: Pulling fs layer 07:40:56 464afbd9ba4c: Pulling fs layer 07:40:56 00f215d4a9da: Pulling fs layer 07:40:56 d496ad576159: Pulling fs layer 07:40:56 35cb2a7552d0: Waiting 07:40:56 4f4fb700ef54: Waiting 07:40:56 464afbd9ba4c: Waiting 07:40:56 00f215d4a9da: Waiting 07:40:56 d496ad576159: Waiting 07:40:56 a69c41024577: Verifying Checksum 07:40:56 a69c41024577: Download complete 07:40:56 35cb2a7552d0: Verifying Checksum 07:40:56 35cb2a7552d0: Download complete 07:40:56 4f4fb700ef54: Verifying Checksum 07:40:56 4f4fb700ef54: Download complete 07:40:56 464afbd9ba4c: Verifying Checksum 07:40:56 464afbd9ba4c: Download complete 07:40:56 c6b39de5b339: Download complete 07:40:57 d496ad576159: Verifying Checksum 07:40:57 d496ad576159: Download complete 07:40:57 c6b39de5b339: Pull complete 07:40:58 a69c41024577: Pull complete 07:40:58 d6de4b400683: Verifying Checksum 07:40:58 d6de4b400683: Download complete 07:40:59 00f215d4a9da: Verifying Checksum 07:40:59 00f215d4a9da: Download complete 07:41:12 d6de4b400683: Pull complete 07:41:12 35cb2a7552d0: Pull complete 07:41:12 4f4fb700ef54: Pull complete 07:41:12 464afbd9ba4c: Pull complete 07:41:22 00f215d4a9da: Pull complete 07:41:22 d496ad576159: Pull complete 07:41:22 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 07:41:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 07:41:22 ---> f246e2811388 07:41:22 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:41:23 ---> Running in 7d39cc352c9f 07:41:24 Removing intermediate container 7d39cc352c9f 07:41:24 ---> fb6c484d3493 07:41:24 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:41:24 ---> Running in 67f14111ef5c 07:41:24 Removing intermediate container 67f14111ef5c 07:41:24 ---> 9f3f3848f9e4 07:41:24 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:41:24 ---> Running in 3cde8b08ded0 07:41:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:41:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:41:27 (1/8) Installing openssh-keygen (9.3_p2-r1) 07:41:27 (2/8) Installing libedit (20221030.3.1-r1) 07:41:27 (3/8) Installing openssh-client-common (9.3_p2-r1) 07:41:27 (4/8) Installing openssh-client-default (9.3_p2-r1) 07:41:27 (5/8) Installing openssh-sftp-server (9.3_p2-r1) 07:41:27 (6/8) Installing openssh-server-common (9.3_p2-r1) 07:41:27 (7/8) Installing openssh-server (9.3_p2-r1) 07:41:27 (8/8) Installing openssh (9.3_p2-r1) 07:41:27 Executing busybox-1.36.1-r5.trigger 07:41:27 OK: 272 MiB in 60 packages 07:41:28 Removing intermediate container 3cde8b08ded0 07:41:28 ---> dcb62b160fb6 07:41:28 Step 6/10 : WORKDIR /device-modbus-go 07:41:28 ---> Running in cddf3d9f5003 07:41:28 Removing intermediate container cddf3d9f5003 07:41:28 ---> 0c9a2fd8d47b 07:41:28 Step 7/10 : COPY go.mod vendor* ./ 07:41:30 ---> 3a7b97e98c18 07:41:30 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:41:30 ---> Running in 845a02133636 07:43:22 Removing intermediate container 845a02133636 07:43:22 ---> 2b210c1a42cc 07:43:22 Step 9/10 : COPY . . 07:43:22 ---> fb66440ef7e8 07:43:22 Step 10/10 : RUN ${MAKE} 07:43:22 ---> Running in 8b84c2b540ac 07:43:22 noop 07:43:22 Removing intermediate container 8b84c2b540ac 07:43:22 ---> d2b0ffec2f29 07:43:22 Successfully built d2b0ffec2f29 07:43:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:43:22 + docker inspect -f . ci-base-image-arm64 07:43:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:43:23 prd-ubuntu20.04-docker-arm64-4c-16g-1597 does not seem to be running inside a container 07:43:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/152 -v /w/workspace/device-modbus-go/152:/w/workspace/device-modbus-go/152:rw,z -v /w/workspace/device-modbus-go/152@tmp:/w/workspace/device-modbus-go/152@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 07:43:24 $ docker top 84f16b335e67f5c6d651ec00598578152b2348e2fb90ff26b2db80dee869605c -eo pid,comm [Pipeline] { [Pipeline] sh 07:43:25 + go version 07:43:25 go version go1.21.9 linux/arm64 [Pipeline] } 07:43:25 $ docker stop --time=1 84f16b335e67f5c6d651ec00598578152b2348e2fb90ff26b2db80dee869605c 07:43:26 $ docker rm -f --volumes 84f16b335e67f5c6d651ec00598578152b2348e2fb90ff26b2db80dee869605c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:43:27 + docker inspect -f . ci-base-image-arm64 07:43:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:43:27 prd-ubuntu20.04-docker-arm64-4c-16g-1597 does not seem to be running inside a container 07:43:27 $ 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/152 -v /w/workspace/device-modbus-go/152:/w/workspace/device-modbus-go/152:rw,z -v /w/workspace/device-modbus-go/152@tmp:/w/workspace/device-modbus-go/152@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 07:43:28 $ docker top 0b50d956b988997517e31dc969adbd5fd699e9e9f49eac277570595015045d36 -eo pid,comm [Pipeline] { [Pipeline] sh 07:43:29 + git config --global --add safe.directory /w/workspace/device-modbus-go/152 [Pipeline] fileExists [Pipeline] sh 07:43:30 + make test 07:43:30 go test ./... -coverprofile=coverage.out 07:43:36 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:46:58 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:47:02 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.081s coverage: 47.9% of statements 07:47:02 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:47:02 go vet ./... 07:47:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:47:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:47:49 ./bin/test-attribution-txt.sh 07:47:49 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 07:47:49 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 07:47:50 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 07:47:50 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 07:47:50 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 07:47:50 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 07:47:50 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 07:47:50 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 07:47:50 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 07:47:50 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 07:47:50 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 07:47:50 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 07:47:50 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 07:47:50 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 07:47:50 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 07:47:50 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 07:47:50 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 07:47:50 An attribution for golang.org/x/term is missing from Attribution.txt, please add 07:47:50 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 07:47:50 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 07:47:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:47:50 $ docker stop --time=1 0b50d956b988997517e31dc969adbd5fd699e9e9f49eac277570595015045d36 07:47:52 $ docker rm -f --volumes 0b50d956b988997517e31dc969adbd5fd699e9e9f49eac277570595015045d36 [Pipeline] // withDockerContainer [Pipeline] sh 07:47:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:47:53 Warning: overwriting stash ‘coverage-report’ 07:47:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:47:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:47:55 + ls -al . 07:47:55 total 260 07:47:55 drwxrwxr-x 8 jenkins jenkins 4096 May 30 07:43 . 07:47:55 drwxrwxr-x 4 jenkins jenkins 4096 May 30 07:40 .. 07:47:55 -rw-rw-r-- 1 jenkins jenkins 140 May 30 07:40 .dockerignore 07:47:55 drwxrwxr-x 8 jenkins jenkins 4096 May 30 07:40 .git 07:47:55 drwxrwxr-x 3 jenkins jenkins 4096 May 30 07:40 .github 07:47:55 -rw-rw-r-- 1 jenkins jenkins 266 May 30 07:40 .gitignore 07:47:55 -rw-rw-r-- 1 jenkins jenkins 41 May 30 07:40 .golangci.yml 07:47:55 -rw-rw-r-- 1 jenkins jenkins 11101 May 30 07:40 Attribution.txt 07:47:55 -rw-rw-r-- 1 jenkins jenkins 16388 May 30 07:40 CHANGELOG.md 07:47:55 -rw-rw-r-- 1 jenkins jenkins 1474 May 30 07:40 Dockerfile 07:47:55 -rw-rw-r-- 1 jenkins jenkins 677 May 30 07:40 GOVERNANCE.md 07:47:55 -rw-rw-r-- 1 jenkins jenkins 658 May 30 07:40 Jenkinsfile 07:47:55 -rw-rw-r-- 1 jenkins jenkins 11340 May 30 07:40 LICENSE 07:47:55 -rw-rw-r-- 1 jenkins jenkins 1942 May 30 07:40 Makefile 07:47:55 -rw-rw-r-- 1 jenkins jenkins 622 May 30 07:40 OWNERS.md 07:47:55 -rw-rw-r-- 1 jenkins jenkins 4463 May 30 07:40 README.md 07:47:55 -rw-rw-r-- 1 jenkins jenkins 12 May 30 07:36 VERSION 07:47:55 drwxrwxr-x 2 jenkins jenkins 4096 May 30 07:40 bin 07:47:55 drwxrwxr-x 3 jenkins jenkins 4096 May 30 07:40 cmd 07:47:55 -rw-r--r-- 1 jenkins jenkins 24601 May 30 07:47 coverage.out 07:47:55 -rw-rw-r-- 1 jenkins jenkins 7241 May 30 07:40 go.mod 07:47:55 -rw-rw-r-- 1 jenkins jenkins 101886 May 30 07:40 go.sum 07:47:55 drwxrwxr-x 3 jenkins jenkins 4096 May 30 07:40 internal 07:47:55 drwxrwxr-x 2 jenkins jenkins 4096 May 30 07:40 simulator 07:47:55 -rw-rw-r-- 1 jenkins jenkins 229 May 30 07:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:55 + 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=13e477b7e225234a84aaaa3becdbd9ca8ce93d09 --label arch=arm64 --label version=3.2.0-dev.13 . 07:47:55 Sending build context to Docker daemon 9.009MB 07:47:55 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 07:47:55 Step 2/23 : FROM ${BASE} AS builder 07:47:55 ---> d2b0ffec2f29 07:47:55 Step 3/23 : ARG ADD_BUILD_TAGS="" 07:47:56 ---> Running in b6085d6b0f84 07:47:56 Removing intermediate container b6085d6b0f84 07:47:56 ---> a8182e3e48d0 07:47:56 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:47:56 ---> Running in b1ec2bdcb812 07:47:56 Removing intermediate container b1ec2bdcb812 07:47:56 ---> 2ad867f942c5 07:47:56 Step 5/23 : RUN apk add --update --no-cache make git openssh 07:47:57 ---> Running in 9fe8484c94a4 07:47:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:47:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:47:59 OK: 272 MiB in 60 packages 07:48:00 Removing intermediate container 9fe8484c94a4 07:48:00 ---> ce6271876a40 07:48:00 Step 6/23 : WORKDIR /device-modbus-go 07:48:00 ---> Running in b27a46cd70af 07:48:00 Removing intermediate container b27a46cd70af 07:48:00 ---> fdd7c1d17d84 07:48:00 Step 7/23 : COPY go.mod vendor* ./ 07:48:01 ---> e614636c2af3 07:48:01 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:48:01 ---> Running in e7604600a152 07:48:03 Removing intermediate container e7604600a152 07:48:03 ---> 8cc5cfc8bf29 07:48:03 Step 9/23 : COPY . . 07:48:04 ---> 330bf5b0dbb7 07:48:04 Step 10/23 : RUN ${MAKE} 07:48:04 ---> Running in 780d86cf05bf 07:48:05 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.13 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.16" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 07:51:42 Removing intermediate container 780d86cf05bf 07:51:42 ---> d0d8a2e5566e 07:51:42 Step 11/23 : FROM alpine:3.18 07:51:42 3.18: Pulling from library/alpine 07:51:42 c6b39de5b339: Already exists 07:51:42 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 07:51:42 Status: Downloaded newer image for alpine:3.18 07:51:42 ---> 33abbf032149 07:51:42 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:51:42 ---> Running in 4cacd3fd75a2 07:51:42 Removing intermediate container 4cacd3fd75a2 07:51:42 ---> 3e0d06eb344a 07:51:42 Step 13/23 : RUN apk add --update --no-cache dumb-init 07:51:42 ---> Running in 92e21cbdba6c 07:51:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:51:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:51:42 (1/1) Installing dumb-init (1.2.5-r2) 07:51:42 Executing busybox-1.36.1-r5.trigger 07:51:42 OK: 8 MiB in 16 packages 07:51:42 Removing intermediate container 92e21cbdba6c 07:51:42 ---> 2fa96642185e 07:51:42 Step 14/23 : RUN apk --no-cache upgrade 07:51:42 ---> Running in 741621c386fa 07:51:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:51:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:51:45 Upgrading critical system libraries and apk-tools: 07:51:45 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 07:51:45 Executing busybox-1.36.1-r5.trigger 07:51:45 Continuing the upgrade transaction with new apk-tools: 07:51:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:51:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:51:47 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 07:51:47 Executing busybox-1.36.1-r6.post-upgrade 07:51:47 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 07:51:47 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 07:51:47 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 07:51:47 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 07:51:47 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 07:51:47 Executing busybox-1.36.1-r6.trigger 07:51:47 OK: 8 MiB in 16 packages 07:51:48 Removing intermediate container 741621c386fa 07:51:48 ---> 4ab05f13fc0c 07:51:48 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 07:51:50 ---> ced2c765e89d 07:51:50 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 07:51:50 ---> 77f2afb069f4 07:51:50 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:51:51 ---> 716f2b8e1048 07:51:51 Step 18/23 : EXPOSE 59901 07:51:51 ---> Running in 068f633277b9 07:51:51 Removing intermediate container 068f633277b9 07:51:51 ---> b167db84a585 07:51:51 Step 19/23 : ENTRYPOINT ["/device-modbus"] 07:51:51 ---> Running in d4140401d16b 07:51:52 Removing intermediate container d4140401d16b 07:51:52 ---> 55d295def9e0 07:51:52 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:51:52 ---> Running in b812c7f17660 07:51:52 Removing intermediate container b812c7f17660 07:51:52 ---> f830c223e930 07:51:52 Step 21/23 : LABEL arch=arm64 07:51:52 ---> Running in c283e0e14695 07:51:52 Removing intermediate container c283e0e14695 07:51:52 ---> 88c0648f8331 07:51:52 Step 22/23 : LABEL git_sha=13e477b7e225234a84aaaa3becdbd9ca8ce93d09 07:51:53 ---> Running in 7035f8ae240b 07:51:53 Removing intermediate container 7035f8ae240b 07:51:53 ---> 39215a47c487 07:51:53 Step 23/23 : LABEL version=3.2.0-dev.13 07:51:53 ---> Running in 2ed514f61e20 07:51:53 Removing intermediate container 2ed514f61e20 07:51:53 ---> 065ba2a4ade5 07:51:53 [Warning] One or more build-args [ARCH] were not consumed 07:51:53 Successfully built 065ba2a4ade5 07:51:53 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 07:51:53 provisioning config files... 07:51:53 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/152@tmp/config16247843016913678759tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:51:54 ---> ****-login.sh 07:51:54 nexus3.edgexfoundry.org:10001 07:51:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:51:54 Configure a credential helper to remove this warning. See 07:51:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:51:54 07:51:54 Login Succeeded 07:51:54 nexus3.edgexfoundry.org:10002 07:51:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:51:54 Configure a credential helper to remove this warning. See 07:51:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:51:54 07:51:54 Login Succeeded 07:51:54 nexus3.edgexfoundry.org:10003 07:51:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:51:55 Configure a credential helper to remove this warning. See 07:51:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:51:55 07:51:55 Login Succeeded 07:51:55 nexus3.edgexfoundry.org:10004 07:51:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:51:55 Configure a credential helper to remove this warning. See 07:51:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:51:55 07:51:55 Login Succeeded 07:51:55 ****.io 07:51:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:51:56 Configure a credential helper to remove this warning. See 07:51:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:51:56 07:51:56 Login Succeeded 07:51:56 ---> ****-login.sh ends [Pipeline] } 07:51:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:51:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:51:56 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 07:51:56 13e477b7e225234a84aaaa3becdbd9ca8ce93d09 07:51:56 latest 07:51:56 3.2.0-dev.13 07:51:56 13e477b7e225234a84aaaa3becdbd9ca8ce93d09-3.2.0-dev.13 07:51:56 main 07:51:56 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:56 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:13e477b7e225234a84aaaa3becdbd9ca8ce93d09 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:57 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:13e477b7e225234a84aaaa3becdbd9ca8ce93d09 07:51:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:51:57 1dc343cf3e8f: Preparing 07:51:57 daa20dc2a5c5: Preparing 07:51:57 2dc5d1013c19: Preparing 07:51:57 a2af4dce70cf: Preparing 07:51:57 56f56d61e380: Preparing 07:51:57 7c504f21be85: Preparing 07:51:57 7c504f21be85: Waiting 07:51:57 daa20dc2a5c5: Pushed 07:51:57 56f56d61e380: Pushed 07:51:57 1dc343cf3e8f: Pushed 07:51:57 7c504f21be85: Layer already exists 07:51:59 a2af4dce70cf: Pushed 07:52:05 2dc5d1013c19: Pushed 07:52:05 13e477b7e225234a84aaaa3becdbd9ca8ce93d09: digest: sha256:81eefe7fc87984341fe0f53991a8678ebb604b343a62cac32c89185919b996b7 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:05 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:05 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 07:52:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:52:05 1dc343cf3e8f: Preparing 07:52:05 daa20dc2a5c5: Preparing 07:52:05 2dc5d1013c19: Preparing 07:52:05 a2af4dce70cf: Preparing 07:52:05 56f56d61e380: Preparing 07:52:05 7c504f21be85: Preparing 07:52:05 7c504f21be85: Waiting 07:52:05 1dc343cf3e8f: Layer already exists 07:52:05 daa20dc2a5c5: Layer already exists 07:52:05 56f56d61e380: Layer already exists 07:52:05 2dc5d1013c19: Layer already exists 07:52:05 a2af4dce70cf: Layer already exists 07:52:05 7c504f21be85: Layer already exists 07:52:06 latest: digest: sha256:81eefe7fc87984341fe0f53991a8678ebb604b343a62cac32c89185919b996b7 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:06 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:06 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.13 07:52:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:52:06 1dc343cf3e8f: Preparing 07:52:06 daa20dc2a5c5: Preparing 07:52:06 2dc5d1013c19: Preparing 07:52:06 a2af4dce70cf: Preparing 07:52:06 56f56d61e380: Preparing 07:52:06 7c504f21be85: Preparing 07:52:06 7c504f21be85: Waiting 07:52:06 56f56d61e380: Layer already exists 07:52:06 1dc343cf3e8f: Layer already exists 07:52:06 2dc5d1013c19: Layer already exists 07:52:06 daa20dc2a5c5: Layer already exists 07:52:06 a2af4dce70cf: Layer already exists 07:52:06 7c504f21be85: Layer already exists 07:52:06 3.2.0-dev.13: digest: sha256:81eefe7fc87984341fe0f53991a8678ebb604b343a62cac32c89185919b996b7 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:07 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:13e477b7e225234a84aaaa3becdbd9ca8ce93d09-3.2.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:07 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:13e477b7e225234a84aaaa3becdbd9ca8ce93d09-3.2.0-dev.13 07:52:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:52:07 1dc343cf3e8f: Preparing 07:52:07 daa20dc2a5c5: Preparing 07:52:07 2dc5d1013c19: Preparing 07:52:07 a2af4dce70cf: Preparing 07:52:07 56f56d61e380: Preparing 07:52:07 7c504f21be85: Preparing 07:52:07 7c504f21be85: Waiting 07:52:07 56f56d61e380: Layer already exists 07:52:07 daa20dc2a5c5: Layer already exists 07:52:07 2dc5d1013c19: Layer already exists 07:52:07 a2af4dce70cf: Layer already exists 07:52:07 1dc343cf3e8f: Layer already exists 07:52:07 7c504f21be85: Layer already exists 07:52:07 13e477b7e225234a84aaaa3becdbd9ca8ce93d09-3.2.0-dev.13: digest: sha256:81eefe7fc87984341fe0f53991a8678ebb604b343a62cac32c89185919b996b7 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:08 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:08 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 07:52:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:52:08 1dc343cf3e8f: Preparing 07:52:08 daa20dc2a5c5: Preparing 07:52:08 2dc5d1013c19: Preparing 07:52:08 a2af4dce70cf: Preparing 07:52:08 56f56d61e380: Preparing 07:52:08 7c504f21be85: Preparing 07:52:08 7c504f21be85: Waiting 07:52:08 a2af4dce70cf: Layer already exists 07:52:08 1dc343cf3e8f: Layer already exists 07:52:08 56f56d61e380: Layer already exists 07:52:08 2dc5d1013c19: Layer already exists 07:52:08 daa20dc2a5c5: Layer already exists 07:52:08 7c504f21be85: Layer already exists 07:52:08 main: digest: sha256:81eefe7fc87984341fe0f53991a8678ebb604b343a62cac32c89185919b996b7 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:52:09 ===================================================== [Pipeline] echo 07:52:09 taggedImages: 07:52:09 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:13e477b7e225234a84aaaa3becdbd9ca8ce93d09 07:52:09 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 07:52:09 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.13 07:52:09 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:13e477b7e225234a84aaaa3becdbd9ca8ce93d09-3.2.0-dev.13 07:52:09 - 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 07:52:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:52:09 07:52:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:52:09 arm64: Pulling from edgex-lftools-log-publisher 07:52:09 8998bd30e6a1: Pulling fs layer 07:52:09 04944245beec: Pulling fs layer 07:52:09 699f458cf7ca: Pulling fs layer 07:52:09 765212b225bb: Pulling fs layer 07:52:09 f23df028b6ca: Pulling fs layer 07:52:09 d65c8cfc05b1: Pulling fs layer 07:52:09 2437ff75d9bd: Pulling fs layer 07:52:09 f23df028b6ca: Waiting 07:52:09 d65c8cfc05b1: Waiting 07:52:09 2437ff75d9bd: Waiting 07:52:09 765212b225bb: Waiting 07:52:10 04944245beec: Verifying Checksum 07:52:10 04944245beec: Download complete 07:52:10 765212b225bb: Verifying Checksum 07:52:10 765212b225bb: Download complete 07:52:10 f23df028b6ca: Verifying Checksum 07:52:10 f23df028b6ca: Download complete 07:52:10 d65c8cfc05b1: Verifying Checksum 07:52:10 d65c8cfc05b1: Download complete 07:52:10 699f458cf7ca: Verifying Checksum 07:52:10 699f458cf7ca: Download complete 07:52:10 8998bd30e6a1: Verifying Checksum 07:52:10 8998bd30e6a1: Download complete 07:52:13 2437ff75d9bd: Verifying Checksum 07:52:13 2437ff75d9bd: Download complete 07:52:15 8998bd30e6a1: Pull complete 07:52:16 04944245beec: Pull complete 07:52:17 699f458cf7ca: Pull complete 07:52:17 765212b225bb: Pull complete 07:52:18 f23df028b6ca: Pull complete 07:52:18 d65c8cfc05b1: Pull complete 07:52:37 2437ff75d9bd: Pull complete 07:52:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:52:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:52:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:52:37 prd-ubuntu20.04-docker-arm64-4c-16g-1597 does not seem to be running inside a container 07:52:37 $ 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/152 -v /w/workspace/device-modbus-go/152:/w/workspace/device-modbus-go/152:rw,z -v /w/workspace/device-modbus-go/152@tmp:/w/workspace/device-modbus-go/152@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 07:52:39 $ docker top 6e0858e3db7a5885999fcdfa42cca68f9957c02314407ba00546186f51bd11f2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:52:40 ---> job-cost.sh 07:52:40 lf-activate-venv: SKIPPING 07:52:40 INFO: No Stack... 07:52:41 INFO: Retrieving Pricing Info for: v3-standard-4 07:52:41 INFO: Archiving Costs [Pipeline] sh 07:52:42 + cut -d, -f6+ 07:52:42 cat /w/workspace/device-modbus-go/152/archives/cost.csv [Pipeline] lock 07:52:42 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-152-stack-cost] 07:52:42 Resource [jenkins-edgexfoundry-device-modbus-go-main-152-stack-cost] did not exist. Created. 07:52:42 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-152-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:52:43 /w/workspace/device-modbus-go/152@tmp/durable-e96642d1/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:52:43 + echo total: 0.10999999940395355 [Pipeline] stash 07:52:43 Warning: overwriting stash ‘stack-cost’ 07:52:43 Stashed 1 file(s) [Pipeline] } 07:52:43 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-152-stack-cost] [Pipeline] // lock [Pipeline] } 07:52:43 $ docker stop --time=1 6e0858e3db7a5885999fcdfa42cca68f9957c02314407ba00546186f51bd11f2 07:52:45 $ docker rm -f --volumes 6e0858e3db7a5885999fcdfa42cca68f9957c02314407ba00546186f51bd11f2 [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 07:52:45 provisioning config files... 07:52:45 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2547749926996037225tmp [Pipeline] { [Pipeline] sh 07:52:46 + set +x 07:52:46 + curl -s https://codecov.io/bash 07:52:46 + bash -s -- 07:52:46 07:52:46 _____ _ 07:52:46 / ____| | | 07:52:46 | | ___ __| | ___ ___ _____ __ 07:52:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:52:46 | |___| (_) | (_| | __/ (_| (_) \ V / 07:52:46 \_____\___/ \__,_|\___|\___\___/ \_/ 07:52:46 Bash-1.0.6 07:52:46 07:52:46 07:52:46 ==> git version 2.25.1 found 07:52:46 ==> 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 07:52:46 Release-Date: 2020-01-08 07:52:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:52:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:52:46 ==> Jenkins CI detected. 07:52:46 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 07:52:46 project root: . 07:52:46 --> token set from env 07:52:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:52:46 ==> Running gcov in . (disable via -X gcov) 07:52:46 ==> Python coveragepy not found 07:52:46 ==> Searching for coverage reports in: 07:52:46 + . 07:52:46 -> Found 1 reports 07:52:46 ==> Detecting git/mercurial file structure 07:52:46 ==> Reading reports 07:52:46 + ./coverage.out bytes=24601 07:52:46 ==> Appending adjustments 07:52:46 https://docs.codecov.io/docs/fixing-reports 07:52:46 + Found adjustments 07:52:46 ==> Gzipping contents 07:52:46 4.0K /tmp/codecov.x72fME.gz 07:52:46 ==> Uploading reports 07:52:46 url: https://codecov.io 07:52:46 query: branch=main&commit=13e477b7e225234a84aaaa3becdbd9ca8ce93d09&build=152&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F152%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:52:46 -> Pinging Codecov 07:52:46 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=13e477b7e225234a84aaaa3becdbd9ca8ce93d09&build=152&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F152%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:52:46 -> Uploading to 07:52:46 https://storage.googleapis.com/codecov/v4/raw/2024-05-30/55DBCA73C666E3227836607328DD7E49/13e477b7e225234a84aaaa3becdbd9ca8ce93d09/4937e798-f114-406b-929d-4497f0f0ea53.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240530%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240530T075246Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c1f44cb989236d346fbd0d8b6997e30897996f6b15bc1a64ffe8f9c6965797bf 07:52:46 % Total % Received % Xferd Average Speed Time Time Time Current 07:52:46 Dload Upload Total Spent Left Speed 07:52:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 16423 --:--:-- --:--:-- --:--:-- 16353 07:52:46 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/13e477b7e225234a84aaaa3becdbd9ca8ce93d09 [Pipeline] } 07:52:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:52:46 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:52:46 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:52:47 07:52:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:52:47 latest: Pulling from edgex-devops/edgex-snyk-go 07:52:47 619be1103602: Already exists 07:52:47 f8ea3408117e: Pulling fs layer 07:52:47 91320369b822: Pulling fs layer 07:52:47 0406650e8295: Pulling fs layer 07:52:47 4f4fb700ef54: Pulling fs layer 07:52:47 96d80e3f36e1: Pulling fs layer 07:52:47 bcf3aedb951c: Pulling fs layer 07:52:47 4f4fb700ef54: Waiting 07:52:47 96d80e3f36e1: Waiting 07:52:47 bcf3aedb951c: Waiting 07:52:47 0406650e8295: Verifying Checksum 07:52:47 0406650e8295: Download complete 07:52:47 f8ea3408117e: Download complete 07:52:47 4f4fb700ef54: Download complete 07:52:47 f8ea3408117e: Pull complete 07:52:47 96d80e3f36e1: Verifying Checksum 07:52:47 96d80e3f36e1: Download complete 07:52:48 91320369b822: Verifying Checksum 07:52:48 91320369b822: Download complete 07:52:48 bcf3aedb951c: Verifying Checksum 07:52:48 bcf3aedb951c: Download complete 07:52:51 91320369b822: Pull complete 07:52:51 0406650e8295: Pull complete 07:52:51 4f4fb700ef54: Pull complete 07:52:51 96d80e3f36e1: Pull complete 07:52:55 bcf3aedb951c: Pull complete 07:52:55 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 07:52:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:52:55 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:52:55 prd-ubuntu20.04-docker-8c-8g-1596 does not seem to be running inside a container 07:52:55 $ 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:latest cat 07:53:02 $ docker top dc42019cb5022c8b7682180a4391917eebb1be9a726d1abb39791cb90fe14368 -eo pid,comm [Pipeline] { [Pipeline] sh 07:53:02 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] echo 07:53:02 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 07:53:03 + set -o pipefail 07:53:03 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 07:53:21 07:53:21 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 07:53:21 07:53:21 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/0a0805b9-8982-40eb-8dbc-845f1ef902a3/history/a2b4542c-8327-415e-963d-3f267a077bdf 07:53:21 07:53:21 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 07:53:21 07:53:21 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:53:21 07:53:21 07:53:21 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 07:53:21 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 07:53:21 $ docker stop --time=1 dc42019cb5022c8b7682180a4391917eebb1be9a726d1abb39791cb90fe14368 07:53:28 $ docker rm -f --volumes dc42019cb5022c8b7682180a4391917eebb1be9a726d1abb39791cb90fe14368 [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 07:53:29 + git log --format=format:%s -1 13e477b7e225234a84aaaa3becdbd9ca8ce93d09 [Pipeline] sh 07:53:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:53:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:53:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:53:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:53:30 prd-ubuntu20.04-docker-8c-8g-1596 does not seem to be running inside a container 07:53:30 $ 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 07:53:31 $ docker top 4c2d4bd27d1bf54ba0a41014b4325d2b643f7f9d3575ccd132325f66239bd5df -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:53:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:53:31 [ssh-agent] Looking for ssh-agent implementation... 07:53:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:53:31 $ docker exec 4c2d4bd27d1bf54ba0a41014b4325d2b643f7f9d3575ccd132325f66239bd5df ssh-agent 07:53:31 SSH_AUTH_SOCK=/tmp/ssh-UqCRNx4RZwpV/agent.33 07:53:31 SSH_AGENT_PID=39 07:53:31 Running ssh-add (command line suppressed) 07:53:31 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11430591909548165440.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11430591909548165440.key) 07:53:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:53:31 + git semver tag 07:53:32 2024-05-30 07:53:32,129 [run_tag] DEBUG tag force:False 07:53:32 2024-05-30 07:53:32,129 [check_head_tag] DEBUG check head tag 07:53:32 2024-05-30 07:53:32,130 [execute] INFO git cat-file --batch-check 07:53:32 2024-05-30 07:53:32,131 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 07:53:32 2024-05-30 07:53:32,134 [execute] INFO git cat-file --batch 07:53:32 2024-05-30 07:53:32,134 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 07:53:32 2024-05-30 07:53:32,155 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:53:32 2024-05-30 07:53:32,155 [execute] INFO git tag -a v3.2.0-dev.13 -m v3.2.0-dev.13 07:53:32 2024-05-30 07:53:32,155 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.13', '-m', 'v3.2.0-dev.13'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 07:53:32 2024-05-30 07:53:32,160 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:53:32 3.2.0-dev.13 [Pipeline] } 07:53:32 $ docker exec --env ******** --env ******** 4c2d4bd27d1bf54ba0a41014b4325d2b643f7f9d3575ccd132325f66239bd5df ssh-agent -k 07:53:32 unset SSH_AUTH_SOCK; 07:53:32 unset SSH_AGENT_PID; 07:53:32 echo Agent pid 39 killed; 07:53:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:53:32 + git semver [Pipeline] } 07:53:32 $ docker stop --time=1 4c2d4bd27d1bf54ba0a41014b4325d2b643f7f9d3575ccd132325f66239bd5df 07:53:34 $ docker rm -f --volumes 4c2d4bd27d1bf54ba0a41014b4325d2b643f7f9d3575ccd132325f66239bd5df [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:53:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:53:34 07:53:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:53:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:53:34 0.23.1-centos7: Pulling from edgex-lftools 07:53:34 ab5ef0e58194: Pulling fs layer 07:53:34 9712f1f96733: Pulling fs layer 07:53:34 63f879dbbcfc: Pulling fs layer 07:53:34 0d9ebad4ef96: Pulling fs layer 07:53:34 e9a5061849ea: Pulling fs layer 07:53:34 d747dcd14b5f: Pulling fs layer 07:53:34 2de7ff778b66: Pulling fs layer 07:53:34 0d9ebad4ef96: Waiting 07:53:34 e9a5061849ea: Waiting 07:53:34 d747dcd14b5f: Waiting 07:53:34 2de7ff778b66: Waiting 07:53:34 9712f1f96733: Download complete 07:53:35 63f879dbbcfc: Verifying Checksum 07:53:35 63f879dbbcfc: Download complete 07:53:35 e9a5061849ea: Verifying Checksum 07:53:35 e9a5061849ea: Download complete 07:53:35 d747dcd14b5f: Verifying Checksum 07:53:35 d747dcd14b5f: Download complete 07:53:35 ab5ef0e58194: Verifying Checksum 07:53:35 ab5ef0e58194: Download complete 07:53:35 0d9ebad4ef96: Verifying Checksum 07:53:35 2de7ff778b66: Verifying Checksum 07:53:35 2de7ff778b66: Download complete 07:53:38 ab5ef0e58194: Pull complete 07:53:38 9712f1f96733: Pull complete 07:53:39 63f879dbbcfc: Pull complete 07:53:43 0d9ebad4ef96: Pull complete 07:53:43 e9a5061849ea: Pull complete 07:53:44 d747dcd14b5f: Pull complete 07:53:44 2de7ff778b66: Pull complete 07:53:44 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:53:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:53:44 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:53:45 prd-ubuntu20.04-docker-8c-8g-1596 does not seem to be running inside a container 07:53:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 07:53:55 $ docker top 42461b838604c64f3f5b8c90c53c166c3cb0020dd2b83672ea4b5bde73cd6150 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:53:55 provisioning config files... 07:53:55 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11051728511337359006tmp 07:53:55 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7056963322114372730tmp 07:53:55 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12648905602295492353tmp [Pipeline] { [Pipeline] echo 07:53:55 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:53:55 ---> sigul-configuration.sh 07:53:55 gpg: directory `/root/.gnupg' created 07:53:55 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:53:55 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:53:55 gpg: keyring `/root/.gnupg/secring.gpg' created 07:53:55 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:53:55 gpg: CAST5 encrypted data 07:53:55 gpg: encrypted with 1 passphrase 07:53:55 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:53:56 + mkdir /home/jenkins 07:53:56 + mkdir /home/jenkins/sigul [Pipeline] sh 07:53:56 + 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 07:53:56 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:53:56 ---> sigul-install.sh 07:53:56 Sigul already installed; skipping installation. [Pipeline] sh 07:53:57 + git tag --list 07:53:57 0.7.1 07:53:57 v1.0.0 07:53:57 v1.1.0 07:53:57 v1.1.1 07:53:57 v1.2.2 07:53:57 v1.3.0 07:53:57 v1.3.1 07:53:57 v2.0.0 07:53:57 v2.1.0 07:53:57 v2.1.1 07:53:57 v2.2.0 07:53:57 v2.3.0 07:53:57 v3.0 07:53:57 v3.0.0 07:53:57 v3.1 07:53:57 v3.1.0 07:53:57 v3.1.0-dev.1 07:53:57 v3.1.0-dev.10 07:53:57 v3.1.0-dev.11 07:53:57 v3.1.0-dev.12 07:53:57 v3.1.0-dev.13 07:53:57 v3.1.0-dev.14 07:53:57 v3.1.0-dev.15 07:53:57 v3.1.0-dev.16 07:53:57 v3.1.0-dev.17 07:53:57 v3.1.0-dev.18 07:53:57 v3.1.0-dev.19 07:53:57 v3.1.0-dev.2 07:53:57 v3.1.0-dev.20 07:53:57 v3.1.0-dev.21 07:53:57 v3.1.0-dev.22 07:53:57 v3.1.0-dev.23 07:53:57 v3.1.0-dev.24 07:53:57 v3.1.0-dev.25 07:53:57 v3.1.0-dev.3 07:53:57 v3.1.0-dev.4 07:53:57 v3.1.0-dev.5 07:53:57 v3.1.0-dev.6 07:53:57 v3.1.0-dev.7 07:53:57 v3.1.0-dev.8 07:53:57 v3.1.0-dev.9 07:53:57 v3.1.1 07:53:57 v3.1.1-dev.1 07:53:57 v3.2.0-dev.1 07:53:57 v3.2.0-dev.10 07:53:57 v3.2.0-dev.11 07:53:57 v3.2.0-dev.12 07:53:57 v3.2.0-dev.13 07:53:57 v3.2.0-dev.2 07:53:57 v3.2.0-dev.3 07:53:57 v3.2.0-dev.4 07:53:57 v3.2.0-dev.5 07:53:57 v3.2.0-dev.6 07:53:57 v3.2.0-dev.7 07:53:57 v3.2.0-dev.8 07:53:57 v3.2.0-dev.9 [Pipeline] sh 07:53:57 + lftools sign git-tag v3.2.0-dev.13 07:53:57 Signing Git tag with Sigul... 07:53:57 Signing v3.2.0-dev.13 [Pipeline] echo 07:53:58 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:53:58 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:53:58 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:53:58 $ docker stop --time=1 42461b838604c64f3f5b8c90c53c166c3cb0020dd2b83672ea4b5bde73cd6150 07:54:00 $ docker rm -f --volumes 42461b838604c64f3f5b8c90c53c166c3cb0020dd2b83672ea4b5bde73cd6150 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:54:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:54:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:54:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:54:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:54:00 prd-ubuntu20.04-docker-8c-8g-1596 does not seem to be running inside a container 07:54:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:54:01 $ docker top 04f3728555574f7fea7c251bba10fe3d76da9289463fbf69cd01dd7c62e1be40 -eo pid,comm 07:54:01 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). 07:54:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:54:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:54:01 [ssh-agent] Looking for ssh-agent implementation... 07:54:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:54:01 $ docker exec 04f3728555574f7fea7c251bba10fe3d76da9289463fbf69cd01dd7c62e1be40 ssh-agent 07:54:01 SSH_AUTH_SOCK=/tmp/ssh-rhvzr3D1Yhhq/agent.30 07:54:01 SSH_AGENT_PID=36 07:54:01 Running ssh-add (command line suppressed) 07:54:01 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7526357294835116759.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7526357294835116759.key) 07:54:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:54:02 + git semver bump pre 07:54:02 2024-05-30 07:54:02,327 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:54:02 2024-05-30 07:54:02,327 [bump_version] DEBUG bumping version:3.2.0-dev.13 on axis:pre with prefix:dev 07:54:02 2024-05-30 07:54:02,327 [bump_version] DEBUG bumped version:3.2.0-dev.14 07:54:02 2024-05-30 07:54:02,328 [write_version] DEBUG write version:3.2.0-dev.14 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 07:54:02 2024-05-30 07:54:02,328 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:54:02 2024-05-30 07:54:02,328 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:54:02 2024-05-30 07:54:02,329 [execute] INFO git cat-file --batch-check 07:54:02 2024-05-30 07:54:02,330 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:54:02 2024-05-30 07:54:02,335 [execute] INFO git cat-file --batch 07:54:02 2024-05-30 07:54:02,335 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:54:02 2024-05-30 07:54:02,340 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:54:02 3.2.0-dev.14 [Pipeline] } 07:54:02 $ docker exec --env ******** --env ******** 04f3728555574f7fea7c251bba10fe3d76da9289463fbf69cd01dd7c62e1be40 ssh-agent -k 07:54:02 unset SSH_AUTH_SOCK; 07:54:02 unset SSH_AGENT_PID; 07:54:02 echo Agent pid 36 killed; 07:54:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:54:02 + git semver [Pipeline] } 07:54:03 $ docker stop --time=1 04f3728555574f7fea7c251bba10fe3d76da9289463fbf69cd01dd7c62e1be40 07:54:04 $ docker rm -f --volumes 04f3728555574f7fea7c251bba10fe3d76da9289463fbf69cd01dd7c62e1be40 [Pipeline] // withDockerContainer [Pipeline] sh 07:54:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:54:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:54:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:54:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:54:05 prd-ubuntu20.04-docker-8c-8g-1596 does not seem to be running inside a container 07:54:05 $ 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 07:54:05 $ docker top d34241b4e99faf134dcf4a107104003ec328bbe2cf2248945f04d6ab0187108d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:54:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:54:05 [ssh-agent] Looking for ssh-agent implementation... 07:54:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:54:05 $ docker exec d34241b4e99faf134dcf4a107104003ec328bbe2cf2248945f04d6ab0187108d ssh-agent 07:54:05 SSH_AUTH_SOCK=/tmp/ssh-lSb1E1f89UVB/agent.31 07:54:05 SSH_AGENT_PID=37 07:54:05 Running ssh-add (command line suppressed) 07:54:06 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11012687013003303591.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11012687013003303591.key) 07:54:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:54:06 + git semver push 07:54:06 2024-05-30 07:54:06,579 [run_push] DEBUG push 07:54:06 2024-05-30 07:54:06,580 [execute] INFO git cat-file --batch-check 07:54:06 2024-05-30 07:54:06,580 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:54:06 2024-05-30 07:54:06,585 [execute] INFO git rev-list 035b45374632b66fd96a0308207d4a0d601b29a7 -- 07:54:06 2024-05-30 07:54:06,585 [execute] DEBUG Popen(['git', 'rev-list', '035b45374632b66fd96a0308207d4a0d601b29a7', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:54:06 2024-05-30 07:54:06,596 [execute] INFO git fetch -v origin 07:54:06 2024-05-30 07:54:06,596 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 07:54:07 2024-05-30 07:54:07,043 [run_push] DEBUG no remote changes detected 07:54:07 2024-05-30 07:54:07,043 [execute] INFO git push origin semver 07:54:07 2024-05-30 07:54:07,044 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:54:08 2024-05-30 07:54:07,808 [run_push] DEBUG push all version tags 07:54:08 2024-05-30 07:54:07,809 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:54:08 2024-05-30 07:54:07,810 [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) 07:54:08 2024-05-30 07:54:08,490 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:54:08 3.2.0-dev.14 [Pipeline] } 07:54:08 $ docker exec --env ******** --env ******** d34241b4e99faf134dcf4a107104003ec328bbe2cf2248945f04d6ab0187108d ssh-agent -k 07:54:08 unset SSH_AUTH_SOCK; 07:54:08 unset SSH_AGENT_PID; 07:54:08 echo Agent pid 37 killed; 07:54:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:54:09 + git semver [Pipeline] } 07:54:09 $ docker stop --time=1 d34241b4e99faf134dcf4a107104003ec328bbe2cf2248945f04d6ab0187108d 07:54:10 $ docker rm -f --volumes d34241b4e99faf134dcf4a107104003ec328bbe2cf2248945f04d6ab0187108d [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 07:54:11 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 07:54:11 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 07:54:11 total 16 07:54:11 drwxr-xr-x 3 root root 4096 May 30 07:40 . 07:54:11 drwxrwxr-x 10 jenkins jenkins 4096 May 30 07:53 .. 07:54:11 drwxr-xr-x 2 root root 4096 May 30 07:40 cost 07:54:11 -rw-r--r-- 1 root root 88 May 30 07:40 cost.csv 07:54:11 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 07:54:11 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 07:54:11 total 16 07:54:11 drwxr-xr-x 3 jenkins jenkins 4096 May 30 07:40 . 07:54:11 drwxrwxr-x 10 jenkins jenkins 4096 May 30 07:53 .. 07:54:11 drwxr-xr-x 2 jenkins jenkins 4096 May 30 07:40 cost 07:54:11 -rw-r--r-- 1 jenkins jenkins 88 May 30 07:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:54:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:54:12 ---> package-listing.sh 07:54:12 ++ facter osfamily 07:54:12 ++ tr '[:upper:]' '[:lower:]' 07:54:12 + OS_FAMILY=debian 07:54:12 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 07:54:12 + START_PACKAGES=/tmp/packages_start.txt 07:54:12 + END_PACKAGES=/tmp/packages_end.txt 07:54:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:54:12 + PACKAGES=/tmp/packages_start.txt 07:54:12 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 07:54:12 + PACKAGES=/tmp/packages_end.txt 07:54:12 + case "${OS_FAMILY}" in 07:54:12 + dpkg -l 07:54:12 + grep '^ii' 07:54:12 + '[' -f /tmp/packages_start.txt ']' 07:54:12 + '[' -f /tmp/packages_end.txt ']' 07:54:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:54:12 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 07:54:12 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 07:54:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 07:54:12 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 07:54:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:54:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:54:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:54:13 prd-ubuntu20.04-docker-8c-8g-1596 does not seem to be running inside a container 07:54:13 $ 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 07:54:14 $ docker top 3dbdc7fb8117a601d1804fee484ace519e4c8a3ab51bd5dbbefdeab1c58e51c4 -eo pid,comm [Pipeline] { [Pipeline] sh 07:54:14 + touch /tmp/pre-build-complete [Pipeline] sh 07:54:14 + mkdir -p /var/log/sysstat [Pipeline] sh 07:54:14 + ls /var/log/sa-host 07:54:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:54:15 provisioning config files... 07:54:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config18114547489543577082tmp [Pipeline] { [Pipeline] echo 07:54:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:54:15 ---> create-netrc.sh [Pipeline] } 07:54:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:54:15 ---> python-tools-install.sh [Pipeline] echo 07:54:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:54:16 ---> sudo-logs.sh 07:54:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:54:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:54:16 ---> job-cost.sh 07:54:16 lf-activate-venv: SKIPPING 07:54:16 DEBUG: total: 0.2199999988079071 07:54:16 INFO: Retrieving Stack Cost... 07:54:16 INFO: Retrieving Pricing Info for: v3-standard-8 07:54:17 INFO: Archiving Costs [Pipeline] echo 07:54:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:54:17 ---> logs-deploy.sh 07:54:17 lf-activate-venv: SKIPPING 07:54:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/152 07:54:17 INFO: archiving workspace using pattern(s): 07:54:18 Archives upload complete. 07:54:18 INFO: archiving logs to Nexus