Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0def27edd13f0f026962cc349c20b477b0871f96 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-ssh3825222726081957393.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh13575472194550742537.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh3261549052275566182.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh13616287188861456755.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-ssh15585397589363759671.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-26335 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0def27edd13f0f026962cc349c20b477b0871f96 (main) Commit message: "Merge pull request #593 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.7" > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0def27edd13f0f026962cc349c20b477b0871f96 # timeout=10 > git rev-list --no-walk aac4c7d4bf7ab00be6801211183b9038e4c857bf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:33:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:33:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:33:33 ========================================================= 05:33:33 EdgeX Global Pipelines Version Info 05:33:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:33:34 ------------------- 05:33:34 stable info: 05:33:34 ------------------- 05:33:34 Commited By: Ginny Guan ginny@iotechsys.com 05:33:34 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 05:33:34 Message: update stable to v1.0.265 05:33:34 ------------------- 05:33:34 experimental info: 05:33:34 ------------------- 05:33:34 Commited By: Cherry Wang cherry@iotechsys.com 05:33:34 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 05:33:34 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:33:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:33:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:33:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:33:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:33:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:33:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 05:33:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:33:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:33:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:33:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:33:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:33:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:33:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:33:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:33:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:33:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:33:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:33:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:33:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:33:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:33:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:33:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:33:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:33:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:33:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:33:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:33:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:33:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:33:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:33:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:33:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0def27edd13f0f026962cc349c20b477b0871f96 [Pipeline] echo 05:33:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0def27e [Pipeline] echo 05:33:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:33:35 provisioning config files... 05:33:35 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config840582556687666432tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:33:36 ---> ****-login.sh 05:33:36 nexus3.edgexfoundry.org:10001 05:33:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:33:36 Configure a credential helper to remove this warning. See 05:33:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:33:36 05:33:36 Login Succeeded 05:33:36 nexus3.edgexfoundry.org:10002 05:33:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:33:36 Configure a credential helper to remove this warning. See 05:33:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:33:36 05:33:36 Login Succeeded 05:33:36 nexus3.edgexfoundry.org:10003 05:33:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:33:36 Configure a credential helper to remove this warning. See 05:33:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:33:36 05:33:36 Login Succeeded 05:33:36 nexus3.edgexfoundry.org:10004 05:33:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:33:36 Configure a credential helper to remove this warning. See 05:33:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:33:36 05:33:36 Login Succeeded 05:33:36 ****.io 05:33:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:33:37 Configure a credential helper to remove this warning. See 05:33:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:33:37 05:33:37 Login Succeeded 05:33:37 ---> ****-login.sh ends [Pipeline] } 05:33:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:33:37 + git rev-list -1 --merges 0def27edd13f0f026962cc349c20b477b0871f96~1..0def27edd13f0f026962cc349c20b477b0871f96 [Pipeline] echo 05:33:37 -----------> git rev-list -1 --merges 0def27edd13f0f026962cc349c20b477b0871f96~1..0def27edd13f0f026962cc349c20b477b0871f96 0def27edd13f0f026962cc349c20b477b0871f96 05:33:37 0def27edd13f0f026962cc349c20b477b0871f96 [false] [Pipeline] sh 05:33:38 + git log --format=format:%s -1 0def27edd13f0f026962cc349c20b477b0871f96 [Pipeline] echo 05:33:38 ========================================================= 05:33:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:33:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:33:38 + git log --format=format:%s -1 0def27edd13f0f026962cc349c20b477b0871f96 [Pipeline] echo 05:33:38 [semverPrep] GIT_COMMIT: 0def27edd13f0f026962cc349c20b477b0871f96, Commit Message: Merge pull request #593 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.7 [Pipeline] echo 05:33:38 [semverPrep] This is not a build commit. [Pipeline] sh 05:33:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:33:38 + grep -v github /etc/ssh/ssh_known_hosts 05:33:38 + [ -e /tmp/ssh_known_hosts ] 05:33:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:33:38 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 05:33:38 tee -a /etc/ssh/ssh_known_hosts 05:33:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:33:39 05:33:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:33:39 0.1.4: Pulling from edgex-devops/py-git-semver 05:33:39 b85a868b505f: Pulling fs layer 05:33:39 e2be974225ed: Pulling fs layer 05:33:39 339a4e72a1f5: Pulling fs layer 05:33:39 988bab9f4d93: Pulling fs layer 05:33:39 1469e6f7b9e6: Pulling fs layer 05:33:39 eaf3925da568: Pulling fs layer 05:33:39 bab4dde63d76: Pulling fs layer 05:33:39 bde34c3a00c8: Pulling fs layer 05:33:39 b352a97aabf1: Pulling fs layer 05:33:39 4872d77fe225: Pulling fs layer 05:33:39 5851b861e8e6: Pulling fs layer 05:33:39 bab4dde63d76: Waiting 05:33:39 bde34c3a00c8: Waiting 05:33:39 b352a97aabf1: Waiting 05:33:39 4872d77fe225: Waiting 05:33:39 5851b861e8e6: Waiting 05:33:39 1469e6f7b9e6: Waiting 05:33:39 988bab9f4d93: Waiting 05:33:39 eaf3925da568: Waiting 05:33:39 e2be974225ed: Download complete 05:33:39 988bab9f4d93: Verifying Checksum 05:33:39 988bab9f4d93: Download complete 05:33:39 1469e6f7b9e6: Verifying Checksum 05:33:39 1469e6f7b9e6: Download complete 05:33:39 eaf3925da568: Download complete 05:33:39 339a4e72a1f5: Verifying Checksum 05:33:39 339a4e72a1f5: Download complete 05:33:39 bde34c3a00c8: Verifying Checksum 05:33:39 bde34c3a00c8: Download complete 05:33:39 b352a97aabf1: Download complete 05:33:39 4872d77fe225: Verifying Checksum 05:33:39 4872d77fe225: Download complete 05:33:39 5851b861e8e6: Verifying Checksum 05:33:39 5851b861e8e6: Download complete 05:33:39 b85a868b505f: Download complete 05:33:40 bab4dde63d76: Verifying Checksum 05:33:40 bab4dde63d76: Download complete 05:33:40 b85a868b505f: Pull complete 05:33:41 e2be974225ed: Pull complete 05:33:41 339a4e72a1f5: Pull complete 05:33:41 988bab9f4d93: Pull complete 05:33:42 1469e6f7b9e6: Pull complete 05:33:42 eaf3925da568: Pull complete 05:33:43 bab4dde63d76: Pull complete 05:33:43 bde34c3a00c8: Pull complete 05:33:43 b352a97aabf1: Pull complete 05:33:44 4872d77fe225: Pull complete 05:33:44 5851b861e8e6: Pull complete 05:33:44 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:33:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:33:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:33:44 prd-ubuntu20.04-docker-8c-8g-26335 does not seem to be running inside a container 05:33:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:33:47 $ docker top 78cefc32e7486a3f635819dba8d46be328affb3ef4bd126189b40106d5ce2584 -eo pid,comm 05:33:47 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:33:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:33:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:33:47 [ssh-agent] Looking for ssh-agent implementation... 05:33:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:33:47 $ docker exec 78cefc32e7486a3f635819dba8d46be328affb3ef4bd126189b40106d5ce2584 ssh-agent 05:33:47 SSH_AUTH_SOCK=/tmp/ssh-UtDGzRt6YJAz/agent.33 05:33:47 SSH_AGENT_PID=39 05:33:47 Running ssh-add (command line suppressed) 05:33:47 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2863256063441170863.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2863256063441170863.key) 05:33:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:33:48 + git tag --points-at HEAD [Pipeline] } 05:33:48 $ docker exec --env ******** --env ******** 78cefc32e7486a3f635819dba8d46be328affb3ef4bd126189b40106d5ce2584 ssh-agent -k 05:33:48 unset SSH_AUTH_SOCK; 05:33:48 unset SSH_AGENT_PID; 05:33:48 echo Agent pid 39 killed; 05:33:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:33:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:33:48 [ssh-agent] Looking for ssh-agent implementation... 05:33:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:33:48 $ docker exec 78cefc32e7486a3f635819dba8d46be328affb3ef4bd126189b40106d5ce2584 ssh-agent 05:33:48 SSH_AUTH_SOCK=/tmp/ssh-D8js4stf8110/agent.72 05:33:48 SSH_AGENT_PID=78 05:33:48 Running ssh-add (command line suppressed) 05:33:48 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2851978692548582914.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2851978692548582914.key) 05:33:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:33:48 + git semver init 05:33:49 2024-11-13 05:33:49,007 [run_init] DEBUG init version:0.0.0 force:False 05:33:49 2024-11-13 05:33:49,008 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 05:33:49 2024-11-13 05:33:49,008 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 05:33:49 2024-11-13 05:33:49,008 [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:33:50 2024-11-13 05:33:50,029 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 05:33:50 2024-11-13 05:33:50,029 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 05:33:50 2024-11-13 05:33:50,030 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:33:50 2024-11-13 05:33:50,030 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:33:50 4.0.0-dev.6 [Pipeline] } 05:33:50 $ docker exec --env ******** --env ******** 78cefc32e7486a3f635819dba8d46be328affb3ef4bd126189b40106d5ce2584 ssh-agent -k 05:33:50 unset SSH_AUTH_SOCK; 05:33:50 unset SSH_AGENT_PID; 05:33:50 echo Agent pid 78 killed; 05:33:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:33:50 + git semver [Pipeline] } 05:33:50 $ docker stop --time=1 78cefc32e7486a3f635819dba8d46be328affb3ef4bd126189b40106d5ce2584 05:33:52 $ docker rm -f --volumes 78cefc32e7486a3f635819dba8d46be328affb3ef4bd126189b40106d5ce2584 [Pipeline] // withDockerContainer [Pipeline] sh 05:33:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:33:52 Stashed 1 file(s) [Pipeline] echo 05:33:52 [edgeXSemver]: initialized semver on version 4.0.0-dev.6 [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:33:52 provisioning config files... 05:33:52 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2240708537741912544tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:33:53 ---> ****-login.sh 05:33:53 nexus3.edgexfoundry.org:10001 05:33:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:33:53 Configure a credential helper to remove this warning. See 05:33:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:33:53 05:33:53 Login Succeeded 05:33:53 nexus3.edgexfoundry.org:10002 05:33:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:33:53 Configure a credential helper to remove this warning. See 05:33:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:33:53 05:33:53 Login Succeeded 05:33:53 nexus3.edgexfoundry.org:10003 05:33:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:33:53 Configure a credential helper to remove this warning. See 05:33:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:33:53 05:33:53 Login Succeeded 05:33:53 nexus3.edgexfoundry.org:10004 05:33:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:33:53 Configure a credential helper to remove this warning. See 05:33:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:33:53 05:33:53 Login Succeeded 05:33:53 ****.io 05:33:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:33:53 Configure a credential helper to remove this warning. See 05:33:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:33:53 05:33:53 Login Succeeded 05:33:53 ---> ****-login.sh ends [Pipeline] } 05:33:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:33:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:33:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:33:53 ========================================================= 05:33:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 05:33:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:54 + 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:33:54 Sending build context to Docker daemon 18.03MB 05:33:54 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 05:33:54 Step 2/10 : FROM ${BASE} AS builder 05:33:54 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 05:33:54 43c4264eed91: Pulling fs layer 05:33:54 4cc291be95ef: Pulling fs layer 05:33:54 2ac1f1163629: Pulling fs layer 05:33:54 5c3c966382ef: Pulling fs layer 05:33:54 4f4fb700ef54: Pulling fs layer 05:33:54 5d5c8e513c77: Pulling fs layer 05:33:54 9f66e0745190: Pulling fs layer 05:33:54 f49a43e4bbc0: Pulling fs layer 05:33:54 561ebcabdf7f: Pulling fs layer 05:33:54 5c3c966382ef: Waiting 05:33:54 4f4fb700ef54: Waiting 05:33:54 5d5c8e513c77: Waiting 05:33:54 9f66e0745190: Waiting 05:33:54 f49a43e4bbc0: Waiting 05:33:54 561ebcabdf7f: Waiting 05:33:54 4cc291be95ef: Download complete 05:33:54 5c3c966382ef: Download complete 05:33:54 4f4fb700ef54: Verifying Checksum 05:33:54 4f4fb700ef54: Download complete 05:33:54 5d5c8e513c77: Verifying Checksum 05:33:54 5d5c8e513c77: Download complete 05:33:54 43c4264eed91: Verifying Checksum 05:33:54 43c4264eed91: Download complete 05:33:54 9f66e0745190: Verifying Checksum 05:33:54 9f66e0745190: Download complete 05:33:54 43c4264eed91: Pull complete 05:33:54 561ebcabdf7f: Download complete 05:33:54 4cc291be95ef: Pull complete 05:33:54 2ac1f1163629: Verifying Checksum 05:33:54 2ac1f1163629: Download complete 05:33:55 f49a43e4bbc0: Verifying Checksum 05:33:55 f49a43e4bbc0: Download complete 05:33:58 2ac1f1163629: Pull complete 05:33:58 5c3c966382ef: Pull complete 05:33:58 4f4fb700ef54: Pull complete 05:33:58 5d5c8e513c77: Pull complete 05:33:58 9f66e0745190: Pull complete 05:34:01 f49a43e4bbc0: Pull complete 05:34:01 561ebcabdf7f: Pull complete 05:34:01 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 05:34:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 05:34:01 ---> 3a752c3f9dda 05:34:01 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:34:05 ---> Running in 42427632c141 05:34:05 Removing intermediate container 42427632c141 05:34:05 ---> 4b862637e271 05:34:05 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:34:05 ---> Running in 6a5b4e41306e 05:34:05 Removing intermediate container 6a5b4e41306e 05:34:05 ---> ffac331bb3bd 05:34:05 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:34:05 ---> Running in b31795cf7b71 05:34:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:34:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:34:05 (1/8) Installing openssh-keygen (9.7_p1-r4) 05:34:05 (2/8) Installing libedit (20240517.3.1-r0) 05:34:05 (3/8) Installing openssh-client-common (9.7_p1-r4) 05:34:05 (4/8) Installing openssh-client-default (9.7_p1-r4) 05:34:06 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 05:34:06 (6/8) Installing openssh-server-common (9.7_p1-r4) 05:34:06 (7/8) Installing openssh-server (9.7_p1-r4) 05:34:06 (8/8) Installing openssh (9.7_p1-r4) 05:34:06 Executing busybox-1.36.1-r29.trigger 05:34:06 OK: 252 MiB in 62 packages 05:34:06 Removing intermediate container b31795cf7b71 05:34:06 ---> 95080aab0cfc 05:34:06 Step 6/10 : WORKDIR /device-modbus-go 05:34:06 ---> Running in a96886ef74f8 05:34:06 Removing intermediate container a96886ef74f8 05:34:06 ---> 6e17b3979c9b 05:34:06 Step 7/10 : COPY go.mod vendor* ./ 05:34:06 ---> 802f6d35a6ea 05:34:06 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:34:06 ---> Running in f9a17131822f 05:34:07 Still waiting to schedule task 05:34:07 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-26334’ 05:34:53 Removing intermediate container f9a17131822f 05:34:53 ---> fbc3f99d8019 05:34:53 Step 9/10 : COPY . . 05:34:53 ---> 3a4f0a61c3e4 05:34:53 Step 10/10 : RUN ${MAKE} 05:34:53 ---> Running in a4cee90fddb9 05:34:53 noop 05:34:53 Removing intermediate container a4cee90fddb9 05:34:53 ---> 733aad8ccac9 05:34:53 Successfully built 733aad8ccac9 05:34:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:34:53 + docker inspect -f . ci-base-image-x86_64 05:34:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:34:53 prd-ubuntu20.04-docker-8c-8g-26335 does not seem to be running inside a container 05:34:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:34:54 $ docker top c37a5f544268f0b7c233401db54e3ee794e64e0b673ee03b6e127ac7b18ad1ce -eo pid,comm [Pipeline] { [Pipeline] sh 05:34:54 + go version 05:34:54 go version go1.23.2 linux/amd64 [Pipeline] } 05:34:54 $ docker stop --time=1 c37a5f544268f0b7c233401db54e3ee794e64e0b673ee03b6e127ac7b18ad1ce 05:34:55 $ docker rm -f --volumes c37a5f544268f0b7c233401db54e3ee794e64e0b673ee03b6e127ac7b18ad1ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:34:56 + docker inspect -f . ci-base-image-x86_64 05:34:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:34:56 prd-ubuntu20.04-docker-8c-8g-26335 does not seem to be running inside a container 05:34:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:34:56 $ docker top 63f0c85272f048c12f65860e0f1c057fbfe8ade91a1c2fbb5aa78a386041cb96 -eo pid,comm [Pipeline] { [Pipeline] sh 05:34:56 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 05:34:57 + make test 05:34:57 go test ./... -coverprofile=coverage.out 05:34:59 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:35:17 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 05:35:17 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 48.0% of statements 05:35:27 go vet ./... 05:35:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:35:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:35:32 ./bin/test-attribution-txt.sh [Pipeline] echo 05:35:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:35:32 $ docker stop --time=1 63f0c85272f048c12f65860e0f1c057fbfe8ade91a1c2fbb5aa78a386041cb96 05:35:36 $ docker rm -f --volumes 63f0c85272f048c12f65860e0f1c057fbfe8ade91a1c2fbb5aa78a386041cb96 [Pipeline] // withDockerContainer [Pipeline] sh 05:35:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:35:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:35:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:35:37 + ls -al . 05:35:37 total 260 05:35:37 drwxrwxr-x 9 jenkins jenkins 4096 Nov 13 05:34 . 05:35:37 drwxrwxr-x 4 jenkins jenkins 4096 Nov 13 05:33 .. 05:35:37 -rw-rw-r-- 1 jenkins jenkins 140 Nov 13 05:33 .dockerignore 05:35:37 drwxrwxr-x 8 jenkins jenkins 4096 Nov 13 05:35 .git 05:35:37 drwxrwxr-x 3 jenkins jenkins 4096 Nov 13 05:33 .github 05:35:37 -rw-rw-r-- 1 jenkins jenkins 266 Nov 13 05:33 .gitignore 05:35:37 -rw-rw-r-- 1 jenkins jenkins 199 Nov 13 05:33 .golangci.yml 05:35:37 drwxr-xr-x 3 jenkins jenkins 4096 Nov 13 05:33 .semver 05:35:37 -rw-rw-r-- 1 jenkins jenkins 19818 Nov 13 05:33 Attribution.txt 05:35:37 -rw-rw-r-- 1 jenkins jenkins 16388 Nov 13 05:33 CHANGELOG.md 05:35:37 -rw-rw-r-- 1 jenkins jenkins 1479 Nov 13 05:33 Dockerfile 05:35:37 -rw-rw-r-- 1 jenkins jenkins 677 Nov 13 05:33 GOVERNANCE.md 05:35:37 -rw-rw-r-- 1 jenkins jenkins 658 Nov 13 05:33 Jenkinsfile 05:35:37 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 13 05:33 LICENSE 05:35:37 -rw-rw-r-- 1 jenkins jenkins 2524 Nov 13 05:33 Makefile 05:35:37 -rw-rw-r-- 1 jenkins jenkins 622 Nov 13 05:33 OWNERS.md 05:35:37 -rw-rw-r-- 1 jenkins jenkins 4463 Nov 13 05:33 README.md 05:35:37 -rw-rw-r-- 1 jenkins jenkins 11 Nov 13 05:33 VERSION 05:35:37 drwxrwxr-x 2 jenkins jenkins 4096 Nov 13 05:33 bin 05:35:37 drwxrwxr-x 3 jenkins jenkins 4096 Nov 13 05:33 cmd 05:35:37 -rw-r--r-- 1 jenkins jenkins 25464 Nov 13 05:35 coverage.out 05:35:37 -rw-rw-r-- 1 jenkins jenkins 6441 Nov 13 05:33 go.mod 05:35:37 -rw-rw-r-- 1 jenkins jenkins 87679 Nov 13 05:33 go.sum 05:35:37 drwxrwxr-x 3 jenkins jenkins 4096 Nov 13 05:33 internal 05:35:37 drwxrwxr-x 2 jenkins jenkins 4096 Nov 13 05:33 simulator 05:35:37 -rw-rw-r-- 1 jenkins jenkins 229 Nov 13 05:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:35:38 + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=0def27edd13f0f026962cc349c20b477b0871f96 --label arch=amd64 --label version=4.0.0-dev.6 . 05:35:38 Sending build context to Docker daemon 18.06MB 05:35:38 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 05:35:38 Step 2/23 : FROM ${BASE} AS builder 05:35:38 ---> 733aad8ccac9 05:35:38 Step 3/23 : ARG ADD_BUILD_TAGS="" 05:35:38 ---> Running in 0c5c27196939 05:35:38 Removing intermediate container 0c5c27196939 05:35:38 ---> 8e18c7177f26 05:35:38 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:35:38 ---> Running in f673437f8cbd 05:35:38 Removing intermediate container f673437f8cbd 05:35:38 ---> aec71e903c28 05:35:38 Step 5/23 : RUN apk add --update --no-cache make git openssh 05:35:38 ---> Running in 38559228d295 05:35:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:35:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:35:39 OK: 252 MiB in 62 packages 05:35:39 Removing intermediate container 38559228d295 05:35:39 ---> 44da652b4bc9 05:35:39 Step 6/23 : WORKDIR /device-modbus-go 05:35:39 ---> Running in 13d0b8998eff 05:35:39 Removing intermediate container 13d0b8998eff 05:35:39 ---> 58300363a5ac 05:35:39 Step 7/23 : COPY go.mod vendor* ./ 05:35:39 ---> 1773ccd61c29 05:35:39 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:35:40 ---> Running in 94ff75ad1755 05:35:40 Removing intermediate container 94ff75ad1755 05:35:40 ---> ea521847e289 05:35:40 Step 9/23 : COPY . . 05:35:41 ---> 61efbc83f32b 05:35:41 Step 10/23 : RUN ${MAKE} 05:35:41 ---> Running in 8c8ba0cc18b6 05:35:41 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=4.0.0-dev.6 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.7 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 05:36:13 Removing intermediate container 8c8ba0cc18b6 05:36:13 ---> efb0d49104d9 05:36:13 Step 11/23 : FROM alpine:3.20 05:36:13 3.20: Pulling from library/alpine 05:36:13 da9db072f522: Pulling fs layer 05:36:13 da9db072f522: Verifying Checksum 05:36:13 da9db072f522: Download complete 05:36:13 da9db072f522: Pull complete 05:36:13 Digest: sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 05:36:13 Status: Downloaded newer image for alpine:3.20 05:36:13 ---> 63b790fccc90 05:36:13 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 05:36:13 ---> Running in 7e0bc777d584 05:36:13 Removing intermediate container 7e0bc777d584 05:36:13 ---> 80cef324063f 05:36:13 Step 13/23 : RUN apk add --update --no-cache dumb-init 05:36:13 ---> Running in 96500967865b 05:36:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:36:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:36:13 (1/1) Installing dumb-init (1.2.5-r3) 05:36:13 Executing busybox-1.36.1-r29.trigger 05:36:13 OK: 8 MiB in 15 packages 05:36:13 Removing intermediate container 96500967865b 05:36:13 ---> 53b1bd991374 05:36:13 Step 14/23 : RUN apk --no-cache upgrade 05:36:13 ---> Running in 98e3a0ae36aa 05:36:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:36:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:36:14 Upgrading critical system libraries and apk-tools: 05:36:14 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 05:36:14 Executing busybox-1.36.1-r29.trigger 05:36:14 Continuing the upgrade transaction with new apk-tools: 05:36:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:36:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:36:14 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 05:36:14 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 05:36:14 OK: 8 MiB in 15 packages 05:36:14 Removing intermediate container 98e3a0ae36aa 05:36:14 ---> 53c072233e96 05:36:14 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:36:15 ---> 312427d65e7d 05:36:15 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:36:16 ---> 838df25aa814 05:36:16 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:36:16 ---> 20e7db15f026 05:36:16 Step 18/23 : EXPOSE 59901 05:36:16 ---> Running in 4b68178920fb 05:36:16 Removing intermediate container 4b68178920fb 05:36:16 ---> 6fe5332d97be 05:36:16 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:36:16 ---> Running in d870aa3c3a1a 05:36:16 Removing intermediate container d870aa3c3a1a 05:36:16 ---> 915aa4f1ebba 05:36:16 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 05:36:16 ---> Running in 87e78958810b 05:36:16 Removing intermediate container 87e78958810b 05:36:16 ---> 54fe9bf89fe1 05:36:16 Step 21/23 : LABEL arch=amd64 05:36:16 ---> Running in 4efcb71a4635 05:36:16 Removing intermediate container 4efcb71a4635 05:36:16 ---> c8474a1d2d78 05:36:16 Step 22/23 : LABEL git_sha=0def27edd13f0f026962cc349c20b477b0871f96 05:36:16 ---> Running in 6354f164527b 05:36:16 Removing intermediate container 6354f164527b 05:36:16 ---> c3bdcc858d9d 05:36:16 Step 23/23 : LABEL version=4.0.0-dev.6 05:36:16 ---> Running in de11750d81e4 05:36:16 Removing intermediate container de11750d81e4 05:36:16 ---> b41a76d781c7 05:36:16 [Warning] One or more build-args [ARCH] were not consumed 05:36:16 Successfully built b41a76d781c7 05:36:16 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:36:16 provisioning config files... 05:36:16 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7816881238868468011tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:36:17 ---> ****-login.sh 05:36:17 nexus3.edgexfoundry.org:10001 05:36:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:36:17 Configure a credential helper to remove this warning. See 05:36:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:36:17 05:36:17 Login Succeeded 05:36:17 nexus3.edgexfoundry.org:10002 05:36:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:36:17 Configure a credential helper to remove this warning. See 05:36:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:36:17 05:36:17 Login Succeeded 05:36:17 nexus3.edgexfoundry.org:10003 05:36:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:36:17 Configure a credential helper to remove this warning. See 05:36:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:36:17 05:36:17 Login Succeeded 05:36:17 nexus3.edgexfoundry.org:10004 05:36:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:36:17 Configure a credential helper to remove this warning. See 05:36:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:36:17 05:36:17 Login Succeeded 05:36:17 ****.io 05:36:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:36:17 Configure a credential helper to remove this warning. See 05:36:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:36:17 05:36:17 Login Succeeded 05:36:17 ---> ****-login.sh ends [Pipeline] } 05:36:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:36:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:36:17 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 05:36:17 0def27edd13f0f026962cc349c20b477b0871f96 05:36:17 latest 05:36:17 4.0.0-dev.6 05:36:17 0def27edd13f0f026962cc349c20b477b0871f96-4.0.0-dev.6 05:36:17 main 05:36:17 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:18 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:0def27edd13f0f026962cc349c20b477b0871f96 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:18 + docker push nexus3.edgexfoundry.org:10004/device-modbus:0def27edd13f0f026962cc349c20b477b0871f96 05:36:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:36:18 65250132edb5: Preparing 05:36:18 9249dd512851: Preparing 05:36:18 bbc23fc1b2b3: Preparing 05:36:18 7d9acc034335: Preparing 05:36:18 d7c29ee7f772: Preparing 05:36:18 75654b8eeebd: Preparing 05:36:18 75654b8eeebd: Waiting 05:36:18 9249dd512851: Pushed 05:36:18 d7c29ee7f772: Pushed 05:36:18 65250132edb5: Pushed 05:36:18 75654b8eeebd: Layer already exists 05:36:18 7d9acc034335: Pushed 05:36:21 bbc23fc1b2b3: Pushed 05:36:21 0def27edd13f0f026962cc349c20b477b0871f96: digest: sha256:1ac4dfcb4c072faa5afb06120bb699d60787af0f794b4fc41b8349255f8b64f0 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:21 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:22 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 05:36:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:36:22 65250132edb5: Preparing 05:36:22 9249dd512851: Preparing 05:36:22 bbc23fc1b2b3: Preparing 05:36:22 7d9acc034335: Preparing 05:36:22 d7c29ee7f772: Preparing 05:36:22 75654b8eeebd: Preparing 05:36:22 75654b8eeebd: Waiting 05:36:22 bbc23fc1b2b3: Layer already exists 05:36:22 d7c29ee7f772: Layer already exists 05:36:22 9249dd512851: Layer already exists 05:36:22 65250132edb5: Layer already exists 05:36:22 7d9acc034335: Layer already exists 05:36:22 75654b8eeebd: Layer already exists 05:36:22 latest: digest: sha256:1ac4dfcb4c072faa5afb06120bb699d60787af0f794b4fc41b8349255f8b64f0 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:22 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:22 + docker push nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.6 05:36:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:36:22 65250132edb5: Preparing 05:36:22 9249dd512851: Preparing 05:36:22 bbc23fc1b2b3: Preparing 05:36:22 7d9acc034335: Preparing 05:36:22 d7c29ee7f772: Preparing 05:36:22 75654b8eeebd: Preparing 05:36:22 75654b8eeebd: Waiting 05:36:22 d7c29ee7f772: Layer already exists 05:36:22 bbc23fc1b2b3: Layer already exists 05:36:22 7d9acc034335: Layer already exists 05:36:22 9249dd512851: Layer already exists 05:36:22 65250132edb5: Layer already exists 05:36:22 75654b8eeebd: Layer already exists 05:36:22 4.0.0-dev.6: digest: sha256:1ac4dfcb4c072faa5afb06120bb699d60787af0f794b4fc41b8349255f8b64f0 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:23 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:0def27edd13f0f026962cc349c20b477b0871f96-4.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:23 + docker push nexus3.edgexfoundry.org:10004/device-modbus:0def27edd13f0f026962cc349c20b477b0871f96-4.0.0-dev.6 05:36:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:36:23 65250132edb5: Preparing 05:36:23 9249dd512851: Preparing 05:36:23 bbc23fc1b2b3: Preparing 05:36:23 7d9acc034335: Preparing 05:36:23 d7c29ee7f772: Preparing 05:36:23 75654b8eeebd: Preparing 05:36:23 75654b8eeebd: Waiting 05:36:23 7d9acc034335: Layer already exists 05:36:23 9249dd512851: Layer already exists 05:36:23 d7c29ee7f772: Layer already exists 05:36:23 bbc23fc1b2b3: Layer already exists 05:36:23 65250132edb5: Layer already exists 05:36:23 75654b8eeebd: Layer already exists 05:36:23 0def27edd13f0f026962cc349c20b477b0871f96-4.0.0-dev.6: digest: sha256:1ac4dfcb4c072faa5afb06120bb699d60787af0f794b4fc41b8349255f8b64f0 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:23 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:24 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 05:36:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:36:24 65250132edb5: Preparing 05:36:24 9249dd512851: Preparing 05:36:24 bbc23fc1b2b3: Preparing 05:36:24 7d9acc034335: Preparing 05:36:24 d7c29ee7f772: Preparing 05:36:24 75654b8eeebd: Preparing 05:36:24 75654b8eeebd: Waiting 05:36:24 7d9acc034335: Layer already exists 05:36:24 65250132edb5: Layer already exists 05:36:24 bbc23fc1b2b3: Layer already exists 05:36:24 d7c29ee7f772: Layer already exists 05:36:24 9249dd512851: Layer already exists 05:36:24 75654b8eeebd: Layer already exists 05:36:24 main: digest: sha256:1ac4dfcb4c072faa5afb06120bb699d60787af0f794b4fc41b8349255f8b64f0 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:36:24 ===================================================== [Pipeline] echo 05:36:24 taggedImages: 05:36:24 - nexus3.edgexfoundry.org:10004/device-modbus:0def27edd13f0f026962cc349c20b477b0871f96 05:36:24 - nexus3.edgexfoundry.org:10004/device-modbus:latest 05:36:24 - nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.6 05:36:24 - nexus3.edgexfoundry.org:10004/device-modbus:0def27edd13f0f026962cc349c20b477b0871f96-4.0.0-dev.6 05:36:24 - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:36:24 05:36:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:36:25 latest: Pulling from edgex-lftools-log-publisher 05:36:25 5eb5b503b376: Pulling fs layer 05:36:25 5c69ac0246d0: Pulling fs layer 05:36:25 ec43610c2a17: Pulling fs layer 05:36:25 3a2ae6a8a46f: Pulling fs layer 05:36:25 33b1e0a273af: Pulling fs layer 05:36:25 5d3b04190fa2: Pulling fs layer 05:36:25 2f39f015ded8: Pulling fs layer 05:36:25 3a2ae6a8a46f: Waiting 05:36:25 5d3b04190fa2: Waiting 05:36:25 2f39f015ded8: Waiting 05:36:25 33b1e0a273af: Waiting 05:36:25 5c69ac0246d0: Verifying Checksum 05:36:25 5c69ac0246d0: Download complete 05:36:25 3a2ae6a8a46f: Download complete 05:36:25 33b1e0a273af: Verifying Checksum 05:36:25 33b1e0a273af: Download complete 05:36:25 5d3b04190fa2: Download complete 05:36:25 ec43610c2a17: Verifying Checksum 05:36:25 ec43610c2a17: Download complete 05:36:25 5eb5b503b376: Verifying Checksum 05:36:25 5eb5b503b376: Download complete 05:36:25 2f39f015ded8: Download complete 05:36:26 5eb5b503b376: Pull complete 05:36:26 5c69ac0246d0: Pull complete 05:36:27 ec43610c2a17: Pull complete 05:36:27 3a2ae6a8a46f: Pull complete 05:36:27 33b1e0a273af: Pull complete 05:36:27 5d3b04190fa2: Pull complete 05:36:31 2f39f015ded8: Pull complete 05:36:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:36:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:36:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:36:31 prd-ubuntu20.04-docker-8c-8g-26335 does not seem to be running inside a container 05:36:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:36:35 $ docker top 4f2e5c40e9739270698b14d7c9c3adee63e66a2fe439dd9b448c2725b51bf436 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:36:35 ---> job-cost.sh 05:36:35 lf-activate-venv: SKIPPING 05:36:35 INFO: No Stack... 05:36:35 INFO: Retrieving Pricing Info for: v3-standard-8 05:36:36 INFO: Archiving Costs [Pipeline] sh 05:36:36 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 05:36:36 + cut -d, -f6 [Pipeline] lock 05:36:36 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-171-stack-cost] 05:36:36 Resource [jenkins-edgexfoundry-device-modbus-go-main-171-stack-cost] did not exist. Created. 05:36:36 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-171-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:36:37 + echo total: 0.2199999988079071 [Pipeline] stash 05:36:37 Stashed 1 file(s) [Pipeline] } 05:36:37 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-171-stack-cost] [Pipeline] // lock [Pipeline] } 05:36:37 $ docker stop --time=1 4f2e5c40e9739270698b14d7c9c3adee63e66a2fe439dd9b448c2725b51bf436 05:36:38 $ docker rm -f --volumes 4f2e5c40e9739270698b14d7c9c3adee63e66a2fe439dd9b448c2725b51bf436 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:37:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-26336 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 05:37:49 Running in /w/workspace/device-modbus-go/171 [Pipeline] { [Pipeline] checkout 05:37:52 The recommended git tool is: git 05:38:02 using credential edgex-jenkins-ssh 05:38:02 Cloning the remote Git repository 05:38:02 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:38:02 > git init /w/workspace/device-modbus-go/171 # timeout=10 05:38:02 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:38:02 > git --version # timeout=10 05:38:02 > git --version # 'git version 2.25.1' 05:38:02 using GIT_SSH to set credentials SSH Credentials for GitHub 05:38:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:38:05 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:38:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:38:06 Avoid second fetch 05:38:06 Checking out Revision 0def27edd13f0f026962cc349c20b477b0871f96 (main) 05:38:07 Commit message: "Merge pull request #593 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.7" 05:38:06 > git config core.sparsecheckout # timeout=10 05:38:06 > git checkout -f 0def27edd13f0f026962cc349c20b477b0871f96 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:38:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:38:12 % Total % Received % Xferd Average Speed Time Time Time Current 05:38:12 Dload Upload Total Spent Left Speed 05:38:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 114k 0 --:--:-- --:--:-- --:--:-- 114k [Pipeline] sh 05:38:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:38:13 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 05:38:13 /etc/docker/daemon.json 05:38:13 { 05:38:13 "registry-mirrors": [ 05:38:13 "https://nexus3.edgexfoundry.org:10001" 05:38:13 ], 05:38:13 "bip": "10.250.0.254/24", 05:38:13 "hosts": [ 05:38:13 "tcp://0.0.0.0:5555", 05:38:13 "unix:///var/run/docker.sock" 05:38:13 ], 05:38:13 "mtu": 1458, 05:38:13 "selinux-enabled": true, 05:38:13 "seccomp-profile": "/etc/docker/seccomp.json" 05:38:13 } [Pipeline] sh 05:38:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:38:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:38:32 provisioning config files... 05:38:32 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/171@tmp/config12121891516554143445tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:38:32 ---> ****-login.sh 05:38:32 nexus3.edgexfoundry.org:10001 05:38:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:38:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:38:33 Configure a credential helper to remove this warning. See 05:38:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:38:33 05:38:33 Login Succeeded 05:38:33 nexus3.edgexfoundry.org:10002 05:38:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:38:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:38:33 Configure a credential helper to remove this warning. See 05:38:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:38:33 05:38:33 Login Succeeded 05:38:33 nexus3.edgexfoundry.org:10003 05:38:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:38:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:38:34 Configure a credential helper to remove this warning. See 05:38:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:38:34 05:38:34 Login Succeeded 05:38:34 nexus3.edgexfoundry.org:10004 05:38:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:38:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:38:34 Configure a credential helper to remove this warning. See 05:38:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:38:34 05:38:34 Login Succeeded 05:38:34 ****.io 05:38:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:38:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:38:34 Configure a credential helper to remove this warning. See 05:38:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:38:34 05:38:34 Login Succeeded 05:38:34 ---> ****-login.sh ends [Pipeline] } 05:38:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:38:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:38:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:38:35 ========================================================= 05:38:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 05:38:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:38:35 + 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:35 Sending build context to Docker daemon 9.164MB 05:38:36 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 05:38:36 Step 2/10 : FROM ${BASE} AS builder 05:38:36 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:38:36 cf04c63912e1: Pulling fs layer 05:38:36 55b35a11ae5e: Pulling fs layer 05:38:36 a37a00ec5f00: Pulling fs layer 05:38:36 50b3750afda1: Pulling fs layer 05:38:36 4f4fb700ef54: Pulling fs layer 05:38:36 80978eb59214: Pulling fs layer 05:38:36 c9f46d7d2bd2: Pulling fs layer 05:38:36 c5a475d317c9: Pulling fs layer 05:38:36 50b3750afda1: Waiting 05:38:36 4f4fb700ef54: Waiting 05:38:36 80978eb59214: Waiting 05:38:36 c9f46d7d2bd2: Waiting 05:38:36 c5a475d317c9: Waiting 05:38:36 55b35a11ae5e: Verifying Checksum 05:38:36 55b35a11ae5e: Download complete 05:38:36 50b3750afda1: Verifying Checksum 05:38:36 50b3750afda1: Download complete 05:38:36 4f4fb700ef54: Verifying Checksum 05:38:36 4f4fb700ef54: Download complete 05:38:36 80978eb59214: Download complete 05:38:36 cf04c63912e1: Verifying Checksum 05:38:36 cf04c63912e1: Download complete 05:38:37 cf04c63912e1: Pull complete 05:38:37 c5a475d317c9: Verifying Checksum 05:38:37 c5a475d317c9: Download complete 05:38:38 a37a00ec5f00: Verifying Checksum 05:38:38 a37a00ec5f00: Download complete 05:38:38 55b35a11ae5e: Pull complete 05:38:39 c9f46d7d2bd2: Verifying Checksum 05:38:39 c9f46d7d2bd2: Download complete 05:38:54 a37a00ec5f00: Pull complete 05:38:54 50b3750afda1: Pull complete 05:38:54 4f4fb700ef54: Pull complete 05:38:54 80978eb59214: Pull complete 05:39:01 c9f46d7d2bd2: Pull complete 05:39:03 c5a475d317c9: Pull complete 05:39:03 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 05:39:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 05:39:03 ---> be29e6b0f0d4 05:39:03 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:39:04 ---> Running in e26d650a77a1 05:39:04 Removing intermediate container e26d650a77a1 05:39:04 ---> fb0f67de44f7 05:39:04 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:39:04 ---> Running in 905fefb22946 05:39:04 Removing intermediate container 905fefb22946 05:39:04 ---> 98946573b4be 05:39:04 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:39:04 ---> Running in 66a023e8a48d 05:39:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:39:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:39:07 (1/8) Installing openssh-keygen (9.7_p1-r4) 05:39:07 (2/8) Installing libedit (20240517.3.1-r0) 05:39:07 (3/8) Installing openssh-client-common (9.7_p1-r4) 05:39:07 (4/8) Installing openssh-client-default (9.7_p1-r4) 05:39:07 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 05:39:07 (6/8) Installing openssh-server-common (9.7_p1-r4) 05:39:07 (7/8) Installing openssh-server (9.7_p1-r4) 05:39:07 (8/8) Installing openssh (9.7_p1-r4) 05:39:07 Executing busybox-1.36.1-r29.trigger 05:39:07 OK: 244 MiB in 62 packages 05:39:08 Removing intermediate container 66a023e8a48d 05:39:08 ---> 1befa173de86 05:39:08 Step 6/10 : WORKDIR /device-modbus-go 05:39:08 ---> Running in fac13cd9f332 05:39:09 Removing intermediate container fac13cd9f332 05:39:09 ---> e7b8ba07a185 05:39:09 Step 7/10 : COPY go.mod vendor* ./ 05:39:09 ---> f32578efb0b9 05:39:09 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:39:09 ---> Running in 74cc46de3d2f 05:41:01 Removing intermediate container 74cc46de3d2f 05:41:01 ---> 6ae2703cd2ee 05:41:01 Step 9/10 : COPY . . 05:41:01 ---> 0e7d4c7abac9 05:41:01 Step 10/10 : RUN ${MAKE} 05:41:01 ---> Running in b2f7e72b32d7 05:41:02 noop 05:41:02 Removing intermediate container b2f7e72b32d7 05:41:02 ---> 523432f1b6f3 05:41:02 Successfully built 523432f1b6f3 05:41:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:41:03 + docker inspect -f . ci-base-image-arm64 05:41:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:41:03 prd-ubuntu20.04-docker-arm64-4c-16g-26336 does not seem to be running inside a container 05:41:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/171 -v /w/workspace/device-modbus-go/171:/w/workspace/device-modbus-go/171:rw,z -v /w/workspace/device-modbus-go/171@tmp:/w/workspace/device-modbus-go/171@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:41:04 $ docker top e2895541fb140abc4fcd93f56575887c6201eca830b539a5a1ef88005858e3e6 -eo pid,comm [Pipeline] { [Pipeline] sh 05:41:05 + go version 05:41:05 go version go1.23.2 linux/arm64 [Pipeline] } 05:41:05 $ docker stop --time=1 e2895541fb140abc4fcd93f56575887c6201eca830b539a5a1ef88005858e3e6 05:41:07 $ docker rm -f --volumes e2895541fb140abc4fcd93f56575887c6201eca830b539a5a1ef88005858e3e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:41:09 + docker inspect -f . ci-base-image-arm64 05:41:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:41:09 prd-ubuntu20.04-docker-arm64-4c-16g-26336 does not seem to be running inside a container 05:41:09 $ 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/171 -v /w/workspace/device-modbus-go/171:/w/workspace/device-modbus-go/171:rw,z -v /w/workspace/device-modbus-go/171@tmp:/w/workspace/device-modbus-go/171@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:41:10 $ docker top de8065174e39abf9d5107112bd1921995c3560a867a451a58ae0ce2812625b2f -eo pid,comm [Pipeline] { [Pipeline] sh 05:41:11 + git config --global --add safe.directory /w/workspace/device-modbus-go/171 [Pipeline] fileExists [Pipeline] sh 05:41:11 + make test 05:41:11 go test ./... -coverprofile=coverage.out 05:41:18 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:44:26 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 05:44:26 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.056s coverage: 48.0% of statements 05:44:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:44:28 go vet ./... 05:45:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:45:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:45:15 ./bin/test-attribution-txt.sh [Pipeline] echo 05:45:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:45:16 $ docker stop --time=1 de8065174e39abf9d5107112bd1921995c3560a867a451a58ae0ce2812625b2f 05:45:18 $ docker rm -f --volumes de8065174e39abf9d5107112bd1921995c3560a867a451a58ae0ce2812625b2f [Pipeline] // withDockerContainer [Pipeline] sh 05:45:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:45:19 Warning: overwriting stash ‘coverage-report’ 05:45:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:45:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:45:20 + ls -al . 05:45:20 total 256 05:45:20 drwxrwxr-x 8 jenkins jenkins 4096 Nov 13 05:41 . 05:45:20 drwxrwxr-x 4 jenkins jenkins 4096 Nov 13 05:38 .. 05:45:20 -rw-rw-r-- 1 jenkins jenkins 140 Nov 13 05:38 .dockerignore 05:45:20 drwxrwxr-x 8 jenkins jenkins 4096 Nov 13 05:38 .git 05:45:20 drwxrwxr-x 3 jenkins jenkins 4096 Nov 13 05:38 .github 05:45:20 -rw-rw-r-- 1 jenkins jenkins 266 Nov 13 05:38 .gitignore 05:45:20 -rw-rw-r-- 1 jenkins jenkins 199 Nov 13 05:38 .golangci.yml 05:45:20 -rw-rw-r-- 1 jenkins jenkins 19818 Nov 13 05:38 Attribution.txt 05:45:20 -rw-rw-r-- 1 jenkins jenkins 16388 Nov 13 05:38 CHANGELOG.md 05:45:20 -rw-rw-r-- 1 jenkins jenkins 1479 Nov 13 05:38 Dockerfile 05:45:20 -rw-rw-r-- 1 jenkins jenkins 677 Nov 13 05:38 GOVERNANCE.md 05:45:20 -rw-rw-r-- 1 jenkins jenkins 658 Nov 13 05:38 Jenkinsfile 05:45:20 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 13 05:38 LICENSE 05:45:20 -rw-rw-r-- 1 jenkins jenkins 2524 Nov 13 05:38 Makefile 05:45:20 -rw-rw-r-- 1 jenkins jenkins 622 Nov 13 05:38 OWNERS.md 05:45:20 -rw-rw-r-- 1 jenkins jenkins 4463 Nov 13 05:38 README.md 05:45:20 -rw-rw-r-- 1 jenkins jenkins 11 Nov 13 05:33 VERSION 05:45:20 drwxrwxr-x 2 jenkins jenkins 4096 Nov 13 05:38 bin 05:45:20 drwxrwxr-x 3 jenkins jenkins 4096 Nov 13 05:38 cmd 05:45:20 -rw-r--r-- 1 jenkins jenkins 25464 Nov 13 05:44 coverage.out 05:45:20 -rw-rw-r-- 1 jenkins jenkins 6441 Nov 13 05:38 go.mod 05:45:20 -rw-rw-r-- 1 jenkins jenkins 87679 Nov 13 05:38 go.sum 05:45:20 drwxrwxr-x 3 jenkins jenkins 4096 Nov 13 05:38 internal 05:45:20 drwxrwxr-x 2 jenkins jenkins 4096 Nov 13 05:38 simulator 05:45:20 -rw-rw-r-- 1 jenkins jenkins 229 Nov 13 05:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:21 + 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=0def27edd13f0f026962cc349c20b477b0871f96 --label arch=arm64 --label version=4.0.0-dev.6 . 05:45:21 Sending build context to Docker daemon 9.19MB 05:45:21 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 05:45:21 Step 2/23 : FROM ${BASE} AS builder 05:45:21 ---> 523432f1b6f3 05:45:21 Step 3/23 : ARG ADD_BUILD_TAGS="" 05:45:21 ---> Running in d5e47a655c03 05:45:21 Removing intermediate container d5e47a655c03 05:45:21 ---> aa83ecb6eb3a 05:45:21 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:45:21 ---> Running in 8dfc51ccc4bc 05:45:22 Removing intermediate container 8dfc51ccc4bc 05:45:22 ---> bf2bfe05342b 05:45:22 Step 5/23 : RUN apk add --update --no-cache make git openssh 05:45:22 ---> Running in 34415021d17d 05:45:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:45:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:45:25 OK: 244 MiB in 62 packages 05:45:26 Removing intermediate container 34415021d17d 05:45:26 ---> 66d374f25729 05:45:26 Step 6/23 : WORKDIR /device-modbus-go 05:45:26 ---> Running in 346349be944a 05:45:26 Removing intermediate container 346349be944a 05:45:26 ---> 6250795217bf 05:45:26 Step 7/23 : COPY go.mod vendor* ./ 05:45:26 ---> 528b3bd4981d 05:45:26 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:45:26 ---> Running in 1152b02ca2bf 05:45:28 Removing intermediate container 1152b02ca2bf 05:45:28 ---> d127fda32a2c 05:45:28 Step 9/23 : COPY . . 05:45:29 ---> f1863fe19f63 05:45:29 Step 10/23 : RUN ${MAKE} 05:45:30 ---> Running in 6d1f1f4c93db 05:45:31 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=4.0.0-dev.6 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.7 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 05:48:37 Removing intermediate container 6d1f1f4c93db 05:48:37 ---> 596397cceb42 05:48:37 Step 11/23 : FROM alpine:3.20 05:48:37 3.20: Pulling from library/alpine 05:48:37 9986a736f7d3: Pulling fs layer 05:48:37 9986a736f7d3: Verifying Checksum 05:48:37 9986a736f7d3: Download complete 05:48:37 9986a736f7d3: Pull complete 05:48:37 Digest: sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 05:48:37 Status: Downloaded newer image for alpine:3.20 05:48:37 ---> 511a44083d3a 05:48:37 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 05:48:37 ---> Running in 7c0a4cad1395 05:48:37 Removing intermediate container 7c0a4cad1395 05:48:37 ---> 59a30faac601 05:48:37 Step 13/23 : RUN apk add --update --no-cache dumb-init 05:48:37 ---> Running in c3c141fee689 05:48:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:48:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:48:37 (1/1) Installing dumb-init (1.2.5-r3) 05:48:37 Executing busybox-1.36.1-r29.trigger 05:48:37 OK: 9 MiB in 15 packages 05:48:37 Removing intermediate container c3c141fee689 05:48:37 ---> 24b064c36719 05:48:37 Step 14/23 : RUN apk --no-cache upgrade 05:48:37 ---> Running in 4505f47bbc4e 05:48:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:48:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:48:40 Upgrading critical system libraries and apk-tools: 05:48:40 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 05:48:40 Executing busybox-1.36.1-r29.trigger 05:48:40 Continuing the upgrade transaction with new apk-tools: 05:48:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:48:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:48:42 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 05:48:42 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 05:48:42 OK: 9 MiB in 15 packages 05:48:43 Removing intermediate container 4505f47bbc4e 05:48:43 ---> 591242eed308 05:48:43 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:48:44 ---> 28587ecb3295 05:48:44 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:48:45 ---> 6bc8f2401a6d 05:48:45 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:48:45 ---> cbef23d3cced 05:48:45 Step 18/23 : EXPOSE 59901 05:48:45 ---> Running in 3866fb88ac46 05:48:45 Removing intermediate container 3866fb88ac46 05:48:45 ---> 19a3b651fa3a 05:48:45 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:48:45 ---> Running in 849ba73503e6 05:48:46 Removing intermediate container 849ba73503e6 05:48:46 ---> 3a7c2e546495 05:48:46 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 05:48:46 ---> Running in 7faa87c35887 05:48:46 Removing intermediate container 7faa87c35887 05:48:46 ---> 7f989f53ff18 05:48:46 Step 21/23 : LABEL arch=arm64 05:48:46 ---> Running in 875574252aff 05:48:46 Removing intermediate container 875574252aff 05:48:46 ---> 3d62b9072f66 05:48:46 Step 22/23 : LABEL git_sha=0def27edd13f0f026962cc349c20b477b0871f96 05:48:46 ---> Running in eb65953a1217 05:48:46 Removing intermediate container eb65953a1217 05:48:46 ---> 10b9900e77bb 05:48:46 Step 23/23 : LABEL version=4.0.0-dev.6 05:48:47 ---> Running in ae5c0f9fcf3f 05:48:47 Removing intermediate container ae5c0f9fcf3f 05:48:47 ---> 09dc3fae1150 05:48:47 [Warning] One or more build-args [ARCH] were not consumed 05:48:47 Successfully built 09dc3fae1150 05:48:47 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:47 provisioning config files... 05:48:47 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/171@tmp/config7942398460224382876tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:48:48 ---> ****-login.sh 05:48:48 nexus3.edgexfoundry.org:10001 05:48:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:48:48 Configure a credential helper to remove this warning. See 05:48:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:48:48 05:48:48 Login Succeeded 05:48:48 nexus3.edgexfoundry.org:10002 05:48:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:48:48 Configure a credential helper to remove this warning. See 05:48:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:48:48 05:48:48 Login Succeeded 05:48:48 nexus3.edgexfoundry.org:10003 05:48:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:48:48 Configure a credential helper to remove this warning. See 05:48:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:48:48 05:48:48 Login Succeeded 05:48:48 nexus3.edgexfoundry.org:10004 05:48:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:48:49 Configure a credential helper to remove this warning. See 05:48:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:48:49 05:48:49 Login Succeeded 05:48:49 ****.io 05:48:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:48:49 Configure a credential helper to remove this warning. See 05:48:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:48:49 05:48:49 Login Succeeded 05:48:49 ---> ****-login.sh ends [Pipeline] } 05:48:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:48:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:48:50 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 05:48:50 0def27edd13f0f026962cc349c20b477b0871f96 05:48:50 latest 05:48:50 4.0.0-dev.6 05:48:50 0def27edd13f0f026962cc349c20b477b0871f96-4.0.0-dev.6 05:48:50 main 05:48:50 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:48:50 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:0def27edd13f0f026962cc349c20b477b0871f96 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:48:52 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:0def27edd13f0f026962cc349c20b477b0871f96 05:48:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:48:52 a89c6235a513: Preparing 05:48:52 6e28b13e6184: Preparing 05:48:52 4fbde06b6dc4: Preparing 05:48:52 dc9d8ee3c366: Preparing 05:48:52 83541c821f67: Preparing 05:48:52 651d9022c234: Preparing 05:48:52 651d9022c234: Waiting 05:48:52 a89c6235a513: Pushed 05:48:52 6e28b13e6184: Pushed 05:48:52 83541c821f67: Pushed 05:48:52 651d9022c234: Layer already exists 05:48:53 dc9d8ee3c366: Pushed 05:48:59 4fbde06b6dc4: Pushed 05:48:59 0def27edd13f0f026962cc349c20b477b0871f96: digest: sha256:76ab1fb32f7070da461f99069ad2d11920d6608d84d579cb25b385603fc3aa69 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:48:59 + 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:59 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 05:48:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:48:59 a89c6235a513: Preparing 05:48:59 6e28b13e6184: Preparing 05:48:59 4fbde06b6dc4: Preparing 05:48:59 dc9d8ee3c366: Preparing 05:48:59 83541c821f67: Preparing 05:48:59 651d9022c234: Preparing 05:48:59 651d9022c234: Waiting 05:48:59 83541c821f67: Layer already exists 05:48:59 4fbde06b6dc4: Layer already exists 05:48:59 a89c6235a513: Layer already exists 05:48:59 dc9d8ee3c366: Layer already exists 05:48:59 6e28b13e6184: Layer already exists 05:48:59 651d9022c234: Layer already exists 05:48:59 latest: digest: sha256:76ab1fb32f7070da461f99069ad2d11920d6608d84d579cb25b385603fc3aa69 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:49:00 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:49:00 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.6 05:49:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:49:00 a89c6235a513: Preparing 05:49:00 6e28b13e6184: Preparing 05:49:00 4fbde06b6dc4: Preparing 05:49:00 dc9d8ee3c366: Preparing 05:49:00 83541c821f67: Preparing 05:49:00 651d9022c234: Preparing 05:49:00 6e28b13e6184: Layer already exists 05:49:00 dc9d8ee3c366: Layer already exists 05:49:00 4fbde06b6dc4: Layer already exists 05:49:00 83541c821f67: Layer already exists 05:49:00 a89c6235a513: Layer already exists 05:49:00 651d9022c234: Layer already exists 05:49:00 4.0.0-dev.6: digest: sha256:76ab1fb32f7070da461f99069ad2d11920d6608d84d579cb25b385603fc3aa69 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:49:00 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:0def27edd13f0f026962cc349c20b477b0871f96-4.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:49:01 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:0def27edd13f0f026962cc349c20b477b0871f96-4.0.0-dev.6 05:49:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:49:01 a89c6235a513: Preparing 05:49:01 6e28b13e6184: Preparing 05:49:01 4fbde06b6dc4: Preparing 05:49:01 dc9d8ee3c366: Preparing 05:49:01 83541c821f67: Preparing 05:49:01 651d9022c234: Preparing 05:49:01 651d9022c234: Waiting 05:49:01 dc9d8ee3c366: Layer already exists 05:49:01 4fbde06b6dc4: Layer already exists 05:49:01 83541c821f67: Layer already exists 05:49:01 6e28b13e6184: Layer already exists 05:49:01 a89c6235a513: Layer already exists 05:49:01 651d9022c234: Layer already exists 05:49:01 0def27edd13f0f026962cc349c20b477b0871f96-4.0.0-dev.6: digest: sha256:76ab1fb32f7070da461f99069ad2d11920d6608d84d579cb25b385603fc3aa69 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:49:01 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:49:02 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 05:49:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:49:02 a89c6235a513: Preparing 05:49:02 6e28b13e6184: Preparing 05:49:02 4fbde06b6dc4: Preparing 05:49:02 dc9d8ee3c366: Preparing 05:49:02 83541c821f67: Preparing 05:49:02 651d9022c234: Preparing 05:49:02 651d9022c234: Waiting 05:49:02 a89c6235a513: Layer already exists 05:49:02 6e28b13e6184: Layer already exists 05:49:02 4fbde06b6dc4: Layer already exists 05:49:02 dc9d8ee3c366: Layer already exists 05:49:02 83541c821f67: Layer already exists 05:49:02 651d9022c234: Layer already exists 05:49:02 main: digest: sha256:76ab1fb32f7070da461f99069ad2d11920d6608d84d579cb25b385603fc3aa69 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:49:02 ===================================================== [Pipeline] echo 05:49:02 taggedImages: 05:49:02 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:0def27edd13f0f026962cc349c20b477b0871f96 05:49:02 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 05:49:02 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.6 05:49:02 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:0def27edd13f0f026962cc349c20b477b0871f96-4.0.0-dev.6 05:49:02 - 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:49:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:49:02 05:49:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:49:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:49:03 arm64: Pulling from edgex-lftools-log-publisher 05:49:03 8998bd30e6a1: Pulling fs layer 05:49:03 04944245beec: Pulling fs layer 05:49:03 699f458cf7ca: Pulling fs layer 05:49:03 765212b225bb: Pulling fs layer 05:49:03 f23df028b6ca: Pulling fs layer 05:49:03 d65c8cfc05b1: Pulling fs layer 05:49:03 2437ff75d9bd: Pulling fs layer 05:49:03 765212b225bb: Waiting 05:49:03 f23df028b6ca: Waiting 05:49:03 d65c8cfc05b1: Waiting 05:49:03 2437ff75d9bd: Waiting 05:49:03 04944245beec: Verifying Checksum 05:49:03 04944245beec: Download complete 05:49:03 765212b225bb: Verifying Checksum 05:49:03 765212b225bb: Download complete 05:49:03 f23df028b6ca: Verifying Checksum 05:49:03 f23df028b6ca: Download complete 05:49:03 d65c8cfc05b1: Verifying Checksum 05:49:03 d65c8cfc05b1: Download complete 05:49:04 699f458cf7ca: Verifying Checksum 05:49:04 699f458cf7ca: Download complete 05:49:04 8998bd30e6a1: Download complete 05:49:07 2437ff75d9bd: Verifying Checksum 05:49:07 2437ff75d9bd: Download complete 05:49:08 8998bd30e6a1: Pull complete 05:49:09 04944245beec: Pull complete 05:49:11 699f458cf7ca: Pull complete 05:49:11 765212b225bb: Pull complete 05:49:11 f23df028b6ca: Pull complete 05:49:12 d65c8cfc05b1: Pull complete 05:49:27 2437ff75d9bd: Pull complete 05:49:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:49:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:49:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:49:27 prd-ubuntu20.04-docker-arm64-4c-16g-26336 does not seem to be running inside a container 05:49:27 $ 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/171 -v /w/workspace/device-modbus-go/171:/w/workspace/device-modbus-go/171:rw,z -v /w/workspace/device-modbus-go/171@tmp:/w/workspace/device-modbus-go/171@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:29 $ docker top a7bb01f3227702aefef8eedbd087f9b7b4c5a81b9589cb5823069fd6fc6d158d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:49:30 ---> job-cost.sh 05:49:30 lf-activate-venv: SKIPPING 05:49:30 INFO: No Stack... 05:49:30 INFO: Retrieving Pricing Info for: v3-standard-4 05:49:31 INFO: Archiving Costs [Pipeline] sh 05:49:32 + cat /w/workspace/device-modbus-go/171/archives/cost.csv 05:49:32 + cut -d, -f6 [Pipeline] lock 05:49:32 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-171-stack-cost] 05:49:32 Resource [jenkins-edgexfoundry-device-modbus-go-main-171-stack-cost] did not exist. Created. 05:49:32 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-171-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:49:32 /w/workspace/device-modbus-go/171@tmp/durable-36c90b12/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:49:33 + echo total: 0.10999999940395355 [Pipeline] stash 05:49:33 Warning: overwriting stash ‘stack-cost’ 05:49:33 Stashed 1 file(s) [Pipeline] } 05:49:33 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-171-stack-cost] [Pipeline] // lock [Pipeline] } 05:49:33 $ docker stop --time=1 a7bb01f3227702aefef8eedbd087f9b7b4c5a81b9589cb5823069fd6fc6d158d 05:49:34 $ docker rm -f --volumes a7bb01f3227702aefef8eedbd087f9b7b4c5a81b9589cb5823069fd6fc6d158d [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:35 provisioning config files... 05:49:35 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config365666550188682582tmp [Pipeline] { [Pipeline] sh 05:49:35 + set +x 05:49:35 + curl -s https://codecov.io/bash 05:49:35 + bash -s -- 05:49:35 05:49:35 _____ _ 05:49:35 / ____| | | 05:49:35 | | ___ __| | ___ ___ _____ __ 05:49:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:49:35 | |___| (_) | (_| | __/ (_| (_) \ V / 05:49:35 \_____\___/ \__,_|\___|\___\___/ \_/ 05:49:35 Bash-1.0.6 05:49:35 05:49:35 05:49:35 ==> git version 2.25.1 found 05:49:35 ==> 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:35 Release-Date: 2020-01-08 05:49:35 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:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:49:35 ==> Jenkins CI detected. 05:49:35 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 05:49:35 project root: . 05:49:35 --> token set from env 05:49:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:49:35 ==> Running gcov in . (disable via -X gcov) 05:49:35 ==> Python coveragepy not found 05:49:35 ==> Searching for coverage reports in: 05:49:35 + . 05:49:35 -> Found 1 reports 05:49:35 ==> Detecting git/mercurial file structure 05:49:35 ==> Reading reports 05:49:35 + ./coverage.out bytes=25464 05:49:35 ==> Appending adjustments 05:49:35 https://docs.codecov.io/docs/fixing-reports 05:49:35 + Found adjustments 05:49:35 ==> Gzipping contents 05:49:35 4.0K /tmp/codecov.LhvV8b.gz 05:49:35 ==> Uploading reports 05:49:35 url: https://codecov.io 05:49:35 query: branch=main&commit=0def27edd13f0f026962cc349c20b477b0871f96&build=171&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F171%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:49:35 -> Pinging Codecov 05:49:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=0def27edd13f0f026962cc349c20b477b0871f96&build=171&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F171%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:49:36 -> Uploading to 05:49:36 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-modbus-go/0def27edd13f0f026962cc349c20b477b0871f96/5737d815-11c4-42e2-bc11-a3f3823fe1e8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241113%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241113T054935Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=75caa7477ca3b8a3cc2e4ac30800483814950292bd5123d31a78029b642d40e0 05:49:36 % Total % Received % Xferd Average Speed Time Time Time Current 05:49:36 Dload Upload Total Spent Left Speed 05:49:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3932 0 0 100 3932 0 15728 --:--:-- --:--:-- --:--:-- 15728 05:49:36 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/0def27edd13f0f026962cc349c20b477b0871f96 [Pipeline] } 05:49:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:49:36 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:49:36 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:49:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:49:36 05:49:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:49:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:49:37 latest: Pulling from edgex-devops/edgex-snyk-go 05:49:37 43c4264eed91: Already exists 05:49:37 4cc291be95ef: Already exists 05:49:37 2ac1f1163629: Already exists 05:49:37 5c3c966382ef: Already exists 05:49:37 4f4fb700ef54: Already exists 05:49:37 d9c7d2e4e75e: Pulling fs layer 05:49:37 9c3e1370e548: Pulling fs layer 05:49:37 d9c7d2e4e75e: Download complete 05:49:37 d9c7d2e4e75e: Pull complete 05:49:38 9c3e1370e548: Verifying Checksum 05:49:38 9c3e1370e548: Download complete 05:49:41 9c3e1370e548: Pull complete 05:49:41 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 05:49:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:49:41 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:49:41 prd-ubuntu20.04-docker-8c-8g-26335 does not seem to be running inside a container 05:49:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 05:49:43 $ docker top 32c8feac009cbd7a3bd8d3165cea6559d1ac54a7c7bc4f93b233a100bb925a79 -eo pid,comm [Pipeline] { [Pipeline] sh 05:49:43 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] echo 05:49:43 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 05:49:44 + set -o pipefail 05:49:44 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 05:49:50 05:49:50 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 05:49:50 05:49:50 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/0a0805b9-8982-40eb-8dbc-845f1ef902a3/history/5e172374-5cd6-43e5-ba59-031a90009196 05:49:50 05:49:50 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 05:49:50 05:49:50 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:49:50 05:49:50 05:49:50 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 05:49:50 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 05:49:51 $ docker stop --time=1 32c8feac009cbd7a3bd8d3165cea6559d1ac54a7c7bc4f93b233a100bb925a79 05:49:55 $ docker rm -f --volumes 32c8feac009cbd7a3bd8d3165cea6559d1ac54a7c7bc4f93b233a100bb925a79 [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:55 + git log --format=format:%s -1 0def27edd13f0f026962cc349c20b477b0871f96 [Pipeline] sh 05:49:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:49:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:49:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:49:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:49:56 prd-ubuntu20.04-docker-8c-8g-26335 does not seem to be running inside a container 05:49:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:49:57 $ docker top 9882412c265f42cd4ff4c621d0856fab09ec2a84a8cd4942ff0cf621e7100cb8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:49:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:49:57 [ssh-agent] Looking for ssh-agent implementation... 05:49:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:49:57 $ docker exec 9882412c265f42cd4ff4c621d0856fab09ec2a84a8cd4942ff0cf621e7100cb8 ssh-agent 05:49:57 SSH_AUTH_SOCK=/tmp/ssh-cwKhHEFHkZFT/agent.33 05:49:57 SSH_AGENT_PID=40 05:49:57 Running ssh-add (command line suppressed) 05:49:57 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17893654841528730814.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17893654841528730814.key) 05:49:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:49:58 + git semver tag 05:49:58 2024-11-13 05:49:58,234 [run_tag] DEBUG tag force:False 05:49:58 2024-11-13 05:49:58,234 [check_head_tag] DEBUG check head tag 05:49:58 2024-11-13 05:49:58,236 [execute] INFO git cat-file --batch-check 05:49:58 2024-11-13 05:49:58,236 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 05:49:58 2024-11-13 05:49:58,240 [execute] INFO git cat-file --batch 05:49:58 2024-11-13 05:49:58,241 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 05:49:58 2024-11-13 05:49:58,265 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:49:58 2024-11-13 05:49:58,265 [execute] INFO git tag -a v4.0.0-dev.6 -m v4.0.0-dev.6 05:49:58 2024-11-13 05:49:58,265 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.6', '-m', 'v4.0.0-dev.6'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 05:49:58 2024-11-13 05:49:58,271 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:49:58 4.0.0-dev.6 [Pipeline] } 05:49:58 $ docker exec --env ******** --env ******** 9882412c265f42cd4ff4c621d0856fab09ec2a84a8cd4942ff0cf621e7100cb8 ssh-agent -k 05:49:58 unset SSH_AUTH_SOCK; 05:49:58 unset SSH_AGENT_PID; 05:49:58 echo Agent pid 40 killed; 05:49:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:49:58 + git semver [Pipeline] } 05:49:59 $ docker stop --time=1 9882412c265f42cd4ff4c621d0856fab09ec2a84a8cd4942ff0cf621e7100cb8 05:50:00 $ docker rm -f --volumes 9882412c265f42cd4ff4c621d0856fab09ec2a84a8cd4942ff0cf621e7100cb8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:50:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:50:00 05:50:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:50:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:50:01 0.23.1-centos7: Pulling from edgex-lftools 05:50:01 ab5ef0e58194: Pulling fs layer 05:50:01 9712f1f96733: Pulling fs layer 05:50:01 63f879dbbcfc: Pulling fs layer 05:50:01 0d9ebad4ef96: Pulling fs layer 05:50:01 e9a5061849ea: Pulling fs layer 05:50:01 d747dcd14b5f: Pulling fs layer 05:50:01 2de7ff778b66: Pulling fs layer 05:50:01 0d9ebad4ef96: Waiting 05:50:01 d747dcd14b5f: Waiting 05:50:01 2de7ff778b66: Waiting 05:50:01 e9a5061849ea: Waiting 05:50:01 9712f1f96733: Verifying Checksum 05:50:01 9712f1f96733: Download complete 05:50:01 63f879dbbcfc: Verifying Checksum 05:50:01 63f879dbbcfc: Download complete 05:50:01 e9a5061849ea: Verifying Checksum 05:50:01 e9a5061849ea: Download complete 05:50:01 d747dcd14b5f: Verifying Checksum 05:50:01 d747dcd14b5f: Download complete 05:50:01 0d9ebad4ef96: Verifying Checksum 05:50:01 0d9ebad4ef96: Download complete 05:50:01 2de7ff778b66: Verifying Checksum 05:50:01 2de7ff778b66: Download complete 05:50:01 ab5ef0e58194: Verifying Checksum 05:50:01 ab5ef0e58194: Download complete 05:50:04 ab5ef0e58194: Pull complete 05:50:04 9712f1f96733: Pull complete 05:50:04 63f879dbbcfc: Pull complete 05:50:09 0d9ebad4ef96: Pull complete 05:50:09 e9a5061849ea: Pull complete 05:50:09 d747dcd14b5f: Pull complete 05:50:09 2de7ff778b66: Pull complete 05:50:09 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:50:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:50:09 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:50:09 prd-ubuntu20.04-docker-8c-8g-26335 does not seem to be running inside a container 05:50:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:50:13 $ docker top 3330cec6a232432b367ee0f321883218f7cfd44bbae78f3ffb4753769129c012 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:50:13 provisioning config files... 05:50:13 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1326290082278180888tmp 05:50:13 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16515056210697076089tmp 05:50:13 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config18416040835707407424tmp [Pipeline] { [Pipeline] echo 05:50:13 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:50:13 ---> sigul-configuration.sh 05:50:13 gpg: directory `/root/.gnupg' created 05:50:13 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:50:13 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:50:13 gpg: keyring `/root/.gnupg/secring.gpg' created 05:50:13 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:50:13 gpg: CAST5 encrypted data 05:50:13 gpg: encrypted with 1 passphrase 05:50:13 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:50:14 + mkdir /home/jenkins 05:50:14 + mkdir /home/jenkins/sigul [Pipeline] sh 05:50:14 + 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:14 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:50:14 ---> sigul-install.sh 05:50:14 Sigul already installed; skipping installation. [Pipeline] sh 05:50:15 + git tag --list 05:50:15 0.7.1 05:50:15 v1.0.0 05:50:15 v1.1.0 05:50:15 v1.1.1 05:50:15 v1.2.2 05:50:15 v1.3.0 05:50:15 v1.3.1 05:50:15 v2.0.0 05:50:15 v2.1.0 05:50:15 v2.1.1 05:50:15 v2.2.0 05:50:15 v2.3.0 05:50:15 v3.0 05:50:15 v3.0.0 05:50:15 v3.1 05:50:15 v3.1.0 05:50:15 v3.1.0-dev.1 05:50:15 v3.1.0-dev.10 05:50:15 v3.1.0-dev.11 05:50:15 v3.1.0-dev.12 05:50:15 v3.1.0-dev.13 05:50:15 v3.1.0-dev.14 05:50:15 v3.1.0-dev.15 05:50:15 v3.1.0-dev.16 05:50:15 v3.1.0-dev.17 05:50:15 v3.1.0-dev.18 05:50:15 v3.1.0-dev.19 05:50:15 v3.1.0-dev.2 05:50:15 v3.1.0-dev.20 05:50:15 v3.1.0-dev.21 05:50:15 v3.1.0-dev.22 05:50:15 v3.1.0-dev.23 05:50:15 v3.1.0-dev.24 05:50:15 v3.1.0-dev.25 05:50:15 v3.1.0-dev.3 05:50:15 v3.1.0-dev.4 05:50:15 v3.1.0-dev.5 05:50:15 v3.1.0-dev.6 05:50:15 v3.1.0-dev.7 05:50:15 v3.1.0-dev.8 05:50:15 v3.1.0-dev.9 05:50:15 v3.1.1 05:50:15 v3.1.1-dev.1 05:50:15 v3.2.0-dev.1 05:50:15 v3.2.0-dev.10 05:50:15 v3.2.0-dev.11 05:50:15 v3.2.0-dev.12 05:50:15 v3.2.0-dev.13 05:50:15 v3.2.0-dev.14 05:50:15 v3.2.0-dev.15 05:50:15 v3.2.0-dev.16 05:50:15 v3.2.0-dev.17 05:50:15 v3.2.0-dev.18 05:50:15 v3.2.0-dev.19 05:50:15 v3.2.0-dev.2 05:50:15 v3.2.0-dev.20 05:50:15 v3.2.0-dev.21 05:50:15 v3.2.0-dev.22 05:50:15 v3.2.0-dev.23 05:50:15 v3.2.0-dev.24 05:50:15 v3.2.0-dev.25 05:50:15 v3.2.0-dev.26 05:50:15 v3.2.0-dev.3 05:50:15 v3.2.0-dev.4 05:50:15 v3.2.0-dev.5 05:50:15 v3.2.0-dev.6 05:50:15 v3.2.0-dev.7 05:50:15 v3.2.0-dev.8 05:50:15 v3.2.0-dev.9 05:50:15 v4.0.0-dev.1 05:50:15 v4.0.0-dev.2 05:50:15 v4.0.0-dev.3 05:50:15 v4.0.0-dev.4 05:50:15 v4.0.0-dev.5 05:50:15 v4.0.0-dev.6 [Pipeline] sh 05:50:15 + lftools sign git-tag v4.0.0-dev.6 05:50:16 Signing Git tag with Sigul... 05:50:16 Signing v4.0.0-dev.6 [Pipeline] echo 05:50:16 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:50:17 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:50:17 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:50:17 $ docker stop --time=1 3330cec6a232432b367ee0f321883218f7cfd44bbae78f3ffb4753769129c012 05:50:18 $ docker rm -f --volumes 3330cec6a232432b367ee0f321883218f7cfd44bbae78f3ffb4753769129c012 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:50:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:50:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:50:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:50:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:50:19 prd-ubuntu20.04-docker-8c-8g-26335 does not seem to be running inside a container 05:50:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:50:19 $ docker top dcbf0fde70b3428f59e9d919ccf67b1896e9dceb4458d3fe231c6ba8a0d10072 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:50:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:50:19 [ssh-agent] Looking for ssh-agent implementation... 05:50:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:50:19 $ docker exec dcbf0fde70b3428f59e9d919ccf67b1896e9dceb4458d3fe231c6ba8a0d10072 ssh-agent 05:50:19 SSH_AUTH_SOCK=/tmp/ssh-i0ssr8RK36Rj/agent.31 05:50:19 SSH_AGENT_PID=37 05:50:19 Running ssh-add (command line suppressed) 05:50:20 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7301105630232096837.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7301105630232096837.key) 05:50:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:50:20 + git semver bump pre 05:50:20 2024-11-13 05:50:20,592 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:50:20 2024-11-13 05:50:20,593 [bump_version] DEBUG bumping version:4.0.0-dev.6 on axis:pre with prefix:dev 05:50:20 2024-11-13 05:50:20,593 [bump_version] DEBUG bumped version:4.0.0-dev.7 05:50:20 2024-11-13 05:50:20,593 [write_version] DEBUG write version:4.0.0-dev.7 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 05:50:20 2024-11-13 05:50:20,593 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:50:20 2024-11-13 05:50:20,593 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:50:20 2024-11-13 05:50:20,595 [execute] INFO git cat-file --batch-check 05:50:20 2024-11-13 05:50:20,595 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:50:20 2024-11-13 05:50:20,600 [execute] INFO git cat-file --batch 05:50:20 2024-11-13 05:50:20,600 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:50:20 2024-11-13 05:50:20,606 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:50:20 4.0.0-dev.7 [Pipeline] } 05:50:20 $ docker exec --env ******** --env ******** dcbf0fde70b3428f59e9d919ccf67b1896e9dceb4458d3fe231c6ba8a0d10072 ssh-agent -k 05:50:20 unset SSH_AUTH_SOCK; 05:50:20 unset SSH_AGENT_PID; 05:50:20 echo Agent pid 37 killed; 05:50:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:50:21 + git semver [Pipeline] } 05:50:21 $ docker stop --time=1 dcbf0fde70b3428f59e9d919ccf67b1896e9dceb4458d3fe231c6ba8a0d10072 05:50:22 $ docker rm -f --volumes dcbf0fde70b3428f59e9d919ccf67b1896e9dceb4458d3fe231c6ba8a0d10072 [Pipeline] // withDockerContainer [Pipeline] sh 05:50:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:50:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:50:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:50:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:50:23 prd-ubuntu20.04-docker-8c-8g-26335 does not seem to be running inside a container 05:50:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:50:23 $ docker top ab60375587134c7801854041f33463883b57a6c09903524b060fd12d85e59d89 -eo pid,comm 05:50:23 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:50:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:50:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:50:23 [ssh-agent] Looking for ssh-agent implementation... 05:50:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:50:24 $ docker exec ab60375587134c7801854041f33463883b57a6c09903524b060fd12d85e59d89 ssh-agent 05:50:24 SSH_AUTH_SOCK=/tmp/ssh-kdEUNAhm3hGk/agent.32 05:50:24 SSH_AGENT_PID=38 05:50:24 Running ssh-add (command line suppressed) 05:50:24 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17915992475141578309.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17915992475141578309.key) 05:50:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:50:24 + git semver push 05:50:24 2024-11-13 05:50:24,731 [run_push] DEBUG push 05:50:24 2024-11-13 05:50:24,732 [execute] INFO git cat-file --batch-check 05:50:24 2024-11-13 05:50:24,732 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:50:24 2024-11-13 05:50:24,736 [execute] INFO git rev-list 56e29962c762f4251a62ed8dbf745e8e1b1f117b -- 05:50:24 2024-11-13 05:50:24,736 [execute] DEBUG Popen(['git', 'rev-list', '56e29962c762f4251a62ed8dbf745e8e1b1f117b', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:50:24 2024-11-13 05:50:24,746 [execute] INFO git fetch -v origin 05:50:24 2024-11-13 05:50:24,747 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 05:50:25 2024-11-13 05:50:25,211 [run_push] DEBUG no remote changes detected 05:50:25 2024-11-13 05:50:25,211 [execute] INFO git push origin semver 05:50:25 2024-11-13 05:50:25,212 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:50:25 2024-11-13 05:50:25,889 [run_push] DEBUG push all version tags 05:50:25 2024-11-13 05:50:25,890 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:50:25 2024-11-13 05:50:25,890 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 05:50:26 2024-11-13 05:50:26,559 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:50:26 4.0.0-dev.7 [Pipeline] } 05:50:26 $ docker exec --env ******** --env ******** ab60375587134c7801854041f33463883b57a6c09903524b060fd12d85e59d89 ssh-agent -k 05:50:27 unset SSH_AUTH_SOCK; 05:50:27 unset SSH_AGENT_PID; 05:50:27 echo Agent pid 38 killed; 05:50:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:50:27 + git semver [Pipeline] } 05:50:27 $ docker stop --time=1 ab60375587134c7801854041f33463883b57a6c09903524b060fd12d85e59d89 05:50:28 $ docker rm -f --volumes ab60375587134c7801854041f33463883b57a6c09903524b060fd12d85e59d89 [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:29 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 05:50:29 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 05:50:29 total 16 05:50:29 drwxr-xr-x 3 root root 4096 Nov 13 05:36 . 05:50:29 drwxrwxr-x 10 jenkins jenkins 4096 Nov 13 05:50 .. 05:50:29 drwxr-xr-x 2 root root 4096 Nov 13 05:36 cost 05:50:29 -rw-r--r-- 1 root root 88 Nov 13 05:36 cost.csv 05:50:29 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 05:50:29 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 05:50:29 total 16 05:50:29 drwxr-xr-x 3 jenkins jenkins 4096 Nov 13 05:36 . 05:50:29 drwxrwxr-x 10 jenkins jenkins 4096 Nov 13 05:50 .. 05:50:29 drwxr-xr-x 2 jenkins jenkins 4096 Nov 13 05:36 cost 05:50:29 -rw-r--r-- 1 jenkins jenkins 88 Nov 13 05:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:50:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:50:30 ---> package-listing.sh 05:50:30 ++ facter osfamily 05:50:30 ++ tr '[:upper:]' '[:lower:]' 05:50:30 + OS_FAMILY=debian 05:50:30 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 05:50:30 + START_PACKAGES=/tmp/packages_start.txt 05:50:30 + END_PACKAGES=/tmp/packages_end.txt 05:50:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:50:30 + PACKAGES=/tmp/packages_start.txt 05:50:30 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 05:50:30 + PACKAGES=/tmp/packages_end.txt 05:50:30 + case "${OS_FAMILY}" in 05:50:30 + dpkg -l 05:50:30 + grep '^ii' 05:50:30 + '[' -f /tmp/packages_start.txt ']' 05:50:30 + '[' -f /tmp/packages_end.txt ']' 05:50:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:50:30 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 05:50:30 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 05:50:30 + 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:30 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:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:50:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:50:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:50:31 prd-ubuntu20.04-docker-8c-8g-26335 does not seem to be running inside a container 05:50:31 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:50:32 $ docker top f28be8fa5476c8d596e500a99b863fd8bdf8b89a310896e936a1ce0a4a29d219 -eo pid,comm [Pipeline] { [Pipeline] sh 05:50:32 + touch /tmp/pre-build-complete [Pipeline] sh 05:50:32 + mkdir -p /var/log/sysstat [Pipeline] sh 05:50:33 + ls /var/log/sa-host 05:50:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:50:33 provisioning config files... 05:50:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14608233808437896719tmp [Pipeline] { [Pipeline] echo 05:50:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:50:33 ---> create-netrc.sh [Pipeline] } 05:50:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:50:33 ---> python-tools-install.sh [Pipeline] echo 05:50:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:50:34 ---> sudo-logs.sh 05:50:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:50:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:50:34 ---> job-cost.sh 05:50:34 lf-activate-venv: SKIPPING 05:50:34 DEBUG: total: 0.2199999988079071 05:50:34 INFO: Retrieving Stack Cost... 05:50:34 INFO: Retrieving Pricing Info for: v3-standard-8 05:50:35 INFO: Archiving Costs [Pipeline] echo 05:50:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:50:35 ---> logs-deploy.sh 05:50:35 lf-activate-venv: SKIPPING 05:50:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/171 05:50:35 INFO: archiving workspace using pattern(s): 05:50:36 Archives upload complete. 05:50:36 INFO: archiving logs to Nexus