Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0b952dc46955038996451e4745a35d433031a401 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-ssh4362476191465659002.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-ssh7715385165955451836.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-ssh3717559437621498176.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-ssh15856291723735056726.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-ssh3447843870585224754.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-35182’ Running on prd-ubuntu20.04-docker-8c-8g-35183 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 0b952dc46955038996451e4745a35d433031a401 (main) Commit message: "Merge pull request #598 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.11" > 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 0b952dc46955038996451e4745a35d433031a401 # timeout=10 > git rev-list --no-walk 4f7aae96b1b9300a65a74ffebdbe0a48f3c7a03c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:44:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:44:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:44:48 ========================================================= 05:44:48 EdgeX Global Pipelines Version Info 05:44:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:44:49 ------------------- 05:44:49 stable info: 05:44:49 ------------------- 05:44:49 Commited By: Cherry Wang cherry@iotechsys.com 05:44:49 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 05:44:49 Message: update stable to v1.0.269 05:44:50 ------------------- 05:44:50 experimental info: 05:44:50 ------------------- 05:44:50 Commited By: **** collab-it+edgex@linuxfoundation.org 05:44:50 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 05:44:50 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:44:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:44:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:44:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:44:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:44:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:44:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 05:44:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:44:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:44:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:44:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:44:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:44:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:44:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:44:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:44:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:44:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:44:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:44:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:44:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:44:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:44:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:44:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:44:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:44:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:44:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:44:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:44:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:44:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:44:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:44:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:44:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0b952dc46955038996451e4745a35d433031a401 [Pipeline] echo 05:44:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0b952dc [Pipeline] echo 05:44:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:44:51 provisioning config files... 05:44:51 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14103168141058050176tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:44:51 ---> ****-login.sh 05:44:51 nexus3.edgexfoundry.org:10001 05:44:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:44:51 Configure a credential helper to remove this warning. See 05:44:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:44:51 05:44:51 Login Succeeded 05:44:51 nexus3.edgexfoundry.org:10002 05:44:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:44:51 Configure a credential helper to remove this warning. See 05:44:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:44:51 05:44:51 Login Succeeded 05:44:51 nexus3.edgexfoundry.org:10003 05:44:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:44:51 Configure a credential helper to remove this warning. See 05:44:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:44:51 05:44:51 Login Succeeded 05:44:51 nexus3.edgexfoundry.org:10004 05:44:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:44:52 Configure a credential helper to remove this warning. See 05:44:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:44:52 05:44:52 Login Succeeded 05:44:52 ****.io 05:44:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:44:52 Configure a credential helper to remove this warning. See 05:44:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:44:52 05:44:52 Login Succeeded 05:44:52 ---> ****-login.sh ends [Pipeline] } 05:44:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:44:52 + git rev-list -1 --merges 0b952dc46955038996451e4745a35d433031a401~1..0b952dc46955038996451e4745a35d433031a401 [Pipeline] echo 05:44:52 -----------> git rev-list -1 --merges 0b952dc46955038996451e4745a35d433031a401~1..0b952dc46955038996451e4745a35d433031a401 0b952dc46955038996451e4745a35d433031a401 05:44:52 0b952dc46955038996451e4745a35d433031a401 [false] [Pipeline] sh 05:44:53 + git log --format=format:%s -1 0b952dc46955038996451e4745a35d433031a401 [Pipeline] echo 05:44:53 ========================================================= 05:44:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:44:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:44:53 + git log --format=format:%s -1 0b952dc46955038996451e4745a35d433031a401 [Pipeline] echo 05:44:53 [semverPrep] GIT_COMMIT: 0b952dc46955038996451e4745a35d433031a401, Commit Message: Merge pull request #598 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.11 [Pipeline] echo 05:44:53 [semverPrep] This is not a build commit. [Pipeline] sh 05:44:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:44:53 + grep -v github /etc/ssh/ssh_known_hosts 05:44:53 + [ -e /tmp/ssh_known_hosts ] 05:44:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:44:53 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:44:53 + sudo tee -a /etc/ssh/ssh_known_hosts 05:44:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:44:54 05:44:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:44:54 0.1.4: Pulling from edgex-devops/py-git-semver 05:44:54 b85a868b505f: Pulling fs layer 05:44:54 e2be974225ed: Pulling fs layer 05:44:54 339a4e72a1f5: Pulling fs layer 05:44:54 988bab9f4d93: Pulling fs layer 05:44:54 1469e6f7b9e6: Pulling fs layer 05:44:54 eaf3925da568: Pulling fs layer 05:44:54 bab4dde63d76: Pulling fs layer 05:44:54 bde34c3a00c8: Pulling fs layer 05:44:54 b352a97aabf1: Pulling fs layer 05:44:54 4872d77fe225: Pulling fs layer 05:44:54 5851b861e8e6: Pulling fs layer 05:44:54 988bab9f4d93: Waiting 05:44:54 b352a97aabf1: Waiting 05:44:54 5851b861e8e6: Waiting 05:44:54 1469e6f7b9e6: Waiting 05:44:54 eaf3925da568: Waiting 05:44:54 bab4dde63d76: Waiting 05:44:54 4872d77fe225: Waiting 05:44:54 bde34c3a00c8: Waiting 05:44:54 e2be974225ed: Download complete 05:44:54 988bab9f4d93: Verifying Checksum 05:44:54 988bab9f4d93: Download complete 05:44:54 1469e6f7b9e6: Verifying Checksum 05:44:54 1469e6f7b9e6: Download complete 05:44:54 339a4e72a1f5: Verifying Checksum 05:44:54 339a4e72a1f5: Download complete 05:44:54 eaf3925da568: Download complete 05:44:54 bde34c3a00c8: Verifying Checksum 05:44:54 bde34c3a00c8: Download complete 05:44:54 b352a97aabf1: Download complete 05:44:54 4872d77fe225: Verifying Checksum 05:44:54 4872d77fe225: Download complete 05:44:54 5851b861e8e6: Download complete 05:44:54 b85a868b505f: Verifying Checksum 05:44:54 b85a868b505f: Download complete 05:44:55 bab4dde63d76: Verifying Checksum 05:44:55 bab4dde63d76: Download complete 05:44:56 b85a868b505f: Pull complete 05:44:56 e2be974225ed: Pull complete 05:44:56 339a4e72a1f5: Pull complete 05:44:56 988bab9f4d93: Pull complete 05:44:56 1469e6f7b9e6: Pull complete 05:44:56 eaf3925da568: Pull complete 05:44:58 bab4dde63d76: Pull complete 05:44:58 bde34c3a00c8: Pull complete 05:44:58 b352a97aabf1: Pull complete 05:44:58 4872d77fe225: Pull complete 05:44:58 5851b861e8e6: Pull complete 05:44:58 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:44:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:44:58 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:44:58 prd-ubuntu20.04-docker-8c-8g-35183 does not seem to be running inside a container 05:44:58 $ 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 05:45:02 $ docker top 17a6ba8484d28ef6ec13030630abbc7b70d37c643b97fdd64e6e564e1b97486d -eo pid,comm 05:45:02 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). 05:45:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:45:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:45:02 [ssh-agent] Looking for ssh-agent implementation... 05:45:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:45:02 $ docker exec 17a6ba8484d28ef6ec13030630abbc7b70d37c643b97fdd64e6e564e1b97486d ssh-agent 05:45:02 SSH_AUTH_SOCK=/tmp/ssh-ydJsE1Edq0LT/agent.33 05:45:02 SSH_AGENT_PID=39 05:45:02 Running ssh-add (command line suppressed) 05:45:02 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5879702670613885996.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5879702670613885996.key) 05:45:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:45:03 + git tag --points-at HEAD [Pipeline] } 05:45:03 $ docker exec --env ******** --env ******** 17a6ba8484d28ef6ec13030630abbc7b70d37c643b97fdd64e6e564e1b97486d ssh-agent -k 05:45:03 unset SSH_AUTH_SOCK; 05:45:03 unset SSH_AGENT_PID; 05:45:03 echo Agent pid 39 killed; 05:45:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:45:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:45:03 [ssh-agent] Looking for ssh-agent implementation... 05:45:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:45:03 $ docker exec 17a6ba8484d28ef6ec13030630abbc7b70d37c643b97fdd64e6e564e1b97486d ssh-agent 05:45:03 SSH_AUTH_SOCK=/tmp/ssh-XJIQ5zSJg0pQ/agent.72 05:45:03 SSH_AGENT_PID=78 05:45:03 Running ssh-add (command line suppressed) 05:45:03 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4602838000869663096.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4602838000869663096.key) 05:45:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:45:03 + git semver init 05:45:04 2024-12-16 05:45:04,117 [run_init] DEBUG init version:0.0.0 force:False 05:45:04 2024-12-16 05:45:04,117 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 05:45:04 2024-12-16 05:45:04,118 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 05:45:04 2024-12-16 05:45:04,118 [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) 05:45:05 2024-12-16 05:45:05,160 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 05:45:05 2024-12-16 05:45:05,160 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 05:45:05 2024-12-16 05:45:05,160 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:45:05 2024-12-16 05:45:05,161 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:45:05 4.0.0-dev.8 [Pipeline] } 05:45:05 $ docker exec --env ******** --env ******** 17a6ba8484d28ef6ec13030630abbc7b70d37c643b97fdd64e6e564e1b97486d ssh-agent -k 05:45:05 unset SSH_AUTH_SOCK; 05:45:05 unset SSH_AGENT_PID; 05:45:05 echo Agent pid 78 killed; 05:45:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:45:06 + git semver [Pipeline] } 05:45:06 $ docker stop --time=1 17a6ba8484d28ef6ec13030630abbc7b70d37c643b97fdd64e6e564e1b97486d 05:45:07 $ docker rm -f --volumes 17a6ba8484d28ef6ec13030630abbc7b70d37c643b97fdd64e6e564e1b97486d [Pipeline] // withDockerContainer [Pipeline] sh 05:45:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:45:08 Stashed 1 file(s) [Pipeline] echo 05:45:08 [edgeXSemver]: initialized semver on version 4.0.0-dev.8 [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 05:45:08 provisioning config files... 05:45:08 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15246226865758039003tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:45:08 ---> ****-login.sh 05:45:08 nexus3.edgexfoundry.org:10001 05:45:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:45:08 Configure a credential helper to remove this warning. See 05:45:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:45:08 05:45:08 Login Succeeded 05:45:08 nexus3.edgexfoundry.org:10002 05:45:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:45:08 Configure a credential helper to remove this warning. See 05:45:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:45:08 05:45:08 Login Succeeded 05:45:08 nexus3.edgexfoundry.org:10003 05:45:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:45:09 Configure a credential helper to remove this warning. See 05:45:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:45:09 05:45:09 Login Succeeded 05:45:09 nexus3.edgexfoundry.org:10004 05:45:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:45:09 Configure a credential helper to remove this warning. See 05:45:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:45:09 05:45:09 Login Succeeded 05:45:09 ****.io 05:45:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:45:09 Configure a credential helper to remove this warning. See 05:45:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:45:09 05:45:09 Login Succeeded 05:45:09 ---> ****-login.sh ends [Pipeline] } 05:45:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:45:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:45:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:45:09 ========================================================= 05:45:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 05:45:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:09 + 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 . 05:45:09 Sending build context to Docker daemon 18.06MB 05:45:09 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 05:45:09 Step 2/10 : FROM ${BASE} AS builder 05:45:09 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 05:45:09 43c4264eed91: Pulling fs layer 05:45:09 4cc291be95ef: Pulling fs layer 05:45:09 2ac1f1163629: Pulling fs layer 05:45:09 5c3c966382ef: Pulling fs layer 05:45:09 4f4fb700ef54: Pulling fs layer 05:45:09 5d5c8e513c77: Pulling fs layer 05:45:09 9f66e0745190: Pulling fs layer 05:45:09 f49a43e4bbc0: Pulling fs layer 05:45:09 561ebcabdf7f: Pulling fs layer 05:45:09 5c3c966382ef: Waiting 05:45:09 4f4fb700ef54: Waiting 05:45:09 5d5c8e513c77: Waiting 05:45:09 9f66e0745190: Waiting 05:45:09 f49a43e4bbc0: Waiting 05:45:09 561ebcabdf7f: Waiting 05:45:10 4cc291be95ef: Verifying Checksum 05:45:10 4cc291be95ef: Download complete 05:45:10 5c3c966382ef: Verifying Checksum 05:45:10 5c3c966382ef: Download complete 05:45:10 4f4fb700ef54: Download complete 05:45:10 5d5c8e513c77: Verifying Checksum 05:45:10 5d5c8e513c77: Download complete 05:45:10 43c4264eed91: Download complete 05:45:10 9f66e0745190: Verifying Checksum 05:45:10 9f66e0745190: Download complete 05:45:10 43c4264eed91: Pull complete 05:45:10 561ebcabdf7f: Verifying Checksum 05:45:10 561ebcabdf7f: Download complete 05:45:10 4cc291be95ef: Pull complete 05:45:10 2ac1f1163629: Verifying Checksum 05:45:10 2ac1f1163629: Download complete 05:45:10 f49a43e4bbc0: Verifying Checksum 05:45:10 f49a43e4bbc0: Download complete 05:45:14 2ac1f1163629: Pull complete 05:45:14 5c3c966382ef: Pull complete 05:45:14 4f4fb700ef54: Pull complete 05:45:14 5d5c8e513c77: Pull complete 05:45:14 9f66e0745190: Pull complete 05:45:16 f49a43e4bbc0: Pull complete 05:45:17 561ebcabdf7f: Pull complete 05:45:17 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 05:45:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 05:45:17 ---> 3a752c3f9dda 05:45:17 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:45:22 ---> Running in e9d018a36fe9 05:45:22 Removing intermediate container e9d018a36fe9 05:45:22 ---> 1545d0cc273a 05:45:22 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:45:22 ---> Running in cda22086e1d5 05:45:22 Removing intermediate container cda22086e1d5 05:45:22 ---> c8b5671a1aca 05:45:22 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:45:22 ---> Running in a67b66ee4cd6 05:45:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:45:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:45:22 (1/8) Installing openssh-keygen (9.7_p1-r4) 05:45:22 (2/8) Installing libedit (20240517.3.1-r0) 05:45:22 (3/8) Installing openssh-client-common (9.7_p1-r4) 05:45:23 (4/8) Installing openssh-client-default (9.7_p1-r4) 05:45:23 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 05:45:23 (6/8) Installing openssh-server-common (9.7_p1-r4) 05:45:23 (7/8) Installing openssh-server (9.7_p1-r4) 05:45:23 (8/8) Installing openssh (9.7_p1-r4) 05:45:23 Executing busybox-1.36.1-r29.trigger 05:45:23 OK: 252 MiB in 62 packages 05:45:23 Still waiting to schedule task 05:45:23 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:45:23 Removing intermediate container a67b66ee4cd6 05:45:23 ---> 8301f53d2224 05:45:23 Step 6/10 : WORKDIR /device-modbus-go 05:45:23 ---> Running in f7d5ed7df9c0 05:45:23 Removing intermediate container f7d5ed7df9c0 05:45:23 ---> af5c4c69dc8b 05:45:23 Step 7/10 : COPY go.mod vendor* ./ 05:45:23 ---> e634b89e3afc 05:45:23 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:45:23 ---> Running in 69b06b42ebb8 05:46:19 Removing intermediate container 69b06b42ebb8 05:46:19 ---> 6550fff10b8e 05:46:19 Step 9/10 : COPY . . 05:46:19 ---> 4d9d0b24f36e 05:46:19 Step 10/10 : RUN ${MAKE} 05:46:19 ---> Running in f75a88eab920 05:46:19 noop 05:46:19 Removing intermediate container f75a88eab920 05:46:19 ---> 083fd626b72a 05:46:19 Successfully built 083fd626b72a 05:46:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:46:20 + docker inspect -f . ci-base-image-x86_64 05:46:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:46:20 prd-ubuntu20.04-docker-8c-8g-35183 does not seem to be running inside a container 05:46:20 $ 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 05:46:20 $ docker top a7400e87e3dc4141f797d946c5d63df213de5d703c276ff0691727b786f8618d -eo pid,comm [Pipeline] { [Pipeline] sh 05:46:21 + go version 05:46:21 go version go1.23.2 linux/amd64 [Pipeline] } 05:46:21 $ docker stop --time=1 a7400e87e3dc4141f797d946c5d63df213de5d703c276ff0691727b786f8618d 05:46:22 $ docker rm -f --volumes a7400e87e3dc4141f797d946c5d63df213de5d703c276ff0691727b786f8618d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:46:22 + docker inspect -f . ci-base-image-x86_64 05:46:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:46:22 prd-ubuntu20.04-docker-8c-8g-35183 does not seem to be running inside a container 05:46:23 $ 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 05:46:23 $ docker top 45ef05ce8a2bc838b4ab0612939b0c3fa2fc25c74e11cd755c0f81afa56e5ab5 -eo pid,comm [Pipeline] { [Pipeline] sh 05:46:23 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 05:46:23 + make test 05:46:23 go test ./... -coverprofile=coverage.out 05:46:25 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:46:43 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 05:46:43 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.009s coverage: 48.0% of statements 05:46:52 go vet ./... 05:46:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:46:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:46:56 ./bin/test-attribution-txt.sh [Pipeline] echo 05:46:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:46:56 $ docker stop --time=1 45ef05ce8a2bc838b4ab0612939b0c3fa2fc25c74e11cd755c0f81afa56e5ab5 05:47:01 $ docker rm -f --volumes 45ef05ce8a2bc838b4ab0612939b0c3fa2fc25c74e11cd755c0f81afa56e5ab5 [Pipeline] // withDockerContainer [Pipeline] sh 05:47:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:47:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:47:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:47:02 + ls -al . 05:47:02 total 260 05:47:02 drwxrwxr-x 9 jenkins jenkins 4096 Dec 16 05:46 . 05:47:02 drwxrwxr-x 4 jenkins jenkins 4096 Dec 16 05:44 .. 05:47:02 -rw-rw-r-- 1 jenkins jenkins 140 Dec 16 05:44 .dockerignore 05:47:02 drwxrwxr-x 8 jenkins jenkins 4096 Dec 16 05:46 .git 05:47:02 drwxrwxr-x 3 jenkins jenkins 4096 Dec 16 05:44 .github 05:47:02 -rw-rw-r-- 1 jenkins jenkins 266 Dec 16 05:44 .gitignore 05:47:02 -rw-rw-r-- 1 jenkins jenkins 199 Dec 16 05:44 .golangci.yml 05:47:02 drwxr-xr-x 3 jenkins jenkins 4096 Dec 16 05:45 .semver 05:47:02 -rw-rw-r-- 1 jenkins jenkins 19818 Dec 16 05:44 Attribution.txt 05:47:02 -rw-rw-r-- 1 jenkins jenkins 16388 Dec 16 05:44 CHANGELOG.md 05:47:02 -rw-rw-r-- 1 jenkins jenkins 1479 Dec 16 05:44 Dockerfile 05:47:02 -rw-rw-r-- 1 jenkins jenkins 677 Dec 16 05:44 GOVERNANCE.md 05:47:02 -rw-rw-r-- 1 jenkins jenkins 658 Dec 16 05:44 Jenkinsfile 05:47:02 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 16 05:44 LICENSE 05:47:02 -rw-rw-r-- 1 jenkins jenkins 2524 Dec 16 05:44 Makefile 05:47:02 -rw-rw-r-- 1 jenkins jenkins 622 Dec 16 05:44 OWNERS.md 05:47:02 -rw-rw-r-- 1 jenkins jenkins 4463 Dec 16 05:44 README.md 05:47:02 -rw-rw-r-- 1 jenkins jenkins 11 Dec 16 05:45 VERSION 05:47:02 drwxrwxr-x 2 jenkins jenkins 4096 Dec 16 05:44 bin 05:47:02 drwxrwxr-x 3 jenkins jenkins 4096 Dec 16 05:44 cmd 05:47:02 -rw-r--r-- 1 jenkins jenkins 25464 Dec 16 05:46 coverage.out 05:47:02 -rw-rw-r-- 1 jenkins jenkins 6387 Dec 16 05:44 go.mod 05:47:02 -rw-rw-r-- 1 jenkins jenkins 87494 Dec 16 05:44 go.sum 05:47:02 drwxrwxr-x 3 jenkins jenkins 4096 Dec 16 05:44 internal 05:47:02 drwxrwxr-x 2 jenkins jenkins 4096 Dec 16 05:44 simulator 05:47:02 -rw-rw-r-- 1 jenkins jenkins 229 Dec 16 05:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:47:02 + 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=0b952dc46955038996451e4745a35d433031a401 --label arch=amd64 --label version=4.0.0-dev.8 . 05:47:02 Sending build context to Docker daemon 18.09MB 05:47:02 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 05:47:02 Step 2/23 : FROM ${BASE} AS builder 05:47:02 ---> 083fd626b72a 05:47:02 Step 3/23 : ARG ADD_BUILD_TAGS="" 05:47:03 ---> Running in b6c913ca543a 05:47:03 Removing intermediate container b6c913ca543a 05:47:03 ---> b7c901e6493f 05:47:03 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:47:03 ---> Running in 1809f947d7b9 05:47:03 Removing intermediate container 1809f947d7b9 05:47:03 ---> 4d3f911d6267 05:47:03 Step 5/23 : RUN apk add --update --no-cache make git openssh 05:47:03 ---> Running in 26d86cc09614 05:47:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:47:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:47:04 OK: 252 MiB in 62 packages 05:47:04 Removing intermediate container 26d86cc09614 05:47:04 ---> b09e3a0d4f73 05:47:04 Step 6/23 : WORKDIR /device-modbus-go 05:47:04 ---> Running in 50543bbd833e 05:47:04 Removing intermediate container 50543bbd833e 05:47:04 ---> c3fb4e591774 05:47:04 Step 7/23 : COPY go.mod vendor* ./ 05:47:04 ---> e8fd7992310c 05:47:04 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:47:04 ---> Running in b15e97447e40 05:47:05 Removing intermediate container b15e97447e40 05:47:05 ---> fa850aa4fad8 05:47:05 Step 9/23 : COPY . . 05:47:06 ---> 43db4341532d 05:47:06 Step 10/23 : RUN ${MAKE} 05:47:06 ---> Running in 4b83757976fb 05:47:06 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=4.0.0-dev.8 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.11 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 05:47:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-35184 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 05:47:13 Running in /w/workspace/device-modbus-go/173 [Pipeline] { [Pipeline] checkout 05:47:16 The recommended git tool is: git 05:47:22 using credential edgex-jenkins-ssh 05:47:22 Cloning the remote Git repository 05:47:22 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:47:22 > git init /w/workspace/device-modbus-go/173 # timeout=10 05:47:22 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:47:22 > git --version # timeout=10 05:47:22 > git --version # 'git version 2.25.1' 05:47:22 using GIT_SSH to set credentials SSH Credentials for GitHub 05:47:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:47:25 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:47:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:47:27 Avoid second fetch 05:47:27 Checking out Revision 0b952dc46955038996451e4745a35d433031a401 (main) 05:47:27 > git config core.sparsecheckout # timeout=10 05:47:27 > git checkout -f 0b952dc46955038996451e4745a35d433031a401 # timeout=10 05:47:27 Commit message: "Merge pull request #598 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.11" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:47:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:47:32 % Total % Received % Xferd Average Speed Time Time Time Current 05:47:32 Dload Upload Total Spent Left Speed 05:47:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 56017 0 --:--:-- --:--:-- --:--:-- 56017 [Pipeline] sh 05:47:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:47:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 05:47:33 sudo tee /etc/docker/daemon.new 05:47:33 { 05:47:33 "registry-mirrors": [ 05:47:33 "https://nexus3.edgexfoundry.org:10001" 05:47:33 ], 05:47:33 "bip": "10.250.0.254/24", 05:47:33 "hosts": [ 05:47:33 "tcp://0.0.0.0:5555", 05:47:33 "unix:///var/run/docker.sock" 05:47:33 ], 05:47:33 "mtu": 1458, 05:47:33 "selinux-enabled": true, 05:47:33 "seccomp-profile": "/etc/docker/seccomp.json" 05:47:33 } [Pipeline] sh 05:47:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:47:34 + sudo service docker restart 05:47:38 Removing intermediate container 4b83757976fb 05:47:38 ---> af3f4d6c3d2d 05:47:38 Step 11/23 : FROM alpine:3.20 05:47:38 3.20: Pulling from library/alpine 05:47:38 da9db072f522: Pulling fs layer 05:47:38 da9db072f522: Verifying Checksum 05:47:38 da9db072f522: Download complete 05:47:38 da9db072f522: Pull complete 05:47:38 Digest: sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 05:47:38 Status: Downloaded newer image for alpine:3.20 05:47:38 ---> 63b790fccc90 05:47:38 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 05:47:38 ---> Running in 20e127069e64 05:47:38 Removing intermediate container 20e127069e64 05:47:38 ---> 9d43552da351 05:47:38 Step 13/23 : RUN apk add --update --no-cache dumb-init 05:47:38 ---> Running in 825f11240910 05:47:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:47:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:47:38 (1/1) Installing dumb-init (1.2.5-r3) 05:47:38 Executing busybox-1.36.1-r29.trigger 05:47:38 OK: 8 MiB in 15 packages 05:47:38 Removing intermediate container 825f11240910 05:47:38 ---> 24d4df08931e 05:47:38 Step 14/23 : RUN apk --no-cache upgrade 05:47:38 ---> Running in 5b572ca789d4 05:47:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:47:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:47:38 Upgrading critical system libraries and apk-tools: 05:47:38 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 05:47:38 Executing busybox-1.36.1-r29.trigger 05:47:38 Continuing the upgrade transaction with new apk-tools: 05:47:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:47:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:47:39 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 05:47:39 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 05:47:39 OK: 8 MiB in 15 packages 05:47:39 Removing intermediate container 5b572ca789d4 05:47:39 ---> 96a8d7f61a38 05:47:39 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:47:40 ---> 6f5efdf03385 05:47:40 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:47:40 ---> 761362d8c032 05:47:40 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:47:40 ---> 75cf56ef1a40 05:47:40 Step 18/23 : EXPOSE 59901 05:47:40 ---> Running in 35e6797a8659 05:47:40 Removing intermediate container 35e6797a8659 05:47:40 ---> 1622ef3b98dc 05:47:40 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:47:40 ---> Running in fa650c24ef92 05:47:41 Removing intermediate container fa650c24ef92 05:47:41 ---> b855fece9ec3 05:47:41 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 05:47:41 ---> Running in 14aa5a1546cc 05:47:41 Removing intermediate container 14aa5a1546cc 05:47:41 ---> 5318261e2614 05:47:41 Step 21/23 : LABEL arch=amd64 05:47:41 ---> Running in 2a70b8addd3b 05:47:41 Removing intermediate container 2a70b8addd3b 05:47:41 ---> f8f06791e4bc 05:47:41 Step 22/23 : LABEL git_sha=0b952dc46955038996451e4745a35d433031a401 05:47:41 ---> Running in 7921e0927e9f 05:47:41 Removing intermediate container 7921e0927e9f 05:47:41 ---> 7c527df69060 05:47:41 Step 23/23 : LABEL version=4.0.0-dev.8 05:47:41 ---> Running in ac83c23030cd 05:47:41 Removing intermediate container ac83c23030cd 05:47:41 ---> 6c9a0372a3c5 05:47:41 [Warning] One or more build-args [ARCH] were not consumed 05:47:41 Successfully built 6c9a0372a3c5 05:47:41 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:47:41 provisioning config files... 05:47:41 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1879393854313643920tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:47:41 ---> ****-login.sh 05:47:41 nexus3.edgexfoundry.org:10001 05:47:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:47:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:47:41 Configure a credential helper to remove this warning. See 05:47:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:47:41 05:47:41 Login Succeeded 05:47:41 nexus3.edgexfoundry.org:10002 05:47:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:47:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:47:41 Configure a credential helper to remove this warning. See 05:47:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:47:41 05:47:41 Login Succeeded 05:47:41 nexus3.edgexfoundry.org:10003 05:47:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:47:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:47:42 Configure a credential helper to remove this warning. See 05:47:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:47:42 05:47:42 Login Succeeded 05:47:42 nexus3.edgexfoundry.org:10004 05:47:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:47:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:47:42 Configure a credential helper to remove this warning. See 05:47:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:47:42 05:47:42 Login Succeeded 05:47:42 ****.io 05:47:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:47:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:47:42 Configure a credential helper to remove this warning. See 05:47:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:47:42 05:47:42 Login Succeeded 05:47:42 ---> ****-login.sh ends [Pipeline] } 05:47:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:47:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:47:42 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 05:47:42 0b952dc46955038996451e4745a35d433031a401 05:47:42 latest 05:47:42 4.0.0-dev.8 05:47:42 0b952dc46955038996451e4745a35d433031a401-4.0.0-dev.8 05:47:42 main 05:47:42 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:47:42 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:0b952dc46955038996451e4745a35d433031a401 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:47:43 + docker push nexus3.edgexfoundry.org:10004/device-modbus:0b952dc46955038996451e4745a35d433031a401 05:47:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:47:43 5f3aa8c43dde: Preparing 05:47:43 f5b01cb8869c: Preparing 05:47:43 9ddb72b2016b: Preparing 05:47:43 bfd2acc946a3: Preparing 05:47:43 b0cd7b95cfb4: Preparing 05:47:43 75654b8eeebd: Preparing 05:47:43 75654b8eeebd: Waiting 05:47:43 b0cd7b95cfb4: Pushed 05:47:43 f5b01cb8869c: Pushed 05:47:43 5f3aa8c43dde: Pushed 05:47:43 75654b8eeebd: Layer already exists 05:47:43 bfd2acc946a3: Pushed 05:47:46 9ddb72b2016b: Pushed 05:47:46 0b952dc46955038996451e4745a35d433031a401: digest: sha256:a43ad429503a1dbe394e4fb8abffb9bef56b23bd90d50e8b27a6e20cb2ac39ef size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:47:46 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:47:46 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 05:47:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:47:46 5f3aa8c43dde: Preparing 05:47:46 f5b01cb8869c: Preparing 05:47:46 9ddb72b2016b: Preparing 05:47:46 bfd2acc946a3: Preparing 05:47:46 b0cd7b95cfb4: Preparing 05:47:46 75654b8eeebd: Preparing 05:47:46 75654b8eeebd: Waiting 05:47:46 f5b01cb8869c: Layer already exists 05:47:46 bfd2acc946a3: Layer already exists 05:47:46 9ddb72b2016b: Layer already exists 05:47:46 5f3aa8c43dde: Layer already exists 05:47:46 b0cd7b95cfb4: Layer already exists 05:47:46 75654b8eeebd: Layer already exists 05:47:46 latest: digest: sha256:a43ad429503a1dbe394e4fb8abffb9bef56b23bd90d50e8b27a6e20cb2ac39ef size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:47:47 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:47:47 + docker push nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.8 05:47:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:47:47 5f3aa8c43dde: Preparing 05:47:47 f5b01cb8869c: Preparing 05:47:47 9ddb72b2016b: Preparing 05:47:47 bfd2acc946a3: Preparing 05:47:47 b0cd7b95cfb4: Preparing 05:47:47 75654b8eeebd: Preparing 05:47:47 75654b8eeebd: Waiting 05:47:47 5f3aa8c43dde: Layer already exists 05:47:47 b0cd7b95cfb4: Layer already exists 05:47:47 f5b01cb8869c: Layer already exists 05:47:47 9ddb72b2016b: Layer already exists 05:47:47 bfd2acc946a3: Layer already exists 05:47:47 75654b8eeebd: Layer already exists 05:47:47 4.0.0-dev.8: digest: sha256:a43ad429503a1dbe394e4fb8abffb9bef56b23bd90d50e8b27a6e20cb2ac39ef size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:47:47 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:0b952dc46955038996451e4745a35d433031a401-4.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:47:48 + docker push nexus3.edgexfoundry.org:10004/device-modbus:0b952dc46955038996451e4745a35d433031a401-4.0.0-dev.8 05:47:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:47:48 5f3aa8c43dde: Preparing 05:47:48 f5b01cb8869c: Preparing 05:47:48 9ddb72b2016b: Preparing 05:47:48 bfd2acc946a3: Preparing 05:47:48 b0cd7b95cfb4: Preparing 05:47:48 75654b8eeebd: Preparing 05:47:48 75654b8eeebd: Waiting 05:47:48 5f3aa8c43dde: Layer already exists 05:47:48 b0cd7b95cfb4: Layer already exists 05:47:48 bfd2acc946a3: Layer already exists 05:47:48 9ddb72b2016b: Layer already exists 05:47:48 f5b01cb8869c: Layer already exists 05:47:48 75654b8eeebd: Layer already exists 05:47:48 0b952dc46955038996451e4745a35d433031a401-4.0.0-dev.8: digest: sha256:a43ad429503a1dbe394e4fb8abffb9bef56b23bd90d50e8b27a6e20cb2ac39ef size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:47:48 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:47:48 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 05:47:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:47:48 5f3aa8c43dde: Preparing 05:47:48 f5b01cb8869c: Preparing 05:47:48 9ddb72b2016b: Preparing 05:47:48 bfd2acc946a3: Preparing 05:47:48 b0cd7b95cfb4: Preparing 05:47:48 75654b8eeebd: Preparing 05:47:48 b0cd7b95cfb4: Layer already exists 05:47:48 5f3aa8c43dde: Layer already exists 05:47:48 bfd2acc946a3: Layer already exists 05:47:48 f5b01cb8869c: Layer already exists 05:47:48 9ddb72b2016b: Layer already exists 05:47:48 75654b8eeebd: Layer already exists 05:47:48 main: digest: sha256:a43ad429503a1dbe394e4fb8abffb9bef56b23bd90d50e8b27a6e20cb2ac39ef size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:47:49 ===================================================== [Pipeline] echo 05:47:49 taggedImages: 05:47:49 - nexus3.edgexfoundry.org:10004/device-modbus:0b952dc46955038996451e4745a35d433031a401 05:47:49 - nexus3.edgexfoundry.org:10004/device-modbus:latest 05:47:49 - nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.8 05:47:49 - nexus3.edgexfoundry.org:10004/device-modbus:0b952dc46955038996451e4745a35d433031a401-4.0.0-dev.8 05:47:49 - 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 05:47:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:47:49 05:47:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:47:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:47:49 latest: Pulling from edgex-lftools-log-publisher 05:47:49 5eb5b503b376: Pulling fs layer 05:47:49 5c69ac0246d0: Pulling fs layer 05:47:49 ec43610c2a17: Pulling fs layer 05:47:49 3a2ae6a8a46f: Pulling fs layer 05:47:49 33b1e0a273af: Pulling fs layer 05:47:49 5d3b04190fa2: Pulling fs layer 05:47:49 2f39f015ded8: Pulling fs layer 05:47:49 3a2ae6a8a46f: Waiting 05:47:49 33b1e0a273af: Waiting 05:47:49 5d3b04190fa2: Waiting 05:47:49 5c69ac0246d0: Verifying Checksum 05:47:49 5c69ac0246d0: Download complete 05:47:49 3a2ae6a8a46f: Verifying Checksum 05:47:49 3a2ae6a8a46f: Download complete 05:47:49 33b1e0a273af: Verifying Checksum 05:47:49 33b1e0a273af: Download complete 05:47:49 5d3b04190fa2: Verifying Checksum 05:47:49 5d3b04190fa2: Download complete 05:47:49 ec43610c2a17: Verifying Checksum 05:47:49 ec43610c2a17: Download complete 05:47:50 5eb5b503b376: Verifying Checksum 05:47:50 5eb5b503b376: Download complete 05:47:50 2f39f015ded8: Verifying Checksum 05:47:50 2f39f015ded8: Download complete 05:47:51 5eb5b503b376: Pull complete 05:47:51 5c69ac0246d0: Pull complete 05:47:51 ec43610c2a17: Pull complete 05:47:51 3a2ae6a8a46f: Pull complete 05:47:51 33b1e0a273af: Pull complete 05:47:52 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:47:52 provisioning config files... 05:47:52 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/173@tmp/config36275777367853651tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:47:52 ---> ****-login.sh 05:47:52 nexus3.edgexfoundry.org:10001 05:47:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:47:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:47:53 Configure a credential helper to remove this warning. See 05:47:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:47:53 05:47:53 Login Succeeded 05:47:53 nexus3.edgexfoundry.org:10002 05:47:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:47:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:47:53 Configure a credential helper to remove this warning. See 05:47:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:47:53 05:47:53 Login Succeeded 05:47:53 nexus3.edgexfoundry.org:10003 05:47:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:47:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:47:53 Configure a credential helper to remove this warning. See 05:47:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:47:53 05:47:53 Login Succeeded 05:47:53 nexus3.edgexfoundry.org:10004 05:47:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:47:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:47:54 Configure a credential helper to remove this warning. See 05:47:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:47:54 05:47:54 Login Succeeded 05:47:54 ****.io 05:47:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:47:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:47:54 Configure a credential helper to remove this warning. See 05:47:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:47:54 05:47:54 Login Succeeded 05:47:54 ---> ****-login.sh ends [Pipeline] } 05:47:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:47:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:47:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:47:55 ========================================================= 05:47:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 05:47:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:47:55 + 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 . 05:47:56 2f39f015ded8: Pull complete 05:47:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:47:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:47:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:47:56 prd-ubuntu20.04-docker-8c-8g-35183 does not seem to be running inside a container 05:47:56 $ 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 05:47:56 #0 building with "default" instance using docker driver 05:47:56 05:47:56 #1 [internal] load .dockerignore 05:47:56 #1 transferring context: 182B 0.0s done 05:47:56 #1 DONE 0.1s 05:47:56 05:47:56 #2 [internal] load build definition from Dockerfile 05:47:56 #2 transferring dockerfile: 1.52kB done 05:47:56 #2 DONE 0.1s 05:47:56 05:47:56 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 05:47:56 #3 DONE 0.1s 05:47:56 05:47:56 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine@sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 05:47:56 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine@sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 0.0s done 05:47:57 #4 sha256:be29e6b0f0d48c82f8b7b9eee484c4dc135732b9e314d3ddccdbbf7107de97ad 5.39kB / 5.39kB done 05:47:57 #4 sha256:cf04c63912e16506c4413937c7f4579018e4bb25c272d989789cfba77b12f951 4.09MB / 4.09MB 0.2s 05:47:57 #4 sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 1.99kB / 1.99kB done 05:47:57 #4 sha256:55b35a11ae5eab5f9885f480b702f14893ab21d2d29f58cd678d35d2fde98e27 293.52kB / 293.52kB 0.1s done 05:47:57 #4 sha256:50b3750afda1ed5c34a5153357a453f4928aa99e9f60005309772f320263a9ea 127B / 127B 0.2s 05:47:57 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 2.10MB / 70.64MB 0.2s 05:47:57 #4 sha256:cf04c63912e16506c4413937c7f4579018e4bb25c272d989789cfba77b12f951 4.09MB / 4.09MB 0.2s done 05:47:57 #4 sha256:50b3750afda1ed5c34a5153357a453f4928aa99e9f60005309772f320263a9ea 127B / 127B 0.2s done 05:47:57 #4 extracting sha256:cf04c63912e16506c4413937c7f4579018e4bb25c272d989789cfba77b12f951 05:47:57 #4 sha256:80978eb59214169129ea09808cbd1cd6cb9503947a15f41f800ef14c39d0f5d6 0B / 440B 0.3s 05:47:57 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 8.39MB / 70.64MB 0.4s 05:47:57 #4 sha256:80978eb59214169129ea09808cbd1cd6cb9503947a15f41f800ef14c39d0f5d6 440B / 440B 0.3s done 05:47:57 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.3s done 05:47:57 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 0B / 95.52MB 0.4s 05:47:57 #4 sha256:c5a475d317c953d8ffff2d7e2ad4be8b96f48a12d542f5668e0091fab47999e5 1.05MB / 12.73MB 0.4s 05:47:57 #4 ... 05:47:57 05:47:57 #5 [internal] load build context 05:47:57 #5 transferring context: 9.03MB 0.4s done 05:47:57 #5 DONE 0.5s 05:47:57 05:47:57 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine@sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 05:47:57 #4 sha256:c5a475d317c953d8ffff2d7e2ad4be8b96f48a12d542f5668e0091fab47999e5 4.61MB / 12.73MB 0.5s 05:47:57 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 6.29MB / 95.52MB 0.6s 05:47:57 #4 sha256:c5a475d317c953d8ffff2d7e2ad4be8b96f48a12d542f5668e0091fab47999e5 9.17MB / 12.73MB 0.6s 05:47:57 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 22.02MB / 70.64MB 0.7s 05:47:57 #4 extracting sha256:cf04c63912e16506c4413937c7f4579018e4bb25c272d989789cfba77b12f951 0.5s done 05:47:57 #4 sha256:c5a475d317c953d8ffff2d7e2ad4be8b96f48a12d542f5668e0091fab47999e5 12.73MB / 12.73MB 0.7s 05:47:57 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 26.21MB / 70.64MB 0.8s 05:47:57 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 14.68MB / 95.52MB 0.8s 05:47:57 #4 sha256:c5a475d317c953d8ffff2d7e2ad4be8b96f48a12d542f5668e0091fab47999e5 12.73MB / 12.73MB 0.7s done 05:47:57 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 37.09MB / 70.64MB 1.0s 05:47:57 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 23.62MB / 95.52MB 1.0s 05:47:57 #4 extracting sha256:55b35a11ae5eab5f9885f480b702f14893ab21d2d29f58cd678d35d2fde98e27 05:47:58 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 42.14MB / 70.64MB 1.1s 05:47:58 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 47.30MB / 70.64MB 1.2s 05:47:58 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 33.04MB / 95.52MB 1.2s 05:47:58 #4 extracting sha256:55b35a11ae5eab5f9885f480b702f14893ab21d2d29f58cd678d35d2fde98e27 0.2s done 05:47:58 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 58.58MB / 70.64MB 1.4s 05:47:58 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 41.94MB / 95.52MB 1.4s 05:47:58 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 63.68MB / 70.64MB 1.5s 05:47:58 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 47.19MB / 95.52MB 1.5s 05:47:58 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 69.21MB / 70.64MB 1.6s 05:47:58 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 52.43MB / 95.52MB 1.6s 05:47:58 #4 sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 70.64MB / 70.64MB 1.7s done 05:47:58 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 61.87MB / 95.52MB 1.8s 05:47:58 #4 extracting sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 0.1s 05:47:58 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 70.68MB / 95.52MB 2.0s 05:47:59 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 75.53MB / 95.52MB 2.1s 05:47:59 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 84.93MB / 95.52MB 2.3s 05:47:59 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 89.80MB / 95.52MB 2.4s 05:47:59 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 95.42MB / 95.52MB 2.5s 05:47:59 #4 sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 95.52MB / 95.52MB 2.6s done 05:48:01 $ docker top d9ee4ab8692925bbd37eb5b9173a2e71be49ce38e8d2d8b453bec74e03f3c771 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:48:01 ---> job-cost.sh 05:48:01 lf-activate-venv: SKIPPING 05:48:01 INFO: No Stack... 05:48:01 INFO: Retrieving Pricing Info for: v3-standard-8 05:48:02 INFO: Archiving Costs [Pipeline] sh 05:48:02 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 05:48:02 + cut -d, -f6 [Pipeline] lock 05:48:02 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-173-stack-cost] 05:48:02 Resource [jenkins-edgexfoundry-device-modbus-go-main-173-stack-cost] did not exist. Created. 05:48:02 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-173-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:48:02 + echo total: 0.2199999988079071 [Pipeline] stash 05:48:02 Stashed 1 file(s) [Pipeline] } 05:48:02 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-173-stack-cost] [Pipeline] // lock [Pipeline] } 05:48:02 $ docker stop --time=1 d9ee4ab8692925bbd37eb5b9173a2e71be49ce38e8d2d8b453bec74e03f3c771 05:48:04 $ docker rm -f --volumes d9ee4ab8692925bbd37eb5b9173a2e71be49ce38e8d2d8b453bec74e03f3c771 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:48:05 #4 extracting sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 6.1s 05:48:10 #4 extracting sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 11.1s 05:48:18 #4 extracting sha256:a37a00ec5f007d0ae73647c82b7d81d98a44fb7d073d06e633d656bca79db62a 18.6s done 05:48:18 #4 extracting sha256:50b3750afda1ed5c34a5153357a453f4928aa99e9f60005309772f320263a9ea done 05:48:18 #4 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 05:48:18 #4 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done 05:48:18 #4 extracting sha256:80978eb59214169129ea09808cbd1cd6cb9503947a15f41f800ef14c39d0f5d6 done 05:48:18 #4 extracting sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 05:48:24 #4 extracting sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 5.0s 05:48:26 #4 extracting sha256:c9f46d7d2bd2bfc9efa70b1592947290c554ebd4f565d75efad910426b662f2d 7.7s done 05:48:26 #4 extracting sha256:c5a475d317c953d8ffff2d7e2ad4be8b96f48a12d542f5668e0091fab47999e5 05:48:28 #4 extracting sha256:c5a475d317c953d8ffff2d7e2ad4be8b96f48a12d542f5668e0091fab47999e5 1.8s done 05:48:29 #4 DONE 32.2s 05:48:29 05:48:29 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh 05:48:29 #6 0.773 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:48:30 #6 1.211 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:48:31 #6 2.680 (1/8) Installing openssh-keygen (9.7_p1-r4) 05:48:31 #6 2.703 (2/8) Installing libedit (20240517.3.1-r0) 05:48:31 #6 2.715 (3/8) Installing openssh-client-common (9.7_p1-r4) 05:48:31 #6 2.783 (4/8) Installing openssh-client-default (9.7_p1-r4) 05:48:31 #6 2.809 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 05:48:31 #6 2.818 (6/8) Installing openssh-server-common (9.7_p1-r4) 05:48:31 #6 2.823 (7/8) Installing openssh-server (9.7_p1-r4) 05:48:31 #6 2.851 (8/8) Installing openssh (9.7_p1-r4) 05:48:31 #6 2.866 Executing busybox-1.36.1-r29.trigger 05:48:31 #6 2.904 OK: 244 MiB in 62 packages 05:48:34 #6 DONE 5.1s 05:48:34 05:48:34 #7 [builder 3/7] WORKDIR /device-modbus-go 05:48:34 #7 DONE 0.1s 05:48:34 05:48:34 #8 [builder 4/7] COPY go.mod vendor* ./ 05:48:34 #8 DONE 0.1s 05:48:34 05:48:34 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:49:06 #9 DONE 31.3s 05:49:06 05:49:06 #10 [builder 6/7] COPY . . 05:49:06 #10 DONE 0.3s 05:49:06 05:49:06 #11 [builder 7/7] RUN echo noop 05:49:06 #11 0.660 noop 05:49:06 #11 DONE 0.7s 05:49:06 05:49:06 #12 exporting to image 05:49:06 #12 exporting layers 05:49:45 #12 exporting layers 34.6s done 05:49:45 #12 writing image sha256:1224b4e0fb0b8e8c2c340c88a7c84f350e347cf6949e560663e4c064e5ba01aa done 05:49:45 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 05:49:45 #12 DONE 34.6s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:49:46 + docker inspect -f . ci-base-image-arm64 05:49:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:49:46 prd-ubuntu20.04-docker-arm64-4c-16g-35184 does not seem to be running inside a container 05:49:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/173 -v /w/workspace/device-modbus-go/173:/w/workspace/device-modbus-go/173:rw,z -v /w/workspace/device-modbus-go/173@tmp:/w/workspace/device-modbus-go/173@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 05:49:47 $ docker top 511ef90cb3b4b1c89ed41637e1ade47e1471df343ce2e60778f4e46f003dc231 -eo pid,comm [Pipeline] { [Pipeline] sh 05:49:48 + go version 05:49:48 go version go1.23.2 linux/arm64 [Pipeline] } 05:49:48 $ docker stop --time=1 511ef90cb3b4b1c89ed41637e1ade47e1471df343ce2e60778f4e46f003dc231 05:49:49 $ docker rm -f --volumes 511ef90cb3b4b1c89ed41637e1ade47e1471df343ce2e60778f4e46f003dc231 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:49:50 + docker inspect -f . ci-base-image-arm64 05:49:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:49:50 prd-ubuntu20.04-docker-arm64-4c-16g-35184 does not seem to be running inside a container 05:49:50 $ 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/173 -v /w/workspace/device-modbus-go/173:/w/workspace/device-modbus-go/173:rw,z -v /w/workspace/device-modbus-go/173@tmp:/w/workspace/device-modbus-go/173@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 05:49:51 $ docker top 781015b420589b56025fa59f4d46e3ead455f1437252ca7e05df32ca5a1d10ba -eo pid,comm [Pipeline] { [Pipeline] sh 05:49:52 + git config --global --add safe.directory /w/workspace/device-modbus-go/173 [Pipeline] fileExists [Pipeline] sh 05:49:52 + make test 05:49:52 go test ./... -coverprofile=coverage.out 05:49:57 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:52:04 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 05:52:04 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.055s coverage: 48.0% of statements 05:52:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:52:04 go vet ./... 05:52:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:52:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:52:43 ./bin/test-attribution-txt.sh [Pipeline] echo 05:52:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:52:43 $ docker stop --time=1 781015b420589b56025fa59f4d46e3ead455f1437252ca7e05df32ca5a1d10ba 05:52:45 $ docker rm -f --volumes 781015b420589b56025fa59f4d46e3ead455f1437252ca7e05df32ca5a1d10ba [Pipeline] // withDockerContainer [Pipeline] sh 05:52:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:52:46 Warning: overwriting stash ‘coverage-report’ 05:52:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:52:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:52:47 + ls -al . 05:52:47 total 256 05:52:47 drwxrwxr-x 8 jenkins jenkins 4096 Dec 16 05:49 . 05:52:47 drwxrwxr-x 4 jenkins jenkins 4096 Dec 16 05:47 .. 05:52:47 -rw-rw-r-- 1 jenkins jenkins 140 Dec 16 05:47 .dockerignore 05:52:47 drwxrwxr-x 8 jenkins jenkins 4096 Dec 16 05:47 .git 05:52:47 drwxrwxr-x 3 jenkins jenkins 4096 Dec 16 05:47 .github 05:52:47 -rw-rw-r-- 1 jenkins jenkins 266 Dec 16 05:47 .gitignore 05:52:47 -rw-rw-r-- 1 jenkins jenkins 199 Dec 16 05:47 .golangci.yml 05:52:47 -rw-rw-r-- 1 jenkins jenkins 19818 Dec 16 05:47 Attribution.txt 05:52:47 -rw-rw-r-- 1 jenkins jenkins 16388 Dec 16 05:47 CHANGELOG.md 05:52:47 -rw-rw-r-- 1 jenkins jenkins 1479 Dec 16 05:47 Dockerfile 05:52:47 -rw-rw-r-- 1 jenkins jenkins 677 Dec 16 05:47 GOVERNANCE.md 05:52:47 -rw-rw-r-- 1 jenkins jenkins 658 Dec 16 05:47 Jenkinsfile 05:52:47 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 16 05:47 LICENSE 05:52:47 -rw-rw-r-- 1 jenkins jenkins 2524 Dec 16 05:47 Makefile 05:52:47 -rw-rw-r-- 1 jenkins jenkins 622 Dec 16 05:47 OWNERS.md 05:52:47 -rw-rw-r-- 1 jenkins jenkins 4463 Dec 16 05:47 README.md 05:52:47 -rw-rw-r-- 1 jenkins jenkins 11 Dec 16 05:45 VERSION 05:52:47 drwxrwxr-x 2 jenkins jenkins 4096 Dec 16 05:47 bin 05:52:47 drwxrwxr-x 3 jenkins jenkins 4096 Dec 16 05:47 cmd 05:52:47 -rw-r--r-- 1 jenkins jenkins 25464 Dec 16 05:52 coverage.out 05:52:47 -rw-rw-r-- 1 jenkins jenkins 6387 Dec 16 05:47 go.mod 05:52:47 -rw-rw-r-- 1 jenkins jenkins 87494 Dec 16 05:47 go.sum 05:52:47 drwxrwxr-x 3 jenkins jenkins 4096 Dec 16 05:47 internal 05:52:47 drwxrwxr-x 2 jenkins jenkins 4096 Dec 16 05:47 simulator 05:52:47 -rw-rw-r-- 1 jenkins jenkins 229 Dec 16 05:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:52:48 + 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=0b952dc46955038996451e4745a35d433031a401 --label arch=arm64 --label version=4.0.0-dev.8 . 05:52:48 #0 building with "default" instance using docker driver 05:52:48 05:52:48 #1 [internal] load .dockerignore 05:52:49 #1 transferring context: 182B done 05:52:49 #1 DONE 0.0s 05:52:49 05:52:49 #2 [internal] load build definition from Dockerfile 05:52:49 #2 transferring dockerfile: 1.52kB done 05:52:49 #2 DONE 0.0s 05:52:49 05:52:49 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 05:52:49 #3 DONE 0.0s 05:52:49 05:52:49 #4 [internal] load metadata for docker.io/library/alpine:3.20 05:52:49 #4 DONE 0.5s 05:52:49 05:52:49 #5 [internal] load build context 05:52:49 #5 transferring context: 33.74kB 0.0s done 05:52:49 #5 DONE 0.1s 05:52:49 05:52:49 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.20@sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 05:52:49 #6 resolve docker.io/library/alpine:3.20@sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 0.1s done 05:52:49 #6 ... 05:52:49 05:52:49 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 05:52:49 #7 DONE 0.2s 05:52:49 05:52:49 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.20@sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 05:52:49 #6 sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 9.22kB / 9.22kB done 05:52:49 #6 sha256:ea3c5a9671f7b3f7eb47eab06f73bc6591df978b0d5955689a9e6f943aa368c0 1.02kB / 1.02kB done 05:52:49 #6 sha256:511a44083d3a23416fadc62847c45d14c25cbace86e7a72b2b350436978a0450 616B / 616B done 05:52:49 #6 sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 4.09MB / 4.09MB 0.1s done 05:52:49 #6 extracting sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 05:52:50 #6 extracting sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 0.4s done 05:52:50 #6 DONE 1.0s 05:52:50 05:52:50 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 05:52:51 #8 0.650 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:52:51 #8 1.008 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:52:52 #8 ... 05:52:52 05:52:52 #9 [builder 2/7] RUN apk add --update --no-cache make git openssh 05:52:52 #9 0.901 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:52:52 #9 1.327 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:52:52 #9 2.871 OK: 244 MiB in 62 packages 05:52:52 #9 DONE 3.2s 05:52:53 05:52:53 #10 [builder 3/7] WORKDIR /device-modbus-go 05:52:53 #10 DONE 0.1s 05:52:53 05:52:53 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 05:52:53 #8 2.688 (1/1) Installing dumb-init (1.2.5-r3) 05:52:53 #8 2.702 Executing busybox-1.36.1-r29.trigger 05:52:53 #8 2.738 OK: 9 MiB in 15 packages 05:52:53 #8 ... 05:52:53 05:52:53 #11 [builder 4/7] COPY go.mod vendor* ./ 05:52:53 #11 DONE 0.1s 05:52:53 05:52:53 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:52:53 #12 ... 05:52:53 05:52:53 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 05:52:53 #8 DONE 3.1s 05:52:53 05:52:53 #13 [stage-1 3/6] RUN apk --no-cache upgrade 05:52:54 #13 0.898 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:52:54 #13 1.270 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:52:56 #13 ... 05:52:56 05:52:56 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:52:56 #12 DONE 2.9s 05:52:56 05:52:56 #13 [stage-1 3/6] RUN apk --no-cache upgrade 05:52:56 #13 2.686 Upgrading critical system libraries and apk-tools: 05:52:56 #13 2.686 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 05:52:56 #13 2.705 Executing busybox-1.36.1-r29.trigger 05:52:56 #13 ... 05:52:56 05:52:56 #14 [builder 6/7] COPY . . 05:52:56 #14 DONE 0.4s 05:52:56 05:52:56 #13 [stage-1 3/6] RUN apk --no-cache upgrade 05:52:56 #13 3.023 Continuing the upgrade transaction with new apk-tools: 05:52:56 #13 3.047 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:52:56 #13 3.446 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:52:58 #13 5.325 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 05:52:59 #13 5.471 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 05:52:59 #13 5.507 OK: 9 MiB in 15 packages 05:52:59 #13 DONE 6.0s 05:52:59 05:52:59 #15 [builder 7/7] RUN make build 05:52:59 #15 0.723 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=4.0.0-dev.8 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.11 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 05:55:06 #15 DONE 126.3s 05:55:06 05:55:06 #16 [stage-1 4/6] COPY --from=builder /device-modbus-go/cmd / 05:55:06 #16 DONE 0.3s 05:55:06 05:55:06 #17 [stage-1 5/6] COPY --from=builder /device-modbus-go/LICENSE / 05:55:06 #17 DONE 0.1s 05:55:06 05:55:06 #18 [stage-1 6/6] COPY --from=builder /device-modbus-go/Attribution.txt / 05:55:06 #18 DONE 0.1s 05:55:06 05:55:06 #19 exporting to image 05:55:06 #19 exporting layers 05:55:06 #19 exporting layers 0.4s done 05:55:06 #19 writing image sha256:918d3ba91413e89fb77c7311fab727d297d9231bdc582211914040b80825f954 done 05:55:06 #19 naming to docker.io/library/device-modbus-arm64 done 05:55:06 #19 DONE 0.4s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:55:06 provisioning config files... 05:55:06 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/173@tmp/config13758137072939421074tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:55:06 ---> ****-login.sh 05:55:06 nexus3.edgexfoundry.org:10001 05:55:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:55:07 Configure a credential helper to remove this warning. See 05:55:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:55:07 05:55:07 Login Succeeded 05:55:07 nexus3.edgexfoundry.org:10002 05:55:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:55:07 Configure a credential helper to remove this warning. See 05:55:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:55:07 05:55:07 Login Succeeded 05:55:07 nexus3.edgexfoundry.org:10003 05:55:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:55:07 Configure a credential helper to remove this warning. See 05:55:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:55:07 05:55:07 Login Succeeded 05:55:07 nexus3.edgexfoundry.org:10004 05:55:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:55:08 Configure a credential helper to remove this warning. See 05:55:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:55:08 05:55:08 Login Succeeded 05:55:08 ****.io 05:55:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:55:08 Configure a credential helper to remove this warning. See 05:55:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:55:08 05:55:08 Login Succeeded 05:55:08 ---> ****-login.sh ends [Pipeline] } 05:55:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:55:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:55:08 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 05:55:08 0b952dc46955038996451e4745a35d433031a401 05:55:08 latest 05:55:08 4.0.0-dev.8 05:55:08 0b952dc46955038996451e4745a35d433031a401-4.0.0-dev.8 05:55:08 main 05:55:08 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:08 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:0b952dc46955038996451e4745a35d433031a401 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:09 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:0b952dc46955038996451e4745a35d433031a401 05:55:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:55:09 692b3d3940ea: Preparing 05:55:09 0ff4a2a15f72: Preparing 05:55:09 4da9883456d1: Preparing 05:55:09 f66521754649: Preparing 05:55:09 edc954333835: Preparing 05:55:09 651d9022c234: Preparing 05:55:09 651d9022c234: Waiting 05:55:09 692b3d3940ea: Pushed 05:55:09 0ff4a2a15f72: Pushed 05:55:09 edc954333835: Pushed 05:55:09 651d9022c234: Layer already exists 05:55:10 f66521754649: Pushed 05:55:16 4da9883456d1: Pushed 05:55:18 0b952dc46955038996451e4745a35d433031a401: digest: sha256:0576f384f735123a2c730c914e616d024658275a9506ca254e22c538a1894552 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:18 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:18 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 05:55:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:55:18 692b3d3940ea: Preparing 05:55:18 0ff4a2a15f72: Preparing 05:55:18 4da9883456d1: Preparing 05:55:18 f66521754649: Preparing 05:55:18 edc954333835: Preparing 05:55:18 651d9022c234: Preparing 05:55:18 651d9022c234: Waiting 05:55:18 0ff4a2a15f72: Layer already exists 05:55:18 692b3d3940ea: Layer already exists 05:55:18 f66521754649: Layer already exists 05:55:18 4da9883456d1: Layer already exists 05:55:18 edc954333835: Layer already exists 05:55:18 651d9022c234: Layer already exists 05:55:18 latest: digest: sha256:0576f384f735123a2c730c914e616d024658275a9506ca254e22c538a1894552 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:19 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:19 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.8 05:55:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:55:19 692b3d3940ea: Preparing 05:55:19 0ff4a2a15f72: Preparing 05:55:19 4da9883456d1: Preparing 05:55:19 f66521754649: Preparing 05:55:19 edc954333835: Preparing 05:55:19 651d9022c234: Preparing 05:55:19 651d9022c234: Waiting 05:55:19 f66521754649: Layer already exists 05:55:19 edc954333835: Layer already exists 05:55:19 4da9883456d1: Layer already exists 05:55:19 0ff4a2a15f72: Layer already exists 05:55:19 692b3d3940ea: Layer already exists 05:55:19 651d9022c234: Layer already exists 05:55:19 4.0.0-dev.8: digest: sha256:0576f384f735123a2c730c914e616d024658275a9506ca254e22c538a1894552 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:20 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:0b952dc46955038996451e4745a35d433031a401-4.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:20 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:0b952dc46955038996451e4745a35d433031a401-4.0.0-dev.8 05:55:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:55:20 692b3d3940ea: Preparing 05:55:20 0ff4a2a15f72: Preparing 05:55:20 4da9883456d1: Preparing 05:55:20 f66521754649: Preparing 05:55:20 edc954333835: Preparing 05:55:20 651d9022c234: Preparing 05:55:20 651d9022c234: Waiting 05:55:20 4da9883456d1: Layer already exists 05:55:20 f66521754649: Layer already exists 05:55:20 edc954333835: Layer already exists 05:55:20 0ff4a2a15f72: Layer already exists 05:55:20 692b3d3940ea: Layer already exists 05:55:20 651d9022c234: Layer already exists 05:55:20 0b952dc46955038996451e4745a35d433031a401-4.0.0-dev.8: digest: sha256:0576f384f735123a2c730c914e616d024658275a9506ca254e22c538a1894552 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:21 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:21 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 05:55:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:55:21 692b3d3940ea: Preparing 05:55:21 0ff4a2a15f72: Preparing 05:55:21 4da9883456d1: Preparing 05:55:21 f66521754649: Preparing 05:55:21 edc954333835: Preparing 05:55:21 651d9022c234: Preparing 05:55:21 4da9883456d1: Layer already exists 05:55:21 edc954333835: Layer already exists 05:55:21 0ff4a2a15f72: Layer already exists 05:55:21 692b3d3940ea: Layer already exists 05:55:21 f66521754649: Layer already exists 05:55:21 651d9022c234: Layer already exists 05:55:21 main: digest: sha256:0576f384f735123a2c730c914e616d024658275a9506ca254e22c538a1894552 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:55:21 ===================================================== [Pipeline] echo 05:55:21 taggedImages: 05:55:21 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:0b952dc46955038996451e4745a35d433031a401 05:55:21 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 05:55:21 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.8 05:55:21 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:0b952dc46955038996451e4745a35d433031a401-4.0.0-dev.8 05:55:21 - 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 05:55:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:55:22 05:55:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:55:22 arm64: Pulling from edgex-lftools-log-publisher 05:55:22 8998bd30e6a1: Pulling fs layer 05:55:22 04944245beec: Pulling fs layer 05:55:22 699f458cf7ca: Pulling fs layer 05:55:22 765212b225bb: Pulling fs layer 05:55:22 f23df028b6ca: Pulling fs layer 05:55:22 d65c8cfc05b1: Pulling fs layer 05:55:22 2437ff75d9bd: Pulling fs layer 05:55:22 d65c8cfc05b1: Waiting 05:55:22 765212b225bb: Waiting 05:55:22 2437ff75d9bd: Waiting 05:55:22 f23df028b6ca: Waiting 05:55:23 04944245beec: Verifying Checksum 05:55:23 04944245beec: Download complete 05:55:23 765212b225bb: Verifying Checksum 05:55:23 765212b225bb: Download complete 05:55:23 f23df028b6ca: Verifying Checksum 05:55:23 f23df028b6ca: Download complete 05:55:23 d65c8cfc05b1: Verifying Checksum 05:55:23 d65c8cfc05b1: Download complete 05:55:23 699f458cf7ca: Verifying Checksum 05:55:23 699f458cf7ca: Download complete 05:55:23 8998bd30e6a1: Verifying Checksum 05:55:23 8998bd30e6a1: Download complete 05:55:25 2437ff75d9bd: Verifying Checksum 05:55:25 2437ff75d9bd: Download complete 05:55:29 8998bd30e6a1: Pull complete 05:55:30 04944245beec: Pull complete 05:55:32 699f458cf7ca: Pull complete 05:55:32 765212b225bb: Pull complete 05:55:33 f23df028b6ca: Pull complete 05:55:33 d65c8cfc05b1: Pull complete 05:55:59 2437ff75d9bd: Pull complete 05:55:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:55:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:55:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:56:00 prd-ubuntu20.04-docker-arm64-4c-16g-35184 does not seem to be running inside a container 05:56:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/173 -v /w/workspace/device-modbus-go/173:/w/workspace/device-modbus-go/173:rw,z -v /w/workspace/device-modbus-go/173@tmp:/w/workspace/device-modbus-go/173@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 05:56:01 $ docker top 7d33730ac651bb3e1f7b72031a153a8c1fcf3862ec3dc1058daf4eb3549175e6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:56:01 ---> job-cost.sh 05:56:02 lf-activate-venv: SKIPPING 05:56:02 INFO: No Stack... 05:56:02 INFO: Retrieving Pricing Info for: v3-standard-8 05:56:03 INFO: Archiving Costs [Pipeline] sh 05:56:03 + cat /w/workspace/device-modbus-go/173/archives/cost.csv 05:56:03 + cut -d, -f6 [Pipeline] lock 05:56:03 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-173-stack-cost] 05:56:03 Resource [jenkins-edgexfoundry-device-modbus-go-main-173-stack-cost] did not exist. Created. 05:56:03 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-173-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:56:04 /w/workspace/device-modbus-go/173@tmp/durable-688706f3/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:56:04 + echo total: 0.2199999988079071 [Pipeline] stash 05:56:04 Warning: overwriting stash ‘stack-cost’ 05:56:04 Stashed 1 file(s) [Pipeline] } 05:56:04 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-173-stack-cost] [Pipeline] // lock [Pipeline] } 05:56:04 $ docker stop --time=1 7d33730ac651bb3e1f7b72031a153a8c1fcf3862ec3dc1058daf4eb3549175e6 05:56:06 $ docker rm -f --volumes 7d33730ac651bb3e1f7b72031a153a8c1fcf3862ec3dc1058daf4eb3549175e6 [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 05:56:06 provisioning config files... 05:56:06 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4907513043536756379tmp [Pipeline] { [Pipeline] sh 05:56:06 + set +x 05:56:06 + curl -s https://codecov.io/bash 05:56:06 + bash -s -- 05:56:06 05:56:06 _____ _ 05:56:06 / ____| | | 05:56:06 | | ___ __| | ___ ___ _____ __ 05:56:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:56:06 | |___| (_) | (_| | __/ (_| (_) \ V / 05:56:06 \_____\___/ \__,_|\___|\___\___/ \_/ 05:56:06 Bash-1.0.6 05:56:06 05:56:06 05:56:06 ==> git version 2.25.1 found 05:56:06 ==> 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 05:56:06 Release-Date: 2020-01-08 05:56:06 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:56:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:56:06 ==> Jenkins CI detected. 05:56:06 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 05:56:06 project root: . 05:56:06 --> token set from env 05:56:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:56:06 ==> Running gcov in . (disable via -X gcov) 05:56:06 ==> Python coveragepy not found 05:56:06 ==> Searching for coverage reports in: 05:56:06 + . 05:56:06 -> Found 1 reports 05:56:06 ==> Detecting git/mercurial file structure 05:56:07 ==> Reading reports 05:56:07 + ./coverage.out bytes=25464 05:56:07 ==> Appending adjustments 05:56:07 https://docs.codecov.io/docs/fixing-reports 05:56:07 + Found adjustments 05:56:07 ==> Gzipping contents 05:56:07 4.0K /tmp/codecov.wN9ekP.gz 05:56:07 ==> Uploading reports 05:56:07 url: https://codecov.io 05:56:07 query: branch=main&commit=0b952dc46955038996451e4745a35d433031a401&build=173&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F173%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:56:07 -> Pinging Codecov 05:56:07 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=0b952dc46955038996451e4745a35d433031a401&build=173&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F173%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:56:07 -> Uploading to 05:56:07 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-modbus-go/0b952dc46955038996451e4745a35d433031a401/15a6e0c3-9ab3-4058-b243-28edcde96dce.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241216%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241216T055607Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=83d187c59c8932718b29cf8735dec86d256f6c1fbe8de1b36e5bb25914fcb996 05:56:07 % Total % Received % Xferd Average Speed Time Time Time Current 05:56:07 Dload Upload Total Spent Left Speed 05:56:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3932 0 0 100 3932 0 18460 --:--:-- --:--:-- --:--:-- 18460 05:56:07 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/0b952dc46955038996451e4745a35d433031a401 [Pipeline] } 05:56:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:56:07 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:56:07 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:56:08 05:56:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:56:08 latest: Pulling from edgex-devops/edgex-snyk-go 05:56:08 43c4264eed91: Already exists 05:56:08 4cc291be95ef: Already exists 05:56:08 2ac1f1163629: Already exists 05:56:08 5c3c966382ef: Already exists 05:56:08 4f4fb700ef54: Already exists 05:56:08 d9c7d2e4e75e: Pulling fs layer 05:56:08 9c3e1370e548: Pulling fs layer 05:56:08 d9c7d2e4e75e: Verifying Checksum 05:56:08 d9c7d2e4e75e: Download complete 05:56:08 d9c7d2e4e75e: Pull complete 05:56:09 9c3e1370e548: Verifying Checksum 05:56:09 9c3e1370e548: Download complete 05:56:12 9c3e1370e548: Pull complete 05:56:12 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 05:56:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:56:12 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:56:12 prd-ubuntu20.04-docker-8c-8g-35183 does not seem to be running inside a container 05:56:12 $ 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 05:56:15 $ docker top ba5d50995776c7f3bab54b1569b77a5577394b8e60e4dcb7520346825b3f7842 -eo pid,comm [Pipeline] { [Pipeline] sh 05:56:15 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] echo 05:56:15 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 05:56:15 + set -o pipefail 05:56:15 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 05:56:25 05:56:25 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 05:56:25 05:56:25 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/0a0805b9-8982-40eb-8dbc-845f1ef902a3/history/6de8c940-94a4-45ed-a97c-38f7762eb820 05:56:25 05:56:25 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 05:56:25 05:56:25 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:56:25 05:56:25 05:56:25 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 05:56:25 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 05:56:25 $ docker stop --time=1 ba5d50995776c7f3bab54b1569b77a5577394b8e60e4dcb7520346825b3f7842 05:56:30 $ docker rm -f --volumes ba5d50995776c7f3bab54b1569b77a5577394b8e60e4dcb7520346825b3f7842 [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 05:56:31 + git log --format=format:%s -1 0b952dc46955038996451e4745a35d433031a401 [Pipeline] sh 05:56:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:56:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:56:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:56:32 prd-ubuntu20.04-docker-8c-8g-35183 does not seem to be running inside a container 05:56:32 $ 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 05:56:32 $ docker top 0f933f162253e75b6acc7c4b2946a64801660a764c67f3089fd6e7808f28c56a -eo pid,comm 05:56: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). 05:56:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:56:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:56:32 [ssh-agent] Looking for ssh-agent implementation... 05:56:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:56:32 $ docker exec 0f933f162253e75b6acc7c4b2946a64801660a764c67f3089fd6e7808f28c56a ssh-agent 05:56:32 SSH_AUTH_SOCK=/tmp/ssh-ynO4x0CWDqSV/agent.32 05:56:32 SSH_AGENT_PID=38 05:56:32 Running ssh-add (command line suppressed) 05:56:32 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_688114054529153044.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_688114054529153044.key) 05:56:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:56:33 + git semver tag 05:56:33 2024-12-16 05:56:33,467 [run_tag] DEBUG tag force:False 05:56:33 2024-12-16 05:56:33,467 [check_head_tag] DEBUG check head tag 05:56:33 2024-12-16 05:56:33,468 [execute] INFO git cat-file --batch-check 05:56:33 2024-12-16 05:56:33,469 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 05:56:33 2024-12-16 05:56:33,472 [execute] INFO git cat-file --batch 05:56:33 2024-12-16 05:56:33,472 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 05:56:33 2024-12-16 05:56:33,496 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:56:33 2024-12-16 05:56:33,497 [execute] INFO git tag -a v4.0.0-dev.8 -m v4.0.0-dev.8 05:56:33 2024-12-16 05:56:33,497 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.8', '-m', 'v4.0.0-dev.8'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 05:56:33 2024-12-16 05:56:33,502 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:56:33 4.0.0-dev.8 [Pipeline] } 05:56:33 $ docker exec --env ******** --env ******** 0f933f162253e75b6acc7c4b2946a64801660a764c67f3089fd6e7808f28c56a ssh-agent -k 05:56:33 unset SSH_AUTH_SOCK; 05:56:33 unset SSH_AGENT_PID; 05:56:33 echo Agent pid 38 killed; 05:56:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:56:33 + git semver [Pipeline] } 05:56:34 $ docker stop --time=1 0f933f162253e75b6acc7c4b2946a64801660a764c67f3089fd6e7808f28c56a 05:56:35 $ docker rm -f --volumes 0f933f162253e75b6acc7c4b2946a64801660a764c67f3089fd6e7808f28c56a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:56:35 05:56:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:56:36 0.23.1-centos7: Pulling from edgex-lftools 05:56:36 ab5ef0e58194: Pulling fs layer 05:56:36 9712f1f96733: Pulling fs layer 05:56:36 63f879dbbcfc: Pulling fs layer 05:56:36 0d9ebad4ef96: Pulling fs layer 05:56:36 e9a5061849ea: Pulling fs layer 05:56:36 d747dcd14b5f: Pulling fs layer 05:56:36 2de7ff778b66: Pulling fs layer 05:56:36 e9a5061849ea: Waiting 05:56:36 0d9ebad4ef96: Waiting 05:56:36 d747dcd14b5f: Waiting 05:56:36 2de7ff778b66: Waiting 05:56:36 9712f1f96733: Verifying Checksum 05:56:36 9712f1f96733: Download complete 05:56:36 63f879dbbcfc: Verifying Checksum 05:56:36 63f879dbbcfc: Download complete 05:56:36 e9a5061849ea: Verifying Checksum 05:56:36 e9a5061849ea: Download complete 05:56:36 d747dcd14b5f: Verifying Checksum 05:56:36 d747dcd14b5f: Download complete 05:56:36 ab5ef0e58194: Verifying Checksum 05:56:36 ab5ef0e58194: Download complete 05:56:36 0d9ebad4ef96: Verifying Checksum 05:56:36 0d9ebad4ef96: Download complete 05:56:36 2de7ff778b66: Download complete 05:56:39 ab5ef0e58194: Pull complete 05:56:39 9712f1f96733: Pull complete 05:56:40 63f879dbbcfc: Pull complete 05:56:44 0d9ebad4ef96: Pull complete 05:56:44 e9a5061849ea: Pull complete 05:56:44 d747dcd14b5f: Pull complete 05:56:45 2de7ff778b66: Pull complete 05:56:45 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:56:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:56:45 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:56:45 prd-ubuntu20.04-docker-8c-8g-35183 does not seem to be running inside a container 05:56: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 05:56:49 $ docker top cd11fab8075bfe349d9f9a3f71504e88cbc68917a31b88eb7305e8175ef50f4b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:56:49 provisioning config files... 05:56:49 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14300146355014911246tmp 05:56:49 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17960504951245157662tmp 05:56:49 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5597186620174620014tmp [Pipeline] { [Pipeline] echo 05:56:49 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:56:50 ---> sigul-configuration.sh 05:56:50 gpg: directory `/root/.gnupg' created 05:56:50 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:56:50 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:56:50 gpg: keyring `/root/.gnupg/secring.gpg' created 05:56:50 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:56:50 gpg: CAST5 encrypted data 05:56:50 gpg: encrypted with 1 passphrase 05:56:50 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:56:50 + mkdir /home/jenkins 05:56:50 + mkdir /home/jenkins/sigul [Pipeline] sh 05:56:50 + 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 05:56:50 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:56:51 ---> sigul-install.sh 05:56:51 Sigul already installed; skipping installation. [Pipeline] sh 05:56:51 + git tag --list 05:56:51 0.7.1 05:56:51 v1.0.0 05:56:51 v1.1.0 05:56:51 v1.1.1 05:56:51 v1.2.2 05:56:51 v1.3.0 05:56:51 v1.3.1 05:56:51 v2.0.0 05:56:51 v2.1.0 05:56:51 v2.1.1 05:56:51 v2.2.0 05:56:51 v2.3.0 05:56:51 v3.0 05:56:51 v3.0.0 05:56:51 v3.1 05:56:51 v3.1.0 05:56:51 v3.1.0-dev.1 05:56:51 v3.1.0-dev.10 05:56:51 v3.1.0-dev.11 05:56:51 v3.1.0-dev.12 05:56:51 v3.1.0-dev.13 05:56:51 v3.1.0-dev.14 05:56:51 v3.1.0-dev.15 05:56:51 v3.1.0-dev.16 05:56:51 v3.1.0-dev.17 05:56:51 v3.1.0-dev.18 05:56:51 v3.1.0-dev.19 05:56:51 v3.1.0-dev.2 05:56:51 v3.1.0-dev.20 05:56:51 v3.1.0-dev.21 05:56:51 v3.1.0-dev.22 05:56:51 v3.1.0-dev.23 05:56:51 v3.1.0-dev.24 05:56:51 v3.1.0-dev.25 05:56:51 v3.1.0-dev.3 05:56:51 v3.1.0-dev.4 05:56:51 v3.1.0-dev.5 05:56:51 v3.1.0-dev.6 05:56:51 v3.1.0-dev.7 05:56:51 v3.1.0-dev.8 05:56:51 v3.1.0-dev.9 05:56:51 v3.1.1 05:56:51 v3.1.1-dev.1 05:56:51 v3.2.0-dev.1 05:56:51 v3.2.0-dev.10 05:56:51 v3.2.0-dev.11 05:56:51 v3.2.0-dev.12 05:56:51 v3.2.0-dev.13 05:56:51 v3.2.0-dev.14 05:56:51 v3.2.0-dev.15 05:56:51 v3.2.0-dev.16 05:56:51 v3.2.0-dev.17 05:56:51 v3.2.0-dev.18 05:56:51 v3.2.0-dev.19 05:56:51 v3.2.0-dev.2 05:56:51 v3.2.0-dev.20 05:56:51 v3.2.0-dev.21 05:56:51 v3.2.0-dev.22 05:56:51 v3.2.0-dev.23 05:56:51 v3.2.0-dev.24 05:56:51 v3.2.0-dev.25 05:56:51 v3.2.0-dev.26 05:56:51 v3.2.0-dev.3 05:56:51 v3.2.0-dev.4 05:56:51 v3.2.0-dev.5 05:56:51 v3.2.0-dev.6 05:56:51 v3.2.0-dev.7 05:56:51 v3.2.0-dev.8 05:56:51 v3.2.0-dev.9 05:56:51 v4.0.0-dev.1 05:56:51 v4.0.0-dev.2 05:56:51 v4.0.0-dev.3 05:56:51 v4.0.0-dev.4 05:56:51 v4.0.0-dev.5 05:56:51 v4.0.0-dev.6 05:56:51 v4.0.0-dev.7 05:56:51 v4.0.0-dev.8 [Pipeline] sh 05:56:51 + lftools sign git-tag v4.0.0-dev.8 05:56:52 Signing Git tag with Sigul... 05:56:52 Signing v4.0.0-dev.8 [Pipeline] echo 05:56:52 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:56:52 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:56:52 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:56:52 $ docker stop --time=1 cd11fab8075bfe349d9f9a3f71504e88cbc68917a31b88eb7305e8175ef50f4b 05:56:54 $ docker rm -f --volumes cd11fab8075bfe349d9f9a3f71504e88cbc68917a31b88eb7305e8175ef50f4b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:56:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:56:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:56:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:56:55 prd-ubuntu20.04-docker-8c-8g-35183 does not seem to be running inside a container 05:56:55 $ 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 05:56:55 $ docker top fb4087c58f9845545be0524a01c24471bc1b153c052a425aadc3b78dcbdcf7fc -eo pid,comm 05:56:55 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). 05:56:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:56:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:56:55 [ssh-agent] Looking for ssh-agent implementation... 05:56:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:56:55 $ docker exec fb4087c58f9845545be0524a01c24471bc1b153c052a425aadc3b78dcbdcf7fc ssh-agent 05:56:55 SSH_AUTH_SOCK=/tmp/ssh-wjC1ZznHjVN4/agent.31 05:56:55 SSH_AGENT_PID=37 05:56:55 Running ssh-add (command line suppressed) 05:56:55 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5902522770786211326.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5902522770786211326.key) 05:56:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:56:56 + git semver bump pre 05:56:56 2024-12-16 05:56:56,426 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:56:56 2024-12-16 05:56:56,426 [bump_version] DEBUG bumping version:4.0.0-dev.8 on axis:pre with prefix:dev 05:56:56 2024-12-16 05:56:56,426 [bump_version] DEBUG bumped version:4.0.0-dev.9 05:56:56 2024-12-16 05:56:56,426 [write_version] DEBUG write version:4.0.0-dev.9 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 05:56:56 2024-12-16 05:56:56,426 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:56:56 2024-12-16 05:56:56,426 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:56:56 2024-12-16 05:56:56,428 [execute] INFO git cat-file --batch-check 05:56:56 2024-12-16 05:56:56,428 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:56:56 2024-12-16 05:56:56,433 [execute] INFO git cat-file --batch 05:56:56 2024-12-16 05:56:56,433 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:56:56 2024-12-16 05:56:56,439 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:56:56 4.0.0-dev.9 [Pipeline] } 05:56:56 $ docker exec --env ******** --env ******** fb4087c58f9845545be0524a01c24471bc1b153c052a425aadc3b78dcbdcf7fc ssh-agent -k 05:56:56 unset SSH_AUTH_SOCK; 05:56:56 unset SSH_AGENT_PID; 05:56:56 echo Agent pid 37 killed; 05:56:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:56:56 + git semver [Pipeline] } 05:56:57 $ docker stop --time=1 fb4087c58f9845545be0524a01c24471bc1b153c052a425aadc3b78dcbdcf7fc 05:56:58 $ docker rm -f --volumes fb4087c58f9845545be0524a01c24471bc1b153c052a425aadc3b78dcbdcf7fc [Pipeline] // withDockerContainer [Pipeline] sh 05:56:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:56:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:56:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:56:59 prd-ubuntu20.04-docker-8c-8g-35183 does not seem to be running inside a container 05:56:59 $ 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 05:56:59 $ docker top 4f45e7e69d79ac1ec4d2ffd66244e781504e0c9625a41c58bda94e330cc6280c -eo pid,comm 05:56:59 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). 05:56:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:56:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:56:59 [ssh-agent] Looking for ssh-agent implementation... 05:56:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:56:59 $ docker exec 4f45e7e69d79ac1ec4d2ffd66244e781504e0c9625a41c58bda94e330cc6280c ssh-agent 05:56:59 SSH_AUTH_SOCK=/tmp/ssh-iFOACoY0CDjE/agent.32 05:56:59 SSH_AGENT_PID=38 05:56:59 Running ssh-add (command line suppressed) 05:57:00 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_292766660691553393.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_292766660691553393.key) 05:57:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:57:00 + git semver push 05:57:00 2024-12-16 05:57:00,587 [run_push] DEBUG push 05:57:00 2024-12-16 05:57:00,588 [execute] INFO git cat-file --batch-check 05:57:00 2024-12-16 05:57:00,588 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:57:00 2024-12-16 05:57:00,591 [execute] INFO git rev-list 30bb6013b4565d2263c7deacf7b264a447045de8 -- 05:57:00 2024-12-16 05:57:00,592 [execute] DEBUG Popen(['git', 'rev-list', '30bb6013b4565d2263c7deacf7b264a447045de8', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:57:00 2024-12-16 05:57:00,601 [execute] INFO git fetch -v origin 05:57:00 2024-12-16 05:57:00,601 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 05:57:01 2024-12-16 05:57:01,052 [run_push] DEBUG no remote changes detected 05:57:01 2024-12-16 05:57:01,052 [execute] INFO git push origin semver 05:57:01 2024-12-16 05:57:01,053 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:57:02 2024-12-16 05:57:01,868 [run_push] DEBUG push all version tags 05:57:02 2024-12-16 05:57:01,868 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:57:02 2024-12-16 05:57:01,869 [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) 05:57:02 2024-12-16 05:57:02,474 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:57:02 4.0.0-dev.9 [Pipeline] } 05:57:02 $ docker exec --env ******** --env ******** 4f45e7e69d79ac1ec4d2ffd66244e781504e0c9625a41c58bda94e330cc6280c ssh-agent -k 05:57:02 unset SSH_AUTH_SOCK; 05:57:02 unset SSH_AGENT_PID; 05:57:02 echo Agent pid 38 killed; 05:57:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:57:03 + git semver [Pipeline] } 05:57:03 $ docker stop --time=1 4f45e7e69d79ac1ec4d2ffd66244e781504e0c9625a41c58bda94e330cc6280c 05:57:04 $ docker rm -f --volumes 4f45e7e69d79ac1ec4d2ffd66244e781504e0c9625a41c58bda94e330cc6280c [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 05:57:05 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 05:57:05 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 05:57:05 total 16 05:57:05 drwxr-xr-x 3 root root 4096 Dec 16 05:48 . 05:57:05 drwxrwxr-x 10 jenkins jenkins 4096 Dec 16 05:56 .. 05:57:05 drwxr-xr-x 2 root root 4096 Dec 16 05:48 cost 05:57:05 -rw-r--r-- 1 root root 88 Dec 16 05:48 cost.csv 05:57:05 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 05:57:05 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 05:57:05 total 16 05:57:05 drwxr-xr-x 3 jenkins jenkins 4096 Dec 16 05:48 . 05:57:05 drwxrwxr-x 10 jenkins jenkins 4096 Dec 16 05:56 .. 05:57:05 drwxr-xr-x 2 jenkins jenkins 4096 Dec 16 05:48 cost 05:57:05 -rw-r--r-- 1 jenkins jenkins 88 Dec 16 05:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:57:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:57:06 ---> package-listing.sh 05:57:06 ++ facter osfamily 05:57:06 ++ tr '[:upper:]' '[:lower:]' 05:57:06 + OS_FAMILY=debian 05:57:06 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 05:57:06 + START_PACKAGES=/tmp/packages_start.txt 05:57:06 + END_PACKAGES=/tmp/packages_end.txt 05:57:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:57:06 + PACKAGES=/tmp/packages_start.txt 05:57:06 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 05:57:06 + PACKAGES=/tmp/packages_end.txt 05:57:06 + case "${OS_FAMILY}" in 05:57:06 + dpkg -l 05:57:06 + grep '^ii' 05:57:06 + '[' -f /tmp/packages_start.txt ']' 05:57:06 + '[' -f /tmp/packages_end.txt ']' 05:57:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:57:06 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 05:57:06 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 05:57:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 05:57:06 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 05:57:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:57:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:57:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:57:07 prd-ubuntu20.04-docker-8c-8g-35183 does not seem to be running inside a container 05:57:07 $ 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 05:57:07 $ docker top ea02b031401ab492966805c1aac9be9109c15e6d3585cb7991ddc48854844d4e -eo pid,comm [Pipeline] { [Pipeline] sh 05:57:08 + touch /tmp/pre-build-complete [Pipeline] sh 05:57:08 + mkdir -p /var/log/sysstat [Pipeline] sh 05:57:08 + ls /var/log/sa-host 05:57:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:57:08 provisioning config files... 05:57:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13005884506473733605tmp [Pipeline] { [Pipeline] echo 05:57:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:57:09 ---> create-netrc.sh [Pipeline] } 05:57:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:57:09 ---> python-tools-install.sh [Pipeline] echo 05:57:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:57:09 ---> sudo-logs.sh 05:57:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:57:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:57:10 ---> job-cost.sh 05:57:10 lf-activate-venv: SKIPPING 05:57:10 DEBUG: total: 0.2199999988079071 05:57:10 INFO: Retrieving Stack Cost... 05:57:10 INFO: Retrieving Pricing Info for: v3-standard-8 05:57:11 INFO: Archiving Costs [Pipeline] echo 05:57:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:57:11 ---> logs-deploy.sh 05:57:11 lf-activate-venv: SKIPPING 05:57:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/173 05:57:11 INFO: archiving workspace using pattern(s): 05:57:12 Archives upload complete. 05:57:12 INFO: archiving logs to Nexus