Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0c489a3726be89f9077189728f7c6ddd3e8be6bf 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-ssh8034159201945954801.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-ssh222062077669530037.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-ssh12639532617608457161.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-ssh13560542124341292618.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-ssh7859522474645528867.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 Running on prd-ubuntu20.04-docker-8c-8g-37503 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 0c489a3726be89f9077189728f7c6ddd3e8be6bf (main) Commit message: "Merge pull request #600 from whxtpbnl/feat/support_modbusASCII/lwq" > 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 0c489a3726be89f9077189728f7c6ddd3e8be6bf # timeout=10 > git rev-list --no-walk f916d0fb32b877ff84da90d820eba295f5bd4a5a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:30:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:30:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:30:02 ========================================================= 02:30:02 EdgeX Global Pipelines Version Info 02:30:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:30:03 ------------------- 02:30:03 stable info: 02:30:03 ------------------- 02:30:03 Commited By: Cherry Wang cherry@iotechsys.com 02:30:03 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 02:30:03 Message: update stable to v1.0.269 02:30:03 ------------------- 02:30:03 experimental info: 02:30:03 ------------------- 02:30:03 Commited By: **** collab-it+edgex@linuxfoundation.org 02:30:03 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 02:30:03 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:30:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 02:30:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 02:30:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:30:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:30:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:30:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 02:30:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:30:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:30:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:30:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:30:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:30:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 02:30:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:30:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:30:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:30:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:30:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:30:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:30:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:30:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:30:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:30:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:30:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:30:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:30:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:30:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:30:04 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:30:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:30:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:30:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:30:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0c489a3726be89f9077189728f7c6ddd3e8be6bf [Pipeline] echo 02:30:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0c489a3 [Pipeline] echo 02:30:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:30:04 provisioning config files... 02:30:04 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16788959613148083414tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:30:04 ---> ****-login.sh 02:30:04 nexus3.edgexfoundry.org:10001 02:30:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:05 Configure a credential helper to remove this warning. See 02:30:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:05 02:30:05 Login Succeeded 02:30:05 nexus3.edgexfoundry.org:10002 02:30:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:05 Configure a credential helper to remove this warning. See 02:30:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:05 02:30:05 Login Succeeded 02:30:05 nexus3.edgexfoundry.org:10003 02:30:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:05 Configure a credential helper to remove this warning. See 02:30:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:05 02:30:05 Login Succeeded 02:30:05 nexus3.edgexfoundry.org:10004 02:30:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:05 Configure a credential helper to remove this warning. See 02:30:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:05 02:30:05 Login Succeeded 02:30:05 ****.io 02:30:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:06 Configure a credential helper to remove this warning. See 02:30:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:06 02:30:06 Login Succeeded 02:30:06 ---> ****-login.sh ends [Pipeline] } 02:30:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:30:06 + git rev-list -1 --merges 0c489a3726be89f9077189728f7c6ddd3e8be6bf~1..0c489a3726be89f9077189728f7c6ddd3e8be6bf [Pipeline] echo 02:30:06 -----------> git rev-list -1 --merges 0c489a3726be89f9077189728f7c6ddd3e8be6bf~1..0c489a3726be89f9077189728f7c6ddd3e8be6bf 0c489a3726be89f9077189728f7c6ddd3e8be6bf 02:30:06 0c489a3726be89f9077189728f7c6ddd3e8be6bf [false] [Pipeline] sh 02:30:07 + git log --format=format:%s -1 0c489a3726be89f9077189728f7c6ddd3e8be6bf [Pipeline] echo 02:30:07 ========================================================= 02:30:07 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:30:07 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:30:07 + git log --format=format:%s -1 0c489a3726be89f9077189728f7c6ddd3e8be6bf [Pipeline] echo 02:30:07 [semverPrep] GIT_COMMIT: 0c489a3726be89f9077189728f7c6ddd3e8be6bf, Commit Message: Merge pull request #600 from whxtpbnl/feat/support_modbusASCII/lwq [Pipeline] echo 02:30:07 [semverPrep] This is not a build commit. [Pipeline] sh 02:30:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:30:07 + grep -v github /etc/ssh/ssh_known_hosts 02:30:07 + [ -e /tmp/ssh_known_hosts ] 02:30:07 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:30:07 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:30:07 + sudo tee -a /etc/ssh/ssh_known_hosts 02:30:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:30:08 02:30:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:30:08 0.1.4: Pulling from edgex-devops/py-git-semver 02:30:08 b85a868b505f: Pulling fs layer 02:30:08 e2be974225ed: Pulling fs layer 02:30:08 339a4e72a1f5: Pulling fs layer 02:30:08 988bab9f4d93: Pulling fs layer 02:30:08 1469e6f7b9e6: Pulling fs layer 02:30:08 eaf3925da568: Pulling fs layer 02:30:08 bab4dde63d76: Pulling fs layer 02:30:08 bde34c3a00c8: Pulling fs layer 02:30:08 b352a97aabf1: Pulling fs layer 02:30:08 4872d77fe225: Pulling fs layer 02:30:08 5851b861e8e6: Pulling fs layer 02:30:08 988bab9f4d93: Waiting 02:30:08 1469e6f7b9e6: Waiting 02:30:08 bab4dde63d76: Waiting 02:30:08 bde34c3a00c8: Waiting 02:30:08 b352a97aabf1: Waiting 02:30:08 4872d77fe225: Waiting 02:30:08 eaf3925da568: Waiting 02:30:08 5851b861e8e6: Waiting 02:30:08 e2be974225ed: Download complete 02:30:08 988bab9f4d93: Verifying Checksum 02:30:08 988bab9f4d93: Download complete 02:30:08 1469e6f7b9e6: Verifying Checksum 02:30:08 1469e6f7b9e6: Download complete 02:30:08 339a4e72a1f5: Verifying Checksum 02:30:08 339a4e72a1f5: Download complete 02:30:08 eaf3925da568: Verifying Checksum 02:30:08 eaf3925da568: Download complete 02:30:08 bde34c3a00c8: Verifying Checksum 02:30:08 bde34c3a00c8: Download complete 02:30:08 b352a97aabf1: Download complete 02:30:08 4872d77fe225: Download complete 02:30:08 5851b861e8e6: Verifying Checksum 02:30:08 5851b861e8e6: Download complete 02:30:08 b85a868b505f: Verifying Checksum 02:30:08 b85a868b505f: Download complete 02:30:09 bab4dde63d76: Verifying Checksum 02:30:09 bab4dde63d76: Download complete 02:30:10 b85a868b505f: Pull complete 02:30:10 e2be974225ed: Pull complete 02:30:11 339a4e72a1f5: Pull complete 02:30:11 988bab9f4d93: Pull complete 02:30:11 1469e6f7b9e6: Pull complete 02:30:11 eaf3925da568: Pull complete 02:30:13 bab4dde63d76: Pull complete 02:30:13 bde34c3a00c8: Pull complete 02:30:13 b352a97aabf1: Pull complete 02:30:13 4872d77fe225: Pull complete 02:30:13 5851b861e8e6: Pull complete 02:30:13 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:30:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:30:13 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:30:13 prd-ubuntu20.04-docker-8c-8g-37503 does not seem to be running inside a container 02:30:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:30:19 $ docker top 334ae263d59217d445f6abe2013408a2022b705509b5a77311ef171ef27f6609 -eo pid,comm 02:30:19 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). 02:30:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:30:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:30:19 [ssh-agent] Looking for ssh-agent implementation... 02:30:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:30:19 $ docker exec 334ae263d59217d445f6abe2013408a2022b705509b5a77311ef171ef27f6609 ssh-agent 02:30:19 SSH_AUTH_SOCK=/tmp/ssh-Uii1s1hmkQQB/agent.32 02:30:19 SSH_AGENT_PID=38 02:30:19 Running ssh-add (command line suppressed) 02:30:19 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5209618040223401874.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5209618040223401874.key) 02:30:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:30:19 + git tag --points-at HEAD [Pipeline] } 02:30:19 $ docker exec --env ******** --env ******** 334ae263d59217d445f6abe2013408a2022b705509b5a77311ef171ef27f6609 ssh-agent -k 02:30:19 unset SSH_AUTH_SOCK; 02:30:19 unset SSH_AGENT_PID; 02:30:19 echo Agent pid 38 killed; 02:30:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:30:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:30:19 [ssh-agent] Looking for ssh-agent implementation... 02:30:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:30:20 $ docker exec 334ae263d59217d445f6abe2013408a2022b705509b5a77311ef171ef27f6609 ssh-agent 02:30:20 SSH_AUTH_SOCK=/tmp/ssh-HfzLlXyhtvVN/agent.72 02:30:20 SSH_AGENT_PID=78 02:30:20 Running ssh-add (command line suppressed) 02:30:20 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5172817882482872056.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5172817882482872056.key) 02:30:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:30:20 + git semver init 02:30:20 2025-01-23 02:30:20,828 [run_init] DEBUG init version:0.0.0 force:False 02:30:20 2025-01-23 02:30:20,829 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 02:30:20 2025-01-23 02:30:20,830 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 02:30:20 2025-01-23 02:30:20,830 [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) 02:30:22 2025-01-23 02:30:21,872 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 02:30:22 2025-01-23 02:30:21,873 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 02:30:22 2025-01-23 02:30:21,873 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 02:30:22 2025-01-23 02:30:21,873 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 02:30:22 4.0.0-dev.12 [Pipeline] } 02:30:22 $ docker exec --env ******** --env ******** 334ae263d59217d445f6abe2013408a2022b705509b5a77311ef171ef27f6609 ssh-agent -k 02:30:22 unset SSH_AUTH_SOCK; 02:30:22 unset SSH_AGENT_PID; 02:30:22 echo Agent pid 78 killed; 02:30:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:30:22 + git semver [Pipeline] } 02:30:23 $ docker stop --time=1 334ae263d59217d445f6abe2013408a2022b705509b5a77311ef171ef27f6609 02:30:24 $ docker rm -f --volumes 334ae263d59217d445f6abe2013408a2022b705509b5a77311ef171ef27f6609 [Pipeline] // withDockerContainer [Pipeline] sh 02:30:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:30:24 Stashed 1 file(s) [Pipeline] echo 02:30:24 [edgeXSemver]: initialized semver on version 4.0.0-dev.12 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:30:25 provisioning config files... 02:30:25 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7531520391363472702tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:30:25 ---> ****-login.sh 02:30:25 nexus3.edgexfoundry.org:10001 02:30:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:25 Configure a credential helper to remove this warning. See 02:30:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:25 02:30:25 Login Succeeded 02:30:25 nexus3.edgexfoundry.org:10002 02:30:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:25 Configure a credential helper to remove this warning. See 02:30:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:25 02:30:25 Login Succeeded 02:30:25 nexus3.edgexfoundry.org:10003 02:30:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:25 Configure a credential helper to remove this warning. See 02:30:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:25 02:30:25 Login Succeeded 02:30:25 nexus3.edgexfoundry.org:10004 02:30:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:25 Configure a credential helper to remove this warning. See 02:30:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:25 02:30:25 Login Succeeded 02:30:25 ****.io 02:30:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:25 Configure a credential helper to remove this warning. See 02:30:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:25 02:30:25 Login Succeeded 02:30:25 ---> ****-login.sh ends [Pipeline] } 02:30:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:30:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:30:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:30:26 ========================================================= 02:30:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 02:30:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:26 + 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 . 02:30:26 Sending build context to Docker daemon 18.19MB 02:30:26 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 02:30:26 Step 2/10 : FROM ${BASE} AS builder 02:30:26 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 02:30:26 da9db072f522: Pulling fs layer 02:30:26 6ef4a4ee8ca5: Pulling fs layer 02:30:26 06f05ace1117: Pulling fs layer 02:30:26 5fe327b54edc: Pulling fs layer 02:30:26 4f4fb700ef54: Pulling fs layer 02:30:26 92a5565b7b96: Pulling fs layer 02:30:26 ff9bb7016b71: Pulling fs layer 02:30:26 b67dba6c2c7d: Pulling fs layer 02:30:26 5fe327b54edc: Waiting 02:30:26 4f4fb700ef54: Waiting 02:30:26 92a5565b7b96: Waiting 02:30:26 ff9bb7016b71: Waiting 02:30:26 a813b0c90790: Pulling fs layer 02:30:26 b67dba6c2c7d: Waiting 02:30:26 a813b0c90790: Waiting 02:30:26 6ef4a4ee8ca5: Verifying Checksum 02:30:26 6ef4a4ee8ca5: Download complete 02:30:26 5fe327b54edc: Download complete 02:30:26 4f4fb700ef54: Verifying Checksum 02:30:26 4f4fb700ef54: Download complete 02:30:26 da9db072f522: Download complete 02:30:26 92a5565b7b96: Download complete 02:30:26 ff9bb7016b71: Verifying Checksum 02:30:26 ff9bb7016b71: Download complete 02:30:26 da9db072f522: Pull complete 02:30:26 a813b0c90790: Verifying Checksum 02:30:26 a813b0c90790: Download complete 02:30:26 6ef4a4ee8ca5: Pull complete 02:30:27 06f05ace1117: Verifying Checksum 02:30:27 06f05ace1117: Download complete 02:30:27 b67dba6c2c7d: Verifying Checksum 02:30:27 b67dba6c2c7d: Download complete 02:30:30 06f05ace1117: Pull complete 02:30:30 5fe327b54edc: Pull complete 02:30:30 4f4fb700ef54: Pull complete 02:30:30 92a5565b7b96: Pull complete 02:30:31 ff9bb7016b71: Pull complete 02:30:33 b67dba6c2c7d: Pull complete 02:30:33 a813b0c90790: Pull complete 02:30:33 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 02:30:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 02:30:33 ---> 3ba60ce46760 02:30:33 Step 3/10 : ARG ADD_BUILD_TAGS="" 02:30:40 Still waiting to schedule task 02:30:40 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 02:30:41 ---> Running in e7eb6bef1d4a 02:30:41 Removing intermediate container e7eb6bef1d4a 02:30:41 ---> 2a6d3535ed6f 02:30:41 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:30:41 ---> Running in b97f1aa70abe 02:30:41 Removing intermediate container b97f1aa70abe 02:30:41 ---> 8f1a6df0a03a 02:30:41 Step 5/10 : RUN apk add --update --no-cache make git openssh 02:30:41 ---> Running in 033450a33820 02:30:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:30:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:30:42 (1/8) Installing openssh-keygen (9.7_p1-r4) 02:30:42 (2/8) Installing libedit (20240517.3.1-r0) 02:30:42 (3/8) Installing openssh-client-common (9.7_p1-r4) 02:30:42 (4/8) Installing openssh-client-default (9.7_p1-r4) 02:30:42 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 02:30:42 (6/8) Installing openssh-server-common (9.7_p1-r4) 02:30:42 (7/8) Installing openssh-server (9.7_p1-r4) 02:30:42 (8/8) Installing openssh (9.7_p1-r4) 02:30:42 Executing busybox-1.36.1-r29.trigger 02:30:42 OK: 253 MiB in 66 packages 02:30:42 Removing intermediate container 033450a33820 02:30:42 ---> 15683c4974b1 02:30:42 Step 6/10 : WORKDIR /device-modbus-go 02:30:42 ---> Running in e4efef290032 02:30:43 Removing intermediate container e4efef290032 02:30:43 ---> 3b4bb1b2ae93 02:30:43 Step 7/10 : COPY go.mod vendor* ./ 02:30:43 ---> af4a0cf51355 02:30:43 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:30:43 ---> Running in b91ea4e8aa28 02:31:51 Removing intermediate container b91ea4e8aa28 02:31:51 ---> a412f1cf9a3a 02:31:51 Step 9/10 : COPY . . 02:31:51 ---> 698c76d156cb 02:31:51 Step 10/10 : RUN ${MAKE} 02:31:51 ---> Running in 82acb5f61e7e 02:31:51 noop 02:31:51 Removing intermediate container 82acb5f61e7e 02:31:51 ---> 01c02a812618 02:31:51 Successfully built 01c02a812618 02:31:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:51 + docker inspect -f . ci-base-image-x86_64 02:31:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:31:51 prd-ubuntu20.04-docker-8c-8g-37503 does not seem to be running inside a container 02:31:51 $ 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 02:31:54 $ docker top aed162629ef7b14728af0203db07bfea39d252f5e1a5c942eb172332aba0b26d -eo pid,comm [Pipeline] { [Pipeline] sh 02:31:54 + go version 02:31:54 go version go1.23.4 linux/amd64 [Pipeline] } 02:31:54 $ docker stop --time=1 aed162629ef7b14728af0203db07bfea39d252f5e1a5c942eb172332aba0b26d 02:31:56 $ docker rm -f --volumes aed162629ef7b14728af0203db07bfea39d252f5e1a5c942eb172332aba0b26d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:56 + docker inspect -f . ci-base-image-x86_64 02:31:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:31:56 prd-ubuntu20.04-docker-8c-8g-37503 does not seem to be running inside a container 02:31:56 $ 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 02:31:57 $ docker top 573a34dcd6066a5fbfa47eda80244c262551962bf0f99a47721914f5d530e95d -eo pid,comm [Pipeline] { [Pipeline] sh 02:31:57 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 02:31:57 + make test 02:31:57 go test ./... -coverprofile=coverage.out 02:31:59 ? github.com/edgexfoundry/device-modbus-go [no test files] 02:32:17 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 02:32:17 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.010s coverage: 45.7% of statements 02:32:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-37506 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 02:32:18 Running in /w/workspace/device-modbus-go/177 [Pipeline] { [Pipeline] checkout 02:32:21 The recommended git tool is: git 02:32:25 go vet ./... 02:32:28 using credential edgex-jenkins-ssh 02:32:28 Cloning the remote Git repository 02:32:28 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 02:32:28 > git init /w/workspace/device-modbus-go/177 # timeout=10 02:32:29 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 02:32:29 > git --version # timeout=10 02:32:29 > git --version # 'git version 2.25.1' 02:32:29 using GIT_SSH to set credentials SSH Credentials for GitHub 02:32:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:32:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:32:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:32:31 ./bin/test-attribution-txt.sh [Pipeline] echo 02:32:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:32:31 $ docker stop --time=1 573a34dcd6066a5fbfa47eda80244c262551962bf0f99a47721914f5d530e95d 02:32:31 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 02:32:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:32:32 Avoid second fetch 02:32:32 Checking out Revision 0c489a3726be89f9077189728f7c6ddd3e8be6bf (main) 02:32:33 Commit message: "Merge pull request #600 from whxtpbnl/feat/support_modbusASCII/lwq" 02:32:32 > git config core.sparsecheckout # timeout=10 02:32:32 > git checkout -f 0c489a3726be89f9077189728f7c6ddd3e8be6bf # timeout=10 02:32:36 $ docker rm -f --volumes 573a34dcd6066a5fbfa47eda80244c262551962bf0f99a47721914f5d530e95d [Pipeline] // withDockerContainer [Pipeline] sh 02:32:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:32:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:32:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:32:38 + ls -al . 02:32:38 total 260 02:32:38 drwxrwxr-x 9 jenkins jenkins 4096 Jan 23 02:31 . 02:32:38 drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 02:29 .. 02:32:38 -rw-rw-r-- 1 jenkins jenkins 140 Jan 23 02:29 .dockerignore 02:32:38 drwxrwxr-x 8 jenkins jenkins 4096 Jan 23 02:32 .git 02:32:38 drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 02:29 .github 02:32:38 -rw-rw-r-- 1 jenkins jenkins 266 Jan 23 02:29 .gitignore 02:32:38 -rw-rw-r-- 1 jenkins jenkins 199 Jan 23 02:29 .golangci.yml 02:32:38 drwxr-xr-x 3 jenkins jenkins 4096 Jan 23 02:30 .semver 02:32:38 -rw-rw-r-- 1 jenkins jenkins 19818 Jan 23 02:29 Attribution.txt 02:32:38 -rw-rw-r-- 1 jenkins jenkins 16388 Jan 23 02:29 CHANGELOG.md 02:32:38 -rw-rw-r-- 1 jenkins jenkins 1479 Jan 23 02:29 Dockerfile 02:32:38 -rw-rw-r-- 1 jenkins jenkins 677 Jan 23 02:29 GOVERNANCE.md 02:32:38 -rw-rw-r-- 1 jenkins jenkins 658 Jan 23 02:29 Jenkinsfile 02:32:38 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 23 02:29 LICENSE 02:32:38 -rw-rw-r-- 1 jenkins jenkins 2524 Jan 23 02:29 Makefile 02:32:38 -rw-rw-r-- 1 jenkins jenkins 622 Jan 23 02:29 OWNERS.md 02:32:38 -rw-rw-r-- 1 jenkins jenkins 4463 Jan 23 02:29 README.md 02:32:38 -rw-rw-r-- 1 jenkins jenkins 12 Jan 23 02:30 VERSION 02:32:38 drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 02:29 bin 02:32:38 drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 02:29 cmd 02:32:38 -rw-r--r-- 1 jenkins jenkins 26779 Jan 23 02:32 coverage.out 02:32:38 -rw-rw-r-- 1 jenkins jenkins 6390 Jan 23 02:29 go.mod 02:32:38 -rw-rw-r-- 1 jenkins jenkins 86976 Jan 23 02:29 go.sum 02:32:38 drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 02:29 internal 02:32:38 drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 02:29 simulator 02:32:38 -rw-rw-r-- 1 jenkins jenkins 229 Jan 23 02:29 version.go [Pipeline] isUnix 02:32:38 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:32:38 % Total % Received % Xferd Average Speed Time Time Time Current 02:32:38 Dload Upload Total Spent Left Speed 02:32:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 81189 0 --:--:-- --:--:-- --:--:-- 80679 [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh 02:32:38 + 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=0c489a3726be89f9077189728f7c6ddd3e8be6bf --label arch=amd64 --label version=4.0.0-dev.12 . 02:32:38 Sending build context to Docker daemon 18.21MB 02:32:38 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 02:32:38 Step 2/23 : FROM ${BASE} AS builder 02:32:38 ---> 01c02a812618 02:32:38 Step 3/23 : ARG ADD_BUILD_TAGS="" 02:32:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:32:38 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:32:38 + sudo tee /etc/docker/daemon.new 02:32:38 { 02:32:38 "registry-mirrors": [ 02:32:38 "https://nexus3.edgexfoundry.org:10001" 02:32:38 ], 02:32:38 "bip": "10.250.0.254/24", 02:32:38 "hosts": [ 02:32:38 "tcp://0.0.0.0:5555", 02:32:38 "unix:///var/run/docker.sock" 02:32:38 ], 02:32:38 "mtu": 1458, 02:32:38 "selinux-enabled": true, 02:32:38 "seccomp-profile": "/etc/docker/seccomp.json" 02:32:38 } [Pipeline] sh 02:32:38 ---> Running in a134fe263ba2 02:32:38 Removing intermediate container a134fe263ba2 02:32:38 ---> 07c44344ce7d 02:32:38 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:32:38 ---> Running in 2ccf1e21564e 02:32:38 Removing intermediate container 2ccf1e21564e 02:32:38 ---> 1cd8c0be64f3 02:32:38 Step 5/23 : RUN apk add --update --no-cache make git openssh 02:32:38 ---> Running in 77beaeeac135 02:32:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:32:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:32:39 + sudo service docker restart 02:32:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:32:39 OK: 253 MiB in 66 packages 02:32:39 Removing intermediate container 77beaeeac135 02:32:39 ---> ea667a13f97d 02:32:39 Step 6/23 : WORKDIR /device-modbus-go 02:32:40 ---> Running in 71be09a65f02 02:32:40 Removing intermediate container 71be09a65f02 02:32:40 ---> bb237a272d56 02:32:40 Step 7/23 : COPY go.mod vendor* ./ 02:32:40 ---> da80a2cc2ad5 02:32:40 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:32:40 ---> Running in c37cfc420f05 02:32:40 Removing intermediate container c37cfc420f05 02:32:40 ---> ece6c449128d 02:32:40 Step 9/23 : COPY . . 02:32:41 ---> 2a112017bcd6 02:32:41 Step 10/23 : RUN ${MAKE} 02:32:41 ---> Running in 38e4bb267565 02:32:42 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=4.0.0-dev.12 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.19 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:32:57 provisioning config files... 02:32:57 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/177@tmp/config3547698178305293768tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:32:58 ---> ****-login.sh 02:32:58 nexus3.edgexfoundry.org:10001 02:32:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:32:58 Configure a credential helper to remove this warning. See 02:32:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:32:58 02:32:58 Login Succeeded 02:32:58 nexus3.edgexfoundry.org:10002 02:32:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:32:58 Configure a credential helper to remove this warning. See 02:32:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:32:58 02:32:58 Login Succeeded 02:32:58 nexus3.edgexfoundry.org:10003 02:32:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:32:59 Configure a credential helper to remove this warning. See 02:32:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:32:59 02:32:59 Login Succeeded 02:32:59 nexus3.edgexfoundry.org:10004 02:32:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:32:59 Configure a credential helper to remove this warning. See 02:32:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:32:59 02:32:59 Login Succeeded 02:32:59 ****.io 02:32:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:32:59 Configure a credential helper to remove this warning. See 02:32:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:32:59 02:32:59 Login Succeeded 02:32:59 ---> ****-login.sh ends [Pipeline] } 02:32:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:33:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:33:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:33:00 ========================================================= 02:33:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 02:33:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:00 + 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 . 02:33:01 #0 building with "default" instance using docker driver 02:33:01 02:33:01 #1 [internal] load build definition from Dockerfile 02:33:01 #1 transferring dockerfile: 1.52kB 0.0s done 02:33:01 #1 DONE 0.1s 02:33:01 02:33:01 #2 [internal] load .dockerignore 02:33:01 #2 transferring context: 182B 0.0s done 02:33:01 #2 DONE 0.1s 02:33:01 02:33:01 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 02:33:01 #3 DONE 0.1s 02:33:01 02:33:01 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine@sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 02:33:01 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine@sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 0.0s done 02:33:02 #4 sha256:1f018df607018fc7afb0d728a2fb6f074513e3643d68602c853060c087051a65 0B / 293.53kB 0.1s 02:33:02 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 0B / 70.67MB 0.1s 02:33:02 #4 sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 2.20kB / 2.20kB done 02:33:02 #4 sha256:63f30b955cb97fcd3b0f66c958b490aa2c7b3743d97e3fa179989d7288cc1b86 4.16kB / 4.16kB done 02:33:02 #4 sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 4.09MB / 4.09MB 0.2s 02:33:02 #4 sha256:e6a1e7a6a96ab105c50cf54b70ed26c096e88ddd84d8a3473261c7f86b776356 126B / 126B 0.2s done 02:33:02 #4 sha256:1f018df607018fc7afb0d728a2fb6f074513e3643d68602c853060c087051a65 293.53kB / 293.53kB 0.1s done 02:33:02 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 6.29MB / 70.67MB 0.3s 02:33:02 #4 sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 4.09MB / 4.09MB 0.2s done 02:33:02 #4 extracting sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 02:33:02 #4 sha256:d45d956e0dbfc71dc6db285af02877352bcad8f33faf81c6565624cf2fb9c1f1 441B / 441B 0.3s 02:33:02 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 10.49MB / 70.67MB 0.4s 02:33:02 #4 sha256:d45d956e0dbfc71dc6db285af02877352bcad8f33faf81c6565624cf2fb9c1f1 441B / 441B 0.3s done 02:33:02 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.3s done 02:33:02 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 737.28kB / 98.78MB 0.4s 02:33:02 #4 sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 0B / 12.74MB 0.4s 02:33:02 #4 sha256:d7702b0d1db1c4c128a6e3d3cbfac245e99cde78e26b05477ad200fe93059ae7 93B / 93B 0.3s done 02:33:02 #4 ... 02:33:02 02:33:02 #5 [internal] load build context 02:33:02 #5 transferring context: 9.10MB 0.4s done 02:33:02 #5 DONE 0.4s 02:33:02 02:33:02 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine@sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 02:33:02 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 14.68MB / 70.67MB 0.5s 02:33:02 #4 sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 3.15MB / 12.74MB 0.5s 02:33:02 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 19.87MB / 70.67MB 0.6s 02:33:02 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 8.39MB / 98.78MB 0.6s 02:33:02 #4 sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 6.29MB / 12.74MB 0.6s 02:33:02 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 24.19MB / 70.67MB 0.7s 02:33:02 #4 extracting sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 0.5s done 02:33:02 #4 sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 10.49MB / 12.74MB 0.7s 02:33:02 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 29.36MB / 70.67MB 0.8s 02:33:02 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 16.78MB / 98.78MB 0.8s 02:33:02 #4 sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 12.74MB / 12.74MB 0.8s done 02:33:03 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 40.89MB / 70.67MB 1.0s 02:33:03 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 25.17MB / 98.78MB 1.0s 02:33:03 #4 extracting sha256:1f018df607018fc7afb0d728a2fb6f074513e3643d68602c853060c087051a65 02:33:03 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 47.19MB / 70.67MB 1.1s 02:33:03 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 30.41MB / 98.78MB 1.1s 02:33:03 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 52.43MB / 70.67MB 1.2s 02:33:03 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 35.65MB / 98.78MB 1.2s 02:33:03 #4 extracting sha256:1f018df607018fc7afb0d728a2fb6f074513e3643d68602c853060c087051a65 0.2s done 02:33:03 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 64.17MB / 70.67MB 1.4s 02:33:03 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 45.09MB / 98.78MB 1.4s 02:33:03 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 70.67MB / 70.67MB 1.5s 02:33:03 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 50.79MB / 98.78MB 1.5s 02:33:03 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 70.67MB / 70.67MB 1.6s done 02:33:03 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 62.75MB / 98.78MB 1.7s 02:33:03 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 68.16MB / 98.78MB 1.8s 02:33:03 #4 extracting sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 0.1s 02:33:03 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 73.40MB / 98.78MB 1.9s 02:33:04 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 79.69MB / 98.78MB 2.0s 02:33:04 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 90.70MB / 98.78MB 2.2s 02:33:04 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 96.47MB / 98.78MB 2.3s 02:33:04 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 98.78MB / 98.78MB 2.5s done 02:33:11 #4 extracting sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 6.5s 02:33:15 #4 extracting sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 11.6s 02:33:20 Removing intermediate container 38e4bb267565 02:33:20 ---> 50898ceaddb9 02:33:20 Step 11/23 : FROM alpine:3.20 02:33:20 3.20: Pulling from library/alpine 02:33:20 66a3d608f3fa: Pulling fs layer 02:33:20 66a3d608f3fa: Verifying Checksum 02:33:20 66a3d608f3fa: Download complete 02:33:20 66a3d608f3fa: Pull complete 02:33:20 Digest: sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 02:33:20 Status: Downloaded newer image for alpine:3.20 02:33:20 ---> e29df9b510ff 02:33:20 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 02:33:20 ---> Running in 57707575f781 02:33:20 Removing intermediate container 57707575f781 02:33:20 ---> 9b64abc59ecf 02:33:20 Step 13/23 : RUN apk add --update --no-cache dumb-init 02:33:20 ---> Running in 665b508f8d30 02:33:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:33:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:33:20 (1/1) Installing dumb-init (1.2.5-r3) 02:33:20 Executing busybox-1.36.1-r29.trigger 02:33:20 OK: 8 MiB in 15 packages 02:33:20 Removing intermediate container 665b508f8d30 02:33:20 ---> 2e488de08c6f 02:33:20 Step 14/23 : RUN apk --no-cache upgrade 02:33:20 ---> Running in d45dcc2fc339 02:33:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:33:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:33:20 OK: 8 MiB in 15 packages 02:33:20 Removing intermediate container d45dcc2fc339 02:33:20 ---> ee63c40317cb 02:33:20 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 02:33:20 ---> 812b63f76856 02:33:20 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 02:33:20 ---> 2d35e294f9ff 02:33:20 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 02:33:20 ---> b0b192f1b926 02:33:20 Step 18/23 : EXPOSE 59901 02:33:20 ---> Running in 39e36afdacfe 02:33:20 Removing intermediate container 39e36afdacfe 02:33:20 ---> 569249ccbf3f 02:33:20 Step 19/23 : ENTRYPOINT ["/device-modbus"] 02:33:20 ---> Running in e0fb8f1880ce 02:33:20 Removing intermediate container e0fb8f1880ce 02:33:20 ---> 3f858a9c7435 02:33:20 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 02:33:20 ---> Running in cdd74414d7ee 02:33:20 Removing intermediate container cdd74414d7ee 02:33:20 ---> 4b9f4efe355a 02:33:20 Step 21/23 : LABEL arch=amd64 02:33:20 ---> Running in 80797062ff44 02:33:20 Removing intermediate container 80797062ff44 02:33:20 ---> 2fcd86ef620b 02:33:20 Step 22/23 : LABEL git_sha=0c489a3726be89f9077189728f7c6ddd3e8be6bf 02:33:20 ---> Running in 38e2a65cc002 02:33:20 Removing intermediate container 38e2a65cc002 02:33:20 ---> ab2839e580f9 02:33:20 Step 23/23 : LABEL version=4.0.0-dev.12 02:33:20 ---> Running in 938e1bb5ea52 02:33:20 Removing intermediate container 938e1bb5ea52 02:33:20 ---> e878677ac9ca 02:33:20 [Warning] One or more build-args [ARCH] were not consumed 02:33:20 Successfully built e878677ac9ca 02:33:20 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:33:20 provisioning config files... 02:33:20 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11032212635580996060tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:33:21 ---> ****-login.sh 02:33:21 nexus3.edgexfoundry.org:10001 02:33:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:33:21 Configure a credential helper to remove this warning. See 02:33:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:33:21 02:33:21 Login Succeeded 02:33:21 nexus3.edgexfoundry.org:10002 02:33:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:33:21 Configure a credential helper to remove this warning. See 02:33:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:33:21 02:33:21 Login Succeeded 02:33:21 nexus3.edgexfoundry.org:10003 02:33:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:33:21 Configure a credential helper to remove this warning. See 02:33:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:33:21 02:33:21 Login Succeeded 02:33:21 nexus3.edgexfoundry.org:10004 02:33:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:33:21 Configure a credential helper to remove this warning. See 02:33:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:33:21 02:33:21 Login Succeeded 02:33:21 ****.io 02:33:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:33:21 Configure a credential helper to remove this warning. See 02:33:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:33:21 02:33:21 Login Succeeded 02:33:21 ---> ****-login.sh ends [Pipeline] } 02:33:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:33:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:33:21 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 02:33:21 0c489a3726be89f9077189728f7c6ddd3e8be6bf 02:33:21 latest 02:33:21 4.0.0-dev.12 02:33:21 0c489a3726be89f9077189728f7c6ddd3e8be6bf-4.0.0-dev.12 02:33:21 main 02:33:21 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:22 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:0c489a3726be89f9077189728f7c6ddd3e8be6bf [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:22 + docker push nexus3.edgexfoundry.org:10004/device-modbus:0c489a3726be89f9077189728f7c6ddd3e8be6bf 02:33:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 02:33:22 09ae5ab3edf1: Preparing 02:33:22 02343c4e14a6: Preparing 02:33:22 0b306c30dd49: Preparing 02:33:22 8c4b4e9ee84a: Preparing 02:33:22 f010010496f5: Preparing 02:33:22 ce5a8cde9eee: Preparing 02:33:22 f010010496f5: Pushed 02:33:22 ce5a8cde9eee: Layer already exists 02:33:22 09ae5ab3edf1: Pushed 02:33:22 8c4b4e9ee84a: Pushed 02:33:22 02343c4e14a6: Pushed 02:33:23 #4 extracting sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 19.2s done 02:33:24 #4 extracting sha256:e6a1e7a6a96ab105c50cf54b70ed26c096e88ddd84d8a3473261c7f86b776356 done 02:33:24 #4 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done 02:33:24 #4 extracting sha256:d45d956e0dbfc71dc6db285af02877352bcad8f33faf81c6565624cf2fb9c1f1 02:33:24 #4 extracting sha256:d45d956e0dbfc71dc6db285af02877352bcad8f33faf81c6565624cf2fb9c1f1 done 02:33:24 #4 extracting sha256:d7702b0d1db1c4c128a6e3d3cbfac245e99cde78e26b05477ad200fe93059ae7 done 02:33:24 #4 extracting sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 02:33:25 0b306c30dd49: Pushed 02:33:25 0c489a3726be89f9077189728f7c6ddd3e8be6bf: digest: sha256:0822fe01388d1bacf3059585ad999851ee51d987e8b4e845d976afe0dd5da85b size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:26 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:26 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 02:33:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 02:33:26 09ae5ab3edf1: Preparing 02:33:26 02343c4e14a6: Preparing 02:33:26 0b306c30dd49: Preparing 02:33:26 8c4b4e9ee84a: Preparing 02:33:26 f010010496f5: Preparing 02:33:26 ce5a8cde9eee: Preparing 02:33:26 ce5a8cde9eee: Waiting 02:33:26 8c4b4e9ee84a: Layer already exists 02:33:26 f010010496f5: Layer already exists 02:33:26 09ae5ab3edf1: Layer already exists 02:33:26 0b306c30dd49: Layer already exists 02:33:26 02343c4e14a6: Layer already exists 02:33:26 ce5a8cde9eee: Layer already exists 02:33:26 latest: digest: sha256:0822fe01388d1bacf3059585ad999851ee51d987e8b4e845d976afe0dd5da85b size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:26 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:27 + docker push nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.12 02:33:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 02:33:27 09ae5ab3edf1: Preparing 02:33:27 02343c4e14a6: Preparing 02:33:27 0b306c30dd49: Preparing 02:33:27 8c4b4e9ee84a: Preparing 02:33:27 f010010496f5: Preparing 02:33:27 ce5a8cde9eee: Preparing 02:33:27 0b306c30dd49: Layer already exists 02:33:27 f010010496f5: Layer already exists 02:33:27 09ae5ab3edf1: Layer already exists 02:33:27 8c4b4e9ee84a: Layer already exists 02:33:27 02343c4e14a6: Layer already exists 02:33:27 ce5a8cde9eee: Layer already exists 02:33:27 4.0.0-dev.12: digest: sha256:0822fe01388d1bacf3059585ad999851ee51d987e8b4e845d976afe0dd5da85b size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:27 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:0c489a3726be89f9077189728f7c6ddd3e8be6bf-4.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:27 + docker push nexus3.edgexfoundry.org:10004/device-modbus:0c489a3726be89f9077189728f7c6ddd3e8be6bf-4.0.0-dev.12 02:33:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 02:33:27 09ae5ab3edf1: Preparing 02:33:27 02343c4e14a6: Preparing 02:33:27 0b306c30dd49: Preparing 02:33:27 8c4b4e9ee84a: Preparing 02:33:27 f010010496f5: Preparing 02:33:27 ce5a8cde9eee: Preparing 02:33:27 ce5a8cde9eee: Waiting 02:33:27 0b306c30dd49: Layer already exists 02:33:27 f010010496f5: Layer already exists 02:33:27 09ae5ab3edf1: Layer already exists 02:33:27 02343c4e14a6: Layer already exists 02:33:27 8c4b4e9ee84a: Layer already exists 02:33:27 ce5a8cde9eee: Layer already exists 02:33:27 0c489a3726be89f9077189728f7c6ddd3e8be6bf-4.0.0-dev.12: digest: sha256:0822fe01388d1bacf3059585ad999851ee51d987e8b4e845d976afe0dd5da85b size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:28 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:28 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 02:33:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 02:33:28 09ae5ab3edf1: Preparing 02:33:28 02343c4e14a6: Preparing 02:33:28 0b306c30dd49: Preparing 02:33:28 8c4b4e9ee84a: Preparing 02:33:28 f010010496f5: Preparing 02:33:28 ce5a8cde9eee: Preparing 02:33:28 ce5a8cde9eee: Waiting 02:33:28 f010010496f5: Layer already exists 02:33:28 0b306c30dd49: Layer already exists 02:33:28 09ae5ab3edf1: Layer already exists 02:33:28 8c4b4e9ee84a: Layer already exists 02:33:28 02343c4e14a6: Layer already exists 02:33:28 ce5a8cde9eee: Layer already exists 02:33:28 main: digest: sha256:0822fe01388d1bacf3059585ad999851ee51d987e8b4e845d976afe0dd5da85b size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:33:28 ===================================================== [Pipeline] echo 02:33:28 taggedImages: 02:33:28 - nexus3.edgexfoundry.org:10004/device-modbus:0c489a3726be89f9077189728f7c6ddd3e8be6bf 02:33:28 - nexus3.edgexfoundry.org:10004/device-modbus:latest 02:33:28 - nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.12 02:33:28 - nexus3.edgexfoundry.org:10004/device-modbus:0c489a3726be89f9077189728f7c6ddd3e8be6bf-4.0.0-dev.12 02:33:28 - 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 02:33:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:33:29 02:33:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:33:29 latest: Pulling from edgex-lftools-log-publisher 02:33:29 5eb5b503b376: Pulling fs layer 02:33:29 5c69ac0246d0: Pulling fs layer 02:33:29 ec43610c2a17: Pulling fs layer 02:33:29 3a2ae6a8a46f: Pulling fs layer 02:33:29 33b1e0a273af: Pulling fs layer 02:33:29 5d3b04190fa2: Pulling fs layer 02:33:29 2f39f015ded8: Pulling fs layer 02:33:29 3a2ae6a8a46f: Waiting 02:33:29 5d3b04190fa2: Waiting 02:33:29 33b1e0a273af: Waiting 02:33:29 5c69ac0246d0: Download complete 02:33:29 3a2ae6a8a46f: Verifying Checksum 02:33:29 3a2ae6a8a46f: Download complete 02:33:29 33b1e0a273af: Verifying Checksum 02:33:29 33b1e0a273af: Download complete 02:33:29 5d3b04190fa2: Verifying Checksum 02:33:29 5d3b04190fa2: Download complete 02:33:29 ec43610c2a17: Verifying Checksum 02:33:29 ec43610c2a17: Download complete 02:33:29 5eb5b503b376: Verifying Checksum 02:33:29 5eb5b503b376: Download complete 02:33:30 2f39f015ded8: Verifying Checksum 02:33:30 2f39f015ded8: Download complete 02:33:30 #4 extracting sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 5.0s 02:33:30 5eb5b503b376: Pull complete 02:33:30 5c69ac0246d0: Pull complete 02:33:31 ec43610c2a17: Pull complete 02:33:31 3a2ae6a8a46f: Pull complete 02:33:31 33b1e0a273af: Pull complete 02:33:31 5d3b04190fa2: Pull complete 02:33:34 #4 extracting sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 9.1s done 02:33:34 #4 extracting sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 02:33:35 2f39f015ded8: Pull complete 02:33:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:33:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:33:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:33:35 prd-ubuntu20.04-docker-8c-8g-37503 does not seem to be running inside a container 02:33:35 $ 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 02:33:36 #4 extracting sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 2.0s done 02:33:36 #4 DONE 34.7s 02:33:36 02:33:36 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh 02:33:37 #6 0.688 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:33:37 #6 1.052 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:33:39 #6 2.488 (1/8) Installing openssh-keygen (9.7_p1-r4) 02:33:39 #6 2.510 (2/8) Installing libedit (20240517.3.1-r0) 02:33:39 #6 2.529 (3/8) Installing openssh-client-common (9.7_p1-r4) 02:33:39 #6 2.593 (4/8) Installing openssh-client-default (9.7_p1-r4) 02:33:39 #6 2.733 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 02:33:39 #6 2.751 (6/8) Installing openssh-server-common (9.7_p1-r4) 02:33:39 #6 2.837 (7/8) Installing openssh-server (9.7_p1-r4) 02:33:39 #6 2.951 (8/8) Installing openssh (9.7_p1-r4) 02:33:39 #6 3.047 Executing busybox-1.36.1-r29.trigger 02:33:39 #6 3.086 OK: 245 MiB in 66 packages 02:33:41 #6 DONE 4.8s 02:33:41 02:33:41 #7 [builder 3/7] WORKDIR /device-modbus-go 02:33:41 #7 DONE 0.1s 02:33:41 02:33:41 #8 [builder 4/7] COPY go.mod vendor* ./ 02:33:41 #8 DONE 0.1s 02:33:41 02:33:41 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:33:44 $ docker top 4e192e1794b0ef36ab2ad773cc3a5d79f6a1325eeba365a984d032115982b245 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:33:44 ---> job-cost.sh 02:33:44 lf-activate-venv: SKIPPING 02:33:44 INFO: No Stack... 02:33:44 INFO: Retrieving Pricing Info for: v3-standard-8 02:33:45 INFO: Archiving Costs [Pipeline] sh 02:33:45 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 02:33:45 + cut -d, -f6 [Pipeline] lock 02:33:45 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-177-stack-cost] 02:33:45 Resource [jenkins-edgexfoundry-device-modbus-go-main-177-stack-cost] did not exist. Created. 02:33:45 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-177-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:33:46 + echo total: 0.2199999988079071 [Pipeline] stash 02:33:46 Stashed 1 file(s) [Pipeline] } 02:33:46 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-177-stack-cost] [Pipeline] // lock [Pipeline] } 02:33:46 $ docker stop --time=1 4e192e1794b0ef36ab2ad773cc3a5d79f6a1325eeba365a984d032115982b245 02:33:47 $ docker rm -f --volumes 4e192e1794b0ef36ab2ad773cc3a5d79f6a1325eeba365a984d032115982b245 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:34:14 #9 DONE 28.0s 02:34:14 02:34:14 #10 [builder 6/7] COPY . . 02:34:14 #10 DONE 0.3s 02:34:14 02:34:14 #11 [builder 7/7] RUN echo noop 02:34:14 #11 0.687 noop 02:34:14 #11 DONE 0.8s 02:34:14 02:34:14 #12 exporting to image 02:34:14 #12 exporting layers 02:34:46 #12 exporting layers 34.2s done 02:34:46 #12 writing image sha256:6c59cae7a4ea0f9019b5a69378384837fee469594ffe5ab4ba2ba90ce1fe3f3c done 02:34:46 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 02:34:46 #12 DONE 34.2s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:46 + docker inspect -f . ci-base-image-arm64 02:34:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:34:47 prd-ubuntu20.04-docker-arm64-4c-16g-37506 does not seem to be running inside a container 02:34:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/177 -v /w/workspace/device-modbus-go/177:/w/workspace/device-modbus-go/177:rw,z -v /w/workspace/device-modbus-go/177@tmp:/w/workspace/device-modbus-go/177@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 02:34:48 $ docker top 45870d8d70f3ef8c8518f4c7007e0a795d421d0b8a52eb700e5f4c24e7bcbfb4 -eo pid,comm [Pipeline] { [Pipeline] sh 02:34:49 + go version 02:34:49 go version go1.23.4 linux/arm64 [Pipeline] } 02:34:49 $ docker stop --time=1 45870d8d70f3ef8c8518f4c7007e0a795d421d0b8a52eb700e5f4c24e7bcbfb4 02:34:50 $ docker rm -f --volumes 45870d8d70f3ef8c8518f4c7007e0a795d421d0b8a52eb700e5f4c24e7bcbfb4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:51 + docker inspect -f . ci-base-image-arm64 02:34:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:34:51 prd-ubuntu20.04-docker-arm64-4c-16g-37506 does not seem to be running inside a container 02:34:51 $ 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/177 -v /w/workspace/device-modbus-go/177:/w/workspace/device-modbus-go/177:rw,z -v /w/workspace/device-modbus-go/177@tmp:/w/workspace/device-modbus-go/177@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 02:34:52 $ docker top 39647e531bb44d4aee7f177004e646bd803df37360d60229e9971507b24563e8 -eo pid,comm [Pipeline] { [Pipeline] sh 02:34:53 + git config --global --add safe.directory /w/workspace/device-modbus-go/177 [Pipeline] fileExists [Pipeline] sh 02:34:53 + make test 02:34:53 go test ./... -coverprofile=coverage.out 02:34:58 ? github.com/edgexfoundry/device-modbus-go [no test files] 02:37:05 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 02:37:05 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.056s coverage: 45.7% of statements 02:37:05 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:37:05 go vet ./... 02:37:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:37:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:37:28 ./bin/test-attribution-txt.sh [Pipeline] echo 02:37:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:37:28 $ docker stop --time=1 39647e531bb44d4aee7f177004e646bd803df37360d60229e9971507b24563e8 02:37:31 $ docker rm -f --volumes 39647e531bb44d4aee7f177004e646bd803df37360d60229e9971507b24563e8 [Pipeline] // withDockerContainer [Pipeline] sh 02:37:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:37:32 Warning: overwriting stash ‘coverage-report’ 02:37:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:37:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:37:34 + ls -al . 02:37:34 total 256 02:37:34 drwxrwxr-x 8 jenkins jenkins 4096 Jan 23 02:34 . 02:37:34 drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 02:32 .. 02:37:34 -rw-rw-r-- 1 jenkins jenkins 140 Jan 23 02:32 .dockerignore 02:37:34 drwxrwxr-x 8 jenkins jenkins 4096 Jan 23 02:32 .git 02:37:34 drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 02:32 .github 02:37:34 -rw-rw-r-- 1 jenkins jenkins 266 Jan 23 02:32 .gitignore 02:37:34 -rw-rw-r-- 1 jenkins jenkins 199 Jan 23 02:32 .golangci.yml 02:37:34 -rw-rw-r-- 1 jenkins jenkins 19818 Jan 23 02:32 Attribution.txt 02:37:34 -rw-rw-r-- 1 jenkins jenkins 16388 Jan 23 02:32 CHANGELOG.md 02:37:34 -rw-rw-r-- 1 jenkins jenkins 1479 Jan 23 02:32 Dockerfile 02:37:34 -rw-rw-r-- 1 jenkins jenkins 677 Jan 23 02:32 GOVERNANCE.md 02:37:34 -rw-rw-r-- 1 jenkins jenkins 658 Jan 23 02:32 Jenkinsfile 02:37:34 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 23 02:32 LICENSE 02:37:34 -rw-rw-r-- 1 jenkins jenkins 2524 Jan 23 02:32 Makefile 02:37:34 -rw-rw-r-- 1 jenkins jenkins 622 Jan 23 02:32 OWNERS.md 02:37:34 -rw-rw-r-- 1 jenkins jenkins 4463 Jan 23 02:32 README.md 02:37:34 -rw-rw-r-- 1 jenkins jenkins 12 Jan 23 02:30 VERSION 02:37:34 drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 02:32 bin 02:37:34 drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 02:32 cmd 02:37:34 -rw-r--r-- 1 jenkins jenkins 26779 Jan 23 02:36 coverage.out 02:37:34 -rw-rw-r-- 1 jenkins jenkins 6390 Jan 23 02:32 go.mod 02:37:34 -rw-rw-r-- 1 jenkins jenkins 86976 Jan 23 02:32 go.sum 02:37:34 drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 02:32 internal 02:37:34 drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 02:32 simulator 02:37:34 -rw-rw-r-- 1 jenkins jenkins 229 Jan 23 02:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:34 + 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=0c489a3726be89f9077189728f7c6ddd3e8be6bf --label arch=arm64 --label version=4.0.0-dev.12 . 02:37:35 #0 building with "default" instance using docker driver 02:37:35 02:37:35 #1 [internal] load build definition from Dockerfile 02:37:35 #1 transferring dockerfile: 1.52kB done 02:37:35 #1 DONE 0.0s 02:37:35 02:37:35 #2 [internal] load .dockerignore 02:37:35 #2 transferring context: 182B done 02:37:35 #2 DONE 0.0s 02:37:35 02:37:35 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 02:37:35 #3 DONE 0.0s 02:37:35 02:37:35 #4 [internal] load metadata for docker.io/library/alpine:3.20 02:37:35 #4 DONE 0.3s 02:37:35 02:37:35 #5 [internal] load build context 02:37:35 #5 transferring context: 35.24kB 0.1s done 02:37:35 #5 DONE 0.1s 02:37:35 02:37:35 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.20@sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 02:37:35 #6 resolve docker.io/library/alpine:3.20@sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 0.1s done 02:37:35 #6 sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 9.22kB / 9.22kB done 02:37:35 #6 sha256:f398c8d5c6b54212a0d71bd3d9c6e08b2c2df51210f837187a6eb1280a284fdb 1.02kB / 1.02kB done 02:37:35 #6 sha256:f4194d9e8c10bd78a88786968a5d481b1c4cfe6c2676d732972c852d0f88a460 597B / 597B done 02:37:35 #6 sha256:0152682790bba2052e0b7dc52872083c01ea53c598fe87e3fe3eab5f9d4228cb 1.75MB / 4.09MB 0.1s 02:37:35 #6 ... 02:37:35 02:37:35 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 02:37:35 #7 DONE 0.2s 02:37:35 02:37:35 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.20@sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 02:37:35 #6 sha256:0152682790bba2052e0b7dc52872083c01ea53c598fe87e3fe3eab5f9d4228cb 4.09MB / 4.09MB 0.2s done 02:37:35 #6 extracting sha256:0152682790bba2052e0b7dc52872083c01ea53c598fe87e3fe3eab5f9d4228cb 02:37:36 #6 extracting sha256:0152682790bba2052e0b7dc52872083c01ea53c598fe87e3fe3eab5f9d4228cb 0.4s done 02:37:36 #6 DONE 1.0s 02:37:36 02:37:36 #8 [builder 2/7] RUN apk add --update --no-cache make git openssh 02:37:36 #8 0.784 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:37:36 #8 1.202 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:37:38 #8 2.579 OK: 245 MiB in 66 packages 02:37:38 #8 DONE 2.9s 02:37:38 02:37:38 #9 [builder 3/7] WORKDIR /device-modbus-go 02:37:38 #9 DONE 0.1s 02:37:38 02:37:38 #10 [builder 4/7] COPY go.mod vendor* ./ 02:37:38 #10 DONE 0.2s 02:37:38 02:37:38 #11 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:37:39 #11 ... 02:37:39 02:37:39 #12 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 02:37:39 #12 0.677 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:37:39 #12 0.988 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:37:39 #12 2.268 (1/1) Installing dumb-init (1.2.5-r3) 02:37:39 #12 2.284 Executing busybox-1.36.1-r29.trigger 02:37:39 #12 2.316 OK: 9 MiB in 15 packages 02:37:39 #12 DONE 2.7s 02:37:39 02:37:39 #13 [stage-1 3/6] RUN apk --no-cache upgrade 02:37:40 #13 0.794 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:37:40 #13 ... 02:37:40 02:37:40 #11 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:37:40 #11 DONE 1.3s 02:37:40 02:37:40 #13 [stage-1 3/6] RUN apk --no-cache upgrade 02:37:40 #13 1.124 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:37:40 #13 ... 02:37:40 02:37:40 #14 [builder 6/7] COPY . . 02:37:40 #14 DONE 0.3s 02:37:40 02:37:40 #15 [builder 7/7] RUN make build 02:37:41 #15 0.650 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=4.0.0-dev.12 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.19 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 02:37:42 #15 ... 02:37:42 02:37:42 #13 [stage-1 3/6] RUN apk --no-cache upgrade 02:37:42 #13 2.519 OK: 9 MiB in 15 packages 02:37:42 #13 DONE 2.9s 02:37:42 02:37:42 #15 [builder 7/7] RUN make build 02:39:48 #15 DONE 126.7s 02:39:48 02:39:48 #16 [stage-1 4/6] COPY --from=builder /device-modbus-go/cmd / 02:39:48 #16 DONE 0.5s 02:39:48 02:39:48 #17 [stage-1 5/6] COPY --from=builder /device-modbus-go/LICENSE / 02:39:48 #17 DONE 0.1s 02:39:48 02:39:48 #18 [stage-1 6/6] COPY --from=builder /device-modbus-go/Attribution.txt / 02:39:48 #18 DONE 0.1s 02:39:48 02:39:48 #19 exporting to image 02:39:48 #19 exporting layers 02:39:48 #19 exporting layers 0.6s done 02:39:48 #19 writing image sha256:8a38eb791f52d37cd77e369c24bef15ea3fceeba772d07abe3a8fd73daa5385e done 02:39:48 #19 naming to docker.io/library/device-modbus-arm64 0.0s done 02:39:48 #19 DONE 0.6s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:39:49 provisioning config files... 02:39:49 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/177@tmp/config11328295681332133909tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:39:49 ---> ****-login.sh 02:39:49 nexus3.edgexfoundry.org:10001 02:39:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:39:49 Configure a credential helper to remove this warning. See 02:39:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:39:49 02:39:49 Login Succeeded 02:39:49 nexus3.edgexfoundry.org:10002 02:39:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:39:49 Configure a credential helper to remove this warning. See 02:39:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:39:49 02:39:49 Login Succeeded 02:39:49 nexus3.edgexfoundry.org:10003 02:39:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:39:50 Configure a credential helper to remove this warning. See 02:39:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:39:50 02:39:50 Login Succeeded 02:39:50 nexus3.edgexfoundry.org:10004 02:39:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:39:50 Configure a credential helper to remove this warning. See 02:39:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:39:50 02:39:50 Login Succeeded 02:39:50 ****.io 02:39:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:39:51 Configure a credential helper to remove this warning. See 02:39:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:39:51 02:39:51 Login Succeeded 02:39:51 ---> ****-login.sh ends [Pipeline] } 02:39:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:39:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:39:51 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 02:39:51 0c489a3726be89f9077189728f7c6ddd3e8be6bf 02:39:51 latest 02:39:51 4.0.0-dev.12 02:39:51 0c489a3726be89f9077189728f7c6ddd3e8be6bf-4.0.0-dev.12 02:39:51 main 02:39:51 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:51 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:0c489a3726be89f9077189728f7c6ddd3e8be6bf [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:51 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:0c489a3726be89f9077189728f7c6ddd3e8be6bf 02:39:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 02:39:51 07dda917cdb6: Preparing 02:39:51 b4b7fff3592a: Preparing 02:39:51 89d14ded8c40: Preparing 02:39:51 aeb9b7a81a93: Preparing 02:39:51 4578cb5ecf23: Preparing 02:39:51 534a70dc8296: Preparing 02:39:51 534a70dc8296: Waiting 02:39:52 b4b7fff3592a: Pushed 02:39:52 aeb9b7a81a93: Pushed 02:39:52 4578cb5ecf23: Pushed 02:39:52 07dda917cdb6: Pushed 02:39:52 534a70dc8296: Layer already exists 02:40:00 89d14ded8c40: Pushed 02:40:00 0c489a3726be89f9077189728f7c6ddd3e8be6bf: digest: sha256:d42e698a373fe93f972e7e1528988854393fd615a3c37d21a74c2c29279e549f size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:00 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:01 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 02:40:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 02:40:01 07dda917cdb6: Preparing 02:40:01 b4b7fff3592a: Preparing 02:40:01 89d14ded8c40: Preparing 02:40:01 aeb9b7a81a93: Preparing 02:40:01 4578cb5ecf23: Preparing 02:40:01 534a70dc8296: Preparing 02:40:01 534a70dc8296: Waiting 02:40:01 07dda917cdb6: Layer already exists 02:40:01 89d14ded8c40: Layer already exists 02:40:01 b4b7fff3592a: Layer already exists 02:40:01 aeb9b7a81a93: Layer already exists 02:40:01 4578cb5ecf23: Layer already exists 02:40:01 534a70dc8296: Layer already exists 02:40:01 latest: digest: sha256:d42e698a373fe93f972e7e1528988854393fd615a3c37d21a74c2c29279e549f size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:01 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:02 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.12 02:40:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 02:40:02 07dda917cdb6: Preparing 02:40:02 b4b7fff3592a: Preparing 02:40:02 89d14ded8c40: Preparing 02:40:02 aeb9b7a81a93: Preparing 02:40:02 4578cb5ecf23: Preparing 02:40:02 534a70dc8296: Preparing 02:40:02 534a70dc8296: Waiting 02:40:02 aeb9b7a81a93: Layer already exists 02:40:02 07dda917cdb6: Layer already exists 02:40:02 b4b7fff3592a: Layer already exists 02:40:02 4578cb5ecf23: Layer already exists 02:40:02 89d14ded8c40: Layer already exists 02:40:02 534a70dc8296: Layer already exists 02:40:02 4.0.0-dev.12: digest: sha256:d42e698a373fe93f972e7e1528988854393fd615a3c37d21a74c2c29279e549f size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:02 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:0c489a3726be89f9077189728f7c6ddd3e8be6bf-4.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:03 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:0c489a3726be89f9077189728f7c6ddd3e8be6bf-4.0.0-dev.12 02:40:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 02:40:03 07dda917cdb6: Preparing 02:40:03 b4b7fff3592a: Preparing 02:40:03 89d14ded8c40: Preparing 02:40:03 aeb9b7a81a93: Preparing 02:40:03 4578cb5ecf23: Preparing 02:40:03 534a70dc8296: Preparing 02:40:03 534a70dc8296: Waiting 02:40:03 4578cb5ecf23: Layer already exists 02:40:03 b4b7fff3592a: Layer already exists 02:40:03 89d14ded8c40: Layer already exists 02:40:03 aeb9b7a81a93: Layer already exists 02:40:03 07dda917cdb6: Layer already exists 02:40:03 534a70dc8296: Layer already exists 02:40:03 0c489a3726be89f9077189728f7c6ddd3e8be6bf-4.0.0-dev.12: digest: sha256:d42e698a373fe93f972e7e1528988854393fd615a3c37d21a74c2c29279e549f size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:03 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:04 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 02:40:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 02:40:04 07dda917cdb6: Preparing 02:40:04 b4b7fff3592a: Preparing 02:40:04 89d14ded8c40: Preparing 02:40:04 aeb9b7a81a93: Preparing 02:40:04 4578cb5ecf23: Preparing 02:40:04 534a70dc8296: Preparing 02:40:04 534a70dc8296: Waiting 02:40:04 89d14ded8c40: Layer already exists 02:40:04 aeb9b7a81a93: Layer already exists 02:40:04 b4b7fff3592a: Layer already exists 02:40:04 4578cb5ecf23: Layer already exists 02:40:04 07dda917cdb6: Layer already exists 02:40:04 534a70dc8296: Layer already exists 02:40:04 main: digest: sha256:d42e698a373fe93f972e7e1528988854393fd615a3c37d21a74c2c29279e549f size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:40:04 ===================================================== [Pipeline] echo 02:40:04 taggedImages: 02:40:04 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:0c489a3726be89f9077189728f7c6ddd3e8be6bf 02:40:04 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 02:40:04 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.12 02:40:04 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:0c489a3726be89f9077189728f7c6ddd3e8be6bf-4.0.0-dev.12 02:40:04 - 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 02:40:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:40:04 02:40:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:40:05 arm64: Pulling from edgex-lftools-log-publisher 02:40:05 8998bd30e6a1: Pulling fs layer 02:40:05 04944245beec: Pulling fs layer 02:40:05 699f458cf7ca: Pulling fs layer 02:40:05 765212b225bb: Pulling fs layer 02:40:05 f23df028b6ca: Pulling fs layer 02:40:05 d65c8cfc05b1: Pulling fs layer 02:40:05 2437ff75d9bd: Pulling fs layer 02:40:05 765212b225bb: Waiting 02:40:05 f23df028b6ca: Waiting 02:40:05 d65c8cfc05b1: Waiting 02:40:05 2437ff75d9bd: Waiting 02:40:05 04944245beec: Verifying Checksum 02:40:05 04944245beec: Download complete 02:40:05 765212b225bb: Download complete 02:40:05 f23df028b6ca: Download complete 02:40:05 d65c8cfc05b1: Verifying Checksum 02:40:05 d65c8cfc05b1: Download complete 02:40:05 699f458cf7ca: Verifying Checksum 02:40:05 699f458cf7ca: Download complete 02:40:06 8998bd30e6a1: Verifying Checksum 02:40:06 8998bd30e6a1: Download complete 02:40:08 2437ff75d9bd: Verifying Checksum 02:40:08 2437ff75d9bd: Download complete 02:40:12 8998bd30e6a1: Pull complete 02:40:12 04944245beec: Pull complete 02:40:14 699f458cf7ca: Pull complete 02:40:14 765212b225bb: Pull complete 02:40:15 f23df028b6ca: Pull complete 02:40:15 d65c8cfc05b1: Pull complete 02:40:42 2437ff75d9bd: Pull complete 02:40:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:40:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:40:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:40:42 prd-ubuntu20.04-docker-arm64-4c-16g-37506 does not seem to be running inside a container 02:40:42 $ 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/177 -v /w/workspace/device-modbus-go/177:/w/workspace/device-modbus-go/177:rw,z -v /w/workspace/device-modbus-go/177@tmp:/w/workspace/device-modbus-go/177@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 02:40:44 $ docker top a3196f3c068c889e5ceed763ac27221acfdc19a28193e05852b9e5bcff34f864 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:40:44 ---> job-cost.sh 02:40:44 lf-activate-venv: SKIPPING 02:40:44 INFO: No Stack... 02:40:45 INFO: Retrieving Pricing Info for: v3-standard-8 02:40:46 INFO: Archiving Costs [Pipeline] sh 02:40:46 + cat /w/workspace/device-modbus-go/177/archives/cost.csv 02:40:46 + cut -d, -f6 [Pipeline] lock 02:40:46 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-177-stack-cost] 02:40:46 Resource [jenkins-edgexfoundry-device-modbus-go-main-177-stack-cost] did not exist. Created. 02:40:46 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-177-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:40:46 /w/workspace/device-modbus-go/177@tmp/durable-15ddc48e/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:40:47 + echo total: 0.2199999988079071 [Pipeline] stash 02:40:47 Warning: overwriting stash ‘stack-cost’ 02:40:47 Stashed 1 file(s) [Pipeline] } 02:40:47 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-177-stack-cost] [Pipeline] // lock [Pipeline] } 02:40:47 $ docker stop --time=1 a3196f3c068c889e5ceed763ac27221acfdc19a28193e05852b9e5bcff34f864 02:40:48 $ docker rm -f --volumes a3196f3c068c889e5ceed763ac27221acfdc19a28193e05852b9e5bcff34f864 [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 02:40:49 provisioning config files... 02:40:49 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9754295737246517756tmp [Pipeline] { [Pipeline] sh 02:40:49 + set +x 02:40:49 + curl -s https://codecov.io/bash 02:40:49 + bash -s -- 02:40:49 02:40:49 _____ _ 02:40:49 / ____| | | 02:40:49 | | ___ __| | ___ ___ _____ __ 02:40:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:40:49 | |___| (_) | (_| | __/ (_| (_) \ V / 02:40:49 \_____\___/ \__,_|\___|\___\___/ \_/ 02:40:49 Bash-1.0.6 02:40:49 02:40:49 02:40:49 ==> git version 2.25.1 found 02:40:49 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 02:40:49 Release-Date: 2020-01-08 02:40:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:40:49 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:40:49 ==> Jenkins CI detected. 02:40:49 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 02:40:49 project root: . 02:40:49 --> token set from env 02:40:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:40:49 ==> Running gcov in . (disable via -X gcov) 02:40:49 ==> Python coveragepy not found 02:40:49 ==> Searching for coverage reports in: 02:40:49 + . 02:40:49 -> Found 1 reports 02:40:49 ==> Detecting git/mercurial file structure 02:40:49 ==> Reading reports 02:40:49 + ./coverage.out bytes=26779 02:40:49 ==> Appending adjustments 02:40:49 https://docs.codecov.io/docs/fixing-reports 02:40:49 + Found adjustments 02:40:49 ==> Gzipping contents 02:40:49 8.0K /tmp/codecov.bGMDmX.gz 02:40:49 ==> Uploading reports 02:40:49 url: https://codecov.io 02:40:49 query: branch=main&commit=0c489a3726be89f9077189728f7c6ddd3e8be6bf&build=177&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F177%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:40:49 -> Pinging Codecov 02:40:49 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=0c489a3726be89f9077189728f7c6ddd3e8be6bf&build=177&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F177%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:40:50 -> Uploading to 02:40:50 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-modbus-go/0c489a3726be89f9077189728f7c6ddd3e8be6bf/11be3691-7b21-4fa2-a2b6-b6bd2765b3f7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250123%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250123T024049Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=6d12e3dc64ad04632a31fa2d6a9c47f6629d799bd8e79eda17f73a4972b1af50 02:40:50 % Total % Received % Xferd Average Speed Time Time Time Current 02:40:50 Dload Upload Total Spent Left Speed 02:40:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4103 0 0 100 4103 0 12547 --:--:-- --:--:-- --:--:-- 12547 02:40:50 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/0c489a3726be89f9077189728f7c6ddd3e8be6bf [Pipeline] } 02:40:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:40:50 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:40:50 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:40:51 02:40:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:40:51 latest: Pulling from edgex-devops/edgex-snyk-go 02:40:51 43c4264eed91: Pulling fs layer 02:40:51 4cc291be95ef: Pulling fs layer 02:40:51 2ac1f1163629: Pulling fs layer 02:40:51 5c3c966382ef: Pulling fs layer 02:40:51 4f4fb700ef54: Pulling fs layer 02:40:51 d9c7d2e4e75e: Pulling fs layer 02:40:51 9c3e1370e548: Pulling fs layer 02:40:51 5c3c966382ef: Waiting 02:40:51 4f4fb700ef54: Waiting 02:40:51 9c3e1370e548: Waiting 02:40:51 d9c7d2e4e75e: Waiting 02:40:51 4cc291be95ef: Verifying Checksum 02:40:51 4cc291be95ef: Download complete 02:40:51 5c3c966382ef: Verifying Checksum 02:40:51 5c3c966382ef: Download complete 02:40:51 4f4fb700ef54: Verifying Checksum 02:40:51 4f4fb700ef54: Download complete 02:40:51 43c4264eed91: Download complete 02:40:51 43c4264eed91: Pull complete 02:40:51 d9c7d2e4e75e: Verifying Checksum 02:40:51 4cc291be95ef: Pull complete 02:40:51 2ac1f1163629: Verifying Checksum 02:40:51 2ac1f1163629: Download complete 02:40:52 9c3e1370e548: Verifying Checksum 02:40:52 9c3e1370e548: Download complete 02:40:55 2ac1f1163629: Pull complete 02:40:55 5c3c966382ef: Pull complete 02:40:55 4f4fb700ef54: Pull complete 02:40:55 d9c7d2e4e75e: Pull complete 02:40:59 9c3e1370e548: Pull complete 02:40:59 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 02:40:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:40:59 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:40:59 prd-ubuntu20.04-docker-8c-8g-37503 does not seem to be running inside a container 02:40:59 $ 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 02:41:11 $ docker top 566c1253a2e66e63bbbabaeb45ed0506f855a1bf2483409bf42fbcd5bc28124c -eo pid,comm [Pipeline] { [Pipeline] sh 02:41:11 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] echo 02:41:11 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 02:41:12 + set -o pipefail 02:41:12 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 02:41:22 02:41:22 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 02:41:22 02:41:22 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/0a0805b9-8982-40eb-8dbc-845f1ef902a3/history/17fa63ee-930d-44fa-8c18-a3dc018d6d67 02:41:22 02:41:22 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 02:41:22 02:41:22 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:41:22 [Pipeline] } 02:41:23 $ docker stop --time=1 566c1253a2e66e63bbbabaeb45ed0506f855a1bf2483409bf42fbcd5bc28124c 02:41:30 $ docker rm -f --volumes 566c1253a2e66e63bbbabaeb45ed0506f855a1bf2483409bf42fbcd5bc28124c [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 02:41:31 + git log --format=format:%s -1 0c489a3726be89f9077189728f7c6ddd3e8be6bf [Pipeline] sh 02:41:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:41:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:41:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:41:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:41:31 prd-ubuntu20.04-docker-8c-8g-37503 does not seem to be running inside a container 02:41:31 $ 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 02:41:32 $ docker top 6c515198ce3ea026613965e1fa10efdb883b1618059649de003e76715530df84 -eo pid,comm 02:41:32 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). 02:41:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:41:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:41:32 [ssh-agent] Looking for ssh-agent implementation... 02:41:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:41:32 $ docker exec 6c515198ce3ea026613965e1fa10efdb883b1618059649de003e76715530df84 ssh-agent 02:41:32 SSH_AUTH_SOCK=/tmp/ssh-vRmddgsuwVkH/agent.33 02:41:32 SSH_AGENT_PID=39 02:41:32 Running ssh-add (command line suppressed) 02:41:32 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17347014696052208806.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17347014696052208806.key) 02:41:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:41:33 + git semver tag 02:41:33 2025-01-23 02:41:33,438 [run_tag] DEBUG tag force:False 02:41:33 2025-01-23 02:41:33,438 [check_head_tag] DEBUG check head tag 02:41:33 2025-01-23 02:41:33,439 [execute] INFO git cat-file --batch-check 02:41:33 2025-01-23 02:41:33,439 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 02:41:33 2025-01-23 02:41:33,443 [execute] INFO git cat-file --batch 02:41:33 2025-01-23 02:41:33,444 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 02:41:33 2025-01-23 02:41:33,466 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 02:41:33 2025-01-23 02:41:33,467 [execute] INFO git tag -a v4.0.0-dev.12 -m v4.0.0-dev.12 02:41:33 2025-01-23 02:41:33,467 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.12', '-m', 'v4.0.0-dev.12'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 02:41:33 2025-01-23 02:41:33,471 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 02:41:33 4.0.0-dev.12 [Pipeline] } 02:41:33 $ docker exec --env ******** --env ******** 6c515198ce3ea026613965e1fa10efdb883b1618059649de003e76715530df84 ssh-agent -k 02:41:33 unset SSH_AUTH_SOCK; 02:41:33 unset SSH_AGENT_PID; 02:41:33 echo Agent pid 39 killed; 02:41:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:41:33 + git semver [Pipeline] } 02:41:34 $ docker stop --time=1 6c515198ce3ea026613965e1fa10efdb883b1618059649de003e76715530df84 02:41:35 $ docker rm -f --volumes 6c515198ce3ea026613965e1fa10efdb883b1618059649de003e76715530df84 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:41:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:41:35 02:41:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:41:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:41:36 0.23.1-centos7: Pulling from edgex-lftools 02:41:36 ab5ef0e58194: Pulling fs layer 02:41:36 9712f1f96733: Pulling fs layer 02:41:36 63f879dbbcfc: Pulling fs layer 02:41:36 0d9ebad4ef96: Pulling fs layer 02:41:36 e9a5061849ea: Pulling fs layer 02:41:36 d747dcd14b5f: Pulling fs layer 02:41:36 2de7ff778b66: Pulling fs layer 02:41:36 0d9ebad4ef96: Waiting 02:41:36 e9a5061849ea: Waiting 02:41:36 d747dcd14b5f: Waiting 02:41:36 9712f1f96733: Verifying Checksum 02:41:36 9712f1f96733: Download complete 02:41:36 63f879dbbcfc: Verifying Checksum 02:41:36 63f879dbbcfc: Download complete 02:41:36 e9a5061849ea: Verifying Checksum 02:41:36 e9a5061849ea: Download complete 02:41:36 d747dcd14b5f: Verifying Checksum 02:41:36 d747dcd14b5f: Download complete 02:41:36 0d9ebad4ef96: Verifying Checksum 02:41:36 0d9ebad4ef96: Download complete 02:41:36 ab5ef0e58194: Verifying Checksum 02:41:36 ab5ef0e58194: Download complete 02:41:36 2de7ff778b66: Verifying Checksum 02:41:36 2de7ff778b66: Download complete 02:41:39 ab5ef0e58194: Pull complete 02:41:39 9712f1f96733: Pull complete 02:41:39 63f879dbbcfc: Pull complete 02:41:44 0d9ebad4ef96: Pull complete 02:41:44 e9a5061849ea: Pull complete 02:41:44 d747dcd14b5f: Pull complete 02:41:45 2de7ff778b66: Pull complete 02:41:45 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:41:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:41:45 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:41:45 prd-ubuntu20.04-docker-8c-8g-37503 does not seem to be running inside a container 02:41:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 02:41:55 $ docker top 6a2aca2a1839ebd2cea0dbdce33196754e4af23863b71e8d5efe1ee73e952ed1 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:41:55 provisioning config files... 02:41:55 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15529689289911651890tmp 02:41:55 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7071925941668586501tmp 02:41:55 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12190884452880572233tmp [Pipeline] { [Pipeline] echo 02:41:55 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:41:55 ---> sigul-configuration.sh 02:41:55 gpg: directory `/root/.gnupg' created 02:41:55 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:41:55 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:41:55 gpg: keyring `/root/.gnupg/secring.gpg' created 02:41:55 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:41:55 gpg: CAST5 encrypted data 02:41:55 gpg: encrypted with 1 passphrase 02:41:55 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:41:56 + mkdir /home/jenkins 02:41:56 + mkdir /home/jenkins/sigul [Pipeline] sh 02:41:56 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 02:41:56 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:41:56 ---> sigul-install.sh 02:41:56 Sigul already installed; skipping installation. [Pipeline] sh 02:41:56 + git tag --list 02:41:56 0.7.1 02:41:56 v1.0.0 02:41:56 v1.1.0 02:41:56 v1.1.1 02:41:56 v1.2.2 02:41:56 v1.3.0 02:41:56 v1.3.1 02:41:56 v2.0.0 02:41:56 v2.1.0 02:41:56 v2.1.1 02:41:56 v2.2.0 02:41:56 v2.3.0 02:41:56 v3.0 02:41:56 v3.0.0 02:41:56 v3.1 02:41:56 v3.1.0 02:41:56 v3.1.0-dev.1 02:41:56 v3.1.0-dev.10 02:41:56 v3.1.0-dev.11 02:41:56 v3.1.0-dev.12 02:41:56 v3.1.0-dev.13 02:41:56 v3.1.0-dev.14 02:41:56 v3.1.0-dev.15 02:41:56 v3.1.0-dev.16 02:41:56 v3.1.0-dev.17 02:41:56 v3.1.0-dev.18 02:41:56 v3.1.0-dev.19 02:41:56 v3.1.0-dev.2 02:41:56 v3.1.0-dev.20 02:41:56 v3.1.0-dev.21 02:41:56 v3.1.0-dev.22 02:41:56 v3.1.0-dev.23 02:41:56 v3.1.0-dev.24 02:41:56 v3.1.0-dev.25 02:41:56 v3.1.0-dev.3 02:41:56 v3.1.0-dev.4 02:41:56 v3.1.0-dev.5 02:41:56 v3.1.0-dev.6 02:41:56 v3.1.0-dev.7 02:41:56 v3.1.0-dev.8 02:41:56 v3.1.0-dev.9 02:41:56 v3.1.1 02:41:56 v3.1.1-dev.1 02:41:56 v3.2.0-dev.1 02:41:56 v3.2.0-dev.10 02:41:56 v3.2.0-dev.11 02:41:56 v3.2.0-dev.12 02:41:56 v3.2.0-dev.13 02:41:56 v3.2.0-dev.14 02:41:56 v3.2.0-dev.15 02:41:56 v3.2.0-dev.16 02:41:56 v3.2.0-dev.17 02:41:56 v3.2.0-dev.18 02:41:56 v3.2.0-dev.19 02:41:56 v3.2.0-dev.2 02:41:56 v3.2.0-dev.20 02:41:56 v3.2.0-dev.21 02:41:56 v3.2.0-dev.22 02:41:56 v3.2.0-dev.23 02:41:56 v3.2.0-dev.24 02:41:56 v3.2.0-dev.25 02:41:56 v3.2.0-dev.26 02:41:56 v3.2.0-dev.3 02:41:56 v3.2.0-dev.4 02:41:56 v3.2.0-dev.5 02:41:56 v3.2.0-dev.6 02:41:56 v3.2.0-dev.7 02:41:56 v3.2.0-dev.8 02:41:56 v3.2.0-dev.9 02:41:56 v4.0.0-dev.1 02:41:56 v4.0.0-dev.10 02:41:56 v4.0.0-dev.11 02:41:56 v4.0.0-dev.12 02:41:56 v4.0.0-dev.2 02:41:56 v4.0.0-dev.3 02:41:56 v4.0.0-dev.4 02:41:56 v4.0.0-dev.5 02:41:56 v4.0.0-dev.6 02:41:56 v4.0.0-dev.7 02:41:56 v4.0.0-dev.8 02:41:56 v4.0.0-dev.9 [Pipeline] sh 02:41:57 + lftools sign git-tag v4.0.0-dev.12 02:41:57 Signing Git tag with Sigul... 02:41:57 Signing v4.0.0-dev.12 [Pipeline] echo 02:41:58 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:41:58 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:41:58 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:41:58 $ docker stop --time=1 6a2aca2a1839ebd2cea0dbdce33196754e4af23863b71e8d5efe1ee73e952ed1 02:41:59 $ docker rm -f --volumes 6a2aca2a1839ebd2cea0dbdce33196754e4af23863b71e8d5efe1ee73e952ed1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:42:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:42:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:42:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:42:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:42:00 prd-ubuntu20.04-docker-8c-8g-37503 does not seem to be running inside a container 02:42:00 $ 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 02:42:00 $ docker top 724240a169f05a3c5dbfe72f192d91010feca61e3698b10d9eadaecb2e6b5cd7 -eo pid,comm 02:42:00 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). 02:42:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:42:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:01 [ssh-agent] Looking for ssh-agent implementation... 02:42:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:01 $ docker exec 724240a169f05a3c5dbfe72f192d91010feca61e3698b10d9eadaecb2e6b5cd7 ssh-agent 02:42:01 SSH_AUTH_SOCK=/tmp/ssh-M1SvXoEJ2jCB/agent.33 02:42:01 SSH_AGENT_PID=39 02:42:01 Running ssh-add (command line suppressed) 02:42:01 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13691350672725651783.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13691350672725651783.key) 02:42:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:01 + git semver bump pre 02:42:01 2025-01-23 02:42:01,806 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 02:42:01 2025-01-23 02:42:01,806 [bump_version] DEBUG bumping version:4.0.0-dev.12 on axis:pre with prefix:dev 02:42:01 2025-01-23 02:42:01,806 [bump_version] DEBUG bumped version:4.0.0-dev.13 02:42:01 2025-01-23 02:42:01,806 [write_version] DEBUG write version:4.0.0-dev.13 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 02:42:01 2025-01-23 02:42:01,806 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 02:42:01 2025-01-23 02:42:01,807 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 02:42:01 2025-01-23 02:42:01,808 [execute] INFO git cat-file --batch-check 02:42:01 2025-01-23 02:42:01,809 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:42:01 2025-01-23 02:42:01,814 [execute] INFO git cat-file --batch 02:42:01 2025-01-23 02:42:01,814 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:42:01 2025-01-23 02:42:01,819 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 02:42:01 4.0.0-dev.13 [Pipeline] } 02:42:01 $ docker exec --env ******** --env ******** 724240a169f05a3c5dbfe72f192d91010feca61e3698b10d9eadaecb2e6b5cd7 ssh-agent -k 02:42:02 unset SSH_AUTH_SOCK; 02:42:02 unset SSH_AGENT_PID; 02:42:02 echo Agent pid 39 killed; 02:42:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:42:02 + git semver [Pipeline] } 02:42:02 $ docker stop --time=1 724240a169f05a3c5dbfe72f192d91010feca61e3698b10d9eadaecb2e6b5cd7 02:42:03 $ docker rm -f --volumes 724240a169f05a3c5dbfe72f192d91010feca61e3698b10d9eadaecb2e6b5cd7 [Pipeline] // withDockerContainer [Pipeline] sh 02:42:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:42:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:42:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:42:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:42:04 prd-ubuntu20.04-docker-8c-8g-37503 does not seem to be running inside a container 02:42:04 $ 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 02:42:05 $ docker top 2dcb801a20e413e0922aa1dd2504d54025ab749581969f897f3cfd9a85fd420d -eo pid,comm 02:42:05 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). 02:42:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:42:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:05 [ssh-agent] Looking for ssh-agent implementation... 02:42:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:05 $ docker exec 2dcb801a20e413e0922aa1dd2504d54025ab749581969f897f3cfd9a85fd420d ssh-agent 02:42:05 SSH_AUTH_SOCK=/tmp/ssh-1B286cPsCnH6/agent.32 02:42:05 SSH_AGENT_PID=39 02:42:05 Running ssh-add (command line suppressed) 02:42:05 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4698298305572974905.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4698298305572974905.key) 02:42:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:05 + git semver push 02:42:06 2025-01-23 02:42:05,977 [run_push] DEBUG push 02:42:06 2025-01-23 02:42:05,978 [execute] INFO git cat-file --batch-check 02:42:06 2025-01-23 02:42:05,978 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:42:06 2025-01-23 02:42:05,982 [execute] INFO git rev-list 8ba6a57f4fa703281b0eae643468782f1369eb5d -- 02:42:06 2025-01-23 02:42:05,982 [execute] DEBUG Popen(['git', 'rev-list', '8ba6a57f4fa703281b0eae643468782f1369eb5d', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:42:06 2025-01-23 02:42:05,992 [execute] INFO git fetch -v origin 02:42:06 2025-01-23 02:42:05,992 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 02:42:06 2025-01-23 02:42:06,445 [run_push] DEBUG no remote changes detected 02:42:06 2025-01-23 02:42:06,446 [execute] INFO git push origin semver 02:42:06 2025-01-23 02:42:06,446 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:42:07 2025-01-23 02:42:07,181 [run_push] DEBUG push all version tags 02:42:07 2025-01-23 02:42:07,182 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:42:07 2025-01-23 02:42:07,182 [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) 02:42:08 2025-01-23 02:42:07,806 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 02:42:08 4.0.0-dev.13 [Pipeline] } 02:42:08 $ docker exec --env ******** --env ******** 2dcb801a20e413e0922aa1dd2504d54025ab749581969f897f3cfd9a85fd420d ssh-agent -k 02:42:08 unset SSH_AUTH_SOCK; 02:42:08 unset SSH_AGENT_PID; 02:42:08 echo Agent pid 39 killed; 02:42:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:42:08 + git semver [Pipeline] } 02:42:08 $ docker stop --time=1 2dcb801a20e413e0922aa1dd2504d54025ab749581969f897f3cfd9a85fd420d 02:42:10 $ docker rm -f --volumes 2dcb801a20e413e0922aa1dd2504d54025ab749581969f897f3cfd9a85fd420d [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 02:42:10 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 02:42:10 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 02:42:10 total 16 02:42:10 drwxr-xr-x 3 root root 4096 Jan 23 02:33 . 02:42:10 drwxrwxr-x 10 jenkins jenkins 4096 Jan 23 02:41 .. 02:42:10 drwxr-xr-x 2 root root 4096 Jan 23 02:33 cost 02:42:10 -rw-r--r-- 1 root root 89 Jan 23 02:33 cost.csv 02:42:10 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 02:42:10 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 02:42:10 total 16 02:42:10 drwxr-xr-x 3 jenkins jenkins 4096 Jan 23 02:33 . 02:42:10 drwxrwxr-x 10 jenkins jenkins 4096 Jan 23 02:41 .. 02:42:10 drwxr-xr-x 2 jenkins jenkins 4096 Jan 23 02:33 cost 02:42:10 -rw-r--r-- 1 jenkins jenkins 89 Jan 23 02:33 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:42:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:42:11 ---> package-listing.sh 02:42:11 ++ facter osfamily 02:42:11 ++ tr '[:upper:]' '[:lower:]' 02:42:12 + OS_FAMILY=debian 02:42:12 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 02:42:12 + START_PACKAGES=/tmp/packages_start.txt 02:42:12 + END_PACKAGES=/tmp/packages_end.txt 02:42:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:42:12 + PACKAGES=/tmp/packages_start.txt 02:42:12 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 02:42:12 + PACKAGES=/tmp/packages_end.txt 02:42:12 + case "${OS_FAMILY}" in 02:42:12 + dpkg -l 02:42:12 + grep '^ii' 02:42:12 + '[' -f /tmp/packages_start.txt ']' 02:42:12 + '[' -f /tmp/packages_end.txt ']' 02:42:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:42:12 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 02:42:12 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 02:42:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 02:42:12 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:42:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:42:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:42:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:42:13 prd-ubuntu20.04-docker-8c-8g-37503 does not seem to be running inside a container 02:42:13 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:42:13 $ docker top d637b2624d15044284e323307eb0a9d88032fa25bc5ed425f3987bce77158a95 -eo pid,comm [Pipeline] { [Pipeline] sh 02:42:13 + touch /tmp/pre-build-complete [Pipeline] sh 02:42:13 + mkdir -p /var/log/sysstat [Pipeline] sh 02:42:14 + ls /var/log/sa-host 02:42:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:42:14 provisioning config files... 02:42:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config731592778116060214tmp [Pipeline] { [Pipeline] echo 02:42:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:42:14 ---> create-netrc.sh [Pipeline] } 02:42:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:42:15 ---> python-tools-install.sh [Pipeline] echo 02:42:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:42:15 ---> sudo-logs.sh 02:42:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:42:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:42:15 ---> job-cost.sh 02:42:15 lf-activate-venv: SKIPPING 02:42:15 DEBUG: total: 0.2199999988079071 02:42:15 INFO: Retrieving Stack Cost... 02:42:16 INFO: Retrieving Pricing Info for: v3-standard-8 02:42:16 INFO: Archiving Costs [Pipeline] echo 02:42:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:42:16 ---> logs-deploy.sh 02:42:16 lf-activate-venv: SKIPPING 02:42:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/177 02:42:16 INFO: archiving workspace using pattern(s): 02:42:17 Archives upload complete. 02:42:17 INFO: archiving logs to Nexus