Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1de0282aab08a6d55b74fb4abc8455e116b4ab4b 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-ssh10688509715373377863.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh6354564574946892074.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh13263882589919524038.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > 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-ssh17972436482527058071.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-ssh5739479361998842813.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.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-38909 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 1de0282aab08a6d55b74fb4abc8455e116b4ab4b (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 1de0282aab08a6d55b74fb4abc8455e116b4ab4b # timeout=10 Commit message: "Merge pull request #615 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.24" > git rev-list --no-walk 3ffb09239547e5bfb998c0889f5d3f26b6a509f8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:39:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:39:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:39:41 ========================================================= 23:39:41 EdgeX Global Pipelines Version Info 23:39:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:39:42 ------------------- 23:39:42 stable info: 23:39:42 ------------------- 23:39:42 Commited By: Cherry Wang cherry@iotechsys.com 23:39:42 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 23:39:42 Message: update stable to v1.0.269 23:39:42 ------------------- 23:39:42 experimental info: 23:39:42 ------------------- 23:39:42 Commited By: **** collab-it+edgex@linuxfoundation.org 23:39:42 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 23:39:42 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:39:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 23:39:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 23:39:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:39:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:39:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:39:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 23:39:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:39:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:39:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:39:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:39:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:39:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 23:39:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:39:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:39:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:39:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:39:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:39:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:39:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:39:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:39:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:39:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:39:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:39:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:39:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:39:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:39:43 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:39:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 23:39:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 23:39:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 23:39:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1de0282aab08a6d55b74fb4abc8455e116b4ab4b [Pipeline] echo 23:39:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1de0282 [Pipeline] echo 23:39:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:39:43 provisioning config files... 23:39:43 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16488125323476520525tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:39:44 ---> ****-login.sh 23:39:44 nexus3.edgexfoundry.org:10001 23:39:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:39:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:39:44 Configure a credential helper to remove this warning. See 23:39:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:39:44 23:39:44 Login Succeeded 23:39:44 nexus3.edgexfoundry.org:10002 23:39:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:39:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:39:44 Configure a credential helper to remove this warning. See 23:39:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:39:44 23:39:44 Login Succeeded 23:39:44 nexus3.edgexfoundry.org:10003 23:39:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:39:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:39:44 Configure a credential helper to remove this warning. See 23:39:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:39:44 23:39:44 Login Succeeded 23:39:44 nexus3.edgexfoundry.org:10004 23:39:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:39:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:39:44 Configure a credential helper to remove this warning. See 23:39:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:39:44 23:39:44 Login Succeeded 23:39:44 ****.io 23:39:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:39:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:39:45 Configure a credential helper to remove this warning. See 23:39:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:39:45 23:39:45 Login Succeeded 23:39:45 ---> ****-login.sh ends [Pipeline] } 23:39:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:39:45 + git rev-list -1 --merges 1de0282aab08a6d55b74fb4abc8455e116b4ab4b~1..1de0282aab08a6d55b74fb4abc8455e116b4ab4b [Pipeline] echo 23:39:45 -----------> git rev-list -1 --merges 1de0282aab08a6d55b74fb4abc8455e116b4ab4b~1..1de0282aab08a6d55b74fb4abc8455e116b4ab4b 1de0282aab08a6d55b74fb4abc8455e116b4ab4b 23:39:45 1de0282aab08a6d55b74fb4abc8455e116b4ab4b [false] [Pipeline] sh 23:39:45 + git log --format=format:%s -1 1de0282aab08a6d55b74fb4abc8455e116b4ab4b [Pipeline] echo 23:39:45 ========================================================= 23:39:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:39:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:39:46 + git log --format=format:%s -1 1de0282aab08a6d55b74fb4abc8455e116b4ab4b [Pipeline] echo 23:39:46 [semverPrep] GIT_COMMIT: 1de0282aab08a6d55b74fb4abc8455e116b4ab4b, Commit Message: Merge pull request #615 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.24 [Pipeline] echo 23:39:46 [semverPrep] This is not a build commit. [Pipeline] sh 23:39:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:39:46 + grep -v github /etc/ssh/ssh_known_hosts 23:39:46 + [ -e /tmp/ssh_known_hosts ] 23:39:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:39:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:39:46 + sudo tee -a /etc/ssh/ssh_known_hosts 23:39:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:39:47 23:39:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:39:47 0.1.4: Pulling from edgex-devops/py-git-semver 23:39:47 b85a868b505f: Pulling fs layer 23:39:47 e2be974225ed: Pulling fs layer 23:39:47 339a4e72a1f5: Pulling fs layer 23:39:47 988bab9f4d93: Pulling fs layer 23:39:47 1469e6f7b9e6: Pulling fs layer 23:39:47 eaf3925da568: Pulling fs layer 23:39:47 bab4dde63d76: Pulling fs layer 23:39:47 bde34c3a00c8: Pulling fs layer 23:39:47 b352a97aabf1: Pulling fs layer 23:39:47 4872d77fe225: Pulling fs layer 23:39:47 5851b861e8e6: Pulling fs layer 23:39:47 988bab9f4d93: Waiting 23:39:47 1469e6f7b9e6: Waiting 23:39:47 eaf3925da568: Waiting 23:39:47 bab4dde63d76: Waiting 23:39:47 bde34c3a00c8: Waiting 23:39:47 b352a97aabf1: Waiting 23:39:47 4872d77fe225: Waiting 23:39:47 5851b861e8e6: Waiting 23:39:47 e2be974225ed: Verifying Checksum 23:39:47 e2be974225ed: Download complete 23:39:47 988bab9f4d93: Download complete 23:39:47 1469e6f7b9e6: Verifying Checksum 23:39:47 1469e6f7b9e6: Download complete 23:39:47 eaf3925da568: Download complete 23:39:47 339a4e72a1f5: Verifying Checksum 23:39:47 339a4e72a1f5: Download complete 23:39:47 bde34c3a00c8: Verifying Checksum 23:39:47 bde34c3a00c8: Download complete 23:39:47 b352a97aabf1: Download complete 23:39:47 4872d77fe225: Verifying Checksum 23:39:47 4872d77fe225: Download complete 23:39:47 5851b861e8e6: Verifying Checksum 23:39:47 5851b861e8e6: Download complete 23:39:47 b85a868b505f: Verifying Checksum 23:39:47 b85a868b505f: Download complete 23:39:47 bab4dde63d76: Verifying Checksum 23:39:48 b85a868b505f: Pull complete 23:39:48 e2be974225ed: Pull complete 23:39:49 339a4e72a1f5: Pull complete 23:39:49 988bab9f4d93: Pull complete 23:39:49 1469e6f7b9e6: Pull complete 23:39:49 eaf3925da568: Pull complete 23:39:51 bab4dde63d76: Pull complete 23:39:51 bde34c3a00c8: Pull complete 23:39:51 b352a97aabf1: Pull complete 23:39:51 4872d77fe225: Pull complete 23:39:51 5851b861e8e6: Pull complete 23:39:51 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:39:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:39:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:39:56 prd-ubuntu20.04-docker-8c-8g-38909 does not seem to be running inside a container 23:39:56 $ 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 23:39:58 $ docker top 92e7eeef680246ad574b797790ceeaaaeaef5fc7438a750a102ae856a12d6f48 -eo pid,comm 23:39:58 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). 23:39:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:39:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:39:58 [ssh-agent] Looking for ssh-agent implementation... 23:39:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:39:58 $ docker exec 92e7eeef680246ad574b797790ceeaaaeaef5fc7438a750a102ae856a12d6f48 ssh-agent 23:39:58 SSH_AUTH_SOCK=/tmp/ssh-WKuZf7Q92gMB/agent.32 23:39:58 SSH_AGENT_PID=38 23:39:59 Running ssh-add (command line suppressed) 23:39:59 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_832763625465020331.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_832763625465020331.key) 23:39:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:39:59 + git tag --points-at HEAD [Pipeline] } 23:39:59 $ docker exec --env ******** --env ******** 92e7eeef680246ad574b797790ceeaaaeaef5fc7438a750a102ae856a12d6f48 ssh-agent -k 23:39:59 unset SSH_AUTH_SOCK; 23:39:59 unset SSH_AGENT_PID; 23:39:59 echo Agent pid 38 killed; 23:39:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:39:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:39:59 [ssh-agent] Looking for ssh-agent implementation... 23:39:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:39:59 $ docker exec 92e7eeef680246ad574b797790ceeaaaeaef5fc7438a750a102ae856a12d6f48 ssh-agent 23:39:59 SSH_AUTH_SOCK=/tmp/ssh-HW5uI5BV8cPu/agent.71 23:39:59 SSH_AGENT_PID=77 23:39:59 Running ssh-add (command line suppressed) 23:39:59 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7489575135291826747.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7489575135291826747.key) 23:39:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:40:00 + git semver init 23:40:00 2025-02-13 23:40:00,399 [run_init] DEBUG init version:0.0.0 force:False 23:40:00 2025-02-13 23:40:00,400 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 23:40:00 2025-02-13 23:40:00,401 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 23:40:00 2025-02-13 23:40:00,402 [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) 23:40:01 2025-02-13 23:40:01,406 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 23:40:01 2025-02-13 23:40:01,406 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 23:40:01 2025-02-13 23:40:01,406 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 23:40:01 2025-02-13 23:40:01,407 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 23:40:01 4.0.0-dev.15 [Pipeline] } 23:40:01 $ docker exec --env ******** --env ******** 92e7eeef680246ad574b797790ceeaaaeaef5fc7438a750a102ae856a12d6f48 ssh-agent -k 23:40:01 unset SSH_AUTH_SOCK; 23:40:01 unset SSH_AGENT_PID; 23:40:01 echo Agent pid 77 killed; 23:40:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:40:02 + git semver [Pipeline] } 23:40:02 $ docker stop --time=1 92e7eeef680246ad574b797790ceeaaaeaef5fc7438a750a102ae856a12d6f48 23:40:03 $ docker rm -f --volumes 92e7eeef680246ad574b797790ceeaaaeaef5fc7438a750a102ae856a12d6f48 [Pipeline] // withDockerContainer [Pipeline] sh 23:40:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:40:04 Stashed 1 file(s) [Pipeline] echo 23:40:04 [edgeXSemver]: initialized semver on version 4.0.0-dev.15 [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 23:40:04 provisioning config files... 23:40:04 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13397348694230146714tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:40:05 ---> ****-login.sh 23:40:05 nexus3.edgexfoundry.org:10001 23:40:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:40:05 Configure a credential helper to remove this warning. See 23:40:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:40:05 23:40:05 Login Succeeded 23:40:05 nexus3.edgexfoundry.org:10002 23:40:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:40:05 Configure a credential helper to remove this warning. See 23:40:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:40:05 23:40:05 Login Succeeded 23:40:05 nexus3.edgexfoundry.org:10003 23:40:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:40:05 Configure a credential helper to remove this warning. See 23:40:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:40:05 23:40:05 Login Succeeded 23:40:05 nexus3.edgexfoundry.org:10004 23:40:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:40:05 Configure a credential helper to remove this warning. See 23:40:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:40:05 23:40:05 Login Succeeded 23:40:05 ****.io 23:40:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:40:05 Configure a credential helper to remove this warning. See 23:40:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:40:05 23:40:05 Login Succeeded 23:40:05 ---> ****-login.sh ends [Pipeline] } 23:40:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:40:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:40:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:40:05 ========================================================= 23:40:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 23:40:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:40:06 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 23:40:06 Sending build context to Docker daemon 18.24MB 23:40:06 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 23:40:06 Step 2/10 : FROM ${BASE} AS builder 23:40:06 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 23:40:06 da9db072f522: Pulling fs layer 23:40:06 6ef4a4ee8ca5: Pulling fs layer 23:40:06 06f05ace1117: Pulling fs layer 23:40:06 5fe327b54edc: Pulling fs layer 23:40:06 4f4fb700ef54: Pulling fs layer 23:40:06 92a5565b7b96: Pulling fs layer 23:40:06 ff9bb7016b71: Pulling fs layer 23:40:06 b67dba6c2c7d: Pulling fs layer 23:40:06 a813b0c90790: Pulling fs layer 23:40:06 92a5565b7b96: Waiting 23:40:06 5fe327b54edc: Waiting 23:40:06 4f4fb700ef54: Waiting 23:40:06 ff9bb7016b71: Waiting 23:40:06 b67dba6c2c7d: Waiting 23:40:06 a813b0c90790: Waiting 23:40:06 6ef4a4ee8ca5: Verifying Checksum 23:40:06 6ef4a4ee8ca5: Download complete 23:40:06 5fe327b54edc: Verifying Checksum 23:40:06 5fe327b54edc: Download complete 23:40:06 4f4fb700ef54: Verifying Checksum 23:40:06 4f4fb700ef54: Download complete 23:40:06 da9db072f522: Download complete 23:40:06 92a5565b7b96: Verifying Checksum 23:40:06 92a5565b7b96: Download complete 23:40:06 ff9bb7016b71: Verifying Checksum 23:40:06 ff9bb7016b71: Download complete 23:40:06 da9db072f522: Pull complete 23:40:06 a813b0c90790: Verifying Checksum 23:40:06 a813b0c90790: Download complete 23:40:06 6ef4a4ee8ca5: Pull complete 23:40:06 06f05ace1117: Verifying Checksum 23:40:06 06f05ace1117: Download complete 23:40:07 b67dba6c2c7d: Verifying Checksum 23:40:07 b67dba6c2c7d: Download complete 23:40:10 06f05ace1117: Pull complete 23:40:10 5fe327b54edc: Pull complete 23:40:10 4f4fb700ef54: Pull complete 23:40:10 92a5565b7b96: Pull complete 23:40:10 ff9bb7016b71: Pull complete 23:40:13 b67dba6c2c7d: Pull complete 23:40:13 a813b0c90790: Pull complete 23:40:13 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 23:40:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 23:40:13 ---> 3ba60ce46760 23:40:13 Step 3/10 : ARG ADD_BUILD_TAGS="" 23:40:15 ---> Running in 4c3a334e0662 23:40:15 Removing intermediate container 4c3a334e0662 23:40:15 ---> bfe1abd9a98d 23:40:15 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:40:15 ---> Running in 16d795daf141 23:40:15 Removing intermediate container 16d795daf141 23:40:15 ---> 91c7d6379ffd 23:40:15 Step 5/10 : RUN apk add --update --no-cache make git openssh 23:40:15 ---> Running in 963344a205c2 23:40:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 23:40:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 23:40:16 (1/8) Installing openssh-keygen (9.7_p1-r4) 23:40:16 (2/8) Installing libedit (20240517.3.1-r0) 23:40:16 (3/8) Installing openssh-client-common (9.7_p1-r4) 23:40:16 (4/8) Installing openssh-client-default (9.7_p1-r4) 23:40:16 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 23:40:16 (6/8) Installing openssh-server-common (9.7_p1-r4) 23:40:16 (7/8) Installing openssh-server (9.7_p1-r4) 23:40:16 (8/8) Installing openssh (9.7_p1-r4) 23:40:16 Executing busybox-1.36.1-r29.trigger 23:40:16 OK: 253 MiB in 66 packages 23:40:17 Removing intermediate container 963344a205c2 23:40:17 ---> 70d98d4203e8 23:40:17 Step 6/10 : WORKDIR /device-modbus-go 23:40:17 ---> Running in b997f27a4929 23:40:17 Removing intermediate container b997f27a4929 23:40:17 ---> 56fecf680cff 23:40:17 Step 7/10 : COPY go.mod vendor* ./ 23:40:17 ---> e81672432e80 23:40:17 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:40:17 ---> Running in 7b2d932ae748 23:40:19 Still waiting to schedule task 23:40:19 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:40:56 Removing intermediate container 7b2d932ae748 23:40:56 ---> 9f65fbe27b43 23:40:56 Step 9/10 : COPY . . 23:40:56 ---> 3863d448a69d 23:40:56 Step 10/10 : RUN ${MAKE} 23:40:56 ---> Running in b40cca3c835c 23:40:56 noop 23:40:56 Removing intermediate container b40cca3c835c 23:40:56 ---> a5760a888eb3 23:40:56 Successfully built a5760a888eb3 23:40:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:40:56 + docker inspect -f . ci-base-image-x86_64 23:40:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:40:56 prd-ubuntu20.04-docker-8c-8g-38909 does not seem to be running inside a container 23:40:56 $ 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 23:40:57 $ docker top 5ee20d3acedf1810fe4d98755a4fd1505fde9d4ee9d6b980923c048bda24ec59 -eo pid,comm [Pipeline] { [Pipeline] sh 23:40:57 + go version 23:40:57 go version go1.23.4 linux/amd64 [Pipeline] } 23:40:57 $ docker stop --time=1 5ee20d3acedf1810fe4d98755a4fd1505fde9d4ee9d6b980923c048bda24ec59 23:40:58 $ docker rm -f --volumes 5ee20d3acedf1810fe4d98755a4fd1505fde9d4ee9d6b980923c048bda24ec59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:40:59 + docker inspect -f . ci-base-image-x86_64 23:40:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:40:59 prd-ubuntu20.04-docker-8c-8g-38909 does not seem to be running inside a container 23:40:59 $ 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 23:40:59 $ docker top a73c32e126106cf51095422c9312812cc33a95c291d3270427f37c5956c05d33 -eo pid,comm [Pipeline] { [Pipeline] sh 23:41:00 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 23:41:00 + make test 23:41:00 go test ./... -coverprofile=coverage.out 23:41:01 ? github.com/edgexfoundry/device-modbus-go [no test files] 23:41:19 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 23:41:19 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.008s coverage: 45.7% of statements 23:41:32 go vet ./... 23:41:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:41:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:41:38 ./bin/test-attribution-txt.sh [Pipeline] echo 23:41:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 23:41:38 $ docker stop --time=1 a73c32e126106cf51095422c9312812cc33a95c291d3270427f37c5956c05d33 23:41:41 $ docker rm -f --volumes a73c32e126106cf51095422c9312812cc33a95c291d3270427f37c5956c05d33 [Pipeline] // withDockerContainer [Pipeline] sh 23:41:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:41:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:41:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:41:42 + ls -al . 23:41:42 total 260 23:41:42 drwxrwxr-x 9 jenkins jenkins 4096 Feb 13 23:41 . 23:41:42 drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 23:39 .. 23:41:42 -rw-rw-r-- 1 jenkins jenkins 140 Feb 13 23:39 .dockerignore 23:41:42 drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 23:41 .git 23:41:42 drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 23:39 .github 23:41:42 -rw-rw-r-- 1 jenkins jenkins 266 Feb 13 23:39 .gitignore 23:41:42 -rw-rw-r-- 1 jenkins jenkins 199 Feb 13 23:39 .golangci.yml 23:41:42 drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 23:40 .semver 23:41:42 -rw-rw-r-- 1 jenkins jenkins 19818 Feb 13 23:39 Attribution.txt 23:41:42 -rw-rw-r-- 1 jenkins jenkins 16388 Feb 13 23:39 CHANGELOG.md 23:41:42 -rw-rw-r-- 1 jenkins jenkins 1479 Feb 13 23:39 Dockerfile 23:41:42 -rw-rw-r-- 1 jenkins jenkins 677 Feb 13 23:39 GOVERNANCE.md 23:41:42 -rw-rw-r-- 1 jenkins jenkins 658 Feb 13 23:39 Jenkinsfile 23:41:42 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 13 23:39 LICENSE 23:41:42 -rw-rw-r-- 1 jenkins jenkins 2524 Feb 13 23:39 Makefile 23:41:42 -rw-rw-r-- 1 jenkins jenkins 622 Feb 13 23:39 OWNERS.md 23:41:42 -rw-rw-r-- 1 jenkins jenkins 4463 Feb 13 23:39 README.md 23:41:42 -rw-rw-r-- 1 jenkins jenkins 12 Feb 13 23:40 VERSION 23:41:42 drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 23:39 bin 23:41:42 drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 23:39 cmd 23:41:42 -rw-r--r-- 1 jenkins jenkins 26779 Feb 13 23:41 coverage.out 23:41:42 -rw-rw-r-- 1 jenkins jenkins 6342 Feb 13 23:39 go.mod 23:41:42 -rw-rw-r-- 1 jenkins jenkins 86968 Feb 13 23:39 go.sum 23:41:42 drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 23:39 internal 23:41:42 drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 23:39 simulator 23:41:42 -rw-rw-r-- 1 jenkins jenkins 229 Feb 13 23:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:41:43 + 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=1de0282aab08a6d55b74fb4abc8455e116b4ab4b --label arch=amd64 --label version=4.0.0-dev.15 . 23:41:43 Sending build context to Docker daemon 18.27MB 23:41:43 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 23:41:43 Step 2/23 : FROM ${BASE} AS builder 23:41:43 ---> a5760a888eb3 23:41:43 Step 3/23 : ARG ADD_BUILD_TAGS="" 23:41:43 ---> Running in c90a85830d8e 23:41:43 Removing intermediate container c90a85830d8e 23:41:43 ---> bb5d92401d3a 23:41:43 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:41:43 ---> Running in 8a77a0fb615c 23:41:43 Removing intermediate container 8a77a0fb615c 23:41:43 ---> 7c23d2d13dc7 23:41:43 Step 5/23 : RUN apk add --update --no-cache make git openssh 23:41:43 ---> Running in 5ae338d95e84 23:41:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 23:41:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 23:41:44 OK: 253 MiB in 66 packages 23:41:44 Removing intermediate container 5ae338d95e84 23:41:44 ---> 42a1ab879295 23:41:44 Step 6/23 : WORKDIR /device-modbus-go 23:41:44 ---> Running in d9983b30e4f1 23:41:44 Removing intermediate container d9983b30e4f1 23:41:44 ---> 04c9b5e20a63 23:41:44 Step 7/23 : COPY go.mod vendor* ./ 23:41:45 ---> 85d8e3bade61 23:41:45 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:41:45 ---> Running in 09582f46f80d 23:41:45 Removing intermediate container 09582f46f80d 23:41:45 ---> 03850cb24084 23:41:45 Step 9/23 : COPY . . 23:41:46 ---> 795b0a55f2a8 23:41:46 Step 10/23 : RUN ${MAKE} 23:41:46 ---> Running in 4eb63bab42db 23:41:46 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=4.0.0-dev.15 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.24 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 23:41:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-38910 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 23:41:55 Running in /w/workspace/device-modbus-go/180 [Pipeline] { [Pipeline] checkout 23:41:55 The recommended git tool is: git 23:42:01 using credential edgex-jenkins-ssh 23:42:01 Cloning the remote Git repository 23:42:01 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 23:42:02 > git init /w/workspace/device-modbus-go/180 # timeout=10 23:42:02 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 23:42:02 > git --version # timeout=10 23:42:02 > git --version # 'git version 2.25.1' 23:42:02 using GIT_SSH to set credentials SSH Credentials for GitHub 23:42:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:42:05 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 23:42:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:42:07 Avoid second fetch 23:42:07 Checking out Revision 1de0282aab08a6d55b74fb4abc8455e116b4ab4b (main) 23:42:07 > git config core.sparsecheckout # timeout=10 23:42:07 > git checkout -f 1de0282aab08a6d55b74fb4abc8455e116b4ab4b # timeout=10 23:42:07 Commit message: "Merge pull request #615 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.24" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:42:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:42:12 % Total % Received % Xferd Average Speed Time Time Time Current 23:42:12 Dload Upload Total Spent Left Speed 23:42:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 93635 0 --:--:-- --:--:-- --:--:-- 94323 [Pipeline] sh 23:42:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:42:13 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:42:13 + sudo tee /etc/docker/daemon.new 23:42:13 { 23:42:13 "registry-mirrors": [ 23:42:13 "https://nexus3.edgexfoundry.org:10001" 23:42:13 ], 23:42:13 "bip": "10.250.0.254/24", 23:42:13 "hosts": [ 23:42:13 "tcp://0.0.0.0:5555", 23:42:13 "unix:///var/run/docker.sock" 23:42:13 ], 23:42:13 "mtu": 1458, 23:42:13 "selinux-enabled": true, 23:42:13 "seccomp-profile": "/etc/docker/seccomp.json" 23:42:13 } [Pipeline] sh 23:42:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:42:14 + sudo service docker restart 23:42:18 Removing intermediate container 4eb63bab42db 23:42:18 ---> c3bce779a68f 23:42:18 Step 11/23 : FROM alpine:3.20 23:42:18 3.20: Pulling from library/alpine 23:42:18 66a3d608f3fa: Pulling fs layer 23:42:18 66a3d608f3fa: Download complete 23:42:18 66a3d608f3fa: Pull complete 23:42:18 Digest: sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 23:42:18 Status: Downloaded newer image for alpine:3.20 23:42:18 ---> e29df9b510ff 23:42:18 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 23:42:18 ---> Running in 2f695998f1df 23:42:18 Removing intermediate container 2f695998f1df 23:42:18 ---> 3885369d2a87 23:42:18 Step 13/23 : RUN apk add --update --no-cache dumb-init 23:42:18 ---> Running in c10a0f70c2b2 23:42:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 23:42:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 23:42:18 (1/1) Installing dumb-init (1.2.5-r3) 23:42:18 Executing busybox-1.36.1-r29.trigger 23:42:18 OK: 8 MiB in 15 packages 23:42:18 Removing intermediate container c10a0f70c2b2 23:42:18 ---> 6a449f2a9076 23:42:18 Step 14/23 : RUN apk --no-cache upgrade 23:42:18 ---> Running in aaa068a42213 23:42:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 23:42:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 23:42:18 (1/4) Upgrading musl (1.2.5-r0 -> 1.2.5-r1) 23:42:18 (2/4) Upgrading libcrypto3 (3.3.2-r1 -> 3.3.3-r0) 23:42:18 (3/4) Upgrading libssl3 (3.3.2-r1 -> 3.3.3-r0) 23:42:18 (4/4) Upgrading musl-utils (1.2.5-r0 -> 1.2.5-r1) 23:42:18 Executing busybox-1.36.1-r29.trigger 23:42:18 OK: 8 MiB in 15 packages 23:42:18 Removing intermediate container aaa068a42213 23:42:18 ---> c6be7765bf63 23:42:18 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 23:42:18 ---> d8e380f231f3 23:42:18 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 23:42:18 ---> 933d5318c440 23:42:18 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 23:42:18 ---> 8f767d8d40e8 23:42:18 Step 18/23 : EXPOSE 59901 23:42:18 ---> Running in f2f762b81af8 23:42:18 Removing intermediate container f2f762b81af8 23:42:18 ---> dc1589a07396 23:42:18 Step 19/23 : ENTRYPOINT ["/device-modbus"] 23:42:18 ---> Running in c0cc55a47fa8 23:42:18 Removing intermediate container c0cc55a47fa8 23:42:18 ---> 4a3f439178c5 23:42:18 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 23:42:18 ---> Running in 2bf94046fabf 23:42:18 Removing intermediate container 2bf94046fabf 23:42:18 ---> bd6486e64610 23:42:18 Step 21/23 : LABEL arch=amd64 23:42:18 ---> Running in 57a06f4f2821 23:42:18 Removing intermediate container 57a06f4f2821 23:42:18 ---> 5f5d8d98c5bc 23:42:18 Step 22/23 : LABEL git_sha=1de0282aab08a6d55b74fb4abc8455e116b4ab4b 23:42:19 ---> Running in 5aa827ec2edc 23:42:19 Removing intermediate container 5aa827ec2edc 23:42:19 ---> 655cd8314c09 23:42:19 Step 23/23 : LABEL version=4.0.0-dev.15 23:42:19 ---> Running in 5d443134c233 23:42:19 Removing intermediate container 5d443134c233 23:42:19 ---> b4297f58d075 23:42:19 [Warning] One or more build-args [ARCH] were not consumed 23:42:19 Successfully built b4297f58d075 23:42:19 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:42:19 provisioning config files... 23:42:19 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2508661390808336358tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:42:19 ---> ****-login.sh 23:42:19 nexus3.edgexfoundry.org:10001 23:42:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:42:19 Configure a credential helper to remove this warning. See 23:42:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:42:19 23:42:19 Login Succeeded 23:42:19 nexus3.edgexfoundry.org:10002 23:42:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:42:19 Configure a credential helper to remove this warning. See 23:42:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:42:19 23:42:19 Login Succeeded 23:42:19 nexus3.edgexfoundry.org:10003 23:42:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:42:20 Configure a credential helper to remove this warning. See 23:42:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:42:20 23:42:20 Login Succeeded 23:42:20 nexus3.edgexfoundry.org:10004 23:42:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:42:20 Configure a credential helper to remove this warning. See 23:42:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:42:20 23:42:20 Login Succeeded 23:42:20 ****.io 23:42:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:42:20 Configure a credential helper to remove this warning. See 23:42:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:42:20 23:42:20 Login Succeeded 23:42:20 ---> ****-login.sh ends [Pipeline] } 23:42:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:42:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:42:20 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 23:42:20 1de0282aab08a6d55b74fb4abc8455e116b4ab4b 23:42:20 latest 23:42:20 4.0.0-dev.15 23:42:20 1de0282aab08a6d55b74fb4abc8455e116b4ab4b-4.0.0-dev.15 23:42:20 main 23:42:20 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:20 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:1de0282aab08a6d55b74fb4abc8455e116b4ab4b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:21 + docker push nexus3.edgexfoundry.org:10004/device-modbus:1de0282aab08a6d55b74fb4abc8455e116b4ab4b 23:42:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 23:42:21 087ab246cff9: Preparing 23:42:21 c40b529e31b0: Preparing 23:42:21 03ad5417861d: Preparing 23:42:21 a23237494d8e: Preparing 23:42:21 a103ccec8557: Preparing 23:42:21 ce5a8cde9eee: Preparing 23:42:21 ce5a8cde9eee: Waiting 23:42:21 087ab246cff9: Pushed 23:42:21 a103ccec8557: Pushed 23:42:21 c40b529e31b0: Pushed 23:42:21 ce5a8cde9eee: Layer already exists 23:42:21 a23237494d8e: Pushed 23:42:24 03ad5417861d: Pushed 23:42:24 1de0282aab08a6d55b74fb4abc8455e116b4ab4b: digest: sha256:585419efeac5f2147ca0d0cc40ef00248a8057007c2a4a5fea3fe4e37d98a6e2 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:24 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:24 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 23:42:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 23:42:24 087ab246cff9: Preparing 23:42:24 c40b529e31b0: Preparing 23:42:24 03ad5417861d: Preparing 23:42:24 a23237494d8e: Preparing 23:42:24 a103ccec8557: Preparing 23:42:24 ce5a8cde9eee: Preparing 23:42:24 ce5a8cde9eee: Waiting 23:42:24 03ad5417861d: Layer already exists 23:42:24 a23237494d8e: Layer already exists 23:42:24 087ab246cff9: Layer already exists 23:42:24 a103ccec8557: Layer already exists 23:42:24 c40b529e31b0: Layer already exists 23:42:24 ce5a8cde9eee: Layer already exists 23:42:24 latest: digest: sha256:585419efeac5f2147ca0d0cc40ef00248a8057007c2a4a5fea3fe4e37d98a6e2 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:25 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:25 + docker push nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.15 23:42:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 23:42:25 087ab246cff9: Preparing 23:42:25 c40b529e31b0: Preparing 23:42:25 03ad5417861d: Preparing 23:42:25 a23237494d8e: Preparing 23:42:25 a103ccec8557: Preparing 23:42:25 ce5a8cde9eee: Preparing 23:42:25 ce5a8cde9eee: Waiting 23:42:25 a103ccec8557: Layer already exists 23:42:25 087ab246cff9: Layer already exists 23:42:25 a23237494d8e: Layer already exists 23:42:25 c40b529e31b0: Layer already exists 23:42:25 03ad5417861d: Layer already exists 23:42:25 ce5a8cde9eee: Layer already exists 23:42:25 4.0.0-dev.15: digest: sha256:585419efeac5f2147ca0d0cc40ef00248a8057007c2a4a5fea3fe4e37d98a6e2 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:25 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:1de0282aab08a6d55b74fb4abc8455e116b4ab4b-4.0.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:26 + docker push nexus3.edgexfoundry.org:10004/device-modbus:1de0282aab08a6d55b74fb4abc8455e116b4ab4b-4.0.0-dev.15 23:42:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 23:42:26 087ab246cff9: Preparing 23:42:26 c40b529e31b0: Preparing 23:42:26 03ad5417861d: Preparing 23:42:26 a23237494d8e: Preparing 23:42:26 a103ccec8557: Preparing 23:42:26 ce5a8cde9eee: Preparing 23:42:26 ce5a8cde9eee: Waiting 23:42:26 a23237494d8e: Layer already exists 23:42:26 087ab246cff9: Layer already exists 23:42:26 03ad5417861d: Layer already exists 23:42:26 c40b529e31b0: Layer already exists 23:42:26 a103ccec8557: Layer already exists 23:42:26 ce5a8cde9eee: Layer already exists 23:42:26 1de0282aab08a6d55b74fb4abc8455e116b4ab4b-4.0.0-dev.15: digest: sha256:585419efeac5f2147ca0d0cc40ef00248a8057007c2a4a5fea3fe4e37d98a6e2 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:26 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:26 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 23:42:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 23:42:26 087ab246cff9: Preparing 23:42:26 c40b529e31b0: Preparing 23:42:26 03ad5417861d: Preparing 23:42:26 a23237494d8e: Preparing 23:42:26 a103ccec8557: Preparing 23:42:26 ce5a8cde9eee: Preparing 23:42:26 ce5a8cde9eee: Waiting 23:42:26 087ab246cff9: Layer already exists 23:42:26 03ad5417861d: Layer already exists 23:42:26 a103ccec8557: Layer already exists 23:42:26 c40b529e31b0: Layer already exists 23:42:26 a23237494d8e: Layer already exists 23:42:26 ce5a8cde9eee: Layer already exists 23:42:26 main: digest: sha256:585419efeac5f2147ca0d0cc40ef00248a8057007c2a4a5fea3fe4e37d98a6e2 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:42:26 ===================================================== [Pipeline] echo 23:42:26 taggedImages: 23:42:26 - nexus3.edgexfoundry.org:10004/device-modbus:1de0282aab08a6d55b74fb4abc8455e116b4ab4b 23:42:26 - nexus3.edgexfoundry.org:10004/device-modbus:latest 23:42:26 - nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.15 23:42:26 - nexus3.edgexfoundry.org:10004/device-modbus:1de0282aab08a6d55b74fb4abc8455e116b4ab4b-4.0.0-dev.15 23:42:26 - 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 23:42:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:42:27 23:42:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:42:27 latest: Pulling from edgex-lftools-log-publisher 23:42:27 5eb5b503b376: Pulling fs layer 23:42:27 5c69ac0246d0: Pulling fs layer 23:42:27 ec43610c2a17: Pulling fs layer 23:42:27 3a2ae6a8a46f: Pulling fs layer 23:42:27 33b1e0a273af: Pulling fs layer 23:42:27 5d3b04190fa2: Pulling fs layer 23:42:27 2f39f015ded8: Pulling fs layer 23:42:27 33b1e0a273af: Waiting 23:42:27 2f39f015ded8: Waiting 23:42:27 5d3b04190fa2: Waiting 23:42:27 3a2ae6a8a46f: Waiting 23:42:27 5c69ac0246d0: Verifying Checksum 23:42:27 5c69ac0246d0: Download complete 23:42:27 3a2ae6a8a46f: Verifying Checksum 23:42:27 3a2ae6a8a46f: Download complete 23:42:27 33b1e0a273af: Verifying Checksum 23:42:27 33b1e0a273af: Download complete 23:42:27 5d3b04190fa2: Download complete 23:42:27 ec43610c2a17: Verifying Checksum 23:42:27 ec43610c2a17: Download complete 23:42:27 5eb5b503b376: Verifying Checksum 23:42:27 5eb5b503b376: Download complete 23:42:28 2f39f015ded8: Verifying Checksum 23:42:28 2f39f015ded8: Download complete 23:42:29 5eb5b503b376: Pull complete 23:42:29 5c69ac0246d0: Pull complete 23:42:29 ec43610c2a17: Pull complete 23:42:29 3a2ae6a8a46f: Pull complete 23:42:29 33b1e0a273af: Pull complete 23:42:30 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:42:32 provisioning config files... 23:42:32 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/180@tmp/config11969026767346322477tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:42:33 ---> ****-login.sh 23:42:33 nexus3.edgexfoundry.org:10001 23:42:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:42:33 Configure a credential helper to remove this warning. See 23:42:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:42:33 23:42:33 Login Succeeded 23:42:33 nexus3.edgexfoundry.org:10002 23:42:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:42:34 Configure a credential helper to remove this warning. See 23:42:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:42:34 23:42:34 Login Succeeded 23:42:34 nexus3.edgexfoundry.org:10003 23:42:34 2f39f015ded8: Pull complete 23:42:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:42:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:42:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:42:34 prd-ubuntu20.04-docker-8c-8g-38909 does not seem to be running inside a container 23:42:34 $ 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 23:42:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:42:34 Configure a credential helper to remove this warning. See 23:42:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:42:34 23:42:34 Login Succeeded 23:42:34 nexus3.edgexfoundry.org:10004 23:42:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:42:34 Configure a credential helper to remove this warning. See 23:42:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:42:34 23:42:34 Login Succeeded 23:42:34 ****.io 23:42:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:42:35 Configure a credential helper to remove this warning. See 23:42:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:42:35 23:42:35 Login Succeeded 23:42:35 ---> ****-login.sh ends 23:42:36 $ docker top 34ea1bd8dc3552fdd308a39a37d2ff0d1021f9dd570ecfa7368ca12ac29e9c8b -eo pid,comm [Pipeline] { [Pipeline] } 23:42:36 Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 23:42:37 ---> job-cost.sh 23:42:37 lf-activate-venv: SKIPPING 23:42:37 INFO: No Stack... [Pipeline] echo 23:42:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:42:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:42:37 ========================================================= 23:42:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 23:42:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:37 INFO: Retrieving Pricing Info for: v3-standard-8 23:42:37 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 23:42:37 INFO: Archiving Costs [Pipeline] sh 23:42:37 Sending build context to Docker daemon 9.271MB 23:42:37 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 23:42:37 Step 2/10 : FROM ${BASE} AS builder 23:42:37 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 23:42:37 + cut -d, -f6 [Pipeline] lock 23:42:37 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-180-stack-cost] 23:42:37 Resource [jenkins-edgexfoundry-device-modbus-go-main-180-stack-cost] did not exist. Created. 23:42:37 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-180-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:42:37 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:42:37 9986a736f7d3: Pulling fs layer 23:42:37 1f018df60701: Pulling fs layer 23:42:37 39f8f326b044: Pulling fs layer 23:42:37 e6a1e7a6a96a: Pulling fs layer 23:42:37 4f4fb700ef54: Pulling fs layer 23:42:37 d45d956e0dbf: Pulling fs layer 23:42:37 d7702b0d1db1: Pulling fs layer 23:42:37 5c7f0f088c93: Pulling fs layer 23:42:37 4fdc064ae6cf: Pulling fs layer 23:42:37 d45d956e0dbf: Waiting 23:42:37 d7702b0d1db1: Waiting 23:42:37 5c7f0f088c93: Waiting 23:42:37 4fdc064ae6cf: Waiting 23:42:37 e6a1e7a6a96a: Waiting 23:42:37 4f4fb700ef54: Waiting 23:42:37 1f018df60701: Verifying Checksum 23:42:37 1f018df60701: Download complete 23:42:37 e6a1e7a6a96a: Verifying Checksum 23:42:37 e6a1e7a6a96a: Download complete 23:42:37 4f4fb700ef54: Verifying Checksum 23:42:37 4f4fb700ef54: Download complete 23:42:37 d45d956e0dbf: Verifying Checksum 23:42:37 d45d956e0dbf: Download complete 23:42:38 + echo total: 0.2199999988079071 [Pipeline] stash 23:42:38 Stashed 1 file(s) [Pipeline] } 23:42:38 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-180-stack-cost] [Pipeline] // lock [Pipeline] } 23:42:38 $ docker stop --time=1 34ea1bd8dc3552fdd308a39a37d2ff0d1021f9dd570ecfa7368ca12ac29e9c8b 23:42:38 9986a736f7d3: Download complete 23:42:38 d7702b0d1db1: Verifying Checksum 23:42:38 d7702b0d1db1: Download complete 23:42:38 4fdc064ae6cf: Verifying Checksum 23:42:38 4fdc064ae6cf: Download complete 23:42:39 9986a736f7d3: Pull complete 23:42:39 $ docker rm -f --volumes 34ea1bd8dc3552fdd308a39a37d2ff0d1021f9dd570ecfa7368ca12ac29e9c8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:42:39 1f018df60701: Pull complete 23:42:39 39f8f326b044: Verifying Checksum 23:42:39 39f8f326b044: Download complete 23:42:40 5c7f0f088c93: Verifying Checksum 23:42:40 5c7f0f088c93: Download complete 23:42:55 39f8f326b044: Pull complete 23:42:55 e6a1e7a6a96a: Pull complete 23:42:55 4f4fb700ef54: Pull complete 23:42:55 d45d956e0dbf: Pull complete 23:42:55 d7702b0d1db1: Pull complete 23:43:02 5c7f0f088c93: Pull complete 23:43:04 4fdc064ae6cf: Pull complete 23:43:04 Digest: sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 23:43:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 23:43:04 ---> 63f30b955cb9 23:43:04 Step 3/10 : ARG ADD_BUILD_TAGS="" 23:43:04 ---> Running in 8692fc73253d 23:43:05 Removing intermediate container 8692fc73253d 23:43:05 ---> 7ca090816dad 23:43:05 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:43:05 ---> Running in b50ff3f6536b 23:43:05 Removing intermediate container b50ff3f6536b 23:43:05 ---> 15eed7fb57d4 23:43:05 Step 5/10 : RUN apk add --update --no-cache make git openssh 23:43:05 ---> Running in 1dbb34009a21 23:43:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 23:43:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 23:43:08 (1/8) Installing openssh-keygen (9.7_p1-r4) 23:43:08 (2/8) Installing libedit (20240517.3.1-r0) 23:43:08 (3/8) Installing openssh-client-common (9.7_p1-r4) 23:43:08 (4/8) Installing openssh-client-default (9.7_p1-r4) 23:43:08 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 23:43:08 (6/8) Installing openssh-server-common (9.7_p1-r4) 23:43:08 (7/8) Installing openssh-server (9.7_p1-r4) 23:43:08 (8/8) Installing openssh (9.7_p1-r4) 23:43:08 Executing busybox-1.36.1-r29.trigger 23:43:08 OK: 245 MiB in 66 packages 23:43:09 Removing intermediate container 1dbb34009a21 23:43:09 ---> bcea50d22a4f 23:43:09 Step 6/10 : WORKDIR /device-modbus-go 23:43:09 ---> Running in 6986fc30e284 23:43:09 Removing intermediate container 6986fc30e284 23:43:09 ---> 72bab6134e98 23:43:09 Step 7/10 : COPY go.mod vendor* ./ 23:43:10 ---> 623422c0a90f 23:43:10 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:43:10 ---> Running in ff386fc2d75a 23:44:47 Removing intermediate container ff386fc2d75a 23:44:47 ---> 57097f6ebd30 23:44:47 Step 9/10 : COPY . . 23:44:47 ---> 888a3fa3b658 23:44:47 Step 10/10 : RUN ${MAKE} 23:44:47 ---> Running in 90d49cd11996 23:44:47 noop 23:44:47 Removing intermediate container 90d49cd11996 23:44:47 ---> c1e449e66e9a 23:44:47 Successfully built c1e449e66e9a 23:44:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:44:47 + docker inspect -f . ci-base-image-arm64 23:44:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:44:47 prd-ubuntu20.04-docker-arm64-4c-16g-38910 does not seem to be running inside a container 23:44:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/180 -v /w/workspace/device-modbus-go/180:/w/workspace/device-modbus-go/180:rw,z -v /w/workspace/device-modbus-go/180@tmp:/w/workspace/device-modbus-go/180@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 23:44:49 $ docker top 0cb685093d0e903dc9613150608e1a35ce5dc30536b6b8f4e5913a28dc493df0 -eo pid,comm [Pipeline] { [Pipeline] sh 23:44:50 + go version 23:44:50 go version go1.23.4 linux/arm64 [Pipeline] } 23:44:50 $ docker stop --time=1 0cb685093d0e903dc9613150608e1a35ce5dc30536b6b8f4e5913a28dc493df0 23:44:52 $ docker rm -f --volumes 0cb685093d0e903dc9613150608e1a35ce5dc30536b6b8f4e5913a28dc493df0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:44:53 + docker inspect -f . ci-base-image-arm64 23:44:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:44:53 prd-ubuntu20.04-docker-arm64-4c-16g-38910 does not seem to be running inside a container 23:44:53 $ 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/180 -v /w/workspace/device-modbus-go/180:/w/workspace/device-modbus-go/180:rw,z -v /w/workspace/device-modbus-go/180@tmp:/w/workspace/device-modbus-go/180@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 23:44:55 $ docker top 5fd0b2ec2ae3c646b7a9ab2b63ddd35bf1a83ea0f143a7e908ad058fb277ddcc -eo pid,comm [Pipeline] { [Pipeline] sh 23:44:55 + git config --global --add safe.directory /w/workspace/device-modbus-go/180 [Pipeline] fileExists [Pipeline] sh 23:44:56 + make test 23:44:56 go test ./... -coverprofile=coverage.out 23:45:02 ? github.com/edgexfoundry/device-modbus-go [no test files] 23:48:23 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 23:48:23 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.056s coverage: 45.7% of statements 23:48:23 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:48:23 go vet ./... 23:49:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:49:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:49:20 ./bin/test-attribution-txt.sh [Pipeline] echo 23:49:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 23:49:20 $ docker stop --time=1 5fd0b2ec2ae3c646b7a9ab2b63ddd35bf1a83ea0f143a7e908ad058fb277ddcc 23:49:22 $ docker rm -f --volumes 5fd0b2ec2ae3c646b7a9ab2b63ddd35bf1a83ea0f143a7e908ad058fb277ddcc [Pipeline] // withDockerContainer [Pipeline] sh 23:49:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:49:24 Warning: overwriting stash ‘coverage-report’ 23:49:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:49:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:49:25 + ls -al . 23:49:25 total 256 23:49:25 drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 23:45 . 23:49:25 drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 23:42 .. 23:49:25 -rw-rw-r-- 1 jenkins jenkins 140 Feb 13 23:42 .dockerignore 23:49:25 drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 23:42 .git 23:49:25 drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 23:42 .github 23:49:25 -rw-rw-r-- 1 jenkins jenkins 266 Feb 13 23:42 .gitignore 23:49:25 -rw-rw-r-- 1 jenkins jenkins 199 Feb 13 23:42 .golangci.yml 23:49:25 -rw-rw-r-- 1 jenkins jenkins 19818 Feb 13 23:42 Attribution.txt 23:49:25 -rw-rw-r-- 1 jenkins jenkins 16388 Feb 13 23:42 CHANGELOG.md 23:49:25 -rw-rw-r-- 1 jenkins jenkins 1479 Feb 13 23:42 Dockerfile 23:49:25 -rw-rw-r-- 1 jenkins jenkins 677 Feb 13 23:42 GOVERNANCE.md 23:49:25 -rw-rw-r-- 1 jenkins jenkins 658 Feb 13 23:42 Jenkinsfile 23:49:25 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 13 23:42 LICENSE 23:49:25 -rw-rw-r-- 1 jenkins jenkins 2524 Feb 13 23:42 Makefile 23:49:25 -rw-rw-r-- 1 jenkins jenkins 622 Feb 13 23:42 OWNERS.md 23:49:25 -rw-rw-r-- 1 jenkins jenkins 4463 Feb 13 23:42 README.md 23:49:25 -rw-rw-r-- 1 jenkins jenkins 12 Feb 13 23:40 VERSION 23:49:25 drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 23:42 bin 23:49:25 drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 23:42 cmd 23:49:25 -rw-r--r-- 1 jenkins jenkins 26779 Feb 13 23:48 coverage.out 23:49:25 -rw-rw-r-- 1 jenkins jenkins 6342 Feb 13 23:42 go.mod 23:49:25 -rw-rw-r-- 1 jenkins jenkins 86968 Feb 13 23:42 go.sum 23:49:25 drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 23:42 internal 23:49:25 drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 23:42 simulator 23:49:25 -rw-rw-r-- 1 jenkins jenkins 229 Feb 13 23:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:49:25 + 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=1de0282aab08a6d55b74fb4abc8455e116b4ab4b --label arch=arm64 --label version=4.0.0-dev.15 . 23:49:26 Sending build context to Docker daemon 9.298MB 23:49:26 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 23:49:26 Step 2/23 : FROM ${BASE} AS builder 23:49:26 ---> c1e449e66e9a 23:49:26 Step 3/23 : ARG ADD_BUILD_TAGS="" 23:49:26 ---> Running in c6ed1f55b735 23:49:27 Removing intermediate container c6ed1f55b735 23:49:27 ---> 406c4af2381a 23:49:27 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:49:27 ---> Running in 6202491f4afc 23:49:27 Removing intermediate container 6202491f4afc 23:49:27 ---> b8eb7e2ca53c 23:49:27 Step 5/23 : RUN apk add --update --no-cache make git openssh 23:49:27 ---> Running in 7a674a047660 23:49:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 23:49:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 23:49:30 OK: 245 MiB in 66 packages 23:49:31 Removing intermediate container 7a674a047660 23:49:31 ---> 91ee813678c0 23:49:31 Step 6/23 : WORKDIR /device-modbus-go 23:49:31 ---> Running in 0d7c5ea87515 23:49:32 Removing intermediate container 0d7c5ea87515 23:49:32 ---> 479b30e98a5a 23:49:32 Step 7/23 : COPY go.mod vendor* ./ 23:49:32 ---> 9ae6a57dba7b 23:49:32 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:49:32 ---> Running in 32cdcbdd9656 23:49:35 Removing intermediate container 32cdcbdd9656 23:49:35 ---> 81f0e021c784 23:49:35 Step 9/23 : COPY . . 23:49:36 ---> 7938fb462d90 23:49:36 Step 10/23 : RUN ${MAKE} 23:49:36 ---> Running in c17ce23f3bcb 23:49:37 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=4.0.0-dev.15 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.24 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 23:53:29 Removing intermediate container c17ce23f3bcb 23:53:29 ---> d9550913570a 23:53:29 Step 11/23 : FROM alpine:3.20 23:53:29 3.20: Pulling from library/alpine 23:53:29 0152682790bb: Pulling fs layer 23:53:29 0152682790bb: Verifying Checksum 23:53:29 0152682790bb: Download complete 23:53:29 0152682790bb: Pull complete 23:53:29 Digest: sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 23:53:29 Status: Downloaded newer image for alpine:3.20 23:53:29 ---> f4194d9e8c10 23:53:29 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 23:53:29 ---> Running in 74492ef5e978 23:53:29 Removing intermediate container 74492ef5e978 23:53:29 ---> c214d69a8337 23:53:29 Step 13/23 : RUN apk add --update --no-cache dumb-init 23:53:29 ---> Running in fd17c4d7d74d 23:53:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 23:53:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 23:53:29 (1/1) Installing dumb-init (1.2.5-r3) 23:53:29 Executing busybox-1.36.1-r29.trigger 23:53:29 OK: 9 MiB in 15 packages 23:53:29 Removing intermediate container fd17c4d7d74d 23:53:29 ---> 811b5deeea46 23:53:29 Step 14/23 : RUN apk --no-cache upgrade 23:53:29 ---> Running in 3f33816776d9 23:53:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 23:53:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 23:53:29 (1/4) Upgrading musl (1.2.5-r0 -> 1.2.5-r1) 23:53:29 (2/4) Upgrading libcrypto3 (3.3.2-r1 -> 3.3.3-r0) 23:53:29 (3/4) Upgrading libssl3 (3.3.2-r1 -> 3.3.3-r0) 23:53:29 (4/4) Upgrading musl-utils (1.2.5-r0 -> 1.2.5-r1) 23:53:29 Executing busybox-1.36.1-r29.trigger 23:53:29 OK: 9 MiB in 15 packages 23:53:29 Removing intermediate container 3f33816776d9 23:53:29 ---> cb1e78c97d16 23:53:29 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 23:53:30 ---> 95ca681a2480 23:53:30 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 23:53:31 ---> ff3806a2e770 23:53:31 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 23:53:31 ---> 540aa21ffb7e 23:53:31 Step 18/23 : EXPOSE 59901 23:53:31 ---> Running in 812a9f52954e 23:53:32 Removing intermediate container 812a9f52954e 23:53:32 ---> 166ef1053f0d 23:53:32 Step 19/23 : ENTRYPOINT ["/device-modbus"] 23:53:32 ---> Running in 7efb14c6aa8a 23:53:32 Removing intermediate container 7efb14c6aa8a 23:53:32 ---> f3c941dbc249 23:53:32 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 23:53:32 ---> Running in f0539f625aaa 23:53:32 Removing intermediate container f0539f625aaa 23:53:32 ---> b4558bf130cb 23:53:32 Step 21/23 : LABEL arch=arm64 23:53:33 ---> Running in c1565f9143ae 23:53:33 Removing intermediate container c1565f9143ae 23:53:33 ---> 2ee23733808d 23:53:33 Step 22/23 : LABEL git_sha=1de0282aab08a6d55b74fb4abc8455e116b4ab4b 23:53:33 ---> Running in 4826ed58269a 23:53:33 Removing intermediate container 4826ed58269a 23:53:33 ---> 0c4bcef32418 23:53:33 Step 23/23 : LABEL version=4.0.0-dev.15 23:53:33 ---> Running in c835f63e6f79 23:53:34 Removing intermediate container c835f63e6f79 23:53:34 ---> c3d037a60055 23:53:34 [Warning] One or more build-args [ARCH] were not consumed 23:53:34 Successfully built c3d037a60055 23:53:34 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 23:53:34 provisioning config files... 23:53:34 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/180@tmp/config55247271033325355tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:53:34 ---> ****-login.sh 23:53:34 nexus3.edgexfoundry.org:10001 23:53:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:53:35 Configure a credential helper to remove this warning. See 23:53:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:53:35 23:53:35 Login Succeeded 23:53:35 nexus3.edgexfoundry.org:10002 23:53:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:53:35 Configure a credential helper to remove this warning. See 23:53:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:53:35 23:53:35 Login Succeeded 23:53:35 nexus3.edgexfoundry.org:10003 23:53:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:53:35 Configure a credential helper to remove this warning. See 23:53:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:53:35 23:53:35 Login Succeeded 23:53:35 nexus3.edgexfoundry.org:10004 23:53:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:53:36 Configure a credential helper to remove this warning. See 23:53:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:53:36 23:53:36 Login Succeeded 23:53:36 ****.io 23:53:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:53:36 Configure a credential helper to remove this warning. See 23:53:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:53:36 23:53:36 Login Succeeded 23:53:36 ---> ****-login.sh ends [Pipeline] } 23:53:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:53:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:53:37 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 23:53:37 1de0282aab08a6d55b74fb4abc8455e116b4ab4b 23:53:37 latest 23:53:37 4.0.0-dev.15 23:53:37 1de0282aab08a6d55b74fb4abc8455e116b4ab4b-4.0.0-dev.15 23:53:37 main 23:53:37 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:37 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:1de0282aab08a6d55b74fb4abc8455e116b4ab4b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:37 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:1de0282aab08a6d55b74fb4abc8455e116b4ab4b 23:53:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 23:53:37 482f2bb0d30a: Preparing 23:53:37 826618900acc: Preparing 23:53:37 710a922f84a2: Preparing 23:53:37 cb0d31df3108: Preparing 23:53:37 a34092694398: Preparing 23:53:37 534a70dc8296: Preparing 23:53:37 534a70dc8296: Waiting 23:53:38 482f2bb0d30a: Pushed 23:53:38 a34092694398: Pushed 23:53:38 826618900acc: Pushed 23:53:38 534a70dc8296: Layer already exists 23:53:40 cb0d31df3108: Pushed 23:53:46 710a922f84a2: Pushed 23:53:46 1de0282aab08a6d55b74fb4abc8455e116b4ab4b: digest: sha256:c37d8c66b761da5ef713d47848170db11eeee946045700078d407c3eace6a315 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:47 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:47 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 23:53:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 23:53:47 482f2bb0d30a: Preparing 23:53:47 826618900acc: Preparing 23:53:47 710a922f84a2: Preparing 23:53:47 cb0d31df3108: Preparing 23:53:47 a34092694398: Preparing 23:53:47 534a70dc8296: Preparing 23:53:47 534a70dc8296: Waiting 23:53:47 710a922f84a2: Layer already exists 23:53:47 a34092694398: Layer already exists 23:53:47 482f2bb0d30a: Layer already exists 23:53:47 826618900acc: Layer already exists 23:53:47 cb0d31df3108: Layer already exists 23:53:47 534a70dc8296: Layer already exists 23:53:47 latest: digest: sha256:c37d8c66b761da5ef713d47848170db11eeee946045700078d407c3eace6a315 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:48 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:48 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.15 23:53:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 23:53:48 482f2bb0d30a: Preparing 23:53:48 826618900acc: Preparing 23:53:48 710a922f84a2: Preparing 23:53:48 cb0d31df3108: Preparing 23:53:48 a34092694398: Preparing 23:53:48 534a70dc8296: Preparing 23:53:48 534a70dc8296: Waiting 23:53:48 482f2bb0d30a: Layer already exists 23:53:48 826618900acc: Layer already exists 23:53:48 710a922f84a2: Layer already exists 23:53:48 cb0d31df3108: Layer already exists 23:53:48 a34092694398: Layer already exists 23:53:48 534a70dc8296: Layer already exists 23:53:48 4.0.0-dev.15: digest: sha256:c37d8c66b761da5ef713d47848170db11eeee946045700078d407c3eace6a315 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:49 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:1de0282aab08a6d55b74fb4abc8455e116b4ab4b-4.0.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:49 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:1de0282aab08a6d55b74fb4abc8455e116b4ab4b-4.0.0-dev.15 23:53:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 23:53:49 482f2bb0d30a: Preparing 23:53:49 826618900acc: Preparing 23:53:49 710a922f84a2: Preparing 23:53:49 cb0d31df3108: Preparing 23:53:49 a34092694398: Preparing 23:53:49 534a70dc8296: Preparing 23:53:49 534a70dc8296: Waiting 23:53:49 710a922f84a2: Layer already exists 23:53:49 826618900acc: Layer already exists 23:53:49 cb0d31df3108: Layer already exists 23:53:49 482f2bb0d30a: Layer already exists 23:53:49 a34092694398: Layer already exists 23:53:49 534a70dc8296: Layer already exists 23:53:49 1de0282aab08a6d55b74fb4abc8455e116b4ab4b-4.0.0-dev.15: digest: sha256:c37d8c66b761da5ef713d47848170db11eeee946045700078d407c3eace6a315 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:50 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:50 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 23:53:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 23:53:50 482f2bb0d30a: Preparing 23:53:50 826618900acc: Preparing 23:53:50 710a922f84a2: Preparing 23:53:50 cb0d31df3108: Preparing 23:53:50 a34092694398: Preparing 23:53:50 534a70dc8296: Preparing 23:53:50 534a70dc8296: Waiting 23:53:50 cb0d31df3108: Layer already exists 23:53:50 a34092694398: Layer already exists 23:53:50 826618900acc: Layer already exists 23:53:50 482f2bb0d30a: Layer already exists 23:53:50 710a922f84a2: Layer already exists 23:53:50 534a70dc8296: Layer already exists 23:53:50 main: digest: sha256:c37d8c66b761da5ef713d47848170db11eeee946045700078d407c3eace6a315 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:53:50 ===================================================== [Pipeline] echo 23:53:50 taggedImages: 23:53:50 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:1de0282aab08a6d55b74fb4abc8455e116b4ab4b 23:53:50 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 23:53:50 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.15 23:53:50 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:1de0282aab08a6d55b74fb4abc8455e116b4ab4b-4.0.0-dev.15 23:53:50 - 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 23:53:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:53:51 23:53:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:53:51 arm64: Pulling from edgex-lftools-log-publisher 23:53:51 8998bd30e6a1: Pulling fs layer 23:53:51 04944245beec: Pulling fs layer 23:53:51 699f458cf7ca: Pulling fs layer 23:53:51 765212b225bb: Pulling fs layer 23:53:51 f23df028b6ca: Pulling fs layer 23:53:51 d65c8cfc05b1: Pulling fs layer 23:53:51 2437ff75d9bd: Pulling fs layer 23:53:51 f23df028b6ca: Waiting 23:53:51 d65c8cfc05b1: Waiting 23:53:51 2437ff75d9bd: Waiting 23:53:51 765212b225bb: Waiting 23:53:51 04944245beec: Verifying Checksum 23:53:51 04944245beec: Download complete 23:53:51 765212b225bb: Verifying Checksum 23:53:51 765212b225bb: Download complete 23:53:51 f23df028b6ca: Download complete 23:53:51 d65c8cfc05b1: Verifying Checksum 23:53:51 d65c8cfc05b1: Download complete 23:53:52 699f458cf7ca: Verifying Checksum 23:53:52 699f458cf7ca: Download complete 23:53:52 8998bd30e6a1: Verifying Checksum 23:53:52 8998bd30e6a1: Download complete 23:53:55 2437ff75d9bd: Verifying Checksum 23:53:55 2437ff75d9bd: Download complete 23:53:57 8998bd30e6a1: Pull complete 23:53:57 04944245beec: Pull complete 23:53:59 699f458cf7ca: Pull complete 23:53:59 765212b225bb: Pull complete 23:54:00 f23df028b6ca: Pull complete 23:54:00 d65c8cfc05b1: Pull complete 23:54:18 2437ff75d9bd: Pull complete 23:54:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:54:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:54:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:54:19 prd-ubuntu20.04-docker-arm64-4c-16g-38910 does not seem to be running inside a container 23:54:19 $ 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/180 -v /w/workspace/device-modbus-go/180:/w/workspace/device-modbus-go/180:rw,z -v /w/workspace/device-modbus-go/180@tmp:/w/workspace/device-modbus-go/180@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 23:54:22 $ docker top bdf41aa292b7b2fc29d199a3693ea32a12c228c5cbe5d1b8a684186b33dbfbcb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:54:22 ---> job-cost.sh 23:54:22 lf-activate-venv: SKIPPING 23:54:22 INFO: No Stack... 23:54:23 INFO: Retrieving Pricing Info for: v3-standard-4 23:54:24 INFO: Archiving Costs [Pipeline] sh 23:54:24 + cat /w/workspace/device-modbus-go/180/archives/cost.csv 23:54:24 + cut -d, -f6 [Pipeline] lock 23:54:24 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-180-stack-cost] 23:54:24 Resource [jenkins-edgexfoundry-device-modbus-go-main-180-stack-cost] did not exist. Created. 23:54:24 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-180-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:54:25 /w/workspace/device-modbus-go/180@tmp/durable-5e6490ca/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:54:26 + echo total: 0.10999999940395355 [Pipeline] stash 23:54:26 Warning: overwriting stash ‘stack-cost’ 23:54:26 Stashed 1 file(s) [Pipeline] } 23:54:26 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-180-stack-cost] [Pipeline] // lock [Pipeline] } 23:54:26 $ docker stop --time=1 bdf41aa292b7b2fc29d199a3693ea32a12c228c5cbe5d1b8a684186b33dbfbcb 23:54:27 $ docker rm -f --volumes bdf41aa292b7b2fc29d199a3693ea32a12c228c5cbe5d1b8a684186b33dbfbcb [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 23:54:28 provisioning config files... 23:54:28 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8711028164160735493tmp [Pipeline] { [Pipeline] sh 23:54:28 + set +x 23:54:28 + curl -s https://codecov.io/bash 23:54:28 + bash -s -- 23:54:28 23:54:28 _____ _ 23:54:28 / ____| | | 23:54:28 | | ___ __| | ___ ___ _____ __ 23:54:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:54:28 | |___| (_) | (_| | __/ (_| (_) \ V / 23:54:28 \_____\___/ \__,_|\___|\___\___/ \_/ 23:54:28 Bash-1.0.6 23:54:28 23:54:28 23:54:28 ==> git version 2.25.1 found 23:54:28 ==> 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 23:54:28 Release-Date: 2020-01-08 23:54:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:54:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:54:28 ==> Jenkins CI detected. 23:54:28 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 23:54:28 project root: . 23:54:28 --> token set from env 23:54:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:54:28 ==> Running gcov in . (disable via -X gcov) 23:54:28 ==> Python coveragepy not found 23:54:28 ==> Searching for coverage reports in: 23:54:28 + . 23:54:28 -> Found 1 reports 23:54:28 ==> Detecting git/mercurial file structure 23:54:28 ==> Reading reports 23:54:28 + ./coverage.out bytes=26779 23:54:28 ==> Appending adjustments 23:54:28 https://docs.codecov.io/docs/fixing-reports 23:54:28 + Found adjustments 23:54:28 ==> Gzipping contents 23:54:28 8.0K /tmp/codecov.ULH1It.gz 23:54:28 ==> Uploading reports 23:54:28 url: https://codecov.io 23:54:28 query: branch=main&commit=1de0282aab08a6d55b74fb4abc8455e116b4ab4b&build=180&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F180%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:54:28 -> Pinging Codecov 23:54:28 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=1de0282aab08a6d55b74fb4abc8455e116b4ab4b&build=180&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F180%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:54:29 -> Uploading to 23:54:29 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-modbus-go/1de0282aab08a6d55b74fb4abc8455e116b4ab4b/b9a55013-4b82-43b5-894e-3a14feabaafb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250213%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250213T235429Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=bac6d374ef7dd7eb5bb0e0cc0ec78f602cb26b8222039317bb14507a46258361 23:54:29 % Total % Received % Xferd Average Speed Time Time Time Current 23:54:29 Dload Upload Total Spent Left Speed 23:54:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4103 0 0 100 4103 0 33909 --:--:-- --:--:-- --:--:-- 33631 100 4103 0 0 100 4103 0 33909 --:--:-- --:--:-- --:--:-- 33631 23:54:29 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/1de0282aab08a6d55b74fb4abc8455e116b4ab4b [Pipeline] } 23:54:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 23:54:29 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 23:54:29 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 23:54:29 23:54:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 23:54:30 latest: Pulling from edgex-devops/edgex-snyk-go 23:54:30 43c4264eed91: Pulling fs layer 23:54:30 4cc291be95ef: Pulling fs layer 23:54:30 2ac1f1163629: Pulling fs layer 23:54:30 5c3c966382ef: Pulling fs layer 23:54:30 4f4fb700ef54: Pulling fs layer 23:54:30 d9c7d2e4e75e: Pulling fs layer 23:54:30 9c3e1370e548: Pulling fs layer 23:54:30 5c3c966382ef: Waiting 23:54:30 4f4fb700ef54: Waiting 23:54:30 d9c7d2e4e75e: Waiting 23:54:30 9c3e1370e548: Waiting 23:54:30 4cc291be95ef: Verifying Checksum 23:54:30 4cc291be95ef: Download complete 23:54:30 5c3c966382ef: Verifying Checksum 23:54:30 5c3c966382ef: Download complete 23:54:30 4f4fb700ef54: Verifying Checksum 23:54:30 4f4fb700ef54: Download complete 23:54:30 43c4264eed91: Download complete 23:54:30 43c4264eed91: Pull complete 23:54:30 d9c7d2e4e75e: Download complete 23:54:30 4cc291be95ef: Pull complete 23:54:30 2ac1f1163629: Verifying Checksum 23:54:30 2ac1f1163629: Download complete 23:54:31 9c3e1370e548: Verifying Checksum 23:54:31 9c3e1370e548: Download complete 23:54:34 2ac1f1163629: Pull complete 23:54:34 5c3c966382ef: Pull complete 23:54:34 4f4fb700ef54: Pull complete 23:54:34 d9c7d2e4e75e: Pull complete 23:54:37 9c3e1370e548: Pull complete 23:54:37 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 23:54:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 23:54:37 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:54:37 prd-ubuntu20.04-docker-8c-8g-38909 does not seem to be running inside a container 23:54:37 $ 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 23:54:41 $ docker top 98a41f2ebbbafb6fb6a20e6810f5a6f198c38b82fee4199474b3a1a3a49efcef -eo pid,comm [Pipeline] { [Pipeline] sh 23:54:41 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] echo 23:54:41 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 23:54:41 + set -o pipefail 23:54:41 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 23:54:56 23:54:56 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 23:54:56 23:54:56 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/0a0805b9-8982-40eb-8dbc-845f1ef902a3/history/2ced6c22-33e5-416f-90f5-ab0fadfee33e 23:54:56 23:54:56 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 23:54:56 23:54:56 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 23:54:56 23:54:56 23:54:56 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 23:54:56 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 23:54:56 $ docker stop --time=1 98a41f2ebbbafb6fb6a20e6810f5a6f198c38b82fee4199474b3a1a3a49efcef 23:54:59 $ docker rm -f --volumes 98a41f2ebbbafb6fb6a20e6810f5a6f198c38b82fee4199474b3a1a3a49efcef [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 23:55:00 + git log --format=format:%s -1 1de0282aab08a6d55b74fb4abc8455e116b4ab4b [Pipeline] sh 23:55:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:55:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:55:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:55:01 prd-ubuntu20.04-docker-8c-8g-38909 does not seem to be running inside a container 23:55: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 23:55:01 $ docker top 45e5222e48b4168ae6c40769dddf1da873b85912b979864e8fbd848787b3a033 -eo pid,comm 23:55: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). 23:55:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:55:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:55:01 [ssh-agent] Looking for ssh-agent implementation... 23:55:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:55:01 $ docker exec 45e5222e48b4168ae6c40769dddf1da873b85912b979864e8fbd848787b3a033 ssh-agent 23:55:02 SSH_AUTH_SOCK=/tmp/ssh-nM4v2DztfQRY/agent.33 23:55:02 SSH_AGENT_PID=39 23:55:02 Running ssh-add (command line suppressed) 23:55:02 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4730271708720040741.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4730271708720040741.key) 23:55:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:55:02 + git semver tag 23:55:02 2025-02-13 23:55:02,608 [run_tag] DEBUG tag force:False 23:55:02 2025-02-13 23:55:02,608 [check_head_tag] DEBUG check head tag 23:55:02 2025-02-13 23:55:02,609 [execute] INFO git cat-file --batch-check 23:55:02 2025-02-13 23:55:02,610 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 23:55:02 2025-02-13 23:55:02,613 [execute] INFO git cat-file --batch 23:55:02 2025-02-13 23:55:02,614 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 23:55:02 2025-02-13 23:55:02,638 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 23:55:02 2025-02-13 23:55:02,638 [execute] INFO git tag -a v4.0.0-dev.15 -m v4.0.0-dev.15 23:55:02 2025-02-13 23:55:02,638 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.15', '-m', 'v4.0.0-dev.15'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 23:55:02 2025-02-13 23:55:02,642 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 23:55:02 4.0.0-dev.15 [Pipeline] } 23:55:02 $ docker exec --env ******** --env ******** 45e5222e48b4168ae6c40769dddf1da873b85912b979864e8fbd848787b3a033 ssh-agent -k 23:55:02 unset SSH_AUTH_SOCK; 23:55:02 unset SSH_AGENT_PID; 23:55:02 echo Agent pid 39 killed; 23:55:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:55:03 + git semver [Pipeline] } 23:55:03 $ docker stop --time=1 45e5222e48b4168ae6c40769dddf1da873b85912b979864e8fbd848787b3a033 23:55:04 $ docker rm -f --volumes 45e5222e48b4168ae6c40769dddf1da873b85912b979864e8fbd848787b3a033 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:55:05 23:55:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:55:05 0.23.1-centos7: Pulling from edgex-lftools 23:55:05 ab5ef0e58194: Pulling fs layer 23:55:05 9712f1f96733: Pulling fs layer 23:55:05 63f879dbbcfc: Pulling fs layer 23:55:05 0d9ebad4ef96: Pulling fs layer 23:55:05 e9a5061849ea: Pulling fs layer 23:55:05 d747dcd14b5f: Pulling fs layer 23:55:05 2de7ff778b66: Pulling fs layer 23:55:05 0d9ebad4ef96: Waiting 23:55:05 e9a5061849ea: Waiting 23:55:05 d747dcd14b5f: Waiting 23:55:05 2de7ff778b66: Waiting 23:55:05 9712f1f96733: Verifying Checksum 23:55:05 9712f1f96733: Download complete 23:55:05 63f879dbbcfc: Verifying Checksum 23:55:05 63f879dbbcfc: Download complete 23:55:06 e9a5061849ea: Verifying Checksum 23:55:06 e9a5061849ea: Download complete 23:55:06 d747dcd14b5f: Verifying Checksum 23:55:06 d747dcd14b5f: Download complete 23:55:06 ab5ef0e58194: Verifying Checksum 23:55:06 ab5ef0e58194: Download complete 23:55:06 0d9ebad4ef96: Verifying Checksum 23:55:06 0d9ebad4ef96: Download complete 23:55:06 2de7ff778b66: Verifying Checksum 23:55:06 2de7ff778b66: Download complete 23:55:08 ab5ef0e58194: Pull complete 23:55:08 9712f1f96733: Pull complete 23:55:09 63f879dbbcfc: Pull complete 23:55:13 0d9ebad4ef96: Pull complete 23:55:13 e9a5061849ea: Pull complete 23:55:13 d747dcd14b5f: Pull complete 23:55:14 2de7ff778b66: Pull complete 23:55:14 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 23:55:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:55:14 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:55:14 prd-ubuntu20.04-docker-8c-8g-38909 does not seem to be running inside a container 23:55:14 $ 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 23:55:17 $ docker top 0973b5f52153f11a90ab54d26e0102ea201df692b6f1806da1329bcde2799ed5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 23:55:17 provisioning config files... 23:55:17 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5276774507828153009tmp 23:55:17 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4984801844291594785tmp 23:55:17 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11061189255809937408tmp [Pipeline] { [Pipeline] echo 23:55:17 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 23:55:17 ---> sigul-configuration.sh 23:55:17 gpg: directory `/root/.gnupg' created 23:55:17 gpg: new configuration file `/root/.gnupg/gpg.conf' created 23:55:17 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 23:55:17 gpg: keyring `/root/.gnupg/secring.gpg' created 23:55:17 gpg: keyring `/root/.gnupg/pubring.gpg' created 23:55:17 gpg: CAST5 encrypted data 23:55:17 gpg: encrypted with 1 passphrase 23:55:17 gpg: WARNING: message was not integrity protected [Pipeline] sh 23:55:18 + mkdir /home/jenkins 23:55:18 + mkdir /home/jenkins/sigul [Pipeline] sh 23:55:18 + 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 23:55:18 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 23:55:18 ---> sigul-install.sh 23:55:18 Sigul already installed; skipping installation. [Pipeline] sh 23:55:19 + git tag --list 23:55:19 0.7.1 23:55:19 v1.0.0 23:55:19 v1.1.0 23:55:19 v1.1.1 23:55:19 v1.2.2 23:55:19 v1.3.0 23:55:19 v1.3.1 23:55:19 v2.0.0 23:55:19 v2.1.0 23:55:19 v2.1.1 23:55:19 v2.2.0 23:55:19 v2.3.0 23:55:19 v3.0 23:55:19 v3.0.0 23:55:19 v3.1 23:55:19 v3.1.0 23:55:19 v3.1.0-dev.1 23:55:19 v3.1.0-dev.10 23:55:19 v3.1.0-dev.11 23:55:19 v3.1.0-dev.12 23:55:19 v3.1.0-dev.13 23:55:19 v3.1.0-dev.14 23:55:19 v3.1.0-dev.15 23:55:19 v3.1.0-dev.16 23:55:19 v3.1.0-dev.17 23:55:19 v3.1.0-dev.18 23:55:19 v3.1.0-dev.19 23:55:19 v3.1.0-dev.2 23:55:19 v3.1.0-dev.20 23:55:19 v3.1.0-dev.21 23:55:19 v3.1.0-dev.22 23:55:19 v3.1.0-dev.23 23:55:19 v3.1.0-dev.24 23:55:19 v3.1.0-dev.25 23:55:19 v3.1.0-dev.3 23:55:19 v3.1.0-dev.4 23:55:19 v3.1.0-dev.5 23:55:19 v3.1.0-dev.6 23:55:19 v3.1.0-dev.7 23:55:19 v3.1.0-dev.8 23:55:19 v3.1.0-dev.9 23:55:19 v3.1.1 23:55:19 v3.1.1-dev.1 23:55:19 v3.2.0-dev.1 23:55:19 v3.2.0-dev.10 23:55:19 v3.2.0-dev.11 23:55:19 v3.2.0-dev.12 23:55:19 v3.2.0-dev.13 23:55:19 v3.2.0-dev.14 23:55:19 v3.2.0-dev.15 23:55:19 v3.2.0-dev.16 23:55:19 v3.2.0-dev.17 23:55:19 v3.2.0-dev.18 23:55:19 v3.2.0-dev.19 23:55:19 v3.2.0-dev.2 23:55:19 v3.2.0-dev.20 23:55:19 v3.2.0-dev.21 23:55:19 v3.2.0-dev.22 23:55:19 v3.2.0-dev.23 23:55:19 v3.2.0-dev.24 23:55:19 v3.2.0-dev.25 23:55:19 v3.2.0-dev.26 23:55:19 v3.2.0-dev.3 23:55:19 v3.2.0-dev.4 23:55:19 v3.2.0-dev.5 23:55:19 v3.2.0-dev.6 23:55:19 v3.2.0-dev.7 23:55:19 v3.2.0-dev.8 23:55:19 v3.2.0-dev.9 23:55:19 v4.0.0-dev.1 23:55:19 v4.0.0-dev.10 23:55:19 v4.0.0-dev.11 23:55:19 v4.0.0-dev.12 23:55:19 v4.0.0-dev.13 23:55:19 v4.0.0-dev.14 23:55:19 v4.0.0-dev.15 23:55:19 v4.0.0-dev.2 23:55:19 v4.0.0-dev.3 23:55:19 v4.0.0-dev.4 23:55:19 v4.0.0-dev.5 23:55:19 v4.0.0-dev.6 23:55:19 v4.0.0-dev.7 23:55:19 v4.0.0-dev.8 23:55:19 v4.0.0-dev.9 [Pipeline] sh 23:55:19 + lftools sign git-tag v4.0.0-dev.15 23:55:20 Signing Git tag with Sigul... 23:55:20 Signing v4.0.0-dev.15 [Pipeline] echo 23:55:20 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 23:55:20 ---> sigul-configuration-cleanup.sh [Pipeline] } 23:55:20 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 23:55:20 $ docker stop --time=1 0973b5f52153f11a90ab54d26e0102ea201df692b6f1806da1329bcde2799ed5 23:55:21 $ docker rm -f --volumes 0973b5f52153f11a90ab54d26e0102ea201df692b6f1806da1329bcde2799ed5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 23:55:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:55:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:55:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:55:22 prd-ubuntu20.04-docker-8c-8g-38909 does not seem to be running inside a container 23:55:22 $ 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 23:55:23 $ docker top fac80681aa910dcb52e01354415196e38eb9292cab29284ef77d6c46a92b614e -eo pid,comm 23:55:23 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). 23:55:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:55:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:55:23 [ssh-agent] Looking for ssh-agent implementation... 23:55:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:55:23 $ docker exec fac80681aa910dcb52e01354415196e38eb9292cab29284ef77d6c46a92b614e ssh-agent 23:55:23 SSH_AUTH_SOCK=/tmp/ssh-XlFfeGhXaMTL/agent.31 23:55:23 SSH_AGENT_PID=37 23:55:23 Running ssh-add (command line suppressed) 23:55:23 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11752431153475487524.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11752431153475487524.key) 23:55:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:55:23 + git semver bump pre 23:55:24 2025-02-13 23:55:24,096 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 23:55:24 2025-02-13 23:55:24,096 [bump_version] DEBUG bumping version:4.0.0-dev.15 on axis:pre with prefix:dev 23:55:24 2025-02-13 23:55:24,096 [bump_version] DEBUG bumped version:4.0.0-dev.16 23:55:24 2025-02-13 23:55:24,096 [write_version] DEBUG write version:4.0.0-dev.16 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 23:55:24 2025-02-13 23:55:24,096 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 23:55:24 2025-02-13 23:55:24,096 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 23:55:24 2025-02-13 23:55:24,099 [execute] INFO git cat-file --batch-check 23:55:24 2025-02-13 23:55:24,099 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 23:55:24 2025-02-13 23:55:24,105 [execute] INFO git cat-file --batch 23:55:24 2025-02-13 23:55:24,105 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 23:55:24 2025-02-13 23:55:24,110 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 23:55:24 4.0.0-dev.16 [Pipeline] } 23:55:24 $ docker exec --env ******** --env ******** fac80681aa910dcb52e01354415196e38eb9292cab29284ef77d6c46a92b614e ssh-agent -k 23:55:24 unset SSH_AUTH_SOCK; 23:55:24 unset SSH_AGENT_PID; 23:55:24 echo Agent pid 37 killed; 23:55:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:55:24 + git semver [Pipeline] } 23:55:24 $ docker stop --time=1 fac80681aa910dcb52e01354415196e38eb9292cab29284ef77d6c46a92b614e 23:55:26 $ docker rm -f --volumes fac80681aa910dcb52e01354415196e38eb9292cab29284ef77d6c46a92b614e [Pipeline] // withDockerContainer [Pipeline] sh 23:55:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:55:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:55:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:55:26 prd-ubuntu20.04-docker-8c-8g-38909 does not seem to be running inside a container 23:55:26 $ 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 23:55:27 $ docker top c63e3452a0fffe8d8217321a45f7fab9e26c079e15da1bb8c86e9b1044f8b520 -eo pid,comm 23:55:27 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). 23:55:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:55:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:55:27 [ssh-agent] Looking for ssh-agent implementation... 23:55:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:55:27 $ docker exec c63e3452a0fffe8d8217321a45f7fab9e26c079e15da1bb8c86e9b1044f8b520 ssh-agent 23:55:27 SSH_AUTH_SOCK=/tmp/ssh-M7Ja4MunqM6V/agent.32 23:55:27 SSH_AGENT_PID=38 23:55:27 Running ssh-add (command line suppressed) 23:55:27 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12243643893896275273.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12243643893896275273.key) 23:55:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:55:28 + git semver push 23:55:28 2025-02-13 23:55:28,287 [run_push] DEBUG push 23:55:28 2025-02-13 23:55:28,288 [execute] INFO git cat-file --batch-check 23:55:28 2025-02-13 23:55:28,288 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 23:55:28 2025-02-13 23:55:28,292 [execute] INFO git rev-list 6d3ea1e95ff56e0f041d9d0f25454504f1caf120 -- 23:55:28 2025-02-13 23:55:28,293 [execute] DEBUG Popen(['git', 'rev-list', '6d3ea1e95ff56e0f041d9d0f25454504f1caf120', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 23:55:28 2025-02-13 23:55:28,303 [execute] INFO git fetch -v origin 23:55:28 2025-02-13 23:55:28,304 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 23:55:28 2025-02-13 23:55:28,791 [run_push] DEBUG no remote changes detected 23:55:28 2025-02-13 23:55:28,791 [execute] INFO git push origin semver 23:55:28 2025-02-13 23:55:28,792 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 23:55:29 2025-02-13 23:55:29,448 [run_push] DEBUG push all version tags 23:55:29 2025-02-13 23:55:29,449 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 23:55:29 2025-02-13 23:55:29,449 [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) 23:55:30 2025-02-13 23:55:30,073 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 23:55:30 4.0.0-dev.16 [Pipeline] } 23:55:30 $ docker exec --env ******** --env ******** c63e3452a0fffe8d8217321a45f7fab9e26c079e15da1bb8c86e9b1044f8b520 ssh-agent -k 23:55:30 unset SSH_AUTH_SOCK; 23:55:30 unset SSH_AGENT_PID; 23:55:30 echo Agent pid 38 killed; 23:55:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:55:30 + git semver [Pipeline] } 23:55:31 $ docker stop --time=1 c63e3452a0fffe8d8217321a45f7fab9e26c079e15da1bb8c86e9b1044f8b520 23:55:32 $ docker rm -f --volumes c63e3452a0fffe8d8217321a45f7fab9e26c079e15da1bb8c86e9b1044f8b520 [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 23:55:33 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 23:55:33 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 23:55:33 total 16 23:55:33 drwxr-xr-x 3 root root 4096 Feb 13 23:42 . 23:55:33 drwxrwxr-x 10 jenkins jenkins 4096 Feb 13 23:55 .. 23:55:33 drwxr-xr-x 2 root root 4096 Feb 13 23:42 cost 23:55:33 -rw-r--r-- 1 root root 88 Feb 13 23:42 cost.csv 23:55:33 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 23:55:33 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 23:55:33 total 16 23:55:33 drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 23:42 . 23:55:33 drwxrwxr-x 10 jenkins jenkins 4096 Feb 13 23:55 .. 23:55:33 drwxr-xr-x 2 jenkins jenkins 4096 Feb 13 23:42 cost 23:55:33 -rw-r--r-- 1 jenkins jenkins 88 Feb 13 23:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:55:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:55:34 ---> package-listing.sh 23:55:34 ++ facter osfamily 23:55:34 ++ tr '[:upper:]' '[:lower:]' 23:55:34 + OS_FAMILY=debian 23:55:34 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 23:55:34 + START_PACKAGES=/tmp/packages_start.txt 23:55:34 + END_PACKAGES=/tmp/packages_end.txt 23:55:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:55:34 + PACKAGES=/tmp/packages_start.txt 23:55:34 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 23:55:34 + PACKAGES=/tmp/packages_end.txt 23:55:34 + case "${OS_FAMILY}" in 23:55:34 + dpkg -l 23:55:34 + grep '^ii' 23:55:34 + '[' -f /tmp/packages_start.txt ']' 23:55:34 + '[' -f /tmp/packages_end.txt ']' 23:55:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:55:34 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 23:55:34 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 23:55:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 23:55:34 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 23:55:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:55:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:55:35 prd-ubuntu20.04-docker-8c-8g-38909 does not seem to be running inside a container 23:55:35 $ 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 23:55:35 $ docker top f52dd8bf227b1165edfeb6b1530615a1e4937caaa77be5dcde6a1dfc0301bf09 -eo pid,comm [Pipeline] { [Pipeline] sh 23:55:35 + touch /tmp/pre-build-complete [Pipeline] sh 23:55:36 + mkdir -p /var/log/sysstat [Pipeline] sh 23:55:36 + ls /var/log/sa-host 23:55:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:55:36 provisioning config files... 23:55:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12802292938309531424tmp [Pipeline] { [Pipeline] echo 23:55:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:55:37 ---> create-netrc.sh [Pipeline] } 23:55:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:55:37 ---> python-tools-install.sh [Pipeline] echo 23:55:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:55:37 ---> sudo-logs.sh 23:55:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:55:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:55:37 ---> job-cost.sh 23:55:37 lf-activate-venv: SKIPPING 23:55:37 DEBUG: total: 0.2199999988079071 23:55:37 INFO: Retrieving Stack Cost... 23:55:38 INFO: Retrieving Pricing Info for: v3-standard-8 23:55:38 INFO: Archiving Costs [Pipeline] echo 23:55:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:55:39 ---> logs-deploy.sh 23:55:39 lf-activate-venv: SKIPPING 23:55:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/180 23:55:39 INFO: archiving workspace using pattern(s): 23:55:40 Archives upload complete. 23:55:40 INFO: archiving logs to Nexus