Started by user Jin Lin Guan Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2f15f281678cccf9a75033b18da75fe627dd9e87 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-ssh14908662655607499486.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9599afe4600029d8782082ac22adb41213b99bad 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-ssh10806372995916771368.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 9599afe4600029d8782082ac22adb41213b99bad 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-ssh13327556924826378800.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9599afe4600029d8782082ac22adb41213b99bad (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9599afe4600029d8782082ac22adb41213b99bad # timeout=10 Commit message: "fix: build all multi-arch images at once" > 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-ssh12845519473465522959.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-ssh7462497169765739798.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-42402 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 2f15f281678cccf9a75033b18da75fe627dd9e87 (main) Commit message: "Merge pull request #627 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0" > git config core.sparsecheckout # timeout=10 > git checkout -f 2f15f281678cccf9a75033b18da75fe627dd9e87 # timeout=10 > git rev-list --no-walk 2f15f281678cccf9a75033b18da75fe627dd9e87 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:35:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:35:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:35:33 ========================================================= 05:35:33 EdgeX Global Pipelines Version Info 05:35:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:35:34 ------------------- 05:35:34 stable info: 05:35:34 ------------------- 05:35:34 Commited By: Ginny Guan ginny@iotechsys.com 05:35:34 Commit SHA: 9599afe4600029d8782082ac22adb41213b99bad 05:35:34 Message: update stable to testing 05:35:34 ------------------- 05:35:34 experimental info: 05:35:34 ------------------- 05:35:34 Commited By: Ginny Guan ginny@iotechsys.com 05:35:34 Commit SHA: e63c24b3e3d9a84dc1e69f593cedf07ec71d9018 05:35:34 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:35:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:35:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:35:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:35:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:35:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:35:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 05:35:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:35:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:35:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:35:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:35:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:35:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:35:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:35:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:35:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:35:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:35:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:35:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:35:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:35:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:35:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:35:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:35:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:35:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:35:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:35:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:35:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:35:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:35:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:35:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:35:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2f15f281678cccf9a75033b18da75fe627dd9e87 [Pipeline] echo 05:35:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2f15f28 [Pipeline] echo 05:35:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:35:35 provisioning config files... 05:35:35 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15109054852848275814tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:35:35 ---> ****-login.sh 05:35:35 nexus3.edgexfoundry.org:10001 05:35:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:35:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:35:36 Configure a credential helper to remove this warning. See 05:35:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:35:36 05:35:36 Login Succeeded 05:35:36 nexus3.edgexfoundry.org:10002 05:35:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:35:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:35:36 Configure a credential helper to remove this warning. See 05:35:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:35:36 05:35:36 Login Succeeded 05:35:36 nexus3.edgexfoundry.org:10003 05:35:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:35:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:35:36 Configure a credential helper to remove this warning. See 05:35:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:35:36 05:35:36 Login Succeeded 05:35:36 nexus3.edgexfoundry.org:10004 05:35:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:35:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:35:36 Configure a credential helper to remove this warning. See 05:35:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:35:36 05:35:36 Login Succeeded 05:35:36 ****.io 05:35:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:35:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:35:36 Configure a credential helper to remove this warning. See 05:35:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:35:36 05:35:36 Login Succeeded 05:35:36 ---> ****-login.sh ends [Pipeline] } 05:35:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:35:37 + git rev-list -1 --merges 2f15f281678cccf9a75033b18da75fe627dd9e87~1..2f15f281678cccf9a75033b18da75fe627dd9e87 [Pipeline] echo 05:35:37 -----------> git rev-list -1 --merges 2f15f281678cccf9a75033b18da75fe627dd9e87~1..2f15f281678cccf9a75033b18da75fe627dd9e87 2f15f281678cccf9a75033b18da75fe627dd9e87 05:35:37 2f15f281678cccf9a75033b18da75fe627dd9e87 [false] [Pipeline] sh 05:35:37 + git log --format=format:%s -1 2f15f281678cccf9a75033b18da75fe627dd9e87 [Pipeline] echo 05:35:37 ========================================================= 05:35:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:35:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:35:37 + git log --format=format:%s -1 2f15f281678cccf9a75033b18da75fe627dd9e87 [Pipeline] echo 05:35:37 [semverPrep] GIT_COMMIT: 2f15f281678cccf9a75033b18da75fe627dd9e87, Commit Message: Merge pull request #627 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0 [Pipeline] echo 05:35:37 [semverPrep] This is not a build commit. [Pipeline] sh 05:35:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:35:38 + grep -v github /etc/ssh/ssh_known_hosts 05:35:38 + [ -e /tmp/ssh_known_hosts ] 05:35:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:35:38 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:35:38 + sudo tee -a /etc/ssh/ssh_known_hosts 05:35:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:35:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:35:38 05:35:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:35:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:35:39 0.1.4: Pulling from edgex-devops/py-git-semver 05:35:39 b85a868b505f: Pulling fs layer 05:35:39 e2be974225ed: Pulling fs layer 05:35:39 339a4e72a1f5: Pulling fs layer 05:35:39 988bab9f4d93: Pulling fs layer 05:35:39 1469e6f7b9e6: Pulling fs layer 05:35:39 eaf3925da568: Pulling fs layer 05:35:39 bab4dde63d76: Pulling fs layer 05:35:39 bde34c3a00c8: Pulling fs layer 05:35:39 b352a97aabf1: Pulling fs layer 05:35:39 4872d77fe225: Pulling fs layer 05:35:39 5851b861e8e6: Pulling fs layer 05:35:39 988bab9f4d93: Waiting 05:35:39 1469e6f7b9e6: Waiting 05:35:39 bde34c3a00c8: Waiting 05:35:39 eaf3925da568: Waiting 05:35:39 b352a97aabf1: Waiting 05:35:39 4872d77fe225: Waiting 05:35:39 bab4dde63d76: Waiting 05:35:39 5851b861e8e6: Waiting 05:35:39 e2be974225ed: Verifying Checksum 05:35:39 e2be974225ed: Download complete 05:35:39 988bab9f4d93: Download complete 05:35:39 1469e6f7b9e6: Verifying Checksum 05:35:39 1469e6f7b9e6: Download complete 05:35:39 eaf3925da568: Verifying Checksum 05:35:39 eaf3925da568: Download complete 05:35:39 339a4e72a1f5: Verifying Checksum 05:35:39 339a4e72a1f5: Download complete 05:35:39 bde34c3a00c8: Verifying Checksum 05:35:39 bde34c3a00c8: Download complete 05:35:39 b352a97aabf1: Verifying Checksum 05:35:39 b352a97aabf1: Download complete 05:35:39 4872d77fe225: Verifying Checksum 05:35:39 4872d77fe225: Download complete 05:35:39 5851b861e8e6: Verifying Checksum 05:35:39 5851b861e8e6: Download complete 05:35:39 b85a868b505f: Verifying Checksum 05:35:39 b85a868b505f: Download complete 05:35:39 bab4dde63d76: Verifying Checksum 05:35:39 bab4dde63d76: Download complete 05:35:40 b85a868b505f: Pull complete 05:35:40 e2be974225ed: Pull complete 05:35:41 339a4e72a1f5: Pull complete 05:35:41 988bab9f4d93: Pull complete 05:35:41 1469e6f7b9e6: Pull complete 05:35:41 eaf3925da568: Pull complete 05:35:43 bab4dde63d76: Pull complete 05:35:43 bde34c3a00c8: Pull complete 05:35:43 b352a97aabf1: Pull complete 05:35:43 4872d77fe225: Pull complete 05:35:43 5851b861e8e6: Pull complete 05:35:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:35:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:35:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:35:43 prd-ubuntu20.04-docker-8c-8g-42402 does not seem to be running inside a container 05:35:43 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:35:46 $ docker top 27fbd168b3946d687098c60b0dac23ddcc11c9e21ffa74280e52f68ea02187f4 -eo pid,comm 05:35:46 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:35:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:35:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:35:46 [ssh-agent] Looking for ssh-agent implementation... 05:35:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:35:46 $ docker exec 27fbd168b3946d687098c60b0dac23ddcc11c9e21ffa74280e52f68ea02187f4 ssh-agent 05:35:46 SSH_AUTH_SOCK=/tmp/ssh-2nrIQdS3gesy/agent.34 05:35:46 SSH_AGENT_PID=40 05:35:46 Running ssh-add (command line suppressed) 05:35:46 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15641883948053810708.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15641883948053810708.key) 05:35:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:35:46 + git tag --points-at HEAD [Pipeline] } 05:35:46 $ docker exec --env ******** --env ******** 27fbd168b3946d687098c60b0dac23ddcc11c9e21ffa74280e52f68ea02187f4 ssh-agent -k 05:35:46 unset SSH_AUTH_SOCK; 05:35:46 unset SSH_AGENT_PID; 05:35:46 echo Agent pid 40 killed; 05:35:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 05:35:47 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v4.0.0-dev.21' [Pipeline] sshagent 05:35:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:35:47 [ssh-agent] Looking for ssh-agent implementation... 05:35:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:35:47 $ docker exec 27fbd168b3946d687098c60b0dac23ddcc11c9e21ffa74280e52f68ea02187f4 ssh-agent 05:35:47 SSH_AUTH_SOCK=/tmp/ssh-G3BB5T5N6qcO/agent.74 05:35:47 SSH_AGENT_PID=80 05:35:47 Running ssh-add (command line suppressed) 05:35:47 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12917302362490192753.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12917302362490192753.key) 05:35:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:35:47 + git semver init 05:35:47 2025-03-31 05:35:47,861 [run_init] DEBUG init version:0.0.0 force:False 05:35:47 2025-03-31 05:35:47,862 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 05:35:47 2025-03-31 05:35:47,862 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 05:35:47 2025-03-31 05:35:47,863 [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:35:49 2025-03-31 05:35:49,080 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 05:35:49 2025-03-31 05:35:49,080 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 05:35:49 2025-03-31 05:35:49,080 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:35:49 2025-03-31 05:35:49,081 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:35:49 4.1.0-dev.1 [Pipeline] } 05:35:49 $ docker exec --env ******** --env ******** 27fbd168b3946d687098c60b0dac23ddcc11c9e21ffa74280e52f68ea02187f4 ssh-agent -k 05:35:49 unset SSH_AUTH_SOCK; 05:35:49 unset SSH_AGENT_PID; 05:35:49 echo Agent pid 80 killed; 05:35:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:35:49 + git semver [Pipeline] } 05:35:50 $ docker stop --time=1 27fbd168b3946d687098c60b0dac23ddcc11c9e21ffa74280e52f68ea02187f4 05:35:51 $ docker rm -f --volumes 27fbd168b3946d687098c60b0dac23ddcc11c9e21ffa74280e52f68ea02187f4 [Pipeline] // withDockerContainer [Pipeline] sh 05:35:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:35:51 Stashed 1 file(s) [Pipeline] echo 05:35:51 [edgeXSemver]: initialized semver on version 4.1.0-dev.1 [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:35:52 provisioning config files... 05:35:52 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13674641884258711139tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:35:52 ---> ****-login.sh 05:35:52 nexus3.edgexfoundry.org:10001 05:35:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:35:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:35:52 Configure a credential helper to remove this warning. See 05:35:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:35:52 05:35:52 Login Succeeded 05:35:52 nexus3.edgexfoundry.org:10002 05:35:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:35:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:35:52 Configure a credential helper to remove this warning. See 05:35:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:35:52 05:35:52 Login Succeeded 05:35:52 nexus3.edgexfoundry.org:10003 05:35:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:35:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:35:52 Configure a credential helper to remove this warning. See 05:35:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:35:52 05:35:52 Login Succeeded 05:35:52 nexus3.edgexfoundry.org:10004 05:35:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:35:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:35:52 Configure a credential helper to remove this warning. See 05:35:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:35:52 05:35:52 Login Succeeded 05:35:52 ****.io 05:35:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:35:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:35:52 Configure a credential helper to remove this warning. See 05:35:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:35:52 05:35:52 Login Succeeded 05:35:52 ---> ****-login.sh ends [Pipeline] } 05:35:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:35:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:35:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:35:53 ========================================================= 05:35:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 05:35:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:35:53 + 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:35:53 Sending build context to Docker daemon 28.02MB 05:35:53 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 05:35:53 Step 2/10 : FROM ${BASE} AS builder 05:35:53 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 05:35:53 da9db072f522: Pulling fs layer 05:35:53 6ef4a4ee8ca5: Pulling fs layer 05:35:53 06f05ace1117: Pulling fs layer 05:35:53 5fe327b54edc: Pulling fs layer 05:35:53 4f4fb700ef54: Pulling fs layer 05:35:53 92a5565b7b96: Pulling fs layer 05:35:53 ff9bb7016b71: Pulling fs layer 05:35:53 b67dba6c2c7d: Pulling fs layer 05:35:53 a813b0c90790: Pulling fs layer 05:35:53 ff9bb7016b71: Waiting 05:35:53 b67dba6c2c7d: Waiting 05:35:53 a813b0c90790: Waiting 05:35:53 5fe327b54edc: Waiting 05:35:53 92a5565b7b96: Waiting 05:35:53 4f4fb700ef54: Waiting 05:35:53 6ef4a4ee8ca5: Verifying Checksum 05:35:53 6ef4a4ee8ca5: Download complete 05:35:53 5fe327b54edc: Verifying Checksum 05:35:53 5fe327b54edc: Download complete 05:35:53 4f4fb700ef54: Verifying Checksum 05:35:53 4f4fb700ef54: Download complete 05:35:53 da9db072f522: Download complete 05:35:53 92a5565b7b96: Verifying Checksum 05:35:53 92a5565b7b96: Download complete 05:35:53 ff9bb7016b71: Verifying Checksum 05:35:53 ff9bb7016b71: Download complete 05:35:54 da9db072f522: Pull complete 05:35:54 a813b0c90790: Verifying Checksum 05:35:54 a813b0c90790: Download complete 05:35:54 6ef4a4ee8ca5: Pull complete 05:35:54 06f05ace1117: Verifying Checksum 05:35:54 06f05ace1117: Download complete 05:35:54 b67dba6c2c7d: Verifying Checksum 05:35:54 b67dba6c2c7d: Download complete 05:35:57 06f05ace1117: Pull complete 05:35:57 5fe327b54edc: Pull complete 05:35:57 4f4fb700ef54: Pull complete 05:35:57 92a5565b7b96: Pull complete 05:35:57 ff9bb7016b71: Pull complete 05:36:00 b67dba6c2c7d: Pull complete 05:36:00 a813b0c90790: Pull complete 05:36:00 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 05:36:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 05:36:00 ---> 3ba60ce46760 05:36:00 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:36:03 ---> Running in 42de1e9097ff 05:36:03 Removing intermediate container 42de1e9097ff 05:36:03 ---> 1a2e6cbeaa15 05:36:03 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:36:03 ---> Running in d250f1387a79 05:36:03 Removing intermediate container d250f1387a79 05:36:03 ---> 50cb17e9c663 05:36:03 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:36:03 ---> Running in ce7f4729910b 05:36:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:36:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:36:04 (1/8) Installing openssh-keygen (9.7_p1-r5) 05:36:04 (2/8) Installing libedit (20240517.3.1-r0) 05:36:04 (3/8) Installing openssh-client-common (9.7_p1-r5) 05:36:04 (4/8) Installing openssh-client-default (9.7_p1-r5) 05:36:04 (5/8) Installing openssh-sftp-server (9.7_p1-r5) 05:36:04 (6/8) Installing openssh-server-common (9.7_p1-r5) 05:36:04 (7/8) Installing openssh-server (9.7_p1-r5) 05:36:04 (8/8) Installing openssh (9.7_p1-r5) 05:36:04 Executing busybox-1.36.1-r29.trigger 05:36:04 OK: 253 MiB in 66 packages 05:36:05 Removing intermediate container ce7f4729910b 05:36:05 ---> 85f08966f5b8 05:36:05 Step 6/10 : WORKDIR /device-modbus-go 05:36:05 ---> Running in a7021c0d2f06 05:36:05 Removing intermediate container a7021c0d2f06 05:36:05 ---> 9b23dc41c6df 05:36:05 Step 7/10 : COPY go.mod vendor* ./ 05:36:05 ---> c1ed39c71a51 05:36:05 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:36:05 ---> Running in 7c9817a3d569 05:36:07 Still waiting to schedule task 05:36:07 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:37:02 Removing intermediate container 7c9817a3d569 05:37:02 ---> 76d35d7aee49 05:37:02 Step 9/10 : COPY . . 05:37:02 ---> 7e61cfbdd1ef 05:37:02 Step 10/10 : RUN ${MAKE} 05:37:02 ---> Running in 8895b3682f0f 05:37:02 noop 05:37:02 Removing intermediate container 8895b3682f0f 05:37:02 ---> e8be28c5f176 05:37:02 Successfully built e8be28c5f176 05:37:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:37:02 + docker inspect -f . ci-base-image-x86_64 05:37:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:37:02 prd-ubuntu20.04-docker-8c-8g-42402 does not seem to be running inside a container 05:37:02 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:37:02 $ docker top 4ec048733f856cbe91313b269d4ce41e8d499f63731c6d5ceba4053f7bca9424 -eo pid,comm [Pipeline] { [Pipeline] sh 05:37:03 + go version 05:37:03 go version go1.23.4 linux/amd64 [Pipeline] } 05:37:03 $ docker stop --time=1 4ec048733f856cbe91313b269d4ce41e8d499f63731c6d5ceba4053f7bca9424 05:37:04 $ docker rm -f --volumes 4ec048733f856cbe91313b269d4ce41e8d499f63731c6d5ceba4053f7bca9424 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:37:04 + docker inspect -f . ci-base-image-x86_64 05:37:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:37:04 prd-ubuntu20.04-docker-8c-8g-42402 does not seem to be running inside a container 05:37:05 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:37:05 $ docker top 10af04c0df801bcbe5d5876c38941f71ba401b3e3df9ae5a748aaad299d12ad5 -eo pid,comm [Pipeline] { [Pipeline] sh 05:37:05 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 05:37:05 + make test 05:37:05 go test ./... -coverprofile=coverage.out 05:37:07 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:37:25 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 05:37:25 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 45.2% of statements 05:37:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-42403 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 05:37:37 Running in /w/workspace/device-modbus-go/187 [Pipeline] { [Pipeline] checkout 05:37:37 The recommended git tool is: git 05:37:37 go vet ./... 05:37:41 using credential edgex-jenkins-ssh 05:37:41 Cloning the remote Git repository 05:37:41 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:37:41 > git init /w/workspace/device-modbus-go/187 # timeout=10 05:37:42 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:37:42 > git --version # timeout=10 05:37:42 > git --version # 'git version 2.25.1' 05:37:42 using GIT_SSH to set credentials SSH Credentials for GitHub 05:37:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:37:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:37:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:37:42 ./bin/test-attribution-txt.sh [Pipeline] echo 05:37:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 05:37:42 $ docker stop --time=1 10af04c0df801bcbe5d5876c38941f71ba401b3e3df9ae5a748aaad299d12ad5 05:37:45 Avoid second fetch 05:37:45 Checking out Revision 2f15f281678cccf9a75033b18da75fe627dd9e87 (main) 05:37:45 $ docker rm -f --volumes 10af04c0df801bcbe5d5876c38941f71ba401b3e3df9ae5a748aaad299d12ad5 05:37:44 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:37:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:37:45 > git config core.sparsecheckout # timeout=10 05:37:45 > git checkout -f 2f15f281678cccf9a75033b18da75fe627dd9e87 # timeout=10 [Pipeline] // withDockerContainer [Pipeline] sh 05:37:46 Commit message: "Merge pull request #627 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0" 05:37:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:37:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:37:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:37:47 + ls -al . 05:37:47 total 260 05:37:47 drwxrwxr-x 9 jenkins jenkins 4096 Mar 31 05:37 . 05:37:47 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 05:35 .. 05:37:47 -rw-rw-r-- 1 jenkins jenkins 140 Mar 31 05:35 .dockerignore 05:37:47 drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 05:37 .git 05:37:47 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 05:35 .github 05:37:47 -rw-rw-r-- 1 jenkins jenkins 266 Mar 31 05:35 .gitignore 05:37:47 -rw-rw-r-- 1 jenkins jenkins 199 Mar 31 05:35 .golangci.yml 05:37:47 drwxr-xr-x 3 jenkins jenkins 4096 Mar 31 05:35 .semver 05:37:47 -rw-rw-r-- 1 jenkins jenkins 19818 Mar 31 05:35 Attribution.txt 05:37:47 -rw-rw-r-- 1 jenkins jenkins 18046 Mar 31 05:35 CHANGELOG.md 05:37:47 -rw-rw-r-- 1 jenkins jenkins 1479 Mar 31 05:35 Dockerfile 05:37:47 -rw-rw-r-- 1 jenkins jenkins 677 Mar 31 05:35 GOVERNANCE.md 05:37:47 -rw-rw-r-- 1 jenkins jenkins 658 Mar 31 05:35 Jenkinsfile 05:37:47 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 31 05:35 LICENSE 05:37:47 -rw-rw-r-- 1 jenkins jenkins 2524 Mar 31 05:35 Makefile 05:37:47 -rw-rw-r-- 1 jenkins jenkins 622 Mar 31 05:35 OWNERS.md 05:37:47 -rw-rw-r-- 1 jenkins jenkins 4463 Mar 31 05:35 README.md 05:37:47 -rw-rw-r-- 1 jenkins jenkins 11 Mar 31 05:35 VERSION 05:37:47 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 05:35 bin 05:37:47 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 05:35 cmd 05:37:47 -rw-r--r-- 1 jenkins jenkins 26862 Mar 31 05:37 coverage.out 05:37:47 -rw-rw-r-- 1 jenkins jenkins 6295 Mar 31 05:35 go.mod 05:37:47 -rw-rw-r-- 1 jenkins jenkins 86874 Mar 31 05:35 go.sum 05:37:47 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 05:35 internal 05:37:47 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 05:35 simulator 05:37:47 -rw-rw-r-- 1 jenkins jenkins 229 Mar 31 05:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:37:47 + 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=2f15f281678cccf9a75033b18da75fe627dd9e87 --label arch=amd64 --label version=4.1.0-dev.1 . 05:37:47 Sending build context to Docker daemon 28.04MB 05:37:47 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 05:37:47 Step 2/23 : FROM ${BASE} AS builder 05:37:47 ---> e8be28c5f176 05:37:47 Step 3/23 : ARG ADD_BUILD_TAGS="" 05:37:48 ---> Running in 3f6f69484da8 05:37:48 Removing intermediate container 3f6f69484da8 05:37:48 ---> 1d1971c62b2d 05:37:48 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:37:48 ---> Running in f60c4e0e82fc 05:37:48 Removing intermediate container f60c4e0e82fc 05:37:48 ---> 097beb4c2827 05:37:48 Step 5/23 : RUN apk add --update --no-cache make git openssh 05:37:48 ---> Running in e094de516406 05:37:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:37:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:37:49 OK: 253 MiB in 66 packages 05:37:49 Removing intermediate container e094de516406 05:37:49 ---> d3de51da9eaa 05:37:49 Step 6/23 : WORKDIR /device-modbus-go 05:37:49 ---> Running in 2a8b66554a64 05:37:49 Removing intermediate container 2a8b66554a64 05:37:49 ---> 2327b32fbba7 05:37:49 Step 7/23 : COPY go.mod vendor* ./ 05:37:49 ---> d1d6a63952bb 05:37:49 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:37:49 ---> Running in d9c2efff05be 05:37:50 Removing intermediate container d9c2efff05be 05:37:50 ---> 6817db0c60ba 05:37:50 Step 9/23 : COPY . . [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:37:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:37:51 % Total % Received % Xferd Average Speed Time Time Time Current 05:37:51 Dload Upload Total Spent Left Speed 05:37:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 78219 0 --:--:-- --:--:-- --:--:-- 78219 05:37:51 ---> 4def07794b35 05:37:51 Step 10/23 : RUN ${MAKE} 05:37:51 ---> Running in eb39e7e41e19 [Pipeline] sh 05:37:51 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=4.1.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 05:37:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:37:51 + sudo tee /etc/docker/daemon.new 05:37:51 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:37:51 { 05:37:51 "registry-mirrors": [ 05:37:51 "https://nexus3.edgexfoundry.org:10001" 05:37:51 ], 05:37:51 "bip": "10.250.0.254/24", 05:37:51 "hosts": [ 05:37:51 "tcp://0.0.0.0:5555", 05:37:51 "unix:///var/run/docker.sock" 05:37:51 ], 05:37:51 "mtu": 1458, 05:37:51 "selinux-enabled": true, 05:37:51 "seccomp-profile": "/etc/docker/seccomp.json" 05:37:51 } [Pipeline] sh 05:37:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:37:52 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:38:10 provisioning config files... 05:38:10 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/187@tmp/config11635476974385874804tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:38:11 ---> ****-login.sh 05:38:11 nexus3.edgexfoundry.org:10001 05:38:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:38:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:38:11 Configure a credential helper to remove this warning. See 05:38:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:38:11 05:38:11 Login Succeeded 05:38:11 nexus3.edgexfoundry.org:10002 05:38:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:38:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:38:11 Configure a credential helper to remove this warning. See 05:38:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:38:11 05:38:11 Login Succeeded 05:38:11 nexus3.edgexfoundry.org:10003 05:38:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:38:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:38:12 Configure a credential helper to remove this warning. See 05:38:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:38:12 05:38:12 Login Succeeded 05:38:12 nexus3.edgexfoundry.org:10004 05:38:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:38:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:38:12 Configure a credential helper to remove this warning. See 05:38:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:38:12 05:38:12 Login Succeeded 05:38:12 ****.io 05:38:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:38:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:38:12 Configure a credential helper to remove this warning. See 05:38:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:38:12 05:38:12 Login Succeeded 05:38:12 ---> ****-login.sh ends [Pipeline] } 05:38:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:38:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:38:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:38:13 ========================================================= 05:38:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 05:38:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:38:13 + 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:38:14 Sending build context to Docker daemon 14.14MB 05:38:14 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 05:38:14 Step 2/10 : FROM ${BASE} AS builder 05:38:14 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:38:14 9986a736f7d3: Pulling fs layer 05:38:14 1f018df60701: Pulling fs layer 05:38:14 39f8f326b044: Pulling fs layer 05:38:14 e6a1e7a6a96a: Pulling fs layer 05:38:14 4f4fb700ef54: Pulling fs layer 05:38:14 d45d956e0dbf: Pulling fs layer 05:38:14 d7702b0d1db1: Pulling fs layer 05:38:14 5c7f0f088c93: Pulling fs layer 05:38:14 4fdc064ae6cf: Pulling fs layer 05:38:14 e6a1e7a6a96a: Waiting 05:38:14 4f4fb700ef54: Waiting 05:38:14 d45d956e0dbf: Waiting 05:38:14 d7702b0d1db1: Waiting 05:38:14 5c7f0f088c93: Waiting 05:38:14 4fdc064ae6cf: Waiting 05:38:14 1f018df60701: Verifying Checksum 05:38:14 1f018df60701: Download complete 05:38:14 e6a1e7a6a96a: Verifying Checksum 05:38:14 e6a1e7a6a96a: Download complete 05:38:14 4f4fb700ef54: Verifying Checksum 05:38:14 4f4fb700ef54: Download complete 05:38:14 9986a736f7d3: Verifying Checksum 05:38:14 9986a736f7d3: Download complete 05:38:14 d45d956e0dbf: Verifying Checksum 05:38:14 d45d956e0dbf: Download complete 05:38:14 d7702b0d1db1: Verifying Checksum 05:38:14 d7702b0d1db1: Download complete 05:38:14 4fdc064ae6cf: Verifying Checksum 05:38:14 4fdc064ae6cf: Download complete 05:38:15 9986a736f7d3: Pull complete 05:38:15 1f018df60701: Pull complete 05:38:16 39f8f326b044: Verifying Checksum 05:38:16 39f8f326b044: Download complete 05:38:17 5c7f0f088c93: Download complete 05:38:17 Removing intermediate container eb39e7e41e19 05:38:17 ---> 01ef6d23c35e 05:38:17 Step 11/23 : FROM alpine:3.20 05:38:17 3.20: Pulling from library/alpine 05:38:17 0a9a5dfd008f: Pulling fs layer 05:38:17 0a9a5dfd008f: Verifying Checksum 05:38:17 0a9a5dfd008f: Download complete 05:38:17 0a9a5dfd008f: Pull complete 05:38:17 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 05:38:17 Status: Downloaded newer image for alpine:3.20 05:38:17 ---> ff221270b9fb 05:38:17 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 05:38:17 ---> Running in 5890dc284f8b 05:38:18 Removing intermediate container 5890dc284f8b 05:38:18 ---> 94b4551dc010 05:38:18 Step 13/23 : RUN apk add --update --no-cache dumb-init 05:38:18 ---> Running in 8be579a7895b 05:38:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:38:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:38:18 (1/1) Installing dumb-init (1.2.5-r3) 05:38:18 Executing busybox-1.36.1-r29.trigger 05:38:18 OK: 8 MiB in 15 packages 05:38:19 Removing intermediate container 8be579a7895b 05:38:19 ---> 12ae1766d4b7 05:38:19 Step 14/23 : RUN apk --no-cache upgrade 05:38:19 ---> Running in dbbaed2ff11f 05:38:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:38:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:38:19 OK: 8 MiB in 15 packages 05:38:19 Removing intermediate container dbbaed2ff11f 05:38:19 ---> 8272a3be444a 05:38:19 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:38:20 ---> cc6009b32915 05:38:20 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:38:20 ---> 2140a251e638 05:38:20 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:38:20 ---> 22ef09381f0a 05:38:20 Step 18/23 : EXPOSE 59901 05:38:21 ---> Running in 854b41846064 05:38:21 Removing intermediate container 854b41846064 05:38:21 ---> 261af50a3a56 05:38:21 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:38:21 ---> Running in 2d24516b2e9a 05:38:21 Removing intermediate container 2d24516b2e9a 05:38:21 ---> 62e0fd211aac 05:38:21 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 05:38:21 ---> Running in 175b8034669a 05:38:21 Removing intermediate container 175b8034669a 05:38:21 ---> c7c769ececbc 05:38:21 Step 21/23 : LABEL arch=amd64 05:38:21 ---> Running in b4e6fc3ef40b 05:38:21 Removing intermediate container b4e6fc3ef40b 05:38:21 ---> 923e4dadfb57 05:38:21 Step 22/23 : LABEL git_sha=2f15f281678cccf9a75033b18da75fe627dd9e87 05:38:21 ---> Running in 950bfeaeda7b 05:38:21 Removing intermediate container 950bfeaeda7b 05:38:21 ---> 4ed20d92c10c 05:38:21 Step 23/23 : LABEL version=4.1.0-dev.1 05:38:21 ---> Running in 6d837335c0c9 05:38:21 Removing intermediate container 6d837335c0c9 05:38:21 ---> c37bcbe4ba7a 05:38:21 [Warning] One or more build-args [ARCH] were not consumed 05:38:21 Successfully built c37bcbe4ba7a 05:38:21 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:38:21 provisioning config files... 05:38:21 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10990675115973216385tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:38:21 ---> ****-login.sh 05:38:21 nexus3.edgexfoundry.org:10001 05:38:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:38:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:38:21 Configure a credential helper to remove this warning. See 05:38:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:38:21 05:38:21 Login Succeeded 05:38:21 nexus3.edgexfoundry.org:10002 05:38:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:38:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:38:21 Configure a credential helper to remove this warning. See 05:38:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:38:21 05:38:21 Login Succeeded 05:38:21 nexus3.edgexfoundry.org:10003 05:38:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:38:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:38:22 Configure a credential helper to remove this warning. See 05:38:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:38:22 05:38:22 Login Succeeded 05:38:22 nexus3.edgexfoundry.org:10004 05:38:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:38:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:38:22 Configure a credential helper to remove this warning. See 05:38:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:38:22 05:38:22 Login Succeeded 05:38:22 ****.io 05:38:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:38:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:38:22 Configure a credential helper to remove this warning. See 05:38:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:38:22 05:38:22 Login Succeeded 05:38:22 ---> ****-login.sh ends [Pipeline] } 05:38:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:38:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:38:22 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 05:38:22 2f15f281678cccf9a75033b18da75fe627dd9e87 05:38:22 latest 05:38:22 4.1.0-dev.1 05:38:22 2f15f281678cccf9a75033b18da75fe627dd9e87-4.1.0-dev.1 05:38:22 main 05:38:22 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:38:23 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2f15f281678cccf9a75033b18da75fe627dd9e87 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:38:23 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2f15f281678cccf9a75033b18da75fe627dd9e87 05:38:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:38:23 1af8dbaf02bf: Preparing 05:38:23 8bdd34973585: Preparing 05:38:23 b16a1835d9e8: Preparing 05:38:23 48cbcb71e0de: Preparing 05:38:23 b0e7e00733b6: Preparing 05:38:23 994456c4fd7b: Preparing 05:38:23 b0e7e00733b6: Pushed 05:38:23 1af8dbaf02bf: Pushed 05:38:23 48cbcb71e0de: Pushed 05:38:23 8bdd34973585: Pushed 05:38:23 994456c4fd7b: Layer already exists 05:38:26 b16a1835d9e8: Pushed 05:38:26 2f15f281678cccf9a75033b18da75fe627dd9e87: digest: sha256:be068f0a63c28601d00a8943640bce106acafe102baee55e4345b407ace667aa size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:38:27 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:38:27 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 05:38:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:38:27 1af8dbaf02bf: Preparing 05:38:27 8bdd34973585: Preparing 05:38:27 b16a1835d9e8: Preparing 05:38:27 48cbcb71e0de: Preparing 05:38:27 b0e7e00733b6: Preparing 05:38:27 994456c4fd7b: Preparing 05:38:27 994456c4fd7b: Waiting 05:38:27 8bdd34973585: Layer already exists 05:38:27 1af8dbaf02bf: Layer already exists 05:38:27 48cbcb71e0de: Layer already exists 05:38:27 b16a1835d9e8: Layer already exists 05:38:27 b0e7e00733b6: Layer already exists 05:38:27 994456c4fd7b: Layer already exists 05:38:27 latest: digest: sha256:be068f0a63c28601d00a8943640bce106acafe102baee55e4345b407ace667aa size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:38:27 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:4.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:38:28 + docker push nexus3.edgexfoundry.org:10004/device-modbus:4.1.0-dev.1 05:38:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:38:28 1af8dbaf02bf: Preparing 05:38:28 8bdd34973585: Preparing 05:38:28 b16a1835d9e8: Preparing 05:38:28 48cbcb71e0de: Preparing 05:38:28 b0e7e00733b6: Preparing 05:38:28 994456c4fd7b: Preparing 05:38:28 994456c4fd7b: Waiting 05:38:28 1af8dbaf02bf: Layer already exists 05:38:28 b16a1835d9e8: Layer already exists 05:38:28 48cbcb71e0de: Layer already exists 05:38:28 b0e7e00733b6: Layer already exists 05:38:28 8bdd34973585: Layer already exists 05:38:28 994456c4fd7b: Layer already exists 05:38:28 4.1.0-dev.1: digest: sha256:be068f0a63c28601d00a8943640bce106acafe102baee55e4345b407ace667aa size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:38:28 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2f15f281678cccf9a75033b18da75fe627dd9e87-4.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:38:28 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2f15f281678cccf9a75033b18da75fe627dd9e87-4.1.0-dev.1 05:38:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:38:28 1af8dbaf02bf: Preparing 05:38:28 8bdd34973585: Preparing 05:38:28 b16a1835d9e8: Preparing 05:38:28 48cbcb71e0de: Preparing 05:38:28 b0e7e00733b6: Preparing 05:38:28 994456c4fd7b: Preparing 05:38:28 994456c4fd7b: Waiting 05:38:28 b16a1835d9e8: Layer already exists 05:38:28 48cbcb71e0de: Layer already exists 05:38:28 8bdd34973585: Layer already exists 05:38:28 1af8dbaf02bf: Layer already exists 05:38:28 b0e7e00733b6: Layer already exists 05:38:28 994456c4fd7b: Layer already exists 05:38:28 2f15f281678cccf9a75033b18da75fe627dd9e87-4.1.0-dev.1: digest: sha256:be068f0a63c28601d00a8943640bce106acafe102baee55e4345b407ace667aa size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:38:29 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:38:29 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 05:38:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:38:29 1af8dbaf02bf: Preparing 05:38:29 8bdd34973585: Preparing 05:38:29 b16a1835d9e8: Preparing 05:38:29 48cbcb71e0de: Preparing 05:38:29 b0e7e00733b6: Preparing 05:38:29 994456c4fd7b: Preparing 05:38:29 994456c4fd7b: Waiting 05:38:29 8bdd34973585: Layer already exists 05:38:29 1af8dbaf02bf: Layer already exists 05:38:29 b0e7e00733b6: Layer already exists 05:38:29 48cbcb71e0de: Layer already exists 05:38:29 b16a1835d9e8: Layer already exists 05:38:29 994456c4fd7b: Layer already exists 05:38:29 main: digest: sha256:be068f0a63c28601d00a8943640bce106acafe102baee55e4345b407ace667aa size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:38:29 ===================================================== [Pipeline] echo 05:38:29 taggedImages: 05:38:29 - nexus3.edgexfoundry.org:10004/device-modbus:2f15f281678cccf9a75033b18da75fe627dd9e87 05:38:29 - nexus3.edgexfoundry.org:10004/device-modbus:latest 05:38:29 - nexus3.edgexfoundry.org:10004/device-modbus:4.1.0-dev.1 05:38:29 - nexus3.edgexfoundry.org:10004/device-modbus:2f15f281678cccf9a75033b18da75fe627dd9e87-4.1.0-dev.1 05:38:29 - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] echo 05:38:29 ========================================================= 05:38:29 [edgeXBuildMultiArch] RAW Config: 05:38:29 images: 05:38:29 - nexus3.edgexfoundry.org:10004/device-modbus:2f15f281678cccf9a75033b18da75fe627dd9e87 05:38:29 - nexus3.edgexfoundry.org:10004/device-modbus:latest 05:38:29 - nexus3.edgexfoundry.org:10004/device-modbus:4.1.0-dev.1 05:38:29 - nexus3.edgexfoundry.org:10004/device-modbus:2f15f281678cccf9a75033b18da75fe627dd9e87-4.1.0-dev.1 05:38:29 - nexus3.edgexfoundry.org:10004/device-modbus:main 05:38:29 settingsFile: 05:38:29 device-modbus-go-settings 05:38:29 ========================================================= [Pipeline] node 05:38:29 39f8f326b044: Pull complete 05:38:29 e6a1e7a6a96a: Pull complete 05:38:30 4f4fb700ef54: Pull complete 05:38:30 d45d956e0dbf: Pull complete 05:38:30 d7702b0d1db1: Pull complete 05:38:38 5c7f0f088c93: Pull complete 05:38:40 4fdc064ae6cf: Pull complete 05:38:40 Digest: sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 05:38:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 05:38:40 ---> 63f30b955cb9 05:38:40 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:38:42 ---> Running in 5479845de253 05:38:42 Removing intermediate container 5479845de253 05:38:42 ---> 6d96a5f27b12 05:38:42 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:38:42 ---> Running in 355f40c97ef5 05:38:43 Removing intermediate container 355f40c97ef5 05:38:43 ---> 0edbf4fbf252 05:38:43 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:38:43 ---> Running in 4b9ddb4f812d 05:38:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:38:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:38:44 Still waiting to schedule task 05:38:44 All nodes of label ‘centos7-docker-4c-2g’ are offline 05:38:45 (1/8) Installing openssh-keygen (9.7_p1-r5) 05:38:45 (2/8) Installing libedit (20240517.3.1-r0) 05:38:45 (3/8) Installing openssh-client-common (9.7_p1-r5) 05:38:45 (4/8) Installing openssh-client-default (9.7_p1-r5) 05:38:45 (5/8) Installing openssh-sftp-server (9.7_p1-r5) 05:38:45 (6/8) Installing openssh-server-common (9.7_p1-r5) 05:38:46 (7/8) Installing openssh-server (9.7_p1-r5) 05:38:46 (8/8) Installing openssh (9.7_p1-r5) 05:38:46 Executing busybox-1.36.1-r29.trigger 05:38:46 OK: 245 MiB in 66 packages 05:38:47 Removing intermediate container 4b9ddb4f812d 05:38:47 ---> 9e2709a852cc 05:38:47 Step 6/10 : WORKDIR /device-modbus-go 05:38:47 ---> Running in 735278131da9 05:38:48 Removing intermediate container 735278131da9 05:38:48 ---> 47c792187f8c 05:38:48 Step 7/10 : COPY go.mod vendor* ./ 05:38:49 ---> e6bf3240130a 05:38:49 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:38:49 ---> Running in be93783d4413 05:39:23 Running on prd-centos7-docker-4c-2g-42405 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Create Multi-Arch Images) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:39:23 provisioning config files... 05:39:24 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9093966303002824778tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:39:25 ---> ****-login.sh 05:39:25 nexus3.edgexfoundry.org:10001 05:39:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:39:26 Configure a credential helper to remove this warning. See 05:39:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:39:26 05:39:26 Login Succeeded 05:39:26 nexus3.edgexfoundry.org:10002 05:39:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:39:26 Configure a credential helper to remove this warning. See 05:39:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:39:26 05:39:26 Login Succeeded 05:39:26 nexus3.edgexfoundry.org:10003 05:39:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:39:26 Configure a credential helper to remove this warning. See 05:39:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:39:26 05:39:26 Login Succeeded 05:39:26 nexus3.edgexfoundry.org:10004 05:39:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:39:26 Configure a credential helper to remove this warning. See 05:39:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:39:26 05:39:26 Login Succeeded 05:39:26 ****.io 05:39:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:39:26 Configure a credential helper to remove this warning. See 05:39:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:39:26 05:39:26 Login Succeeded 05:39:26 ---> ****-login.sh ends [Pipeline] } 05:39:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:39:26 + docker buildx ls 05:39:26 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 05:39:26 default * docker 05:39:26 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 05:39:27 + docker buildx create --name edgex-builder --platform linux/amd64,linux/arm64 --use 05:39:27 edgex-builder [Pipeline] sh 05:39:27 + docker buildx inspect --bootstrap 05:39:27 #1 [internal] booting buildkit 05:39:27 #1 pulling image moby/buildkit:buildx-stable-1 05:39:30 #1 pulling image moby/buildkit:buildx-stable-1 2.6s done 05:39:30 #1 creating container buildx_buildkit_edgex-builder0 05:39:31 #1 creating container buildx_buildkit_edgex-builder0 1.4s done 05:39:31 #1 DONE 4.0s 05:39:31 Name: edgex-builder 05:39:31 Driver: docker-container 05:39:31 05:39:31 Nodes: 05:39:31 Name: edgex-builder0 05:39:31 Endpoint: unix:///var/run/docker.sock 05:39:31 Status: running 05:39:31 Buildkit: v0.20.2 05:39:31 Platforms: linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 [Pipeline] sh 05:39:31 + docker buildx ls 05:39:31 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 05:39:31 edgex-builder * docker-container 05:39:31 edgex-builder0 unix:///var/run/docker.sock running v0.20.2 linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 05:39:31 default docker 05:39:31 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 05:39:32 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-modbus:2f15f281678cccf9a75033b18da75fe627dd9e87' 05:39:32 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-modbus:2f15f281678cccf9a75033b18da75fe627dd9e87 --push - 05:39:32 #1 [internal] load build definition from Dockerfile 05:39:32 #1 transferring dockerfile: 198B done 05:39:32 #1 DONE 0.0s 05:39:32 05:39:32 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-modbus:2f15f281678cccf9a75033b18da75fe627dd9e87 05:39:32 #2 DONE 0.1s 05:39:32 05:39:32 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-modbus:2f15f281678cccf9a75033b18da75fe627dd9e87 05:39:32 #3 DONE 0.1s 05:39:32 05:39:32 #4 [internal] load .dockerignore 05:39:32 #4 transferring context: 2B done 05:39:32 #4 DONE 0.0s 05:39:32 05:39:32 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-modbus:2f15f281678cccf9a75033b18da75fe627dd9e87@sha256:be068f0a63c28601d00a8943640bce106acafe102baee55e4345b407ace667aa 05:39:32 #5 resolve nexus3.edgexfoundry.org:10004/device-modbus:2f15f281678cccf9a75033b18da75fe627dd9e87@sha256:be068f0a63c28601d00a8943640bce106acafe102baee55e4345b407ace667aa 0.0s done 05:39:32 #5 DONE 0.0s 05:39:32 05:39:32 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-modbus:2f15f281678cccf9a75033b18da75fe627dd9e87@sha256:be068f0a63c28601d00a8943640bce106acafe102baee55e4345b407ace667aa 05:39:32 #6 resolve nexus3.edgexfoundry.org:10004/device-modbus:2f15f281678cccf9a75033b18da75fe627dd9e87@sha256:be068f0a63c28601d00a8943640bce106acafe102baee55e4345b407ace667aa 0.0s done 05:39:32 #6 DONE 0.1s 05:39:32 05:39:32 #7 [auth] device-modbus:pull,push token for nexus3.edgexfoundry.org:10004 05:39:32 #7 DONE 0.0s 05:39:32 05:39:32 #8 exporting to image 05:39:32 #8 exporting layers done 05:39:32 #8 exporting manifest sha256:ea303222aa82983f717b1d714e5c53d3931c45182483d9b52e4bfd4761afdf8b done 05:39:32 #8 exporting config sha256:02401671c115f266a792807e049eb3c20aec15a706a34060aaec6ca3be07f7f9 done 05:39:32 #8 exporting manifest sha256:4fd01129b1c52196bb4b872d072616d0dee2e0ffcfdbf34c4045ff3d5543ef6f 0.0s done 05:39:32 #8 exporting config sha256:4b26be90a6e92e600c94971172349d945808fbcb49cdb7b6d65a5285c208be8e done 05:39:32 #8 exporting manifest list sha256:82b59f153e35ab433b1c947d7c7fc4b30518e5fc62b2970f67fa7557c8406d17 done 05:39:32 #8 pushing layers 0.1s done 05:39:32 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-modbus:2f15f281678cccf9a75033b18da75fe627dd9e87@sha256:82b59f153e35ab433b1c947d7c7fc4b30518e5fc62b2970f67fa7557c8406d17 05:39:32 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 05:39:32 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-modbus:2f15f281678cccf9a75033b18da75fe627dd9e87@sha256:82b59f153e35ab433b1c947d7c7fc4b30518e5fc62b2970f67fa7557c8406d17 0.1s done 05:39:32 #8 DONE 0.2s 05:39:32 05:39:32 1 warning found (use --debug to expand): 05:39:32  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 05:39:32 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-modbus:latest' 05:39:32 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-modbus:latest --push - 05:39:32 #1 [internal] load build definition from Dockerfile 05:39:32 #1 transferring dockerfile: 164B done 05:39:32 #1 DONE 0.0s 05:39:32 05:39:32 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-modbus:latest 05:39:32 #2 DONE 0.0s 05:39:32 05:39:32 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-modbus:latest 05:39:32 #3 DONE 0.0s 05:39:32 05:39:32 #4 [internal] load .dockerignore 05:39:32 #4 transferring context: 2B done 05:39:32 #4 DONE 0.0s 05:39:32 05:39:32 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-modbus:latest@sha256:be068f0a63c28601d00a8943640bce106acafe102baee55e4345b407ace667aa 05:39:32 #5 resolve nexus3.edgexfoundry.org:10004/device-modbus:latest@sha256:be068f0a63c28601d00a8943640bce106acafe102baee55e4345b407ace667aa 0.0s done 05:39:32 #5 DONE 0.0s 05:39:32 05:39:32 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-modbus:latest@sha256:be068f0a63c28601d00a8943640bce106acafe102baee55e4345b407ace667aa 05:39:33 #6 resolve nexus3.edgexfoundry.org:10004/device-modbus:latest@sha256:be068f0a63c28601d00a8943640bce106acafe102baee55e4345b407ace667aa 0.0s done 05:39:33 #6 CACHED 05:39:33 05:39:33 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-modbus:latest@sha256:be068f0a63c28601d00a8943640bce106acafe102baee55e4345b407ace667aa 05:39:33 #5 CACHED 05:39:33 05:39:33 #7 [auth] device-modbus:pull,push token for nexus3.edgexfoundry.org:10004 05:39:33 #7 DONE 0.0s 05:39:33 05:39:33 #8 exporting to image 05:39:33 #8 exporting layers done 05:39:33 #8 exporting manifest sha256:ea303222aa82983f717b1d714e5c53d3931c45182483d9b52e4bfd4761afdf8b done 05:39:33 #8 exporting config sha256:02401671c115f266a792807e049eb3c20aec15a706a34060aaec6ca3be07f7f9 done 05:39:33 #8 exporting manifest sha256:4fd01129b1c52196bb4b872d072616d0dee2e0ffcfdbf34c4045ff3d5543ef6f done 05:39:33 #8 exporting config sha256:4b26be90a6e92e600c94971172349d945808fbcb49cdb7b6d65a5285c208be8e done 05:39:33 #8 exporting manifest list sha256:82b59f153e35ab433b1c947d7c7fc4b30518e5fc62b2970f67fa7557c8406d17 done 05:39:33 #8 pushing layers 0.0s done 05:39:33 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-modbus:latest@sha256:82b59f153e35ab433b1c947d7c7fc4b30518e5fc62b2970f67fa7557c8406d17 0.1s done 05:39:33 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 05:39:33 #8 DONE 0.1s 05:39:33 05:39:33 1 warning found (use --debug to expand): 05:39:33  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 05:39:33 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-modbus:4.1.0-dev.1' 05:39:33 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-modbus:4.1.0-dev.1 --push - 05:39:33 #1 [internal] load build definition from Dockerfile 05:39:33 #1 transferring dockerfile: 169B done 05:39:33 #1 DONE 0.0s 05:39:33 05:39:33 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-modbus:4.1.0-dev.1 05:39:33 #2 DONE 0.0s 05:39:33 05:39:33 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-modbus:4.1.0-dev.1 05:39:33 #3 DONE 0.0s 05:39:33 05:39:33 #4 [internal] load .dockerignore 05:39:33 #4 transferring context: 2B done 05:39:33 #4 DONE 0.0s 05:39:33 05:39:33 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-modbus:4.1.0-dev.1@sha256:be068f0a63c28601d00a8943640bce106acafe102baee55e4345b407ace667aa 05:39:33 #5 resolve nexus3.edgexfoundry.org:10004/device-modbus:4.1.0-dev.1@sha256:be068f0a63c28601d00a8943640bce106acafe102baee55e4345b407ace667aa 0.0s done 05:39:33 #5 DONE 0.0s 05:39:33 05:39:33 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-modbus:4.1.0-dev.1@sha256:be068f0a63c28601d00a8943640bce106acafe102baee55e4345b407ace667aa 05:39:33 #6 resolve nexus3.edgexfoundry.org:10004/device-modbus:4.1.0-dev.1@sha256:be068f0a63c28601d00a8943640bce106acafe102baee55e4345b407ace667aa 0.0s done 05:39:33 #6 CACHED 05:39:33 05:39:33 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-modbus:4.1.0-dev.1@sha256:be068f0a63c28601d00a8943640bce106acafe102baee55e4345b407ace667aa 05:39:33 #5 CACHED 05:39:33 05:39:33 #7 [auth] device-modbus:pull,push token for nexus3.edgexfoundry.org:10004 05:39:33 #7 DONE 0.0s 05:39:33 05:39:33 #8 exporting to image 05:39:33 #8 exporting layers done 05:39:33 #8 exporting manifest sha256:ea303222aa82983f717b1d714e5c53d3931c45182483d9b52e4bfd4761afdf8b done 05:39:33 #8 exporting config sha256:02401671c115f266a792807e049eb3c20aec15a706a34060aaec6ca3be07f7f9 done 05:39:33 #8 exporting manifest sha256:4fd01129b1c52196bb4b872d072616d0dee2e0ffcfdbf34c4045ff3d5543ef6f done 05:39:33 #8 exporting config sha256:4b26be90a6e92e600c94971172349d945808fbcb49cdb7b6d65a5285c208be8e done 05:39:33 #8 exporting manifest list sha256:82b59f153e35ab433b1c947d7c7fc4b30518e5fc62b2970f67fa7557c8406d17 done 05:39:33 #8 pushing layers 0.0s done 05:39:33 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-modbus:4.1.0-dev.1@sha256:82b59f153e35ab433b1c947d7c7fc4b30518e5fc62b2970f67fa7557c8406d17 0.1s done 05:39:33 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 05:39:33 #8 DONE 0.1s 05:39:33 05:39:33 1 warning found (use --debug to expand): 05:39:33  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 05:39:34 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-modbus:2f15f281678cccf9a75033b18da75fe627dd9e87-4.1.0-dev.1' 05:39:34 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-modbus:2f15f281678cccf9a75033b18da75fe627dd9e87-4.1.0-dev.1 --push - 05:39:34 #1 [internal] load build definition from Dockerfile 05:39:34 #1 transferring dockerfile: 210B done 05:39:34 #1 DONE 0.0s 05:39:34 05:39:34 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-modbus:2f15f281678cccf9a75033b18da75fe627dd9e87-4.1.0-dev.1 05:39:34 #2 DONE 0.0s 05:39:34 05:39:34 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-modbus:2f15f281678cccf9a75033b18da75fe627dd9e87-4.1.0-dev.1 05:39:34 #3 DONE 0.0s 05:39:34 05:39:34 #4 [internal] load .dockerignore 05:39:34 #4 transferring context: 2B done 05:39:34 #4 DONE 0.0s 05:39:34 05:39:34 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-modbus:2f15f281678cccf9a75033b18da75fe627dd9e87-4.1.0-dev.1@sha256:be068f0a63c28601d00a8943640bce106acafe102baee55e4345b407ace667aa 05:39:34 #5 resolve nexus3.edgexfoundry.org:10004/device-modbus:2f15f281678cccf9a75033b18da75fe627dd9e87-4.1.0-dev.1@sha256:be068f0a63c28601d00a8943640bce106acafe102baee55e4345b407ace667aa 0.0s done 05:39:34 #5 CACHED 05:39:34 05:39:34 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-modbus:2f15f281678cccf9a75033b18da75fe627dd9e87-4.1.0-dev.1@sha256:be068f0a63c28601d00a8943640bce106acafe102baee55e4345b407ace667aa 05:39:34 #6 resolve nexus3.edgexfoundry.org:10004/device-modbus:2f15f281678cccf9a75033b18da75fe627dd9e87-4.1.0-dev.1@sha256:be068f0a63c28601d00a8943640bce106acafe102baee55e4345b407ace667aa 0.0s done 05:39:34 #6 CACHED 05:39:34 05:39:34 #7 exporting to image 05:39:34 #7 exporting layers 05:39:34 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 05:39:34 #7 exporting layers done 05:39:34 #7 exporting manifest sha256:ea303222aa82983f717b1d714e5c53d3931c45182483d9b52e4bfd4761afdf8b done 05:39:34 #7 exporting config sha256:02401671c115f266a792807e049eb3c20aec15a706a34060aaec6ca3be07f7f9 done 05:39:34 #7 exporting manifest sha256:4fd01129b1c52196bb4b872d072616d0dee2e0ffcfdbf34c4045ff3d5543ef6f done 05:39:34 #7 exporting config sha256:4b26be90a6e92e600c94971172349d945808fbcb49cdb7b6d65a5285c208be8e done 05:39:34 #7 exporting manifest list sha256:82b59f153e35ab433b1c947d7c7fc4b30518e5fc62b2970f67fa7557c8406d17 done 05:39:34 #7 pushing layers 0.0s done 05:39:34 #7 pushing manifest for nexus3.edgexfoundry.org:10004/device-modbus:2f15f281678cccf9a75033b18da75fe627dd9e87-4.1.0-dev.1@sha256:82b59f153e35ab433b1c947d7c7fc4b30518e5fc62b2970f67fa7557c8406d17 0.1s done 05:39:34 #7 DONE 0.1s 05:39:34 05:39:34 #8 [auth] device-modbus:pull,push token for nexus3.edgexfoundry.org:10004 05:39:34 #8 DONE 0.0s 05:39:34 05:39:34 1 warning found (use --debug to expand): 05:39:34  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 05:39:34 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-modbus:main' 05:39:34 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-modbus:main --push - 05:39:34 #1 [internal] load build definition from Dockerfile 05:39:34 #1 transferring dockerfile: 162B done 05:39:34 #1 DONE 0.0s 05:39:34 05:39:34 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-modbus:main 05:39:34 #2 DONE 0.0s 05:39:34 05:39:34 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-modbus:main 05:39:34 #3 DONE 0.0s 05:39:34 05:39:34 #4 [internal] load .dockerignore 05:39:34 #4 transferring context: 2B done 05:39:34 #4 DONE 0.0s 05:39:34 05:39:34 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-modbus:main@sha256:be068f0a63c28601d00a8943640bce106acafe102baee55e4345b407ace667aa 05:39:34 #5 resolve nexus3.edgexfoundry.org:10004/device-modbus:main@sha256:be068f0a63c28601d00a8943640bce106acafe102baee55e4345b407ace667aa 0.0s done 05:39:34 #5 CACHED 05:39:34 05:39:34 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-modbus:main@sha256:be068f0a63c28601d00a8943640bce106acafe102baee55e4345b407ace667aa 05:39:34 #6 resolve nexus3.edgexfoundry.org:10004/device-modbus:main@sha256:be068f0a63c28601d00a8943640bce106acafe102baee55e4345b407ace667aa 0.0s done 05:39:34 #6 CACHED 05:39:34 05:39:34 #7 [auth] device-modbus:pull,push token for nexus3.edgexfoundry.org:10004 05:39:34 #7 DONE 0.0s 05:39:34 05:39:34 #8 exporting to image 05:39:34 #8 exporting layers done 05:39:34 #8 exporting manifest sha256:ea303222aa82983f717b1d714e5c53d3931c45182483d9b52e4bfd4761afdf8b done 05:39:34 #8 exporting config sha256:02401671c115f266a792807e049eb3c20aec15a706a34060aaec6ca3be07f7f9 done 05:39:34 #8 exporting manifest sha256:4fd01129b1c52196bb4b872d072616d0dee2e0ffcfdbf34c4045ff3d5543ef6f done 05:39:34 #8 exporting config sha256:4b26be90a6e92e600c94971172349d945808fbcb49cdb7b6d65a5285c208be8e done 05:39:34 #8 exporting manifest list sha256:82b59f153e35ab433b1c947d7c7fc4b30518e5fc62b2970f67fa7557c8406d17 done 05:39:34 #8 pushing layers 0.0s done 05:39:34 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-modbus:main@sha256:82b59f153e35ab433b1c947d7c7fc4b30518e5fc62b2970f67fa7557c8406d17 0.1s done 05:39:34 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 05:39:34 #8 DONE 0.1s 05:39:34 05:39:34 1 warning found (use --debug to expand): 05:39:34  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:39:35 + '[' -d /w/workspace/gexfoundry_device-modbus-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 05:39:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:39:36 ---> package-listing.sh 05:39:36 ++ tr '[:upper:]' '[:lower:]' 05:39:36 ++ facter osfamily 05:39:36 + OS_FAMILY=redhat 05:39:36 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 05:39:36 + START_PACKAGES=/tmp/packages_start.txt 05:39:36 + END_PACKAGES=/tmp/packages_end.txt 05:39:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:39:36 + PACKAGES=/tmp/packages_start.txt 05:39:36 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 05:39:36 + PACKAGES=/tmp/packages_end.txt 05:39:36 + case "${OS_FAMILY}" in 05:39:36 + rpm -qa 05:39:36 + sort 05:39:36 + '[' -f /tmp/packages_start.txt ']' 05:39:36 + '[' -f /tmp/packages_end.txt ']' 05:39:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:39:36 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 05:39:36 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 05:39:36 + 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:39:36 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:39:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:39:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:39:37 05:39:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:39:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:39:38 latest: Pulling from edgex-lftools-log-publisher 05:39:38 5eb5b503b376: Pulling fs layer 05:39:38 5c69ac0246d0: Pulling fs layer 05:39:38 ec43610c2a17: Pulling fs layer 05:39:38 3a2ae6a8a46f: Pulling fs layer 05:39:38 33b1e0a273af: Pulling fs layer 05:39:38 5d3b04190fa2: Pulling fs layer 05:39:38 2f39f015ded8: Pulling fs layer 05:39:38 3a2ae6a8a46f: Waiting 05:39:38 33b1e0a273af: Waiting 05:39:38 5d3b04190fa2: Waiting 05:39:38 2f39f015ded8: Waiting 05:39:38 5c69ac0246d0: Verifying Checksum 05:39:38 5c69ac0246d0: Download complete 05:39:38 3a2ae6a8a46f: Verifying Checksum 05:39:38 3a2ae6a8a46f: Download complete 05:39:38 33b1e0a273af: Verifying Checksum 05:39:38 33b1e0a273af: Download complete 05:39:38 ec43610c2a17: Verifying Checksum 05:39:38 ec43610c2a17: Download complete 05:39:38 5d3b04190fa2: Verifying Checksum 05:39:38 5d3b04190fa2: Download complete 05:39:38 5eb5b503b376: Download complete 05:39:38 2f39f015ded8: Verifying Checksum 05:39:38 2f39f015ded8: Download complete 05:39:39 5eb5b503b376: Pull complete 05:39:39 5c69ac0246d0: Pull complete 05:39:40 ec43610c2a17: Pull complete 05:39:40 3a2ae6a8a46f: Pull complete 05:39:40 33b1e0a273af: Pull complete 05:39:40 5d3b04190fa2: Pull complete 05:39:44 2f39f015ded8: Pull complete 05:39:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:39:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:39:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:39:45 prd-centos7-docker-4c-2g-42405 does not seem to be running inside a container 05:39:45 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:39:48 $ docker top 0c2179a3e44ce4efc8fffb42f254e1ac3d086422410ad3536fd6c04d130e9461 -eo pid,comm [Pipeline] { [Pipeline] sh 05:39:48 + touch /tmp/pre-build-complete [Pipeline] sh 05:39:48 + mkdir -p /var/log/sysstat [Pipeline] sh 05:39:49 + ls /var/log/sa-host 05:39:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:39:49 provisioning config files... 05:39:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14246305443526914975tmp [Pipeline] { [Pipeline] echo 05:39:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:39:49 ---> create-netrc.sh [Pipeline] } 05:39:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:39:50 ---> python-tools-install.sh [Pipeline] echo 05:39:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:39:50 ---> sudo-logs.sh 05:39:50 Archiving 'sudo' log.. 05:39:50 sudo: unable to resolve host prd-centos7-docker-4c-2g-42405.novalocal: Name or service not known 05:39:50 sudo: unable to resolve host prd-centos7-docker-4c-2g-42405.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 05:39:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:39:50 ---> job-cost.sh 05:39:50 lf-activate-venv: SKIPPING 05:39:50 INFO: No Stack... 05:39:50 INFO: Retrieving Pricing Info for: v3-standard-2 05:39:51 INFO: Archiving Costs [Pipeline] echo 05:39:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:39:51 ---> logs-deploy.sh 05:39:51 lf-activate-venv: SKIPPING 05:39:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/187 05:39:51 INFO: archiving workspace using pattern(s): 05:39:52 Archives upload complete. 05:39:52 INFO: archiving logs to Nexus 05:39:53 ---> uname -a: 05:39:53 Linux prd-centos7-docker-4c-2g-42405.novalocal 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 GNU/Linux 05:39:53 05:39:53 05:39:53 ---> lscpu: 05:39:53 Architecture: x86_64 05:39:53 CPU op-mode(s): 32-bit, 64-bit 05:39:53 Byte Order: Little Endian 05:39:53 Address sizes: 40 bits physical, 48 bits virtual 05:39:53 CPU(s): 2 05:39:53 On-line CPU(s) list: 0,1 05:39:53 Thread(s) per core: 1 05:39:53 Core(s) per socket: 1 05:39:53 Socket(s): 2 05:39:53 NUMA node(s): 1 05:39:53 Vendor ID: AuthenticAMD 05:39:53 CPU family: 23 05:39:53 Model: 49 05:39:53 Model name: AMD EPYC-Rome Processor 05:39:53 Stepping: 0 05:39:53 CPU MHz: 2799.998 05:39:53 BogoMIPS: 5599.99 05:39:53 Virtualization: AMD-V 05:39:53 Hypervisor vendor: KVM 05:39:53 Virtualization type: full 05:39:53 L1d cache: 64 KiB 05:39:53 L1i cache: 64 KiB 05:39:53 L2 cache: 1 MiB 05:39:53 L3 cache: 32 MiB 05:39:53 NUMA node0 CPU(s): 0,1 05:39:53 Vulnerability Itlb multihit: Not affected 05:39:53 Vulnerability L1tf: Not affected 05:39:53 Vulnerability Mds: Not affected 05:39:53 Vulnerability Meltdown: Not affected 05:39:53 Vulnerability Mmio stale data: Not affected 05:39:53 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:39:53 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 05:39:53 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 05:39:53 Vulnerability Srbds: Not affected 05:39:53 Vulnerability Tsx async abort: Not affected 05:39:53 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 05:39:53 05:39:53 05:39:53 ---> nproc: 05:39:53 2 05:39:53 05:39:53 05:39:53 ---> df -h: 05:39:53 Filesystem Size Used Avail Use% Mounted on 05:39:53 overlay 40G 7.3G 33G 19% / 05:39:53 tmpfs 64M 0 64M 0% /dev 05:39:53 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 05:39:53 shm 64M 0 64M 0% /dev/shm 05:39:53 /dev/vda1 40G 7.3G 33G 19% /facter-os 05:39:53 05:39:53 05:39:53 Cannot open /var/log/sysstat/sa31: No such file or directory 05:39:53 Please check if data collecting is enabled 05:39:53 subprocess.CalledProcessError: Command '['sar', '-b', '-r', '-n', 'DEV']' returned non-zero exit status 2. [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:39:53 [edgeXInfraPublish] An error occurred while publishing logs: script returned exit code 1 [Pipeline] } 05:39:53 $ docker stop --time=1 0c2179a3e44ce4efc8fffb42f254e1ac3d086422410ad3536fd6c04d130e9461 05:39:54 $ docker rm -f --volumes 0c2179a3e44ce4efc8fffb42f254e1ac3d086422410ad3536fd6c04d130e9461 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] cleanWs 05:39:54 [WS-CLEANUP] Deleting project workspace... 05:39:54 [WS-CLEANUP] Deferred wipeout is used... 05:39:54 [WS-CLEANUP] done [Pipeline] } [Pipeline] // node [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:39:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:39:55 05:39:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:39:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:39:55 latest: Pulling from edgex-lftools-log-publisher 05:39:55 5eb5b503b376: Pulling fs layer 05:39:55 5c69ac0246d0: Pulling fs layer 05:39:55 ec43610c2a17: Pulling fs layer 05:39:55 3a2ae6a8a46f: Pulling fs layer 05:39:55 33b1e0a273af: Pulling fs layer 05:39:55 5d3b04190fa2: Pulling fs layer 05:39:55 2f39f015ded8: Pulling fs layer 05:39:55 33b1e0a273af: Waiting 05:39:55 5d3b04190fa2: Waiting 05:39:55 3a2ae6a8a46f: Waiting 05:39:55 5c69ac0246d0: Download complete 05:39:55 3a2ae6a8a46f: Verifying Checksum 05:39:55 3a2ae6a8a46f: Download complete 05:39:55 33b1e0a273af: Verifying Checksum 05:39:55 33b1e0a273af: Download complete 05:39:55 ec43610c2a17: Verifying Checksum 05:39:55 ec43610c2a17: Download complete 05:39:55 5d3b04190fa2: Download complete 05:39:55 5eb5b503b376: Download complete 05:39:56 2f39f015ded8: Download complete 05:39:57 5eb5b503b376: Pull complete 05:39:57 5c69ac0246d0: Pull complete 05:39:57 ec43610c2a17: Pull complete 05:39:57 3a2ae6a8a46f: Pull complete 05:39:57 33b1e0a273af: Pull complete 05:39:57 5d3b04190fa2: Pull complete 05:40:03 2f39f015ded8: Pull complete 05:40:03 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:40:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:40:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:40:03 prd-ubuntu20.04-docker-8c-8g-42402 does not seem to be running inside a container 05:40:03 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:40:04 $ docker top 19b0c708f018238935269540eaa9bef1c6f724d2570e131036255eb0bc2f8b9e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:40:04 ---> job-cost.sh 05:40:04 lf-activate-venv: SKIPPING 05:40:04 INFO: No Stack... 05:40:04 INFO: Retrieving Pricing Info for: v3-standard-8 05:40:05 INFO: Archiving Costs [Pipeline] sh 05:40:05 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 05:40:05 + cut -d, -f6 [Pipeline] lock 05:40:05 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-187-stack-cost] 05:40:05 Resource [jenkins-edgexfoundry-device-modbus-go-main-187-stack-cost] did not exist. Created. 05:40:05 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-187-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:40:06 + echo total: 0.2199999988079071 [Pipeline] stash 05:40:06 Stashed 1 file(s) [Pipeline] } 05:40:06 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-187-stack-cost] [Pipeline] // lock [Pipeline] } 05:40:06 $ docker stop --time=1 19b0c708f018238935269540eaa9bef1c6f724d2570e131036255eb0bc2f8b9e 05:40:07 $ docker rm -f --volumes 19b0c708f018238935269540eaa9bef1c6f724d2570e131036255eb0bc2f8b9e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:40:40 Removing intermediate container be93783d4413 05:40:40 ---> 3a3b53769e13 05:40:40 Step 9/10 : COPY . . 05:40:40 ---> 497e53eeec91 05:40:40 Step 10/10 : RUN ${MAKE} 05:40:40 ---> Running in afcdc8a057e5 05:40:40 noop 05:40:40 Removing intermediate container afcdc8a057e5 05:40:40 ---> c10c9bffc9b9 05:40:40 Successfully built c10c9bffc9b9 05:40:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:40:41 + docker inspect -f . ci-base-image-arm64 05:40:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:40:41 prd-ubuntu20.04-docker-arm64-4c-16g-42403 does not seem to be running inside a container 05:40:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/187 -v /w/workspace/device-modbus-go/187:/w/workspace/device-modbus-go/187:rw,z -v /w/workspace/device-modbus-go/187@tmp:/w/workspace/device-modbus-go/187@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:40:42 $ docker top 9e37feec725427d87f675e843738d125888a8ac783f0ab175780616f0c2ba7c7 -eo pid,comm [Pipeline] { [Pipeline] sh 05:40:43 + go version 05:40:43 go version go1.23.4 linux/arm64 [Pipeline] } 05:40:43 $ docker stop --time=1 9e37feec725427d87f675e843738d125888a8ac783f0ab175780616f0c2ba7c7 05:40:44 $ docker rm -f --volumes 9e37feec725427d87f675e843738d125888a8ac783f0ab175780616f0c2ba7c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:40:45 + docker inspect -f . ci-base-image-arm64 05:40:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:40:45 prd-ubuntu20.04-docker-arm64-4c-16g-42403 does not seem to be running inside a container 05:40:45 $ 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/187 -v /w/workspace/device-modbus-go/187:/w/workspace/device-modbus-go/187:rw,z -v /w/workspace/device-modbus-go/187@tmp:/w/workspace/device-modbus-go/187@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:40:46 $ docker top 6475f065ace69497b5943444d2697a0881d8ef5117a759358f2b8f2a25d8a5f6 -eo pid,comm [Pipeline] { [Pipeline] sh 05:40:47 + git config --global --add safe.directory /w/workspace/device-modbus-go/187 [Pipeline] fileExists [Pipeline] sh 05:40:48 + make test 05:40:48 go test ./... -coverprofile=coverage.out 05:40:53 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:44:00 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 05:44:01 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.052s coverage: 45.2% of statements 05:44:02 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:44:02 go vet ./... 05:44:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:44:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:44:49 ./bin/test-attribution-txt.sh [Pipeline] echo 05:44:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 05:44:49 $ docker stop --time=1 6475f065ace69497b5943444d2697a0881d8ef5117a759358f2b8f2a25d8a5f6 05:44:51 $ docker rm -f --volumes 6475f065ace69497b5943444d2697a0881d8ef5117a759358f2b8f2a25d8a5f6 [Pipeline] // withDockerContainer [Pipeline] sh 05:44:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:44:52 Warning: overwriting stash ‘coverage-report’ 05:44:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:44:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:44:54 + ls -al . 05:44:54 total 256 05:44:54 drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 05:40 . 05:44:54 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 05:37 .. 05:44:54 -rw-rw-r-- 1 jenkins jenkins 140 Mar 31 05:37 .dockerignore 05:44:54 drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 05:37 .git 05:44:54 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 05:37 .github 05:44:54 -rw-rw-r-- 1 jenkins jenkins 266 Mar 31 05:37 .gitignore 05:44:54 -rw-rw-r-- 1 jenkins jenkins 199 Mar 31 05:37 .golangci.yml 05:44:54 -rw-rw-r-- 1 jenkins jenkins 19818 Mar 31 05:37 Attribution.txt 05:44:54 -rw-rw-r-- 1 jenkins jenkins 18046 Mar 31 05:37 CHANGELOG.md 05:44:54 -rw-rw-r-- 1 jenkins jenkins 1479 Mar 31 05:37 Dockerfile 05:44:54 -rw-rw-r-- 1 jenkins jenkins 677 Mar 31 05:37 GOVERNANCE.md 05:44:54 -rw-rw-r-- 1 jenkins jenkins 658 Mar 31 05:37 Jenkinsfile 05:44:54 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 31 05:37 LICENSE 05:44:54 -rw-rw-r-- 1 jenkins jenkins 2524 Mar 31 05:37 Makefile 05:44:54 -rw-rw-r-- 1 jenkins jenkins 622 Mar 31 05:37 OWNERS.md 05:44:54 -rw-rw-r-- 1 jenkins jenkins 4463 Mar 31 05:37 README.md 05:44:54 -rw-rw-r-- 1 jenkins jenkins 11 Mar 31 05:35 VERSION 05:44:54 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 05:37 bin 05:44:54 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 05:37 cmd 05:44:54 -rw-r--r-- 1 jenkins jenkins 26862 Mar 31 05:44 coverage.out 05:44:54 -rw-rw-r-- 1 jenkins jenkins 6295 Mar 31 05:37 go.mod 05:44:54 -rw-rw-r-- 1 jenkins jenkins 86874 Mar 31 05:37 go.sum 05:44:54 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 05:37 internal 05:44:54 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 05:37 simulator 05:44:54 -rw-rw-r-- 1 jenkins jenkins 229 Mar 31 05:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:54 + 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=2f15f281678cccf9a75033b18da75fe627dd9e87 --label arch=arm64 --label version=4.1.0-dev.1 . 05:44:54 Sending build context to Docker daemon 14.17MB 05:44:54 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 05:44:54 Step 2/23 : FROM ${BASE} AS builder 05:44:54 ---> c10c9bffc9b9 05:44:54 Step 3/23 : ARG ADD_BUILD_TAGS="" 05:44:54 ---> Running in c58649f5370e 05:44:55 Removing intermediate container c58649f5370e 05:44:55 ---> 85325419196e 05:44:55 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:44:55 ---> Running in d8cbd0469a0e 05:44:55 Removing intermediate container d8cbd0469a0e 05:44:55 ---> 35989e3af7b6 05:44:55 Step 5/23 : RUN apk add --update --no-cache make git openssh 05:44:55 ---> Running in 39e86e24f41e 05:44:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:44:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:44:58 OK: 245 MiB in 66 packages 05:44:59 Removing intermediate container 39e86e24f41e 05:44:59 ---> 5d3aa3cb5d5d 05:44:59 Step 6/23 : WORKDIR /device-modbus-go 05:44:59 ---> Running in d14828674f6a 05:44:59 Removing intermediate container d14828674f6a 05:44:59 ---> 80dddc76d6f4 05:44:59 Step 7/23 : COPY go.mod vendor* ./ 05:44:59 ---> a77fb70771e7 05:44:59 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:45:00 ---> Running in 785819214b32 05:45:02 Removing intermediate container 785819214b32 05:45:02 ---> 747fad9ab616 05:45:02 Step 9/23 : COPY . . 05:45:03 ---> 65330d598485 05:45:03 Step 10/23 : RUN ${MAKE} 05:45:03 ---> Running in 1e23b0d16bc7 05:45:04 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=4.1.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 05:48:26 Removing intermediate container 1e23b0d16bc7 05:48:26 ---> 19ed0a3f2ae3 05:48:26 Step 11/23 : FROM alpine:3.20 05:48:26 3.20: Pulling from library/alpine 05:48:26 94e9d8af2201: Pulling fs layer 05:48:26 94e9d8af2201: Verifying Checksum 05:48:26 94e9d8af2201: Download complete 05:48:26 94e9d8af2201: Pull complete 05:48:26 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 05:48:26 Status: Downloaded newer image for alpine:3.20 05:48:26 ---> 7aab056cecc6 05:48:26 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 05:48:26 ---> Running in c45e23ef17b3 05:48:26 Removing intermediate container c45e23ef17b3 05:48:26 ---> 65f5c61730a9 05:48:26 Step 13/23 : RUN apk add --update --no-cache dumb-init 05:48:26 ---> Running in 508cac6479d4 05:48:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:48:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:48:26 (1/1) Installing dumb-init (1.2.5-r3) 05:48:26 Executing busybox-1.36.1-r29.trigger 05:48:26 OK: 9 MiB in 15 packages 05:48:26 Removing intermediate container 508cac6479d4 05:48:26 ---> 085b73ea57b5 05:48:26 Step 14/23 : RUN apk --no-cache upgrade 05:48:26 ---> Running in e26481b2c7b6 05:48:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:48:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:48:26 OK: 9 MiB in 15 packages 05:48:26 Removing intermediate container e26481b2c7b6 05:48:26 ---> 7ea28b6f9d69 05:48:26 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:48:26 ---> 5664dcb848aa 05:48:26 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:48:26 ---> bcc40f3cb199 05:48:26 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:48:26 ---> 0b8b67187c58 05:48:26 Step 18/23 : EXPOSE 59901 05:48:26 ---> Running in 3c247767b639 05:48:26 Removing intermediate container 3c247767b639 05:48:26 ---> facf0b02451a 05:48:26 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:48:26 ---> Running in 0b269f4ed8d4 05:48:26 Removing intermediate container 0b269f4ed8d4 05:48:26 ---> c95505182b5b 05:48:26 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 05:48:26 ---> Running in eb8c0bf5aa46 05:48:26 Removing intermediate container eb8c0bf5aa46 05:48:26 ---> b0cabe45ecf8 05:48:26 Step 21/23 : LABEL arch=arm64 05:48:26 ---> Running in 4f912822dc7b 05:48:26 Removing intermediate container 4f912822dc7b 05:48:26 ---> 8cb356edadce 05:48:26 Step 22/23 : LABEL git_sha=2f15f281678cccf9a75033b18da75fe627dd9e87 05:48:26 ---> Running in 53505b25c260 05:48:27 Removing intermediate container 53505b25c260 05:48:27 ---> 58070e543e94 05:48:27 Step 23/23 : LABEL version=4.1.0-dev.1 05:48:27 ---> Running in 33d3ca715fc9 05:48:27 Removing intermediate container 33d3ca715fc9 05:48:27 ---> fd9f2034dff4 05:48:27 [Warning] One or more build-args [ARCH] were not consumed 05:48:27 Successfully built fd9f2034dff4 05:48:27 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:48:27 provisioning config files... 05:48:27 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/187@tmp/config14916918602272406360tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:48:27 ---> ****-login.sh 05:48:27 nexus3.edgexfoundry.org:10001 05:48:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:48:28 Configure a credential helper to remove this warning. See 05:48:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:48:28 05:48:28 Login Succeeded 05:48:28 nexus3.edgexfoundry.org:10002 05:48:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:48:28 Configure a credential helper to remove this warning. See 05:48:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:48:28 05:48:28 Login Succeeded 05:48:28 nexus3.edgexfoundry.org:10003 05:48:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:48:28 Configure a credential helper to remove this warning. See 05:48:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:48:28 05:48:28 Login Succeeded 05:48:28 nexus3.edgexfoundry.org:10004 05:48:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:48:29 Configure a credential helper to remove this warning. See 05:48:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:48:29 05:48:29 Login Succeeded 05:48:29 ****.io 05:48:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:48:29 Configure a credential helper to remove this warning. See 05:48:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:48:29 05:48:29 Login Succeeded 05:48:29 ---> ****-login.sh ends [Pipeline] } 05:48:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:48:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:48:29 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 05:48:29 2f15f281678cccf9a75033b18da75fe627dd9e87 05:48:29 latest 05:48:29 4.1.0-dev.1 05:48:29 2f15f281678cccf9a75033b18da75fe627dd9e87-4.1.0-dev.1 05:48:29 main 05:48:29 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:48:30 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2f15f281678cccf9a75033b18da75fe627dd9e87 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:48:30 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2f15f281678cccf9a75033b18da75fe627dd9e87 05:48:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:48:30 dabac20a85c4: Preparing 05:48:30 b0c500c47e67: Preparing 05:48:30 f0bbbf4b60e7: Preparing 05:48:30 1b917f251f1e: Preparing 05:48:30 1c49f74f98c9: Preparing 05:48:30 dd9c8f8612c8: Preparing 05:48:30 dd9c8f8612c8: Waiting 05:48:30 dabac20a85c4: Pushed 05:48:30 1c49f74f98c9: Pushed 05:48:30 b0c500c47e67: Pushed 05:48:30 1b917f251f1e: Pushed 05:48:30 dd9c8f8612c8: Layer already exists 05:48:39 f0bbbf4b60e7: Pushed 05:48:39 2f15f281678cccf9a75033b18da75fe627dd9e87: digest: sha256:499349f7d100ecfda64ae490f1edcb1c14b45325c09c8d9726d951f77868d7c3 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:48:39 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:48:39 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 05:48:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:48:39 dabac20a85c4: Preparing 05:48:39 b0c500c47e67: Preparing 05:48:39 f0bbbf4b60e7: Preparing 05:48:39 1b917f251f1e: Preparing 05:48:39 1c49f74f98c9: Preparing 05:48:39 dd9c8f8612c8: Preparing 05:48:39 dd9c8f8612c8: Waiting 05:48:39 dabac20a85c4: Layer already exists 05:48:39 f0bbbf4b60e7: Layer already exists 05:48:39 1c49f74f98c9: Layer already exists 05:48:39 1b917f251f1e: Layer already exists 05:48:39 b0c500c47e67: Layer already exists 05:48:39 dd9c8f8612c8: Layer already exists 05:48:39 latest: digest: sha256:499349f7d100ecfda64ae490f1edcb1c14b45325c09c8d9726d951f77868d7c3 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:48:40 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:48:40 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.1.0-dev.1 05:48:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:48:40 dabac20a85c4: Preparing 05:48:40 b0c500c47e67: Preparing 05:48:40 f0bbbf4b60e7: Preparing 05:48:40 1b917f251f1e: Preparing 05:48:40 1c49f74f98c9: Preparing 05:48:40 dd9c8f8612c8: Preparing 05:48:40 dd9c8f8612c8: Waiting 05:48:40 1c49f74f98c9: Layer already exists 05:48:40 f0bbbf4b60e7: Layer already exists 05:48:40 b0c500c47e67: Layer already exists 05:48:40 1b917f251f1e: Layer already exists 05:48:40 dabac20a85c4: Layer already exists 05:48:40 dd9c8f8612c8: Layer already exists 05:48:40 4.1.0-dev.1: digest: sha256:499349f7d100ecfda64ae490f1edcb1c14b45325c09c8d9726d951f77868d7c3 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:48:40 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2f15f281678cccf9a75033b18da75fe627dd9e87-4.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:48:41 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2f15f281678cccf9a75033b18da75fe627dd9e87-4.1.0-dev.1 05:48:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:48:41 dabac20a85c4: Preparing 05:48:41 b0c500c47e67: Preparing 05:48:41 f0bbbf4b60e7: Preparing 05:48:41 1b917f251f1e: Preparing 05:48:41 1c49f74f98c9: Preparing 05:48:41 dd9c8f8612c8: Preparing 05:48:41 dd9c8f8612c8: Waiting 05:48:41 b0c500c47e67: Layer already exists 05:48:41 1c49f74f98c9: Layer already exists 05:48:41 f0bbbf4b60e7: Layer already exists 05:48:41 1b917f251f1e: Layer already exists 05:48:41 dabac20a85c4: Layer already exists 05:48:41 dd9c8f8612c8: Layer already exists 05:48:41 2f15f281678cccf9a75033b18da75fe627dd9e87-4.1.0-dev.1: digest: sha256:499349f7d100ecfda64ae490f1edcb1c14b45325c09c8d9726d951f77868d7c3 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:48:41 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:48:41 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 05:48:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:48:41 dabac20a85c4: Preparing 05:48:41 b0c500c47e67: Preparing 05:48:41 f0bbbf4b60e7: Preparing 05:48:41 1b917f251f1e: Preparing 05:48:41 1c49f74f98c9: Preparing 05:48:41 dd9c8f8612c8: Preparing 05:48:41 dd9c8f8612c8: Waiting 05:48:41 f0bbbf4b60e7: Layer already exists 05:48:41 dabac20a85c4: Layer already exists 05:48:41 b0c500c47e67: Layer already exists 05:48:41 1b917f251f1e: Layer already exists 05:48:41 1c49f74f98c9: Layer already exists 05:48:41 dd9c8f8612c8: Layer already exists 05:48:41 main: digest: sha256:499349f7d100ecfda64ae490f1edcb1c14b45325c09c8d9726d951f77868d7c3 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:48:42 ===================================================== [Pipeline] echo 05:48:42 taggedImages: 05:48:42 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2f15f281678cccf9a75033b18da75fe627dd9e87 05:48:42 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 05:48:42 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.1.0-dev.1 05:48:42 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2f15f281678cccf9a75033b18da75fe627dd9e87-4.1.0-dev.1 05:48:42 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] echo 05:48:42 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-modbus-arm64:2f15f281678cccf9a75033b18da75fe627dd9e87 [Pipeline] echo 05:48:42 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] echo 05:48:42 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.1.0-dev.1 [Pipeline] echo 05:48:42 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-modbus-arm64:2f15f281678cccf9a75033b18da75fe627dd9e87-4.1.0-dev.1 [Pipeline] echo 05:48:42 Skip building multi-arch image for 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:48:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:48:42 05:48:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:48:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:48:42 arm64: Pulling from edgex-lftools-log-publisher 05:48:42 8998bd30e6a1: Pulling fs layer 05:48:42 04944245beec: Pulling fs layer 05:48:42 699f458cf7ca: Pulling fs layer 05:48:42 765212b225bb: Pulling fs layer 05:48:42 f23df028b6ca: Pulling fs layer 05:48:42 d65c8cfc05b1: Pulling fs layer 05:48:42 2437ff75d9bd: Pulling fs layer 05:48:42 f23df028b6ca: Waiting 05:48:42 d65c8cfc05b1: Waiting 05:48:42 2437ff75d9bd: Waiting 05:48:42 765212b225bb: Waiting 05:48:43 04944245beec: Verifying Checksum 05:48:43 04944245beec: Download complete 05:48:43 765212b225bb: Verifying Checksum 05:48:43 765212b225bb: Download complete 05:48:43 f23df028b6ca: Verifying Checksum 05:48:43 f23df028b6ca: Download complete 05:48:43 d65c8cfc05b1: Verifying Checksum 05:48:43 d65c8cfc05b1: Download complete 05:48:43 699f458cf7ca: Verifying Checksum 05:48:43 699f458cf7ca: Download complete 05:48:43 8998bd30e6a1: Download complete 05:48:46 2437ff75d9bd: Verifying Checksum 05:48:46 2437ff75d9bd: Download complete 05:48:48 8998bd30e6a1: Pull complete 05:48:48 04944245beec: Pull complete 05:48:50 699f458cf7ca: Pull complete 05:48:50 765212b225bb: Pull complete 05:48:51 f23df028b6ca: Pull complete 05:48:51 d65c8cfc05b1: Pull complete 05:49:09 2437ff75d9bd: Pull complete 05:49:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:49:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:49:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:49:10 prd-ubuntu20.04-docker-arm64-4c-16g-42403 does not seem to be running inside a container 05:49:10 $ 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/187 -v /w/workspace/device-modbus-go/187:/w/workspace/device-modbus-go/187:rw,z -v /w/workspace/device-modbus-go/187@tmp:/w/workspace/device-modbus-go/187@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:49:11 $ docker top c47dab79975c039b50b09406589957fd36a6be469c9b2fc238232ecfcc23b893 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:49:11 ---> job-cost.sh 05:49:12 lf-activate-venv: SKIPPING 05:49:12 INFO: No Stack... 05:49:12 INFO: Retrieving Pricing Info for: v3-standard-4 05:49:13 INFO: Archiving Costs [Pipeline] sh 05:49:13 + cat /w/workspace/device-modbus-go/187/archives/cost.csv 05:49:13 + cut -d, -f6 [Pipeline] lock 05:49:13 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-187-stack-cost] 05:49:13 Resource [jenkins-edgexfoundry-device-modbus-go-main-187-stack-cost] did not exist. Created. 05:49:13 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-187-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:49:14 /w/workspace/device-modbus-go/187@tmp/durable-f1a35922/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:49:14 + echo total: 0.10999999940395355 [Pipeline] stash 05:49:14 Warning: overwriting stash ‘stack-cost’ 05:49:14 Stashed 1 file(s) [Pipeline] } 05:49:14 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-187-stack-cost] [Pipeline] // lock [Pipeline] } 05:49:14 $ docker stop --time=1 c47dab79975c039b50b09406589957fd36a6be469c9b2fc238232ecfcc23b893 05:49:16 $ docker rm -f --volumes c47dab79975c039b50b09406589957fd36a6be469c9b2fc238232ecfcc23b893 [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:49:16 provisioning config files... 05:49:16 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4850465693703250850tmp [Pipeline] { [Pipeline] sh 05:49:16 + set +x 05:49:16 + curl -s https://codecov.io/bash 05:49:16 + bash -s -- 05:49:16 05:49:16 _____ _ 05:49:16 / ____| | | 05:49:16 | | ___ __| | ___ ___ _____ __ 05:49:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:49:16 | |___| (_) | (_| | __/ (_| (_) \ V / 05:49:16 \_____\___/ \__,_|\___|\___\___/ \_/ 05:49:16 Bash-1.0.6 05:49:16 05:49:16 05:49:16 ==> git version 2.25.1 found 05:49:16 ==> 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:49:16 Release-Date: 2020-01-08 05:49:16 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:49:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:49:16 ==> Jenkins CI detected. 05:49:16 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 05:49:16 project root: . 05:49:16 --> token set from env 05:49:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:49:16 ==> Running gcov in . (disable via -X gcov) 05:49:16 ==> Python coveragepy not found 05:49:16 ==> Searching for coverage reports in: 05:49:16 + . 05:49:16 -> Found 1 reports 05:49:16 ==> Detecting git/mercurial file structure 05:49:16 ==> Reading reports 05:49:16 + ./coverage.out bytes=26862 05:49:16 ==> Appending adjustments 05:49:16 https://docs.codecov.io/docs/fixing-reports 05:49:17 + Found adjustments 05:49:17 ==> Gzipping contents 05:49:17 8.0K /tmp/codecov.sOinR9.gz 05:49:17 ==> Uploading reports 05:49:17 url: https://codecov.io 05:49:17 query: branch=main&commit=2f15f281678cccf9a75033b18da75fe627dd9e87&build=187&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F187%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:49:17 -> Pinging Codecov 05:49:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=2f15f281678cccf9a75033b18da75fe627dd9e87&build=187&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F187%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:49:17 -> Uploading to 05:49:17 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-modbus-go/2f15f281678cccf9a75033b18da75fe627dd9e87/8dfb4e7b-e0c2-4630-b4fd-15652e97a923.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250331%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250331T054917Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=a7b2ac3ebeaa386ced5b55e0c291d9e514d62dc7f1e26ab0f815f2fbc56d4b94 05:49:17 % Total % Received % Xferd Average Speed Time Time Time Current 05:49:17 Dload Upload Total Spent Left Speed 05:49:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4133 0 0 100 4133 0 20359 --:--:-- --:--:-- --:--:-- 20259 100 4133 0 0 100 4133 0 13730 --:--:-- --:--:-- --:--:-- 13685 05:49:17 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/2f15f281678cccf9a75033b18da75fe627dd9e87 [Pipeline] } 05:49:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:49:18 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:49:18 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:49:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:49:18 05:49:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:49:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:49:18 latest: Pulling from edgex-devops/edgex-snyk-go 05:49:18 43c4264eed91: Pulling fs layer 05:49:18 4cc291be95ef: Pulling fs layer 05:49:18 2ac1f1163629: Pulling fs layer 05:49:18 5c3c966382ef: Pulling fs layer 05:49:18 4f4fb700ef54: Pulling fs layer 05:49:18 d9c7d2e4e75e: Pulling fs layer 05:49:18 9c3e1370e548: Pulling fs layer 05:49:18 4f4fb700ef54: Waiting 05:49:18 d9c7d2e4e75e: Waiting 05:49:18 9c3e1370e548: Waiting 05:49:18 5c3c966382ef: Waiting 05:49:18 4cc291be95ef: Download complete 05:49:18 5c3c966382ef: Verifying Checksum 05:49:18 5c3c966382ef: Download complete 05:49:18 4f4fb700ef54: Verifying Checksum 05:49:18 4f4fb700ef54: Download complete 05:49:18 43c4264eed91: Verifying Checksum 05:49:18 43c4264eed91: Download complete 05:49:18 43c4264eed91: Pull complete 05:49:18 d9c7d2e4e75e: Verifying Checksum 05:49:18 d9c7d2e4e75e: Download complete 05:49:18 4cc291be95ef: Pull complete 05:49:19 2ac1f1163629: Verifying Checksum 05:49:19 2ac1f1163629: Download complete 05:49:19 9c3e1370e548: Verifying Checksum 05:49:19 9c3e1370e548: Download complete 05:49:22 2ac1f1163629: Pull complete 05:49:22 5c3c966382ef: Pull complete 05:49:22 4f4fb700ef54: Pull complete 05:49:22 d9c7d2e4e75e: Pull complete 05:49:25 9c3e1370e548: Pull complete 05:49:25 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 05:49:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:49:25 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:49:25 prd-ubuntu20.04-docker-8c-8g-42402 does not seem to be running inside a container 05:49:25 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 05:49:28 $ docker top 3f5a2a0a27e0cc771fdd0e2ea62685bd1e5613e47f5e8265b40dd5a2236276ba -eo pid,comm [Pipeline] { [Pipeline] sh 05:49:28 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] echo 05:49:28 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 05:49:28 + set -o pipefail 05:49:28 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 05:49:39 05:49:39 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 05:49:39 05:49:39 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/0a0805b9-8982-40eb-8dbc-845f1ef902a3/history/1f7c1eff-a8ca-461e-b9ee-7680d75d5c1b 05:49:39 05:49:39 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 05:49:39 05:49:39 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:49:39 [Pipeline] } 05:49:39 $ docker stop --time=1 3f5a2a0a27e0cc771fdd0e2ea62685bd1e5613e47f5e8265b40dd5a2236276ba 05:49:42 $ docker rm -f --volumes 3f5a2a0a27e0cc771fdd0e2ea62685bd1e5613e47f5e8265b40dd5a2236276ba [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:49:42 + git log --format=format:%s -1 2f15f281678cccf9a75033b18da75fe627dd9e87 [Pipeline] sh 05:49:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:49:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:49:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:49:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:49:43 prd-ubuntu20.04-docker-8c-8g-42402 does not seem to be running inside a container 05:49:43 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:49:44 $ docker top bb5fc8323fa46c8e6d051f5d526bbfcad32ac2527cb93d850a98d7ec053b61f2 -eo pid,comm 05:49:44 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:49:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:49:44 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v4.0.0-dev.21' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:49:44 + git semver [Pipeline] } 05:49:44 $ docker stop --time=1 bb5fc8323fa46c8e6d051f5d526bbfcad32ac2527cb93d850a98d7ec053b61f2 05:49:46 $ docker rm -f --volumes bb5fc8323fa46c8e6d051f5d526bbfcad32ac2527cb93d850a98d7ec053b61f2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:49:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:49:46 05:49:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:49:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:49:46 0.23.1-centos7: Pulling from edgex-lftools 05:49:46 ab5ef0e58194: Pulling fs layer 05:49:46 9712f1f96733: Pulling fs layer 05:49:46 63f879dbbcfc: Pulling fs layer 05:49:46 0d9ebad4ef96: Pulling fs layer 05:49:46 e9a5061849ea: Pulling fs layer 05:49:46 d747dcd14b5f: Pulling fs layer 05:49:46 2de7ff778b66: Pulling fs layer 05:49:46 0d9ebad4ef96: Waiting 05:49:46 e9a5061849ea: Waiting 05:49:46 d747dcd14b5f: Waiting 05:49:46 9712f1f96733: Download complete 05:49:47 63f879dbbcfc: Verifying Checksum 05:49:47 63f879dbbcfc: Download complete 05:49:47 0d9ebad4ef96: Verifying Checksum 05:49:47 0d9ebad4ef96: Download complete 05:49:47 e9a5061849ea: Verifying Checksum 05:49:47 e9a5061849ea: Download complete 05:49:47 d747dcd14b5f: Verifying Checksum 05:49:47 d747dcd14b5f: Download complete 05:49:47 ab5ef0e58194: Download complete 05:49:47 2de7ff778b66: Verifying Checksum 05:49:47 2de7ff778b66: Download complete 05:49:50 ab5ef0e58194: Pull complete 05:49:50 9712f1f96733: Pull complete 05:49:50 63f879dbbcfc: Pull complete 05:49:53 0d9ebad4ef96: Pull complete 05:49:53 e9a5061849ea: Pull complete 05:49:54 d747dcd14b5f: Pull complete 05:49:55 2de7ff778b66: Pull complete 05:49:55 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:49:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:49:55 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:49:55 prd-ubuntu20.04-docker-8c-8g-42402 does not seem to be running inside a container 05:49:55 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:49:59 $ docker top c78cabf5098e8c63f842c62fee1401c808c229a7721b9f1bb827388f4dea6371 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:49:59 provisioning config files... 05:49:59 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config660449237479718446tmp 05:49:59 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16012539320669253109tmp 05:49:59 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14763250952650204547tmp [Pipeline] { [Pipeline] echo 05:49:59 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:49:59 ---> sigul-configuration.sh 05:49:59 gpg: directory `/root/.gnupg' created 05:49:59 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:49:59 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:49:59 gpg: keyring `/root/.gnupg/secring.gpg' created 05:49:59 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:49:59 gpg: CAST5 encrypted data 05:49:59 gpg: encrypted with 1 passphrase 05:49:59 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:50:00 + mkdir /home/jenkins 05:50:00 + mkdir /home/jenkins/sigul [Pipeline] sh 05:50:00 + 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:50:00 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:50:00 ---> sigul-install.sh 05:50:00 Sigul already installed; skipping installation. [Pipeline] sh 05:50:00 + git tag --list 05:50:00 0.7.1 05:50:00 v1.0.0 05:50:00 v1.1.0 05:50:00 v1.1.1 05:50:00 v1.2.2 05:50:00 v1.3.0 05:50:00 v1.3.1 05:50:00 v2.0.0 05:50:00 v2.1.0 05:50:00 v2.1.1 05:50:00 v2.2.0 05:50:00 v2.3.0 05:50:00 v3.0 05:50:00 v3.0.0 05:50:00 v3.1 05:50:00 v3.1.0 05:50:00 v3.1.1 05:50:00 v4.0 05:50:00 v4.0.0 05:50:00 v4.0.0-dev.1 05:50:00 v4.0.0-dev.10 05:50:00 v4.0.0-dev.11 05:50:00 v4.0.0-dev.12 05:50:00 v4.0.0-dev.13 05:50:00 v4.0.0-dev.14 05:50:00 v4.0.0-dev.15 05:50:00 v4.0.0-dev.16 05:50:00 v4.0.0-dev.17 05:50:00 v4.0.0-dev.18 05:50:00 v4.0.0-dev.19 05:50:00 v4.0.0-dev.2 05:50:00 v4.0.0-dev.20 05:50:00 v4.0.0-dev.21 05:50:00 v4.0.0-dev.3 05:50:00 v4.0.0-dev.4 05:50:00 v4.0.0-dev.5 05:50:00 v4.0.0-dev.6 05:50:00 v4.0.0-dev.7 05:50:00 v4.0.0-dev.8 05:50:00 v4.0.0-dev.9 [Pipeline] sh 05:50:01 + lftools sign git-tag v4.1.0-dev.1 05:50:01 Signing Git tag with Sigul... 05:50:01 Signing v4.1.0-dev.1 05:50:01 Error while calling git, args ['git', 'show-ref', '-s', 'refs/tags/v4.1.0-dev.1'], return code 1, stdout , stderr [Pipeline] echo 05:50:01 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:50:02 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:50:02 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:50:02 $ docker stop --time=1 c78cabf5098e8c63f842c62fee1401c808c229a7721b9f1bb827388f4dea6371 05:50:03 $ docker rm -f --volumes c78cabf5098e8c63f842c62fee1401c808c229a7721b9f1bb827388f4dea6371 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:50:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:50:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:50:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:50:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:50:04 prd-ubuntu20.04-docker-8c-8g-42402 does not seem to be running inside a container 05:50:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:50:04 $ docker top 2a6e96c2af0f16c85e15a82d5be2c643d124183fd8df8f053a138b528f90c36c -eo pid,comm 05:50:04 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:50:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:50:04 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v4.0.0-dev.21' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:50:05 + git semver [Pipeline] } 05:50:05 $ docker stop --time=1 2a6e96c2af0f16c85e15a82d5be2c643d124183fd8df8f053a138b528f90c36c 05:50:06 $ docker rm -f --volumes 2a6e96c2af0f16c85e15a82d5be2c643d124183fd8df8f053a138b528f90c36c [Pipeline] // withDockerContainer [Pipeline] sh 05:50:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:50:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:50:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:50:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:50:07 prd-ubuntu20.04-docker-8c-8g-42402 does not seem to be running inside a container 05:50:07 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:50:08 $ docker top 084e552189d5c54f61e21edc9bb1b02b5b554cd2f40c382feb5e07439a3a01d4 -eo pid,comm 05:50:08 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:50:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:50:08 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v4.0.0-dev.21' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:50:12 + git semver [Pipeline] } 05:50:12 $ docker stop --time=1 084e552189d5c54f61e21edc9bb1b02b5b554cd2f40c382feb5e07439a3a01d4 05:50:13 $ docker rm -f --volumes 084e552189d5c54f61e21edc9bb1b02b5b554cd2f40c382feb5e07439a3a01d4 [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:50:14 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 05:50:14 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 05:50:14 total 16 05:50:14 drwxr-xr-x 3 root root 4096 Mar 31 05:40 . 05:50:14 drwxrwxr-x 10 jenkins jenkins 4096 Mar 31 05:50 .. 05:50:14 drwxr-xr-x 2 root root 4096 Mar 31 05:40 cost 05:50:14 -rw-r--r-- 1 root root 88 Mar 31 05:40 cost.csv 05:50:14 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 05:50:14 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 05:50:14 total 16 05:50:14 drwxr-xr-x 3 jenkins jenkins 4096 Mar 31 05:40 . 05:50:14 drwxrwxr-x 10 jenkins jenkins 4096 Mar 31 05:50 .. 05:50:14 drwxr-xr-x 2 jenkins jenkins 4096 Mar 31 05:40 cost 05:50:14 -rw-r--r-- 1 jenkins jenkins 88 Mar 31 05:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:50:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:50:15 ---> package-listing.sh 05:50:15 ++ facter osfamily 05:50:15 ++ tr '[:upper:]' '[:lower:]' 05:50:15 + OS_FAMILY=debian 05:50:15 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 05:50:15 + START_PACKAGES=/tmp/packages_start.txt 05:50:15 + END_PACKAGES=/tmp/packages_end.txt 05:50:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:50:15 + PACKAGES=/tmp/packages_start.txt 05:50:15 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 05:50:15 + PACKAGES=/tmp/packages_end.txt 05:50:15 + case "${OS_FAMILY}" in 05:50:15 + dpkg -l 05:50:15 + grep '^ii' 05:50:15 + '[' -f /tmp/packages_start.txt ']' 05:50:15 + '[' -f /tmp/packages_end.txt ']' 05:50:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:50:15 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 05:50:15 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 05:50:15 + 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:50:15 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:50:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:50:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:50:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:50:16 prd-ubuntu20.04-docker-8c-8g-42402 does not seem to be running inside a container 05:50:16 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:50:16 $ docker top a3f04117a5b8018fea337025c632d40855974554e8380da0ef2742272f7e234b -eo pid,comm [Pipeline] { [Pipeline] sh 05:50:17 + touch /tmp/pre-build-complete [Pipeline] sh 05:50:17 + mkdir -p /var/log/sysstat [Pipeline] sh 05:50:17 + ls /var/log/sa-host 05:50:17 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:50:17 provisioning config files... 05:50:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13468620737847394363tmp [Pipeline] { [Pipeline] echo 05:50:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:50:18 ---> create-netrc.sh [Pipeline] } 05:50:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:50:18 ---> python-tools-install.sh [Pipeline] echo 05:50:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:50:18 ---> sudo-logs.sh 05:50:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:50:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:50:18 ---> job-cost.sh 05:50:18 lf-activate-venv: SKIPPING 05:50:18 DEBUG: total: 0.2199999988079071 05:50:18 INFO: Retrieving Stack Cost... 05:50:19 INFO: Retrieving Pricing Info for: v3-standard-8 05:50:19 INFO: Archiving Costs [Pipeline] echo 05:50:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:50:20 ---> logs-deploy.sh 05:50:20 lf-activate-venv: SKIPPING 05:50:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/187 05:50:20 INFO: archiving workspace using pattern(s): 05:50:21 Archives upload complete. 05:50:21 INFO: archiving logs to Nexus