Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e778c6a7e22bae4333302da5b4dc0bc2aa806a86 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-ssh10234801673465270931.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-ssh2674725201043734002.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-ssh17404760075636446691.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-ssh9282685477964536496.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-ssh1117902492870129671.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-16257 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 e778c6a7e22bae4333302da5b4dc0bc2aa806a86 (main) Commit message: "Merge pull request #577 from jinlinGuan/golang-1.23" > 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 e778c6a7e22bae4333302da5b4dc0bc2aa806a86 # timeout=10 > git rev-list --no-walk a3ee41877b048388e7c3cdab8b1927d49f235cab # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:36:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:36:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:36:25 ========================================================= 07:36:25 EdgeX Global Pipelines Version Info 07:36:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:36:26 ------------------- 07:36:26 stable info: 07:36:26 ------------------- 07:36:26 Commited By: Ginny Guan ginny@iotechsys.com 07:36:26 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 07:36:26 Message: update stable to v1.0.265 07:36:27 ------------------- 07:36:27 experimental info: 07:36:27 ------------------- 07:36:27 Commited By: Cherry Wang cherry@iotechsys.com 07:36:27 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 07:36:27 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:36:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 07:36:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 07:36:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:36:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:36:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:36:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 07:36:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:36:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:36:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:36:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:36:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:36:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 07:36:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:36:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:36:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:36:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:36:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:36:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:36:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:36:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:36:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:36:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:36:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:36:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:36:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:36:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:36:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:36:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:36:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:36:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:36:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e778c6a7e22bae4333302da5b4dc0bc2aa806a86 [Pipeline] echo 07:36:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e778c6a [Pipeline] echo 07:36:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:36:27 provisioning config files... 07:36:27 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2326026587014350966tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:36:28 ---> ****-login.sh 07:36:28 nexus3.edgexfoundry.org:10001 07:36:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:36:29 Configure a credential helper to remove this warning. See 07:36:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:36:29 07:36:29 Login Succeeded 07:36:29 nexus3.edgexfoundry.org:10002 07:36:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:36:29 Configure a credential helper to remove this warning. See 07:36:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:36:29 07:36:29 Login Succeeded 07:36:29 nexus3.edgexfoundry.org:10003 07:36:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:36:29 Configure a credential helper to remove this warning. See 07:36:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:36:29 07:36:29 Login Succeeded 07:36:29 nexus3.edgexfoundry.org:10004 07:36:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:36:29 Configure a credential helper to remove this warning. See 07:36:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:36:29 07:36:29 Login Succeeded 07:36:29 ****.io 07:36:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:36:29 Configure a credential helper to remove this warning. See 07:36:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:36:29 07:36:29 Login Succeeded 07:36:29 ---> ****-login.sh ends [Pipeline] } 07:36:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:36:30 + git rev-list -1 --merges e778c6a7e22bae4333302da5b4dc0bc2aa806a86~1..e778c6a7e22bae4333302da5b4dc0bc2aa806a86 [Pipeline] echo 07:36:30 -----------> git rev-list -1 --merges e778c6a7e22bae4333302da5b4dc0bc2aa806a86~1..e778c6a7e22bae4333302da5b4dc0bc2aa806a86 e778c6a7e22bae4333302da5b4dc0bc2aa806a86 07:36:30 e778c6a7e22bae4333302da5b4dc0bc2aa806a86 [false] [Pipeline] sh 07:36:30 + git log --format=format:%s -1 e778c6a7e22bae4333302da5b4dc0bc2aa806a86 [Pipeline] echo 07:36:30 ========================================================= 07:36:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:36:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:36:30 + git log --format=format:%s -1 e778c6a7e22bae4333302da5b4dc0bc2aa806a86 [Pipeline] echo 07:36:30 [semverPrep] GIT_COMMIT: e778c6a7e22bae4333302da5b4dc0bc2aa806a86, Commit Message: Merge pull request #577 from jinlinGuan/golang-1.23 [Pipeline] echo 07:36:30 [semverPrep] This is not a build commit. [Pipeline] sh 07:36:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:36:31 + grep -v github /etc/ssh/ssh_known_hosts 07:36:31 + [ -e /tmp/ssh_known_hosts ] 07:36:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:36:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:36:31 + sudo tee -a /etc/ssh/ssh_known_hosts 07:36:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:36:31 07:36:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:36:32 0.1.4: Pulling from edgex-devops/py-git-semver 07:36:32 b85a868b505f: Pulling fs layer 07:36:32 e2be974225ed: Pulling fs layer 07:36:32 339a4e72a1f5: Pulling fs layer 07:36:32 988bab9f4d93: Pulling fs layer 07:36:32 1469e6f7b9e6: Pulling fs layer 07:36:32 eaf3925da568: Pulling fs layer 07:36:32 bab4dde63d76: Pulling fs layer 07:36:32 bde34c3a00c8: Pulling fs layer 07:36:32 b352a97aabf1: Pulling fs layer 07:36:32 4872d77fe225: Pulling fs layer 07:36:32 5851b861e8e6: Pulling fs layer 07:36:32 1469e6f7b9e6: Waiting 07:36:32 eaf3925da568: Waiting 07:36:32 988bab9f4d93: Waiting 07:36:32 bab4dde63d76: Waiting 07:36:32 4872d77fe225: Waiting 07:36:32 5851b861e8e6: Waiting 07:36:32 bde34c3a00c8: Waiting 07:36:32 b352a97aabf1: Waiting 07:36:32 e2be974225ed: Verifying Checksum 07:36:32 e2be974225ed: Download complete 07:36:32 988bab9f4d93: Verifying Checksum 07:36:32 988bab9f4d93: Download complete 07:36:32 1469e6f7b9e6: Verifying Checksum 07:36:32 1469e6f7b9e6: Download complete 07:36:32 339a4e72a1f5: Verifying Checksum 07:36:32 339a4e72a1f5: Download complete 07:36:32 eaf3925da568: Verifying Checksum 07:36:32 eaf3925da568: Download complete 07:36:32 b352a97aabf1: Verifying Checksum 07:36:32 b352a97aabf1: Download complete 07:36:32 4872d77fe225: Verifying Checksum 07:36:32 5851b861e8e6: Download complete 07:36:32 b85a868b505f: Verifying Checksum 07:36:32 b85a868b505f: Download complete 07:36:32 bab4dde63d76: Verifying Checksum 07:36:32 bab4dde63d76: Download complete 07:36:33 b85a868b505f: Pull complete 07:36:33 e2be974225ed: Pull complete 07:36:34 339a4e72a1f5: Pull complete 07:36:34 988bab9f4d93: Pull complete 07:36:34 1469e6f7b9e6: Pull complete 07:36:34 eaf3925da568: Pull complete 07:36:36 bab4dde63d76: Pull complete 07:36:36 bde34c3a00c8: Pull complete 07:36:36 b352a97aabf1: Pull complete 07:36:36 4872d77fe225: Pull complete 07:36:36 5851b861e8e6: Pull complete 07:36:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:36:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:36:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:36:36 prd-ubuntu20.04-docker-8c-8g-16257 does not seem to be running inside a container 07:36:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:36:40 $ docker top 3912840f121bca03539779f797e16132787ce09de34d22bce3fe065f023c680b -eo pid,comm 07:36:40 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). 07:36:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:36:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:36:40 [ssh-agent] Looking for ssh-agent implementation... 07:36:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:36:40 $ docker exec 3912840f121bca03539779f797e16132787ce09de34d22bce3fe065f023c680b ssh-agent 07:36:40 SSH_AUTH_SOCK=/tmp/ssh-YB51kH9lM2pw/agent.32 07:36:40 SSH_AGENT_PID=38 07:36:40 Running ssh-add (command line suppressed) 07:36:40 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_647649246399747591.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_647649246399747591.key) 07:36:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:36:40 + git tag --points-at HEAD [Pipeline] } 07:36:40 $ docker exec --env ******** --env ******** 3912840f121bca03539779f797e16132787ce09de34d22bce3fe065f023c680b ssh-agent -k 07:36:40 unset SSH_AUTH_SOCK; 07:36:40 unset SSH_AGENT_PID; 07:36:40 echo Agent pid 38 killed; 07:36:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:36:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:36:40 [ssh-agent] Looking for ssh-agent implementation... 07:36:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:36:41 $ docker exec 3912840f121bca03539779f797e16132787ce09de34d22bce3fe065f023c680b ssh-agent 07:36:41 SSH_AUTH_SOCK=/tmp/ssh-3wwIBGmTElqN/agent.71 07:36:41 SSH_AGENT_PID=77 07:36:41 Running ssh-add (command line suppressed) 07:36:41 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10744987926693335398.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10744987926693335398.key) 07:36:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:36:41 + git semver init 07:36:41 2024-10-04 07:36:41,787 [run_init] DEBUG init version:0.0.0 force:False 07:36:41 2024-10-04 07:36:41,788 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 07:36:41 2024-10-04 07:36:41,788 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 07:36:41 2024-10-04 07:36:41,789 [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) 07:36:43 2024-10-04 07:36:42,845 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 07:36:43 2024-10-04 07:36:42,845 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 07:36:43 2024-10-04 07:36:42,846 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:36:43 2024-10-04 07:36:42,846 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:36:43 3.2.0-dev.24 [Pipeline] } 07:36:43 $ docker exec --env ******** --env ******** 3912840f121bca03539779f797e16132787ce09de34d22bce3fe065f023c680b ssh-agent -k 07:36:43 unset SSH_AUTH_SOCK; 07:36:43 unset SSH_AGENT_PID; 07:36:43 echo Agent pid 77 killed; 07:36:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:36:43 + git semver [Pipeline] } 07:36:43 $ docker stop --time=1 3912840f121bca03539779f797e16132787ce09de34d22bce3fe065f023c680b 07:36:45 $ docker rm -f --volumes 3912840f121bca03539779f797e16132787ce09de34d22bce3fe065f023c680b [Pipeline] // withDockerContainer [Pipeline] sh 07:36:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:36:45 Stashed 1 file(s) [Pipeline] echo 07:36:45 [edgeXSemver]: initialized semver on version 3.2.0-dev.24 [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 07:36:46 provisioning config files... 07:36:46 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11551989872949212127tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:36:46 ---> ****-login.sh 07:36:46 nexus3.edgexfoundry.org:10001 07:36:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:36:46 Configure a credential helper to remove this warning. See 07:36:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:36:46 07:36:46 Login Succeeded 07:36:46 nexus3.edgexfoundry.org:10002 07:36:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:36:46 Configure a credential helper to remove this warning. See 07:36:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:36:46 07:36:46 Login Succeeded 07:36:46 nexus3.edgexfoundry.org:10003 07:36:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:36:46 Configure a credential helper to remove this warning. See 07:36:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:36:46 07:36:46 Login Succeeded 07:36:46 nexus3.edgexfoundry.org:10004 07:36:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:36:46 Configure a credential helper to remove this warning. See 07:36:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:36:46 07:36:46 Login Succeeded 07:36:46 ****.io 07:36:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:36:46 Configure a credential helper to remove this warning. See 07:36:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:36:46 07:36:46 Login Succeeded 07:36:46 ---> ****-login.sh ends [Pipeline] } 07:36:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:36:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:36:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:36:47 ========================================================= 07:36:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 07:36:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:47 + 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 . 07:36:47 Sending build context to Docker daemon 17.85MB 07:36:47 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 07:36:47 Step 2/10 : FROM ${BASE} AS builder 07:36:47 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 07:36:47 43c4264eed91: Pulling fs layer 07:36:47 4cc291be95ef: Pulling fs layer 07:36:47 2ac1f1163629: Pulling fs layer 07:36:47 5c3c966382ef: Pulling fs layer 07:36:47 4f4fb700ef54: Pulling fs layer 07:36:47 5d5c8e513c77: Pulling fs layer 07:36:47 9f66e0745190: Pulling fs layer 07:36:47 f49a43e4bbc0: Pulling fs layer 07:36:47 4f4fb700ef54: Waiting 07:36:47 5d5c8e513c77: Waiting 07:36:47 5c3c966382ef: Waiting 07:36:47 9f66e0745190: Waiting 07:36:47 561ebcabdf7f: Pulling fs layer 07:36:47 f49a43e4bbc0: Waiting 07:36:47 561ebcabdf7f: Waiting 07:36:47 4cc291be95ef: Verifying Checksum 07:36:47 4cc291be95ef: Download complete 07:36:47 5c3c966382ef: Verifying Checksum 07:36:47 5c3c966382ef: Download complete 07:36:47 4f4fb700ef54: Download complete 07:36:47 5d5c8e513c77: Verifying Checksum 07:36:47 5d5c8e513c77: Download complete 07:36:47 43c4264eed91: Verifying Checksum 07:36:47 43c4264eed91: Download complete 07:36:47 9f66e0745190: Verifying Checksum 07:36:47 9f66e0745190: Download complete 07:36:47 561ebcabdf7f: Verifying Checksum 07:36:47 561ebcabdf7f: Download complete 07:36:47 43c4264eed91: Pull complete 07:36:48 4cc291be95ef: Pull complete 07:36:48 2ac1f1163629: Download complete 07:36:48 f49a43e4bbc0: Verifying Checksum 07:36:48 f49a43e4bbc0: Download complete 07:36:52 2ac1f1163629: Pull complete 07:36:52 5c3c966382ef: Pull complete 07:36:52 4f4fb700ef54: Pull complete 07:36:52 5d5c8e513c77: Pull complete 07:36:52 9f66e0745190: Pull complete 07:36:54 f49a43e4bbc0: Pull complete 07:36:55 561ebcabdf7f: Pull complete 07:36:55 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 07:36:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 07:36:55 ---> 3a752c3f9dda 07:36:55 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:37:01 Still waiting to schedule task 07:37:01 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16213’ 07:37:01 ---> Running in cd316561b52c 07:37:01 Removing intermediate container cd316561b52c 07:37:01 ---> 458352821878 07:37:01 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:37:01 ---> Running in 604b2eada06a 07:37:01 Removing intermediate container 604b2eada06a 07:37:01 ---> 9707fb2e2c1f 07:37:01 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:37:01 ---> Running in cc9be973a9f0 07:37:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:37:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:37:02 (1/8) Installing openssh-keygen (9.7_p1-r4) 07:37:02 (2/8) Installing libedit (20240517.3.1-r0) 07:37:02 (3/8) Installing openssh-client-common (9.7_p1-r4) 07:37:02 (4/8) Installing openssh-client-default (9.7_p1-r4) 07:37:02 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 07:37:02 (6/8) Installing openssh-server-common (9.7_p1-r4) 07:37:02 (7/8) Installing openssh-server (9.7_p1-r4) 07:37:02 (8/8) Installing openssh (9.7_p1-r4) 07:37:02 Executing busybox-1.36.1-r29.trigger 07:37:02 OK: 252 MiB in 62 packages 07:37:02 Removing intermediate container cc9be973a9f0 07:37:02 ---> 007ff7de9493 07:37:02 Step 6/10 : WORKDIR /device-modbus-go 07:37:02 ---> Running in d20dbe2e6be5 07:37:02 Removing intermediate container d20dbe2e6be5 07:37:02 ---> 5d9b9ca47094 07:37:02 Step 7/10 : COPY go.mod vendor* ./ 07:37:03 ---> 16b31315c81f 07:37:03 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:37:03 ---> Running in 27d88974d7c2 07:38:25 Removing intermediate container 27d88974d7c2 07:38:25 ---> a41aa9d2e1c9 07:38:25 Step 9/10 : COPY . . 07:38:25 ---> 59cb5898e804 07:38:25 Step 10/10 : RUN ${MAKE} 07:38:25 ---> Running in 5ad0acb745bf 07:38:25 noop 07:38:25 Removing intermediate container 5ad0acb745bf 07:38:25 ---> 97c6ea814dc7 07:38:25 Successfully built 97c6ea814dc7 07:38:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:38:25 + docker inspect -f . ci-base-image-x86_64 07:38:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:38:25 prd-ubuntu20.04-docker-8c-8g-16257 does not seem to be running inside a container 07:38:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:38:25 $ docker top 697e6f1a5218629de94078454083a9e15edcc2803a9c2aab9e4a70be246e3c7c -eo pid,comm [Pipeline] { [Pipeline] sh 07:38:26 + go version 07:38:26 go version go1.23.2 linux/amd64 [Pipeline] } 07:38:26 $ docker stop --time=1 697e6f1a5218629de94078454083a9e15edcc2803a9c2aab9e4a70be246e3c7c 07:38:27 $ docker rm -f --volumes 697e6f1a5218629de94078454083a9e15edcc2803a9c2aab9e4a70be246e3c7c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:38:27 + docker inspect -f . ci-base-image-x86_64 07:38:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:38:28 prd-ubuntu20.04-docker-8c-8g-16257 does not seem to be running inside a container 07:38:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:38:28 $ docker top 065469c2be7d8ed0a51e6469aab384eecfa8374bc4d275395afcab4a200bb22b -eo pid,comm [Pipeline] { [Pipeline] sh 07:38:28 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 07:38:29 + make test 07:38:29 go test ./... -coverprofile=coverage.out 07:38:30 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:38:52 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 07:38:52 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.010s coverage: 47.9% of statements 07:39:05 go vet ./... 07:39:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:39:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:39:10 ./bin/test-attribution-txt.sh [Pipeline] echo 07:39:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:39:10 $ docker stop --time=1 065469c2be7d8ed0a51e6469aab384eecfa8374bc4d275395afcab4a200bb22b 07:39:15 $ docker rm -f --volumes 065469c2be7d8ed0a51e6469aab384eecfa8374bc4d275395afcab4a200bb22b [Pipeline] // withDockerContainer [Pipeline] sh 07:39:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:39:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:39:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:39:16 + ls -al . 07:39:16 total 272 07:39:16 drwxrwxr-x 9 jenkins jenkins 4096 Oct 4 07:38 . 07:39:16 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 07:36 .. 07:39:16 -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 07:36 .dockerignore 07:39:16 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 07:38 .git 07:39:16 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 07:36 .github 07:39:16 -rw-rw-r-- 1 jenkins jenkins 266 Oct 4 07:36 .gitignore 07:39:16 -rw-rw-r-- 1 jenkins jenkins 199 Oct 4 07:36 .golangci.yml 07:39:16 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 07:36 .semver 07:39:16 -rw-rw-r-- 1 jenkins jenkins 19818 Oct 4 07:36 Attribution.txt 07:39:16 -rw-rw-r-- 1 jenkins jenkins 16388 Oct 4 07:36 CHANGELOG.md 07:39:16 -rw-rw-r-- 1 jenkins jenkins 1474 Oct 4 07:36 Dockerfile 07:39:16 -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 07:36 GOVERNANCE.md 07:39:16 -rw-rw-r-- 1 jenkins jenkins 658 Oct 4 07:36 Jenkinsfile 07:39:16 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 07:36 LICENSE 07:39:16 -rw-rw-r-- 1 jenkins jenkins 1942 Oct 4 07:36 Makefile 07:39:16 -rw-rw-r-- 1 jenkins jenkins 622 Oct 4 07:36 OWNERS.md 07:39:16 -rw-rw-r-- 1 jenkins jenkins 4463 Oct 4 07:36 README.md 07:39:16 -rw-rw-r-- 1 jenkins jenkins 12 Oct 4 07:36 VERSION 07:39:16 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 07:36 bin 07:39:16 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 07:36 cmd 07:39:16 -rw-r--r-- 1 jenkins jenkins 24669 Oct 4 07:38 coverage.out 07:39:16 -rw-rw-r-- 1 jenkins jenkins 7157 Oct 4 07:36 go.mod 07:39:16 -rw-rw-r-- 1 jenkins jenkins 100518 Oct 4 07:36 go.sum 07:39:16 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 07:36 internal 07:39:16 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 07:36 simulator 07:39:16 -rw-rw-r-- 1 jenkins jenkins 229 Oct 4 07:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:16 + 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=e778c6a7e22bae4333302da5b4dc0bc2aa806a86 --label arch=amd64 --label version=3.2.0-dev.24 . 07:39:16 Sending build context to Docker daemon 17.88MB 07:39:16 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 07:39:16 Step 2/23 : FROM ${BASE} AS builder 07:39:16 ---> 97c6ea814dc7 07:39:16 Step 3/23 : ARG ADD_BUILD_TAGS="" 07:39:17 ---> Running in e481af92ac1c 07:39:17 Removing intermediate container e481af92ac1c 07:39:17 ---> 76ac97287428 07:39:17 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:39:17 ---> Running in 66a5f404141a 07:39:17 Removing intermediate container 66a5f404141a 07:39:17 ---> f1e1d0defe5b 07:39:17 Step 5/23 : RUN apk add --update --no-cache make git openssh 07:39:17 ---> Running in f7bf212eeb9e 07:39:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:39:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:39:18 OK: 252 MiB in 62 packages 07:39:18 Removing intermediate container f7bf212eeb9e 07:39:18 ---> 4d9fab5f9afc 07:39:18 Step 6/23 : WORKDIR /device-modbus-go 07:39:18 ---> Running in c6c1ac6c0990 07:39:18 Removing intermediate container c6c1ac6c0990 07:39:18 ---> 7cc6ef4ae662 07:39:18 Step 7/23 : COPY go.mod vendor* ./ 07:39:19 ---> 2ee0b8bb80fb 07:39:19 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:39:19 ---> Running in fe477298062e 07:39:20 Removing intermediate container fe477298062e 07:39:20 ---> 73858f960645 07:39:20 Step 9/23 : COPY . . 07:39:20 ---> 4f699e507282 07:39:20 Step 10/23 : RUN ${MAKE} 07:39:20 ---> Running in 4eaa2429c1b6 07:39:20 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.24 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.41" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 07:40:07 Removing intermediate container 4eaa2429c1b6 07:40:07 ---> e2c7cd0c9b92 07:40:07 Step 11/23 : FROM alpine:3.20 07:40:07 3.20: Pulling from library/alpine 07:40:07 43c4264eed91: Already exists 07:40:07 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 07:40:07 Status: Downloaded newer image for alpine:3.20 07:40:07 ---> 91ef0af61f39 07:40:07 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 07:40:07 ---> Running in 20cb6927a411 07:40:07 Removing intermediate container 20cb6927a411 07:40:07 ---> 4a40b98b96ca 07:40:07 Step 13/23 : RUN apk add --update --no-cache dumb-init 07:40:07 ---> Running in a628f1641ec0 07:40:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:40:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:40:07 (1/1) Installing dumb-init (1.2.5-r3) 07:40:07 Executing busybox-1.36.1-r29.trigger 07:40:07 OK: 8 MiB in 15 packages 07:40:07 Removing intermediate container a628f1641ec0 07:40:07 ---> ef30339ec733 07:40:07 Step 14/23 : RUN apk --no-cache upgrade 07:40:07 ---> Running in 2ee57c0cc9de 07:40:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:40:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:40:07 Upgrading critical system libraries and apk-tools: 07:40:07 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 07:40:07 Executing busybox-1.36.1-r29.trigger 07:40:07 Continuing the upgrade transaction with new apk-tools: 07:40:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:40:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:40:07 OK: 8 MiB in 15 packages 07:40:07 Removing intermediate container 2ee57c0cc9de 07:40:07 ---> 7133e5383e01 07:40:07 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 07:40:10 ---> b56ac059861f 07:40:10 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 07:40:10 ---> 2cb21ba39ab2 07:40:10 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:40:10 ---> cc699a813ead 07:40:10 Step 18/23 : EXPOSE 59901 07:40:10 ---> Running in d8354da4edef 07:40:10 Removing intermediate container d8354da4edef 07:40:10 ---> 8436a1ad608b 07:40:10 Step 19/23 : ENTRYPOINT ["/device-modbus"] 07:40:10 ---> Running in b055fb1f7a58 07:40:10 Removing intermediate container b055fb1f7a58 07:40:10 ---> d196baa1aeca 07:40:10 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:40:10 ---> Running in 6129f823c456 07:40:10 Removing intermediate container 6129f823c456 07:40:10 ---> 957b60b9905c 07:40:10 Step 21/23 : LABEL arch=amd64 07:40:10 ---> Running in b02bed24ab0e 07:40:10 Removing intermediate container b02bed24ab0e 07:40:10 ---> 283e195cd8c5 07:40:10 Step 22/23 : LABEL git_sha=e778c6a7e22bae4333302da5b4dc0bc2aa806a86 07:40:10 ---> Running in 97755a44c800 07:40:10 Removing intermediate container 97755a44c800 07:40:10 ---> 17fb47c93582 07:40:10 Step 23/23 : LABEL version=3.2.0-dev.24 07:40:10 ---> Running in 251006bc0a35 07:40:10 Removing intermediate container 251006bc0a35 07:40:10 ---> b96f3b8edb1e 07:40:10 [Warning] One or more build-args [ARCH] were not consumed 07:40:10 Successfully built b96f3b8edb1e 07:40:10 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:40:10 provisioning config files... 07:40:10 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1167706748942155106tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:40:11 ---> ****-login.sh 07:40:11 nexus3.edgexfoundry.org:10001 07:40:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:40:11 Configure a credential helper to remove this warning. See 07:40:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:40:11 07:40:11 Login Succeeded 07:40:11 nexus3.edgexfoundry.org:10002 07:40:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:40:11 Configure a credential helper to remove this warning. See 07:40:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:40:11 07:40:11 Login Succeeded 07:40:11 nexus3.edgexfoundry.org:10003 07:40:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:40:12 Configure a credential helper to remove this warning. See 07:40:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:40:12 07:40:12 Login Succeeded 07:40:12 nexus3.edgexfoundry.org:10004 07:40:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:40:12 Configure a credential helper to remove this warning. See 07:40:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:40:12 07:40:12 Login Succeeded 07:40:12 ****.io 07:40:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:40:12 Configure a credential helper to remove this warning. See 07:40:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:40:12 07:40:12 Login Succeeded 07:40:12 ---> ****-login.sh ends [Pipeline] } 07:40:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:40:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:40:12 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 07:40:12 e778c6a7e22bae4333302da5b4dc0bc2aa806a86 07:40:12 latest 07:40:12 3.2.0-dev.24 07:40:12 e778c6a7e22bae4333302da5b4dc0bc2aa806a86-3.2.0-dev.24 07:40:12 main 07:40:12 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:12 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:e778c6a7e22bae4333302da5b4dc0bc2aa806a86 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:13 + docker push nexus3.edgexfoundry.org:10004/device-modbus:e778c6a7e22bae4333302da5b4dc0bc2aa806a86 07:40:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:40:13 0ab2c41fc6c4: Preparing 07:40:13 fc54bd2fa343: Preparing 07:40:13 bf104e7bd0ae: Preparing 07:40:13 25152d2cf033: Preparing 07:40:13 92f35f23138a: Preparing 07:40:13 63ca1fbb43ae: Preparing 07:40:13 63ca1fbb43ae: Waiting 07:40:13 0ab2c41fc6c4: Pushed 07:40:13 25152d2cf033: Pushed 07:40:13 fc54bd2fa343: Pushed 07:40:13 92f35f23138a: Pushed 07:40:13 63ca1fbb43ae: Layer already exists 07:40:16 bf104e7bd0ae: Pushed 07:40:16 e778c6a7e22bae4333302da5b4dc0bc2aa806a86: digest: sha256:5188b5bd28308580e064136a1a4026b9f972d87b8058b8701ec9428b02599b85 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:16 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:17 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 07:40:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:40:17 0ab2c41fc6c4: Preparing 07:40:17 fc54bd2fa343: Preparing 07:40:17 bf104e7bd0ae: Preparing 07:40:17 25152d2cf033: Preparing 07:40:17 92f35f23138a: Preparing 07:40:17 63ca1fbb43ae: Preparing 07:40:17 63ca1fbb43ae: Waiting 07:40:17 25152d2cf033: Layer already exists 07:40:17 0ab2c41fc6c4: Layer already exists 07:40:17 bf104e7bd0ae: Layer already exists 07:40:17 fc54bd2fa343: Layer already exists 07:40:17 92f35f23138a: Layer already exists 07:40:17 63ca1fbb43ae: Layer already exists 07:40:17 latest: digest: sha256:5188b5bd28308580e064136a1a4026b9f972d87b8058b8701ec9428b02599b85 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:17 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:17 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.24 07:40:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:40:17 0ab2c41fc6c4: Preparing 07:40:17 fc54bd2fa343: Preparing 07:40:17 bf104e7bd0ae: Preparing 07:40:17 25152d2cf033: Preparing 07:40:17 92f35f23138a: Preparing 07:40:17 63ca1fbb43ae: Preparing 07:40:17 63ca1fbb43ae: Waiting 07:40:17 0ab2c41fc6c4: Layer already exists 07:40:17 fc54bd2fa343: Layer already exists 07:40:17 bf104e7bd0ae: Layer already exists 07:40:17 25152d2cf033: Layer already exists 07:40:17 92f35f23138a: Layer already exists 07:40:17 63ca1fbb43ae: Layer already exists 07:40:17 3.2.0-dev.24: digest: sha256:5188b5bd28308580e064136a1a4026b9f972d87b8058b8701ec9428b02599b85 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:18 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:e778c6a7e22bae4333302da5b4dc0bc2aa806a86-3.2.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:18 + docker push nexus3.edgexfoundry.org:10004/device-modbus:e778c6a7e22bae4333302da5b4dc0bc2aa806a86-3.2.0-dev.24 07:40:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:40:18 0ab2c41fc6c4: Preparing 07:40:18 fc54bd2fa343: Preparing 07:40:18 bf104e7bd0ae: Preparing 07:40:18 25152d2cf033: Preparing 07:40:18 92f35f23138a: Preparing 07:40:18 63ca1fbb43ae: Preparing 07:40:18 63ca1fbb43ae: Waiting 07:40:18 25152d2cf033: Layer already exists 07:40:18 fc54bd2fa343: Layer already exists 07:40:18 bf104e7bd0ae: Layer already exists 07:40:18 92f35f23138a: Layer already exists 07:40:18 0ab2c41fc6c4: Layer already exists 07:40:18 63ca1fbb43ae: Layer already exists 07:40:18 e778c6a7e22bae4333302da5b4dc0bc2aa806a86-3.2.0-dev.24: digest: sha256:5188b5bd28308580e064136a1a4026b9f972d87b8058b8701ec9428b02599b85 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:18 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:19 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 07:40:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:40:19 0ab2c41fc6c4: Preparing 07:40:19 fc54bd2fa343: Preparing 07:40:19 bf104e7bd0ae: Preparing 07:40:19 25152d2cf033: Preparing 07:40:19 92f35f23138a: Preparing 07:40:19 63ca1fbb43ae: Preparing 07:40:19 63ca1fbb43ae: Waiting 07:40:19 0ab2c41fc6c4: Layer already exists 07:40:19 25152d2cf033: Layer already exists 07:40:19 fc54bd2fa343: Layer already exists 07:40:19 bf104e7bd0ae: Layer already exists 07:40:19 92f35f23138a: Layer already exists 07:40:19 63ca1fbb43ae: Layer already exists 07:40:19 main: digest: sha256:5188b5bd28308580e064136a1a4026b9f972d87b8058b8701ec9428b02599b85 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:40:19 ===================================================== [Pipeline] echo 07:40:19 taggedImages: 07:40:19 - nexus3.edgexfoundry.org:10004/device-modbus:e778c6a7e22bae4333302da5b4dc0bc2aa806a86 07:40:19 - nexus3.edgexfoundry.org:10004/device-modbus:latest 07:40:19 - nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.24 07:40:19 - nexus3.edgexfoundry.org:10004/device-modbus:e778c6a7e22bae4333302da5b4dc0bc2aa806a86-3.2.0-dev.24 07:40:19 - 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 07:40:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:40:19 07:40:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:40:19 latest: Pulling from edgex-lftools-log-publisher 07:40:19 5eb5b503b376: Pulling fs layer 07:40:19 5c69ac0246d0: Pulling fs layer 07:40:19 ec43610c2a17: Pulling fs layer 07:40:19 3a2ae6a8a46f: Pulling fs layer 07:40:19 33b1e0a273af: Pulling fs layer 07:40:19 5d3b04190fa2: Pulling fs layer 07:40:19 2f39f015ded8: Pulling fs layer 07:40:19 33b1e0a273af: Waiting 07:40:19 2f39f015ded8: Waiting 07:40:19 5d3b04190fa2: Waiting 07:40:19 3a2ae6a8a46f: Waiting 07:40:19 5c69ac0246d0: Verifying Checksum 07:40:19 5c69ac0246d0: Download complete 07:40:19 3a2ae6a8a46f: Download complete 07:40:19 33b1e0a273af: Verifying Checksum 07:40:19 33b1e0a273af: Download complete 07:40:19 5d3b04190fa2: Verifying Checksum 07:40:19 5d3b04190fa2: Download complete 07:40:19 ec43610c2a17: Verifying Checksum 07:40:19 ec43610c2a17: Download complete 07:40:20 5eb5b503b376: Verifying Checksum 07:40:20 5eb5b503b376: Download complete 07:40:20 2f39f015ded8: Download complete 07:40:21 5eb5b503b376: Pull complete 07:40:21 5c69ac0246d0: Pull complete 07:40:22 ec43610c2a17: Pull complete 07:40:22 3a2ae6a8a46f: Pull complete 07:40:22 33b1e0a273af: Pull complete 07:40:22 5d3b04190fa2: Pull complete 07:40:27 2f39f015ded8: Pull complete 07:40:27 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:40:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:40:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:40:27 prd-ubuntu20.04-docker-8c-8g-16257 does not seem to be running inside a container 07:40:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:40:34 $ docker top d62b7db05faeaefc9e1ced0db9114698fae131f3a00434894fe60c45d0167b84 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:40:34 ---> job-cost.sh 07:40:34 lf-activate-venv: SKIPPING 07:40:34 INFO: No Stack... 07:40:34 INFO: Retrieving Pricing Info for: v3-standard-8 07:40:34 INFO: Archiving Costs [Pipeline] sh 07:40:35 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 07:40:35 + cut -d, -f6 [Pipeline] lock 07:40:35 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-163-stack-cost] 07:40:35 Resource [jenkins-edgexfoundry-device-modbus-go-main-163-stack-cost] did not exist. Created. 07:40:35 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-163-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:40:35 + echo total: 0.2199999988079071 [Pipeline] stash 07:40:35 Stashed 1 file(s) [Pipeline] } 07:40:35 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-163-stack-cost] [Pipeline] // lock [Pipeline] } 07:40:35 $ docker stop --time=1 d62b7db05faeaefc9e1ced0db9114698fae131f3a00434894fe60c45d0167b84 07:40:36 $ docker rm -f --volumes d62b7db05faeaefc9e1ced0db9114698fae131f3a00434894fe60c45d0167b84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:43:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16368 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 07:43:50 Running in /w/workspace/device-modbus-go/163 [Pipeline] { [Pipeline] checkout 07:43:53 The recommended git tool is: git 07:44:01 using credential edgex-jenkins-ssh 07:44:01 Cloning the remote Git repository 07:44:01 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 07:44:01 > git init /w/workspace/device-modbus-go/163 # timeout=10 07:44:01 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:44:01 > git --version # timeout=10 07:44:02 > git --version # 'git version 2.25.1' 07:44:02 using GIT_SSH to set credentials SSH Credentials for GitHub 07:44:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:44:05 Avoid second fetch 07:44:05 Checking out Revision e778c6a7e22bae4333302da5b4dc0bc2aa806a86 (main) 07:44:04 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:44:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:44:05 > git config core.sparsecheckout # timeout=10 07:44:05 > git checkout -f e778c6a7e22bae4333302da5b4dc0bc2aa806a86 # timeout=10 07:44:05 Commit message: "Merge pull request #577 from jinlinGuan/golang-1.23" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:44:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:44:10 % Total % Received % Xferd Average Speed Time Time Time Current 07:44:10 Dload Upload Total Spent Left Speed 07:44:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 245k 0 --:--:-- --:--:-- --:--:-- 245k [Pipeline] sh 07:44:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:44:11 + sudo tee /etc/docker/daemon.new 07:44:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:44:11 { 07:44:11 "registry-mirrors": [ 07:44:11 "https://nexus3.edgexfoundry.org:10001" 07:44:11 ], 07:44:11 "bip": "10.250.0.254/24", 07:44:11 "hosts": [ 07:44:11 "tcp://0.0.0.0:5555", 07:44:11 "unix:///var/run/docker.sock" 07:44:11 ], 07:44:11 "mtu": 1458, 07:44:11 "selinux-enabled": true, 07:44:11 "seccomp-profile": "/etc/docker/seccomp.json" 07:44:11 } [Pipeline] sh 07:44:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:44:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:44:30 provisioning config files... 07:44:30 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/163@tmp/config2900657621789153318tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:44:30 ---> ****-login.sh 07:44:30 nexus3.edgexfoundry.org:10001 07:44:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:44:31 Configure a credential helper to remove this warning. See 07:44:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:44:31 07:44:31 Login Succeeded 07:44:31 nexus3.edgexfoundry.org:10002 07:44:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:44:31 Configure a credential helper to remove this warning. See 07:44:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:44:31 07:44:31 Login Succeeded 07:44:31 nexus3.edgexfoundry.org:10003 07:44:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:44:32 Configure a credential helper to remove this warning. See 07:44:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:44:32 07:44:32 Login Succeeded 07:44:32 nexus3.edgexfoundry.org:10004 07:44:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:44:32 Configure a credential helper to remove this warning. See 07:44:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:44:32 07:44:32 Login Succeeded 07:44:32 ****.io 07:44:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:44:32 Configure a credential helper to remove this warning. See 07:44:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:44:32 07:44:32 Login Succeeded 07:44:32 ---> ****-login.sh ends [Pipeline] } 07:44:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:44:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:44:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:44:33 ========================================================= 07:44:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 07:44:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:44:33 + 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 . 07:44:34 Sending build context to Docker daemon 9.065MB 07:44:34 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 07:44:34 Step 2/10 : FROM ${BASE} AS builder 07:44:34 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:44:34 cf04c63912e1: Pulling fs layer 07:44:34 55b35a11ae5e: Pulling fs layer 07:44:34 a37a00ec5f00: Pulling fs layer 07:44:34 50b3750afda1: Pulling fs layer 07:44:34 50b3750afda1: Waiting 07:44:34 4f4fb700ef54: Pulling fs layer 07:44:34 80978eb59214: Pulling fs layer 07:44:34 c9f46d7d2bd2: Pulling fs layer 07:44:34 c5a475d317c9: Pulling fs layer 07:44:34 c9f46d7d2bd2: Waiting 07:44:34 4f4fb700ef54: Waiting 07:44:34 80978eb59214: Waiting 07:44:34 c5a475d317c9: Waiting 07:44:34 55b35a11ae5e: Download complete 07:44:34 50b3750afda1: Verifying Checksum 07:44:34 50b3750afda1: Download complete 07:44:34 4f4fb700ef54: Download complete 07:44:34 80978eb59214: Download complete 07:44:34 cf04c63912e1: Verifying Checksum 07:44:34 cf04c63912e1: Download complete 07:44:35 c5a475d317c9: Verifying Checksum 07:44:35 c5a475d317c9: Download complete 07:44:35 cf04c63912e1: Pull complete 07:44:36 55b35a11ae5e: Pull complete 07:44:36 a37a00ec5f00: Verifying Checksum 07:44:36 a37a00ec5f00: Download complete 07:44:37 c9f46d7d2bd2: Verifying Checksum 07:44:37 c9f46d7d2bd2: Download complete 07:44:49 a37a00ec5f00: Pull complete 07:44:49 50b3750afda1: Pull complete 07:44:49 4f4fb700ef54: Pull complete 07:44:49 80978eb59214: Pull complete 07:44:58 c9f46d7d2bd2: Pull complete 07:44:59 c5a475d317c9: Pull complete 07:44:59 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 07:44:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 07:44:59 ---> be29e6b0f0d4 07:44:59 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:45:00 ---> Running in ad0cad684cd3 07:45:01 Removing intermediate container ad0cad684cd3 07:45:01 ---> 2a0a0e0cf50d 07:45:01 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:45:01 ---> Running in 2d24b5a0587f 07:45:01 Removing intermediate container 2d24b5a0587f 07:45:01 ---> 8a9ab4d8144d 07:45:01 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:45:01 ---> Running in a98db986d485 07:45:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:45:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:45:04 (1/8) Installing openssh-keygen (9.7_p1-r4) 07:45:04 (2/8) Installing libedit (20240517.3.1-r0) 07:45:04 (3/8) Installing openssh-client-common (9.7_p1-r4) 07:45:04 (4/8) Installing openssh-client-default (9.7_p1-r4) 07:45:04 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 07:45:04 (6/8) Installing openssh-server-common (9.7_p1-r4) 07:45:04 (7/8) Installing openssh-server (9.7_p1-r4) 07:45:04 (8/8) Installing openssh (9.7_p1-r4) 07:45:04 Executing busybox-1.36.1-r29.trigger 07:45:04 OK: 244 MiB in 62 packages 07:45:06 Removing intermediate container a98db986d485 07:45:06 ---> be90e85380b3 07:45:06 Step 6/10 : WORKDIR /device-modbus-go 07:45:06 ---> Running in 043d4896a611 07:45:07 Removing intermediate container 043d4896a611 07:45:07 ---> 4505722220c3 07:45:07 Step 7/10 : COPY go.mod vendor* ./ 07:45:08 ---> fb5ada24fd66 07:45:08 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:45:08 ---> Running in 20318ac7080c 07:46:59 Removing intermediate container 20318ac7080c 07:46:59 ---> 7b32f2fa6383 07:46:59 Step 9/10 : COPY . . 07:46:59 ---> 9353d31e9132 07:46:59 Step 10/10 : RUN ${MAKE} 07:46:59 ---> Running in bd862a6f9ec0 07:46:59 noop 07:46:59 Removing intermediate container bd862a6f9ec0 07:46:59 ---> 6f64ff66396a 07:46:59 Successfully built 6f64ff66396a 07:46:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:00 + docker inspect -f . ci-base-image-arm64 07:47:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:47:00 prd-ubuntu20.04-docker-arm64-4c-16g-16368 does not seem to be running inside a container 07:47:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/163 -v /w/workspace/device-modbus-go/163:/w/workspace/device-modbus-go/163:rw,z -v /w/workspace/device-modbus-go/163@tmp:/w/workspace/device-modbus-go/163@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 07:47:01 $ docker top c7173b515b0d0a726719607af58b66c02c700c6508831265fe98d87fb925d14f -eo pid,comm [Pipeline] { [Pipeline] sh 07:47:02 + go version 07:47:02 go version go1.23.2 linux/arm64 [Pipeline] } 07:47:02 $ docker stop --time=1 c7173b515b0d0a726719607af58b66c02c700c6508831265fe98d87fb925d14f 07:47:04 $ docker rm -f --volumes c7173b515b0d0a726719607af58b66c02c700c6508831265fe98d87fb925d14f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:04 + docker inspect -f . ci-base-image-arm64 07:47:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:47:05 prd-ubuntu20.04-docker-arm64-4c-16g-16368 does not seem to be running inside a container 07:47:05 $ 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/163 -v /w/workspace/device-modbus-go/163:/w/workspace/device-modbus-go/163:rw,z -v /w/workspace/device-modbus-go/163@tmp:/w/workspace/device-modbus-go/163@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 07:47:06 $ docker top df8faa2401eae99757cca37317f3158dea05024e367f696999e80c907cdc3d59 -eo pid,comm [Pipeline] { [Pipeline] sh 07:47:07 + git config --global --add safe.directory /w/workspace/device-modbus-go/163 [Pipeline] fileExists [Pipeline] sh 07:47:08 + make test 07:47:08 go test ./... -coverprofile=coverage.out 07:47:14 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:50:51 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 07:50:52 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.057s coverage: 47.9% of statements 07:50:54 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:50:54 go vet ./... 07:51:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:51:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:51:50 ./bin/test-attribution-txt.sh [Pipeline] echo 07:51:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:51:50 $ docker stop --time=1 df8faa2401eae99757cca37317f3158dea05024e367f696999e80c907cdc3d59 07:51:52 $ docker rm -f --volumes df8faa2401eae99757cca37317f3158dea05024e367f696999e80c907cdc3d59 [Pipeline] // withDockerContainer [Pipeline] sh 07:51:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:51:54 Warning: overwriting stash ‘coverage-report’ 07:51:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:51:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:51:55 + ls -al . 07:51:55 total 268 07:51:55 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 07:47 . 07:51:55 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 07:44 .. 07:51:55 -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 07:44 .dockerignore 07:51:55 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 07:44 .git 07:51:55 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 07:44 .github 07:51:55 -rw-rw-r-- 1 jenkins jenkins 266 Oct 4 07:44 .gitignore 07:51:55 -rw-rw-r-- 1 jenkins jenkins 199 Oct 4 07:44 .golangci.yml 07:51:55 -rw-rw-r-- 1 jenkins jenkins 19818 Oct 4 07:44 Attribution.txt 07:51:55 -rw-rw-r-- 1 jenkins jenkins 16388 Oct 4 07:44 CHANGELOG.md 07:51:55 -rw-rw-r-- 1 jenkins jenkins 1474 Oct 4 07:44 Dockerfile 07:51:55 -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 07:44 GOVERNANCE.md 07:51:55 -rw-rw-r-- 1 jenkins jenkins 658 Oct 4 07:44 Jenkinsfile 07:51:55 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 07:44 LICENSE 07:51:55 -rw-rw-r-- 1 jenkins jenkins 1942 Oct 4 07:44 Makefile 07:51:55 -rw-rw-r-- 1 jenkins jenkins 622 Oct 4 07:44 OWNERS.md 07:51:55 -rw-rw-r-- 1 jenkins jenkins 4463 Oct 4 07:44 README.md 07:51:55 -rw-rw-r-- 1 jenkins jenkins 12 Oct 4 07:36 VERSION 07:51:55 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 07:44 bin 07:51:55 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 07:44 cmd 07:51:55 -rw-r--r-- 1 jenkins jenkins 24669 Oct 4 07:50 coverage.out 07:51:55 -rw-rw-r-- 1 jenkins jenkins 7157 Oct 4 07:44 go.mod 07:51:55 -rw-rw-r-- 1 jenkins jenkins 100518 Oct 4 07:44 go.sum 07:51:55 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 07:44 internal 07:51:55 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 07:44 simulator 07:51:55 -rw-rw-r-- 1 jenkins jenkins 229 Oct 4 07:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:56 + 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=e778c6a7e22bae4333302da5b4dc0bc2aa806a86 --label arch=arm64 --label version=3.2.0-dev.24 . 07:51:56 Sending build context to Docker daemon 9.091MB 07:51:56 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 07:51:56 Step 2/23 : FROM ${BASE} AS builder 07:51:56 ---> 6f64ff66396a 07:51:56 Step 3/23 : ARG ADD_BUILD_TAGS="" 07:51:56 ---> Running in edefb7b174b3 07:51:56 Removing intermediate container edefb7b174b3 07:51:56 ---> cef3d98b6f90 07:51:56 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:51:57 ---> Running in c1f3ed8c9dc6 07:51:57 Removing intermediate container c1f3ed8c9dc6 07:51:57 ---> 371473abdfeb 07:51:57 Step 5/23 : RUN apk add --update --no-cache make git openssh 07:51:57 ---> Running in 36b3894b0ee8 07:51:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:51:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:52:00 OK: 244 MiB in 62 packages 07:52:01 Removing intermediate container 36b3894b0ee8 07:52:01 ---> 65e02a38d385 07:52:01 Step 6/23 : WORKDIR /device-modbus-go 07:52:01 ---> Running in c1c550e354ab 07:52:01 Removing intermediate container c1c550e354ab 07:52:01 ---> 1b144dc668c4 07:52:01 Step 7/23 : COPY go.mod vendor* ./ 07:52:02 ---> 8e0488b41151 07:52:02 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:52:02 ---> Running in 62ae22bb92e1 07:52:04 Removing intermediate container 62ae22bb92e1 07:52:04 ---> ba6edaa88385 07:52:04 Step 9/23 : COPY . . 07:52:05 ---> b6735de861cd 07:52:05 Step 10/23 : RUN ${MAKE} 07:52:06 ---> Running in faea009bab53 07:52:07 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.24 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.41" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 07:55:59 Removing intermediate container faea009bab53 07:55:59 ---> f0dbecf188d1 07:55:59 Step 11/23 : FROM alpine:3.20 07:55:59 3.20: Pulling from library/alpine 07:55:59 cf04c63912e1: Already exists 07:55:59 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 07:55:59 Status: Downloaded newer image for alpine:3.20 07:55:59 ---> c157a85ed455 07:55:59 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 07:55:59 ---> Running in 01cc9a6e2ac0 07:55:59 Removing intermediate container 01cc9a6e2ac0 07:55:59 ---> 7a3038ae0d09 07:55:59 Step 13/23 : RUN apk add --update --no-cache dumb-init 07:55:59 ---> Running in 3a23c7ad4829 07:55:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:55:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:55:59 (1/1) Installing dumb-init (1.2.5-r3) 07:55:59 Executing busybox-1.36.1-r29.trigger 07:55:59 OK: 9 MiB in 15 packages 07:55:59 Removing intermediate container 3a23c7ad4829 07:55:59 ---> 396dc003168c 07:55:59 Step 14/23 : RUN apk --no-cache upgrade 07:55:59 ---> Running in e4e41c184a4c 07:55:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:55:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:55:59 Upgrading critical system libraries and apk-tools: 07:55:59 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 07:55:59 Executing busybox-1.36.1-r29.trigger 07:55:59 Continuing the upgrade transaction with new apk-tools: 07:55:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:55:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:55:59 OK: 9 MiB in 15 packages 07:55:59 Removing intermediate container e4e41c184a4c 07:55:59 ---> bbc93f334b80 07:55:59 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 07:56:01 ---> 993302bf7ea0 07:56:01 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 07:56:01 ---> fbfdd9880966 07:56:01 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:56:02 ---> ecdffdc2552f 07:56:02 Step 18/23 : EXPOSE 59901 07:56:02 ---> Running in 6777096d4168 07:56:02 Removing intermediate container 6777096d4168 07:56:02 ---> 31944eaec25c 07:56:02 Step 19/23 : ENTRYPOINT ["/device-modbus"] 07:56:02 ---> Running in a398ab017da1 07:56:03 Removing intermediate container a398ab017da1 07:56:03 ---> 4022c2c50fb8 07:56:03 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:56:03 ---> Running in cb9521641c9b 07:56:03 Removing intermediate container cb9521641c9b 07:56:03 ---> ae97f525283f 07:56:03 Step 21/23 : LABEL arch=arm64 07:56:03 ---> Running in 3cff84704275 07:56:04 Removing intermediate container 3cff84704275 07:56:04 ---> a45f593cc307 07:56:04 Step 22/23 : LABEL git_sha=e778c6a7e22bae4333302da5b4dc0bc2aa806a86 07:56:04 ---> Running in 23a21c41661b 07:56:04 Removing intermediate container 23a21c41661b 07:56:04 ---> f1dcae0e2867 07:56:04 Step 23/23 : LABEL version=3.2.0-dev.24 07:56:04 ---> Running in 8d364dc9a791 07:56:04 Removing intermediate container 8d364dc9a791 07:56:04 ---> 3363ffa3df94 07:56:04 [Warning] One or more build-args [ARCH] were not consumed 07:56:04 Successfully built 3363ffa3df94 07:56:04 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 07:56:05 provisioning config files... 07:56:05 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/163@tmp/config15627739923159308518tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:56:05 ---> ****-login.sh 07:56:05 nexus3.edgexfoundry.org:10001 07:56:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:56:05 Configure a credential helper to remove this warning. See 07:56:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:56:05 07:56:05 Login Succeeded 07:56:05 nexus3.edgexfoundry.org:10002 07:56:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:56:05 Configure a credential helper to remove this warning. See 07:56:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:56:05 07:56:05 Login Succeeded 07:56:06 nexus3.edgexfoundry.org:10003 07:56:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:56:06 Configure a credential helper to remove this warning. See 07:56:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:56:06 07:56:06 Login Succeeded 07:56:06 nexus3.edgexfoundry.org:10004 07:56:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:56:06 Configure a credential helper to remove this warning. See 07:56:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:56:06 07:56:06 Login Succeeded 07:56:06 ****.io 07:56:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:56:07 Configure a credential helper to remove this warning. See 07:56:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:56:07 07:56:07 Login Succeeded 07:56:07 ---> ****-login.sh ends [Pipeline] } 07:56:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:56:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:56:07 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 07:56:07 e778c6a7e22bae4333302da5b4dc0bc2aa806a86 07:56:07 latest 07:56:07 3.2.0-dev.24 07:56:07 e778c6a7e22bae4333302da5b4dc0bc2aa806a86-3.2.0-dev.24 07:56:07 main 07:56:07 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:07 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:e778c6a7e22bae4333302da5b4dc0bc2aa806a86 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:08 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:e778c6a7e22bae4333302da5b4dc0bc2aa806a86 07:56:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:56:08 b24faaf9b8ab: Preparing 07:56:08 a1962d53ad3c: Preparing 07:56:08 703d73afe403: Preparing 07:56:08 e1988c5f13ae: Preparing 07:56:08 76f4ad7c3f00: Preparing 07:56:08 16113d51b718: Preparing 07:56:08 a1962d53ad3c: Pushed 07:56:08 76f4ad7c3f00: Pushed 07:56:08 b24faaf9b8ab: Pushed 07:56:08 16113d51b718: Layer already exists 07:56:08 e1988c5f13ae: Pushed 07:56:15 703d73afe403: Pushed 07:56:15 e778c6a7e22bae4333302da5b4dc0bc2aa806a86: digest: sha256:b54281be4c07a0744593c3ebbb9bfc4f00f1418c65194b814711a0641f9dab68 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:15 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:16 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 07:56:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:56:16 b24faaf9b8ab: Preparing 07:56:16 a1962d53ad3c: Preparing 07:56:16 703d73afe403: Preparing 07:56:16 e1988c5f13ae: Preparing 07:56:16 76f4ad7c3f00: Preparing 07:56:16 16113d51b718: Preparing 07:56:16 16113d51b718: Waiting 07:56:16 a1962d53ad3c: Layer already exists 07:56:16 76f4ad7c3f00: Layer already exists 07:56:16 703d73afe403: Layer already exists 07:56:16 b24faaf9b8ab: Layer already exists 07:56:16 e1988c5f13ae: Layer already exists 07:56:16 16113d51b718: Layer already exists 07:56:16 latest: digest: sha256:b54281be4c07a0744593c3ebbb9bfc4f00f1418c65194b814711a0641f9dab68 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:16 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:17 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.24 07:56:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:56:17 b24faaf9b8ab: Preparing 07:56:17 a1962d53ad3c: Preparing 07:56:17 703d73afe403: Preparing 07:56:17 e1988c5f13ae: Preparing 07:56:17 76f4ad7c3f00: Preparing 07:56:17 16113d51b718: Preparing 07:56:17 16113d51b718: Waiting 07:56:17 a1962d53ad3c: Layer already exists 07:56:17 76f4ad7c3f00: Layer already exists 07:56:17 b24faaf9b8ab: Layer already exists 07:56:17 703d73afe403: Layer already exists 07:56:17 e1988c5f13ae: Layer already exists 07:56:17 16113d51b718: Layer already exists 07:56:17 3.2.0-dev.24: digest: sha256:b54281be4c07a0744593c3ebbb9bfc4f00f1418c65194b814711a0641f9dab68 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:17 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:e778c6a7e22bae4333302da5b4dc0bc2aa806a86-3.2.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:18 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:e778c6a7e22bae4333302da5b4dc0bc2aa806a86-3.2.0-dev.24 07:56:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:56:18 b24faaf9b8ab: Preparing 07:56:18 a1962d53ad3c: Preparing 07:56:18 703d73afe403: Preparing 07:56:18 e1988c5f13ae: Preparing 07:56:18 76f4ad7c3f00: Preparing 07:56:18 16113d51b718: Preparing 07:56:18 16113d51b718: Waiting 07:56:18 a1962d53ad3c: Layer already exists 07:56:18 e1988c5f13ae: Layer already exists 07:56:18 b24faaf9b8ab: Layer already exists 07:56:18 76f4ad7c3f00: Layer already exists 07:56:18 703d73afe403: Layer already exists 07:56:18 16113d51b718: Layer already exists 07:56:18 e778c6a7e22bae4333302da5b4dc0bc2aa806a86-3.2.0-dev.24: digest: sha256:b54281be4c07a0744593c3ebbb9bfc4f00f1418c65194b814711a0641f9dab68 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:18 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:19 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 07:56:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:56:19 b24faaf9b8ab: Preparing 07:56:19 a1962d53ad3c: Preparing 07:56:19 703d73afe403: Preparing 07:56:19 e1988c5f13ae: Preparing 07:56:19 76f4ad7c3f00: Preparing 07:56:19 16113d51b718: Preparing 07:56:19 16113d51b718: Waiting 07:56:19 a1962d53ad3c: Layer already exists 07:56:19 e1988c5f13ae: Layer already exists 07:56:19 703d73afe403: Layer already exists 07:56:19 76f4ad7c3f00: Layer already exists 07:56:19 b24faaf9b8ab: Layer already exists 07:56:19 16113d51b718: Layer already exists 07:56:19 main: digest: sha256:b54281be4c07a0744593c3ebbb9bfc4f00f1418c65194b814711a0641f9dab68 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:56:19 ===================================================== [Pipeline] echo 07:56:19 taggedImages: 07:56:19 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:e778c6a7e22bae4333302da5b4dc0bc2aa806a86 07:56:19 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 07:56:19 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.24 07:56:19 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:e778c6a7e22bae4333302da5b4dc0bc2aa806a86-3.2.0-dev.24 07:56:19 - 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 07:56:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:56:19 07:56:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:56:20 arm64: Pulling from edgex-lftools-log-publisher 07:56:20 8998bd30e6a1: Pulling fs layer 07:56:20 04944245beec: Pulling fs layer 07:56:20 699f458cf7ca: Pulling fs layer 07:56:20 765212b225bb: Pulling fs layer 07:56:20 f23df028b6ca: Pulling fs layer 07:56:20 d65c8cfc05b1: Pulling fs layer 07:56:20 2437ff75d9bd: Pulling fs layer 07:56:20 765212b225bb: Waiting 07:56:20 f23df028b6ca: Waiting 07:56:20 d65c8cfc05b1: Waiting 07:56:20 2437ff75d9bd: Waiting 07:56:20 04944245beec: Verifying Checksum 07:56:20 04944245beec: Download complete 07:56:20 765212b225bb: Verifying Checksum 07:56:20 765212b225bb: Download complete 07:56:20 f23df028b6ca: Verifying Checksum 07:56:20 f23df028b6ca: Download complete 07:56:20 d65c8cfc05b1: Verifying Checksum 07:56:20 d65c8cfc05b1: Download complete 07:56:20 699f458cf7ca: Verifying Checksum 07:56:20 699f458cf7ca: Download complete 07:56:21 8998bd30e6a1: Verifying Checksum 07:56:21 8998bd30e6a1: Download complete 07:56:23 2437ff75d9bd: Verifying Checksum 07:56:23 2437ff75d9bd: Download complete 07:56:25 8998bd30e6a1: Pull complete 07:56:26 04944245beec: Pull complete 07:56:27 699f458cf7ca: Pull complete 07:56:28 765212b225bb: Pull complete 07:56:29 f23df028b6ca: Pull complete 07:56:29 d65c8cfc05b1: Pull complete 07:56:44 2437ff75d9bd: Pull complete 07:56:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:56:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:56:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:56:44 prd-ubuntu20.04-docker-arm64-4c-16g-16368 does not seem to be running inside a container 07:56:44 $ 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/163 -v /w/workspace/device-modbus-go/163:/w/workspace/device-modbus-go/163:rw,z -v /w/workspace/device-modbus-go/163@tmp:/w/workspace/device-modbus-go/163@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 07:56:47 $ docker top e0a121543dd8dfdc5bccab331c0d7ef6d02c4b80ebdb775018eaaa22f79939f4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:56:48 ---> job-cost.sh 07:56:48 lf-activate-venv: SKIPPING 07:56:48 INFO: No Stack... 07:56:49 INFO: Retrieving Pricing Info for: v3-standard-4 07:56:49 INFO: Archiving Costs [Pipeline] sh 07:56:50 + cut -d, -f6 07:56:50 + cat /w/workspace/device-modbus-go/163/archives/cost.csv [Pipeline] lock 07:56:50 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-163-stack-cost] 07:56:50 Resource [jenkins-edgexfoundry-device-modbus-go-main-163-stack-cost] did not exist. Created. 07:56:50 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-163-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:56:51 /w/workspace/device-modbus-go/163@tmp/durable-2c2db9d8/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:56:51 + echo total: 0.10999999940395355 [Pipeline] stash 07:56:51 Warning: overwriting stash ‘stack-cost’ 07:56:51 Stashed 1 file(s) [Pipeline] } 07:56:51 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-163-stack-cost] [Pipeline] // lock [Pipeline] } 07:56:51 $ docker stop --time=1 e0a121543dd8dfdc5bccab331c0d7ef6d02c4b80ebdb775018eaaa22f79939f4 07:56:53 $ docker rm -f --volumes e0a121543dd8dfdc5bccab331c0d7ef6d02c4b80ebdb775018eaaa22f79939f4 [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 07:56:53 provisioning config files... 07:56:53 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5140029920106443124tmp [Pipeline] { [Pipeline] sh 07:56:54 + set +x 07:56:54 + + bash -scurl -- -s 07:56:54 https://codecov.io/bash 07:56:54 07:56:54 _____ _ 07:56:54 / ____| | | 07:56:54 | | ___ __| | ___ ___ _____ __ 07:56:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:56:54 | |___| (_) | (_| | __/ (_| (_) \ V / 07:56:54 \_____\___/ \__,_|\___|\___\___/ \_/ 07:56:54 Bash-1.0.6 07:56:54 07:56:54 07:56:54 ==> git version 2.25.1 found 07:56:54 ==> 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 07:56:54 Release-Date: 2020-01-08 07:56:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:56:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:56:54 ==> Jenkins CI detected. 07:56:54 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 07:56:54 project root: . 07:56:54 --> token set from env 07:56:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:56:54 ==> Running gcov in . (disable via -X gcov) 07:56:54 ==> Python coveragepy not found 07:56:54 ==> Searching for coverage reports in: 07:56:54 + . 07:56:54 -> Found 1 reports 07:56:54 ==> Detecting git/mercurial file structure 07:56:54 ==> Reading reports 07:56:54 + ./coverage.out bytes=24669 07:56:54 ==> Appending adjustments 07:56:54 https://docs.codecov.io/docs/fixing-reports 07:56:54 + Found adjustments 07:56:54 ==> Gzipping contents 07:56:54 4.0K /tmp/codecov.aee1qO.gz 07:56:54 ==> Uploading reports 07:56:54 url: https://codecov.io 07:56:54 query: branch=main&commit=e778c6a7e22bae4333302da5b4dc0bc2aa806a86&build=163&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F163%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:56:54 -> Pinging Codecov 07:56:54 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=e778c6a7e22bae4333302da5b4dc0bc2aa806a86&build=163&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F163%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:56:54 -> Uploading to 07:56:54 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-modbus-go/e778c6a7e22bae4333302da5b4dc0bc2aa806a86/2955bf8b-c791-4fb2-949b-b27294db922c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241004%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241004T075654Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=481ded5d1f138a04266e2f33cece4eaa144239727ecc93766a1bcfc7dcd56ea4 07:56:54 % Total % Received % Xferd Average Speed Time Time Time Current 07:56:54 Dload Upload Total Spent Left Speed 07:56:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3859 0 0 100 3859 0 17701 --:--:-- --:--:-- --:--:-- 17701 07:56:54 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/e778c6a7e22bae4333302da5b4dc0bc2aa806a86 [Pipeline] } 07:56:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:56:55 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:56:55 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:56:55 07:56:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:56:55 latest: Pulling from edgex-devops/edgex-snyk-go 07:56:55 43c4264eed91: Already exists 07:56:55 4cc291be95ef: Already exists 07:56:55 2ac1f1163629: Already exists 07:56:55 5c3c966382ef: Already exists 07:56:55 4f4fb700ef54: Already exists 07:56:55 d9c7d2e4e75e: Pulling fs layer 07:56:55 9c3e1370e548: Pulling fs layer 07:56:56 d9c7d2e4e75e: Verifying Checksum 07:56:56 d9c7d2e4e75e: Download complete 07:56:56 d9c7d2e4e75e: Pull complete 07:56:56 9c3e1370e548: Download complete 07:57:01 9c3e1370e548: Pull complete 07:57:01 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 07:57:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:57:01 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:57:01 prd-ubuntu20.04-docker-8c-8g-16257 does not seem to be running inside a container 07:57:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 07:57:03 $ docker top a1b7e58d2e791167f0efa544c64133a7bb876cef9401390d1fb25e7d15afcc6e -eo pid,comm [Pipeline] { [Pipeline] sh 07:57:03 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] echo 07:57:03 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 07:57:04 + set -o pipefail 07:57:04 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 07:57:10 07:57:10 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 07:57:10 07:57:10 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/0a0805b9-8982-40eb-8dbc-845f1ef902a3/history/49ebf209-8ce0-481e-b74a-0f90d0d50d23 07:57:10 07:57:10 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 07:57:10 07:57:10 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:57:10 07:57:11 07:57:11 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 07:57:11 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 07:57:11 $ docker stop --time=1 a1b7e58d2e791167f0efa544c64133a7bb876cef9401390d1fb25e7d15afcc6e 07:57:18 $ docker rm -f --volumes a1b7e58d2e791167f0efa544c64133a7bb876cef9401390d1fb25e7d15afcc6e [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 07:57:19 + git log --format=format:%s -1 e778c6a7e22bae4333302da5b4dc0bc2aa806a86 [Pipeline] sh 07:57:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:57:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:57:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:57:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:57:20 prd-ubuntu20.04-docker-8c-8g-16257 does not seem to be running inside a container 07:57:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:57:21 $ docker top 6d7eafcaa33760793f0482284e4432df725cf1dc63b8816f2e7ebe533ca82aea -eo pid,comm 07:57:21 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). 07:57:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:57:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:57:21 [ssh-agent] Looking for ssh-agent implementation... 07:57:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:57:21 $ docker exec 6d7eafcaa33760793f0482284e4432df725cf1dc63b8816f2e7ebe533ca82aea ssh-agent 07:57:21 SSH_AUTH_SOCK=/tmp/ssh-s26gEkETR31g/agent.15 07:57:21 SSH_AGENT_PID=24 07:57:21 Running ssh-add (command line suppressed) 07:57:21 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16071595702181602090.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16071595702181602090.key) 07:57:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:57:21 + git semver tag 07:57:22 2024-10-04 07:57:22,026 [run_tag] DEBUG tag force:False 07:57:22 2024-10-04 07:57:22,026 [check_head_tag] DEBUG check head tag 07:57:22 2024-10-04 07:57:22,027 [execute] INFO git cat-file --batch-check 07:57:22 2024-10-04 07:57:22,027 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 07:57:22 2024-10-04 07:57:22,031 [execute] INFO git cat-file --batch 07:57:22 2024-10-04 07:57:22,032 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 07:57:22 2024-10-04 07:57:22,052 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:57:22 2024-10-04 07:57:22,053 [execute] INFO git tag -a v3.2.0-dev.24 -m v3.2.0-dev.24 07:57:22 2024-10-04 07:57:22,053 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.24', '-m', 'v3.2.0-dev.24'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 07:57:22 2024-10-04 07:57:22,058 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:57:22 3.2.0-dev.24 [Pipeline] } 07:57:22 $ docker exec --env ******** --env ******** 6d7eafcaa33760793f0482284e4432df725cf1dc63b8816f2e7ebe533ca82aea ssh-agent -k 07:57:22 unset SSH_AUTH_SOCK; 07:57:22 unset SSH_AGENT_PID; 07:57:22 echo Agent pid 24 killed; 07:57:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:57:22 + git semver [Pipeline] } 07:57:22 $ docker stop --time=1 6d7eafcaa33760793f0482284e4432df725cf1dc63b8816f2e7ebe533ca82aea 07:57:24 $ docker rm -f --volumes 6d7eafcaa33760793f0482284e4432df725cf1dc63b8816f2e7ebe533ca82aea [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:57:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:57:24 07:57:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:57:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:57:24 0.23.1-centos7: Pulling from edgex-lftools 07:57:24 ab5ef0e58194: Pulling fs layer 07:57:24 9712f1f96733: Pulling fs layer 07:57:24 63f879dbbcfc: Pulling fs layer 07:57:24 0d9ebad4ef96: Pulling fs layer 07:57:24 e9a5061849ea: Pulling fs layer 07:57:24 d747dcd14b5f: Pulling fs layer 07:57:24 2de7ff778b66: Pulling fs layer 07:57:24 0d9ebad4ef96: Waiting 07:57:24 d747dcd14b5f: Waiting 07:57:24 2de7ff778b66: Waiting 07:57:24 e9a5061849ea: Waiting 07:57:24 9712f1f96733: Verifying Checksum 07:57:24 9712f1f96733: Download complete 07:57:25 63f879dbbcfc: Verifying Checksum 07:57:25 63f879dbbcfc: Download complete 07:57:25 0d9ebad4ef96: Verifying Checksum 07:57:25 0d9ebad4ef96: Download complete 07:57:25 e9a5061849ea: Verifying Checksum 07:57:25 e9a5061849ea: Download complete 07:57:25 ab5ef0e58194: Verifying Checksum 07:57:25 ab5ef0e58194: Download complete 07:57:25 d747dcd14b5f: Verifying Checksum 07:57:25 d747dcd14b5f: Download complete 07:57:25 2de7ff778b66: Verifying Checksum 07:57:25 2de7ff778b66: Download complete 07:57:28 ab5ef0e58194: Pull complete 07:57:28 9712f1f96733: Pull complete 07:57:29 63f879dbbcfc: Pull complete 07:57:33 0d9ebad4ef96: Pull complete 07:57:33 e9a5061849ea: Pull complete 07:57:33 d747dcd14b5f: Pull complete 07:57:34 2de7ff778b66: Pull complete 07:57:34 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:57:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:57:34 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:57:34 prd-ubuntu20.04-docker-8c-8g-16257 does not seem to be running inside a container 07:57:34 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 07:57:42 $ docker top 7bc1760f7799886117cbfdd9d5b741abdfa325e8a1dcd5a116070d69bb4118b3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:57:42 provisioning config files... 07:57:42 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12683161701505238199tmp 07:57:42 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13334633288884643322tmp 07:57:42 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1857450568206489506tmp [Pipeline] { [Pipeline] echo 07:57:42 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:57:42 ---> sigul-configuration.sh 07:57:42 gpg: directory `/root/.gnupg' created 07:57:42 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:57:42 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:57:42 gpg: keyring `/root/.gnupg/secring.gpg' created 07:57:42 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:57:42 gpg: CAST5 encrypted data 07:57:42 gpg: encrypted with 1 passphrase 07:57:42 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:57:42 + mkdir /home/jenkins 07:57:42 + mkdir /home/jenkins/sigul [Pipeline] sh 07:57:43 + 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 07:57:43 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:57:43 ---> sigul-install.sh 07:57:43 Sigul already installed; skipping installation. [Pipeline] sh 07:57:43 + git tag --list 07:57:43 0.7.1 07:57:43 v1.0.0 07:57:43 v1.1.0 07:57:43 v1.1.1 07:57:43 v1.2.2 07:57:43 v1.3.0 07:57:43 v1.3.1 07:57:43 v2.0.0 07:57:43 v2.1.0 07:57:43 v2.1.1 07:57:43 v2.2.0 07:57:43 v2.3.0 07:57:43 v3.0 07:57:43 v3.0.0 07:57:43 v3.1 07:57:43 v3.1.0 07:57:43 v3.1.0-dev.1 07:57:43 v3.1.0-dev.10 07:57:43 v3.1.0-dev.11 07:57:43 v3.1.0-dev.12 07:57:43 v3.1.0-dev.13 07:57:43 v3.1.0-dev.14 07:57:43 v3.1.0-dev.15 07:57:43 v3.1.0-dev.16 07:57:43 v3.1.0-dev.17 07:57:43 v3.1.0-dev.18 07:57:43 v3.1.0-dev.19 07:57:43 v3.1.0-dev.2 07:57:43 v3.1.0-dev.20 07:57:43 v3.1.0-dev.21 07:57:43 v3.1.0-dev.22 07:57:43 v3.1.0-dev.23 07:57:43 v3.1.0-dev.24 07:57:43 v3.1.0-dev.25 07:57:43 v3.1.0-dev.3 07:57:43 v3.1.0-dev.4 07:57:43 v3.1.0-dev.5 07:57:43 v3.1.0-dev.6 07:57:43 v3.1.0-dev.7 07:57:43 v3.1.0-dev.8 07:57:43 v3.1.0-dev.9 07:57:43 v3.1.1 07:57:43 v3.1.1-dev.1 07:57:43 v3.2.0-dev.1 07:57:43 v3.2.0-dev.10 07:57:43 v3.2.0-dev.11 07:57:43 v3.2.0-dev.12 07:57:43 v3.2.0-dev.13 07:57:43 v3.2.0-dev.14 07:57:43 v3.2.0-dev.15 07:57:43 v3.2.0-dev.16 07:57:43 v3.2.0-dev.17 07:57:43 v3.2.0-dev.18 07:57:43 v3.2.0-dev.19 07:57:43 v3.2.0-dev.2 07:57:43 v3.2.0-dev.20 07:57:43 v3.2.0-dev.21 07:57:43 v3.2.0-dev.22 07:57:43 v3.2.0-dev.23 07:57:43 v3.2.0-dev.24 07:57:43 v3.2.0-dev.3 07:57:43 v3.2.0-dev.4 07:57:43 v3.2.0-dev.5 07:57:43 v3.2.0-dev.6 07:57:43 v3.2.0-dev.7 07:57:43 v3.2.0-dev.8 07:57:43 v3.2.0-dev.9 [Pipeline] sh 07:57:43 + lftools sign git-tag v3.2.0-dev.24 07:57:44 Signing Git tag with Sigul... 07:57:44 Signing v3.2.0-dev.24 [Pipeline] echo 07:57:44 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:57:45 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:57:45 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:57:45 $ docker stop --time=1 7bc1760f7799886117cbfdd9d5b741abdfa325e8a1dcd5a116070d69bb4118b3 07:57:46 $ docker rm -f --volumes 7bc1760f7799886117cbfdd9d5b741abdfa325e8a1dcd5a116070d69bb4118b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:57:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:57:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:57:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:57:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:57:47 prd-ubuntu20.04-docker-8c-8g-16257 does not seem to be running inside a container 07:57:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:57:47 $ docker top 7544786011f400f329fea95c2ecd2bb10be8814f8463738d176155b556c6b019 -eo pid,comm 07:57: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). 07:57:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:57:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:57:47 [ssh-agent] Looking for ssh-agent implementation... 07:57:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:57:47 $ docker exec 7544786011f400f329fea95c2ecd2bb10be8814f8463738d176155b556c6b019 ssh-agent 07:57:47 SSH_AUTH_SOCK=/tmp/ssh-Zteed6guZigz/agent.31 07:57:47 SSH_AGENT_PID=37 07:57:47 Running ssh-add (command line suppressed) 07:57:48 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2689871954337430014.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2689871954337430014.key) 07:57:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:57:48 + git semver bump pre 07:57:48 2024-10-04 07:57:48,589 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:57:48 2024-10-04 07:57:48,589 [bump_version] DEBUG bumping version:3.2.0-dev.24 on axis:pre with prefix:dev 07:57:48 2024-10-04 07:57:48,589 [bump_version] DEBUG bumped version:3.2.0-dev.25 07:57:48 2024-10-04 07:57:48,589 [write_version] DEBUG write version:3.2.0-dev.25 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 07:57:48 2024-10-04 07:57:48,589 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:57:48 2024-10-04 07:57:48,589 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:57:48 2024-10-04 07:57:48,591 [execute] INFO git cat-file --batch-check 07:57:48 2024-10-04 07:57:48,591 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:57:48 2024-10-04 07:57:48,596 [execute] INFO git cat-file --batch 07:57:48 2024-10-04 07:57:48,596 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:57:48 2024-10-04 07:57:48,600 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:57:48 3.2.0-dev.25 [Pipeline] } 07:57:48 $ docker exec --env ******** --env ******** 7544786011f400f329fea95c2ecd2bb10be8814f8463738d176155b556c6b019 ssh-agent -k 07:57:48 unset SSH_AUTH_SOCK; 07:57:48 unset SSH_AGENT_PID; 07:57:48 echo Agent pid 37 killed; 07:57:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:57:49 + git semver [Pipeline] } 07:57:49 $ docker stop --time=1 7544786011f400f329fea95c2ecd2bb10be8814f8463738d176155b556c6b019 07:57:50 $ docker rm -f --volumes 7544786011f400f329fea95c2ecd2bb10be8814f8463738d176155b556c6b019 [Pipeline] // withDockerContainer [Pipeline] sh 07:57:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:57:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:57:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:57:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:57:51 prd-ubuntu20.04-docker-8c-8g-16257 does not seem to be running inside a container 07:57:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:57:51 $ docker top d27da1a46c27420db2cb54000706da0185ad5aa5592681cf3927dbb6871163ee -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:57:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:57:51 [ssh-agent] Looking for ssh-agent implementation... 07:57:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:57:52 $ docker exec d27da1a46c27420db2cb54000706da0185ad5aa5592681cf3927dbb6871163ee ssh-agent 07:57:52 SSH_AUTH_SOCK=/tmp/ssh-8AZ6i6oLjPyx/agent.30 07:57:52 SSH_AGENT_PID=36 07:57:52 Running ssh-add (command line suppressed) 07:57:52 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_18040317143088210983.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_18040317143088210983.key) 07:57:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:57:52 + git semver push 07:57:52 2024-10-04 07:57:52,668 [run_push] DEBUG push 07:57:52 2024-10-04 07:57:52,668 [execute] INFO git cat-file --batch-check 07:57:52 2024-10-04 07:57:52,668 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:57:52 2024-10-04 07:57:52,672 [execute] INFO git rev-list 8d8cfebcf430eee61db1086b460e1f07f4b7449e -- 07:57:52 2024-10-04 07:57:52,672 [execute] DEBUG Popen(['git', 'rev-list', '8d8cfebcf430eee61db1086b460e1f07f4b7449e', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:57:52 2024-10-04 07:57:52,681 [execute] INFO git fetch -v origin 07:57:52 2024-10-04 07:57:52,682 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 07:57:53 2024-10-04 07:57:53,138 [run_push] DEBUG no remote changes detected 07:57:53 2024-10-04 07:57:53,138 [execute] INFO git push origin semver 07:57:53 2024-10-04 07:57:53,138 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:57:53 2024-10-04 07:57:53,820 [run_push] DEBUG push all version tags 07:57:53 2024-10-04 07:57:53,820 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:57:53 2024-10-04 07:57:53,821 [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) 07:57:54 2024-10-04 07:57:54,670 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:57:54 3.2.0-dev.25 [Pipeline] } 07:57:54 $ docker exec --env ******** --env ******** d27da1a46c27420db2cb54000706da0185ad5aa5592681cf3927dbb6871163ee ssh-agent -k 07:57:54 unset SSH_AUTH_SOCK; 07:57:54 unset SSH_AGENT_PID; 07:57:54 echo Agent pid 36 killed; 07:57:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:57:55 + git semver [Pipeline] } 07:57:55 $ docker stop --time=1 d27da1a46c27420db2cb54000706da0185ad5aa5592681cf3927dbb6871163ee 07:57:56 $ docker rm -f --volumes d27da1a46c27420db2cb54000706da0185ad5aa5592681cf3927dbb6871163ee [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 07:57:57 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 07:57:57 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 07:57:57 total 16 07:57:57 drwxr-xr-x 3 root root 4096 Oct 4 07:40 . 07:57:57 drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 07:57 .. 07:57:57 drwxr-xr-x 2 root root 4096 Oct 4 07:40 cost 07:57:57 -rw-r--r-- 1 root root 88 Oct 4 07:40 cost.csv 07:57:57 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 07:57:57 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 07:57:57 total 16 07:57:57 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 07:40 . 07:57:57 drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 07:57 .. 07:57:57 drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 07:40 cost 07:57:57 -rw-r--r-- 1 jenkins jenkins 88 Oct 4 07:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:57:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:57:58 ---> package-listing.sh 07:57:58 ++ facter osfamily 07:57:58 ++ tr '[:upper:]' '[:lower:]' 07:57:58 + OS_FAMILY=debian 07:57:58 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 07:57:58 + START_PACKAGES=/tmp/packages_start.txt 07:57:58 + END_PACKAGES=/tmp/packages_end.txt 07:57:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:57:58 + PACKAGES=/tmp/packages_start.txt 07:57:58 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 07:57:58 + PACKAGES=/tmp/packages_end.txt 07:57:58 + case "${OS_FAMILY}" in 07:57:58 + dpkg -l 07:57:58 + grep '^ii' 07:57:58 + '[' -f /tmp/packages_start.txt ']' 07:57:58 + '[' -f /tmp/packages_end.txt ']' 07:57:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:57:58 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 07:57:58 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 07:57:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 07:57:58 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 07:57:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:57:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:57:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:57:59 prd-ubuntu20.04-docker-8c-8g-16257 does not seem to be running inside a container 07:57:59 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:58:00 $ docker top 71d23b9dcec987ff582fcd896882fb0a489ee5d11c401a7376d20918a59b1229 -eo pid,comm [Pipeline] { [Pipeline] sh 07:58:00 + touch /tmp/pre-build-complete [Pipeline] sh 07:58:00 + mkdir -p /var/log/sysstat [Pipeline] sh 07:58:00 + ls /var/log/sa-host 07:58:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:58:01 provisioning config files... 07:58:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10582896425400290329tmp [Pipeline] { [Pipeline] echo 07:58:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:58:01 ---> create-netrc.sh [Pipeline] } 07:58:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:58:01 ---> python-tools-install.sh [Pipeline] echo 07:58:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:58:02 ---> sudo-logs.sh 07:58:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:58:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:58:02 ---> job-cost.sh 07:58:02 lf-activate-venv: SKIPPING 07:58:02 DEBUG: total: 0.2199999988079071 07:58:02 INFO: Retrieving Stack Cost... 07:58:02 INFO: Retrieving Pricing Info for: v3-standard-8 07:58:03 INFO: Archiving Costs [Pipeline] echo 07:58:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:58:03 ---> logs-deploy.sh 07:58:03 lf-activate-venv: SKIPPING 07:58:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/163 07:58:03 INFO: archiving workspace using pattern(s): 07:58:04 Archives upload complete. 07:58:04 INFO: archiving logs to Nexus