Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b773e44940ad369af529d1a2db565c19940e1657 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-ssh5079090739127523673.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-ssh5160160405908287286.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-ssh16102026605082337913.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-ssh12081732133873425595.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-ssh10618822794817230082.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-22525 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 b773e44940ad369af529d1a2db565c19940e1657 (main) Commit message: "Merge pull request #580 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.45" > 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 b773e44940ad369af529d1a2db565c19940e1657 # timeout=10 > git rev-list --no-walk e778c6a7e22bae4333302da5b4dc0bc2aa806a86 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:02:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:02:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:02:03 ========================================================= 10:02:03 EdgeX Global Pipelines Version Info 10:02:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:02:04 ------------------- 10:02:04 stable info: 10:02:04 ------------------- 10:02:04 Commited By: Ginny Guan ginny@iotechsys.com 10:02:04 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 10:02:04 Message: update stable to v1.0.265 10:02:04 ------------------- 10:02:04 experimental info: 10:02:04 ------------------- 10:02:04 Commited By: Cherry Wang cherry@iotechsys.com 10:02:04 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 10:02:04 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:02:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 10:02:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 10:02:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:02:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:02:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:02:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 10:02:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:02:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:02:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:02:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:02:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:02:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 10:02:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:02:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:02:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:02:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:02:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:02:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:02:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:02:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:02:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:02:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:02:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:02:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:02:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:02:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:02:05 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:02:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 10:02:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 10:02:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 10:02:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b773e44940ad369af529d1a2db565c19940e1657 [Pipeline] echo 10:02:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b773e44 [Pipeline] echo 10:02:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:02:05 provisioning config files... 10:02:05 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11652528377933946852tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:02:05 ---> ****-login.sh 10:02:05 nexus3.edgexfoundry.org:10001 10:02:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:02:06 Configure a credential helper to remove this warning. See 10:02:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:02:06 10:02:06 Login Succeeded 10:02:06 nexus3.edgexfoundry.org:10002 10:02:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:02:06 Configure a credential helper to remove this warning. See 10:02:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:02:06 10:02:06 Login Succeeded 10:02:06 nexus3.edgexfoundry.org:10003 10:02:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:02:06 Configure a credential helper to remove this warning. See 10:02:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:02:06 10:02:06 Login Succeeded 10:02:06 nexus3.edgexfoundry.org:10004 10:02:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:02:06 Configure a credential helper to remove this warning. See 10:02:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:02:06 10:02:06 Login Succeeded 10:02:06 ****.io 10:02:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:02:06 Configure a credential helper to remove this warning. See 10:02:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:02:06 10:02:06 Login Succeeded 10:02:06 ---> ****-login.sh ends [Pipeline] } 10:02:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:02:07 + git rev-list -1 --merges b773e44940ad369af529d1a2db565c19940e1657~1..b773e44940ad369af529d1a2db565c19940e1657 [Pipeline] echo 10:02:07 -----------> git rev-list -1 --merges b773e44940ad369af529d1a2db565c19940e1657~1..b773e44940ad369af529d1a2db565c19940e1657 b773e44940ad369af529d1a2db565c19940e1657 10:02:07 b773e44940ad369af529d1a2db565c19940e1657 [false] [Pipeline] sh 10:02:07 + git log --format=format:%s -1 b773e44940ad369af529d1a2db565c19940e1657 [Pipeline] echo 10:02:07 ========================================================= 10:02:07 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:02:07 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:02:07 + git log --format=format:%s -1 b773e44940ad369af529d1a2db565c19940e1657 [Pipeline] echo 10:02:07 [semverPrep] GIT_COMMIT: b773e44940ad369af529d1a2db565c19940e1657, Commit Message: Merge pull request #580 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.45 [Pipeline] echo 10:02:07 [semverPrep] This is not a build commit. [Pipeline] sh 10:02:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:02:08 + grep -v github /etc/ssh/ssh_known_hosts 10:02:08 + [ -e /tmp/ssh_known_hosts ] 10:02:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:02:08 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:02:08 + sudo tee -a /etc/ssh/ssh_known_hosts 10:02:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:02:08 10:02:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:02:08 0.1.4: Pulling from edgex-devops/py-git-semver 10:02:08 b85a868b505f: Pulling fs layer 10:02:08 e2be974225ed: Pulling fs layer 10:02:08 339a4e72a1f5: Pulling fs layer 10:02:08 988bab9f4d93: Pulling fs layer 10:02:08 1469e6f7b9e6: Pulling fs layer 10:02:08 eaf3925da568: Pulling fs layer 10:02:08 bab4dde63d76: Pulling fs layer 10:02:08 bde34c3a00c8: Pulling fs layer 10:02:08 b352a97aabf1: Pulling fs layer 10:02:08 4872d77fe225: Pulling fs layer 10:02:08 988bab9f4d93: Waiting 10:02:08 5851b861e8e6: Pulling fs layer 10:02:08 1469e6f7b9e6: Waiting 10:02:08 bde34c3a00c8: Waiting 10:02:08 bab4dde63d76: Waiting 10:02:08 eaf3925da568: Waiting 10:02:08 5851b861e8e6: Waiting 10:02:08 4872d77fe225: Waiting 10:02:08 e2be974225ed: Verifying Checksum 10:02:08 e2be974225ed: Download complete 10:02:08 988bab9f4d93: Verifying Checksum 10:02:08 988bab9f4d93: Download complete 10:02:08 1469e6f7b9e6: Verifying Checksum 10:02:08 1469e6f7b9e6: Download complete 10:02:08 eaf3925da568: Download complete 10:02:09 339a4e72a1f5: Verifying Checksum 10:02:09 bde34c3a00c8: Verifying Checksum 10:02:09 bde34c3a00c8: Download complete 10:02:09 b352a97aabf1: Verifying Checksum 10:02:09 b352a97aabf1: Download complete 10:02:09 4872d77fe225: Verifying Checksum 10:02:09 4872d77fe225: Download complete 10:02:09 5851b861e8e6: Verifying Checksum 10:02:09 5851b861e8e6: Download complete 10:02:09 b85a868b505f: Verifying Checksum 10:02:09 b85a868b505f: Download complete 10:02:09 bab4dde63d76: Verifying Checksum 10:02:09 bab4dde63d76: Download complete 10:02:10 b85a868b505f: Pull complete 10:02:10 e2be974225ed: Pull complete 10:02:10 339a4e72a1f5: Pull complete 10:02:10 988bab9f4d93: Pull complete 10:02:11 1469e6f7b9e6: Pull complete 10:02:11 eaf3925da568: Pull complete 10:02:12 bab4dde63d76: Pull complete 10:02:12 bde34c3a00c8: Pull complete 10:02:12 b352a97aabf1: Pull complete 10:02:12 4872d77fe225: Pull complete 10:02:13 5851b861e8e6: Pull complete 10:02:13 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:02:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:02:13 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:02:13 prd-ubuntu20.04-docker-8c-8g-22525 does not seem to be running inside a container 10:02:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:02:16 $ docker top f00641a8717d8903a77f923e0128918f131037b4789eaf7b5bc79ead5af8a586 -eo pid,comm 10:02:16 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). 10:02:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:02:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:02:16 [ssh-agent] Looking for ssh-agent implementation... 10:02:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:02:16 $ docker exec f00641a8717d8903a77f923e0128918f131037b4789eaf7b5bc79ead5af8a586 ssh-agent 10:02:16 SSH_AUTH_SOCK=/tmp/ssh-dW5QmsSaqkZq/agent.32 10:02:16 SSH_AGENT_PID=38 10:02:16 Running ssh-add (command line suppressed) 10:02:16 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14100570520693498576.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14100570520693498576.key) 10:02:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:02:17 + git tag --points-at HEAD [Pipeline] } 10:02:17 $ docker exec --env ******** --env ******** f00641a8717d8903a77f923e0128918f131037b4789eaf7b5bc79ead5af8a586 ssh-agent -k 10:02:17 unset SSH_AUTH_SOCK; 10:02:17 unset SSH_AGENT_PID; 10:02:17 echo Agent pid 38 killed; 10:02:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:02:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:02:17 [ssh-agent] Looking for ssh-agent implementation... 10:02:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:02:17 $ docker exec f00641a8717d8903a77f923e0128918f131037b4789eaf7b5bc79ead5af8a586 ssh-agent 10:02:17 SSH_AUTH_SOCK=/tmp/ssh-mvt54eGGkSKM/agent.71 10:02:17 SSH_AGENT_PID=77 10:02:17 Running ssh-add (command line suppressed) 10:02:17 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9492680026577045402.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9492680026577045402.key) 10:02:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:02:17 + git semver init 10:02:18 2024-10-11 10:02:18,002 [run_init] DEBUG init version:0.0.0 force:False 10:02:18 2024-10-11 10:02:18,003 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 10:02:18 2024-10-11 10:02:18,004 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 10:02:18 2024-10-11 10:02:18,004 [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) 10:02:19 2024-10-11 10:02:19,059 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 10:02:19 2024-10-11 10:02:19,059 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 10:02:19 2024-10-11 10:02:19,060 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 10:02:19 2024-10-11 10:02:19,060 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 10:02:19 3.2.0-dev.25 [Pipeline] } 10:02:19 $ docker exec --env ******** --env ******** f00641a8717d8903a77f923e0128918f131037b4789eaf7b5bc79ead5af8a586 ssh-agent -k 10:02:19 unset SSH_AUTH_SOCK; 10:02:19 unset SSH_AGENT_PID; 10:02:19 echo Agent pid 77 killed; 10:02:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:02:19 + git semver [Pipeline] } 10:02:20 $ docker stop --time=1 f00641a8717d8903a77f923e0128918f131037b4789eaf7b5bc79ead5af8a586 10:02:21 $ docker rm -f --volumes f00641a8717d8903a77f923e0128918f131037b4789eaf7b5bc79ead5af8a586 [Pipeline] // withDockerContainer [Pipeline] sh 10:02:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:02:22 Stashed 1 file(s) [Pipeline] echo 10:02:22 [edgeXSemver]: initialized semver on version 3.2.0-dev.25 [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 10:02:22 provisioning config files... 10:02:22 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3352067027024121413tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:02:22 ---> ****-login.sh 10:02:22 nexus3.edgexfoundry.org:10001 10:02:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:02:22 Configure a credential helper to remove this warning. See 10:02:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:02:22 10:02:22 Login Succeeded 10:02:22 nexus3.edgexfoundry.org:10002 10:02:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:02:22 Configure a credential helper to remove this warning. See 10:02:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:02:22 10:02:22 Login Succeeded 10:02:22 nexus3.edgexfoundry.org:10003 10:02:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:02:22 Configure a credential helper to remove this warning. See 10:02:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:02:22 10:02:22 Login Succeeded 10:02:22 nexus3.edgexfoundry.org:10004 10:02:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:02:22 Configure a credential helper to remove this warning. See 10:02:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:02:22 10:02:22 Login Succeeded 10:02:22 ****.io 10:02:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:02:23 Configure a credential helper to remove this warning. See 10:02:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:02:23 10:02:23 Login Succeeded 10:02:23 ---> ****-login.sh ends [Pipeline] } 10:02:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:02:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:02:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:02:23 ========================================================= 10:02:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 10:02:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:23 + 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 . 10:02:23 Sending build context to Docker daemon 17.94MB 10:02:23 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 10:02:23 Step 2/10 : FROM ${BASE} AS builder 10:02:23 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 10:02:23 43c4264eed91: Pulling fs layer 10:02:23 4cc291be95ef: Pulling fs layer 10:02:23 2ac1f1163629: Pulling fs layer 10:02:23 5c3c966382ef: Pulling fs layer 10:02:23 4f4fb700ef54: Pulling fs layer 10:02:23 5d5c8e513c77: Pulling fs layer 10:02:23 9f66e0745190: Pulling fs layer 10:02:23 f49a43e4bbc0: Pulling fs layer 10:02:23 561ebcabdf7f: Pulling fs layer 10:02:23 5c3c966382ef: Waiting 10:02:23 4f4fb700ef54: Waiting 10:02:23 5d5c8e513c77: Waiting 10:02:23 9f66e0745190: Waiting 10:02:23 f49a43e4bbc0: Waiting 10:02:23 561ebcabdf7f: Waiting 10:02:23 4cc291be95ef: Verifying Checksum 10:02:23 4cc291be95ef: Download complete 10:02:23 5c3c966382ef: Verifying Checksum 10:02:23 5c3c966382ef: Download complete 10:02:23 4f4fb700ef54: Verifying Checksum 10:02:23 4f4fb700ef54: Download complete 10:02:23 5d5c8e513c77: Download complete 10:02:23 43c4264eed91: Download complete 10:02:23 9f66e0745190: Verifying Checksum 10:02:23 9f66e0745190: Download complete 10:02:23 43c4264eed91: Pull complete 10:02:24 561ebcabdf7f: Verifying Checksum 10:02:24 561ebcabdf7f: Download complete 10:02:24 4cc291be95ef: Pull complete 10:02:24 2ac1f1163629: Download complete 10:02:24 f49a43e4bbc0: Verifying Checksum 10:02:24 f49a43e4bbc0: Download complete 10:02:27 2ac1f1163629: Pull complete 10:02:27 5c3c966382ef: Pull complete 10:02:27 4f4fb700ef54: Pull complete 10:02:27 5d5c8e513c77: Pull complete 10:02:27 9f66e0745190: Pull complete 10:02:30 f49a43e4bbc0: Pull complete 10:02:30 561ebcabdf7f: Pull complete 10:02:30 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 10:02:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 10:02:30 ---> 3a752c3f9dda 10:02:30 Step 3/10 : ARG ADD_BUILD_TAGS="" 10:02:35 ---> Running in bc813d4406c9 10:02:35 Removing intermediate container bc813d4406c9 10:02:35 ---> 2f252c5df812 10:02:35 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:02:35 ---> Running in 3ac3b4e8602b 10:02:36 Removing intermediate container 3ac3b4e8602b 10:02:36 ---> 9b0b3742d92c 10:02:36 Step 5/10 : RUN apk add --update --no-cache make git openssh 10:02:36 ---> Running in 20a03706edb4 10:02:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:02:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:02:37 (1/8) Installing openssh-keygen (9.7_p1-r4) 10:02:37 (2/8) Installing libedit (20240517.3.1-r0) 10:02:37 (3/8) Installing openssh-client-common (9.7_p1-r4) 10:02:37 (4/8) Installing openssh-client-default (9.7_p1-r4) 10:02:37 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 10:02:37 (6/8) Installing openssh-server-common (9.7_p1-r4) 10:02:37 (7/8) Installing openssh-server (9.7_p1-r4) 10:02:37 (8/8) Installing openssh (9.7_p1-r4) 10:02:37 Executing busybox-1.36.1-r29.trigger 10:02:37 OK: 252 MiB in 62 packages 10:02:37 Still waiting to schedule task 10:02:37 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-22523’ 10:02:37 Removing intermediate container 20a03706edb4 10:02:37 ---> aae2b6a01513 10:02:37 Step 6/10 : WORKDIR /device-modbus-go 10:02:37 ---> Running in bdecb661e901 10:02:37 Removing intermediate container bdecb661e901 10:02:37 ---> becc531f8f26 10:02:37 Step 7/10 : COPY go.mod vendor* ./ 10:02:37 ---> f0a2fa57378b 10:02:37 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:02:37 ---> Running in 43cbf92e7fbb 10:03:44 Removing intermediate container 43cbf92e7fbb 10:03:44 ---> 60cfa2e5392f 10:03:44 Step 9/10 : COPY . . 10:03:45 ---> 40ddc9563ce2 10:03:45 Step 10/10 : RUN ${MAKE} 10:03:45 ---> Running in b8615c89e365 10:03:45 noop 10:03:45 Removing intermediate container b8615c89e365 10:03:45 ---> 0c86714b492e 10:03:45 Successfully built 0c86714b492e 10:03:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:03:45 + docker inspect -f . ci-base-image-x86_64 10:03:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:03:45 prd-ubuntu20.04-docker-8c-8g-22525 does not seem to be running inside a container 10:03:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:03:46 $ docker top 0363698c897a1599950b0073c541dc1666afa658310d1f8eaf6b9d59b902ae22 -eo pid,comm [Pipeline] { [Pipeline] sh 10:03:46 + go version 10:03:46 go version go1.23.2 linux/amd64 [Pipeline] } 10:03:46 $ docker stop --time=1 0363698c897a1599950b0073c541dc1666afa658310d1f8eaf6b9d59b902ae22 10:03:47 $ docker rm -f --volumes 0363698c897a1599950b0073c541dc1666afa658310d1f8eaf6b9d59b902ae22 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:03:48 + docker inspect -f . ci-base-image-x86_64 10:03:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:03:48 prd-ubuntu20.04-docker-8c-8g-22525 does not seem to be running inside a container 10:03:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:03:48 $ docker top c68aa84b31c5ca61619e3189494ef4d093e9c50500525850619ca53c026a8749 -eo pid,comm [Pipeline] { [Pipeline] sh 10:03:49 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 10:03:49 + make test 10:03:49 go test ./... -coverprofile=coverage.out 10:03:51 ? github.com/edgexfoundry/device-modbus-go [no test files] 10:04:09 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 10:04:09 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.006s coverage: 47.9% of statements 10:04:19 go vet ./... 10:04:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:04:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:04:24 ./bin/test-attribution-txt.sh [Pipeline] echo 10:04:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 10:04:24 $ docker stop --time=1 c68aa84b31c5ca61619e3189494ef4d093e9c50500525850619ca53c026a8749 10:04:29 $ docker rm -f --volumes c68aa84b31c5ca61619e3189494ef4d093e9c50500525850619ca53c026a8749 [Pipeline] // withDockerContainer [Pipeline] sh 10:04:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:04:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:04:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:04:30 + ls -al . 10:04:30 total 272 10:04:30 drwxrwxr-x 9 jenkins jenkins 4096 Oct 11 10:03 . 10:04:30 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 10:01 .. 10:04:30 -rw-rw-r-- 1 jenkins jenkins 140 Oct 11 10:01 .dockerignore 10:04:30 drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 10:04 .git 10:04:30 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 10:01 .github 10:04:30 -rw-rw-r-- 1 jenkins jenkins 266 Oct 11 10:01 .gitignore 10:04:30 -rw-rw-r-- 1 jenkins jenkins 199 Oct 11 10:01 .golangci.yml 10:04:30 drwxr-xr-x 3 jenkins jenkins 4096 Oct 11 10:02 .semver 10:04:30 -rw-rw-r-- 1 jenkins jenkins 19818 Oct 11 10:01 Attribution.txt 10:04:30 -rw-rw-r-- 1 jenkins jenkins 16388 Oct 11 10:01 CHANGELOG.md 10:04:30 -rw-rw-r-- 1 jenkins jenkins 1474 Oct 11 10:01 Dockerfile 10:04:30 -rw-rw-r-- 1 jenkins jenkins 677 Oct 11 10:01 GOVERNANCE.md 10:04:30 -rw-rw-r-- 1 jenkins jenkins 658 Oct 11 10:01 Jenkinsfile 10:04:30 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 11 10:01 LICENSE 10:04:30 -rw-rw-r-- 1 jenkins jenkins 1942 Oct 11 10:01 Makefile 10:04:30 -rw-rw-r-- 1 jenkins jenkins 622 Oct 11 10:01 OWNERS.md 10:04:30 -rw-rw-r-- 1 jenkins jenkins 4463 Oct 11 10:01 README.md 10:04:30 -rw-rw-r-- 1 jenkins jenkins 12 Oct 11 10:02 VERSION 10:04:30 drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 10:01 bin 10:04:30 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 10:01 cmd 10:04:30 -rw-r--r-- 1 jenkins jenkins 24669 Oct 11 10:04 coverage.out 10:04:30 -rw-rw-r-- 1 jenkins jenkins 7157 Oct 11 10:01 go.mod 10:04:30 -rw-rw-r-- 1 jenkins jenkins 100518 Oct 11 10:01 go.sum 10:04:30 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 10:01 internal 10:04:30 drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 10:01 simulator 10:04:30 -rw-rw-r-- 1 jenkins jenkins 229 Oct 11 10:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:04:31 + 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=b773e44940ad369af529d1a2db565c19940e1657 --label arch=amd64 --label version=3.2.0-dev.25 . 10:04:31 Sending build context to Docker daemon 17.96MB 10:04:31 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 10:04:31 Step 2/23 : FROM ${BASE} AS builder 10:04:31 ---> 0c86714b492e 10:04:31 Step 3/23 : ARG ADD_BUILD_TAGS="" 10:04:31 ---> Running in 0eae53c3d0db 10:04:31 Removing intermediate container 0eae53c3d0db 10:04:31 ---> 57cf285d357b 10:04:31 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:04:31 ---> Running in e85289312963 10:04:31 Removing intermediate container e85289312963 10:04:31 ---> 0d2f1ae74686 10:04:31 Step 5/23 : RUN apk add --update --no-cache make git openssh 10:04:31 ---> Running in 3e62d90ce1e4 10:04:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:04:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:04:32 OK: 252 MiB in 62 packages 10:04:32 Removing intermediate container 3e62d90ce1e4 10:04:32 ---> 885ed9aaf9f1 10:04:32 Step 6/23 : WORKDIR /device-modbus-go 10:04:32 ---> Running in 1672692a109f 10:04:32 Removing intermediate container 1672692a109f 10:04:32 ---> def87d787a0b 10:04:32 Step 7/23 : COPY go.mod vendor* ./ 10:04:32 ---> 2e52c06f3f55 10:04:32 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:04:32 ---> Running in 1e589a3c898b 10:04:33 Removing intermediate container 1e589a3c898b 10:04:33 ---> 9ff1e98622ae 10:04:33 Step 9/23 : COPY . . 10:04:34 ---> dc18aba84cec 10:04:34 Step 10/23 : RUN ${MAKE} 10:04:34 ---> Running in 0e9ec5c44873 10:04:34 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.25 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.45" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 10:05:06 Removing intermediate container 0e9ec5c44873 10:05:06 ---> a8c1e35a6358 10:05:06 Step 11/23 : FROM alpine:3.20 10:05:06 3.20: Pulling from library/alpine 10:05:06 43c4264eed91: Already exists 10:05:06 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 10:05:06 Status: Downloaded newer image for alpine:3.20 10:05:06 ---> 91ef0af61f39 10:05:06 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 10:05:06 ---> Running in 7467b14c30c3 10:05:06 Removing intermediate container 7467b14c30c3 10:05:06 ---> 7914e37e0b9a 10:05:06 Step 13/23 : RUN apk add --update --no-cache dumb-init 10:05:06 ---> Running in c63d731f80ea 10:05:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:05:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:05:06 (1/1) Installing dumb-init (1.2.5-r3) 10:05:06 Executing busybox-1.36.1-r29.trigger 10:05:06 OK: 8 MiB in 15 packages 10:05:06 Removing intermediate container c63d731f80ea 10:05:06 ---> 8d29c5875b74 10:05:06 Step 14/23 : RUN apk --no-cache upgrade 10:05:06 ---> Running in b04b334b9475 10:05:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:05:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:05:07 Upgrading critical system libraries and apk-tools: 10:05:07 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 10:05:07 Executing busybox-1.36.1-r29.trigger 10:05:07 Continuing the upgrade transaction with new apk-tools: 10:05:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:05:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:05:07 OK: 8 MiB in 15 packages 10:05:08 Removing intermediate container b04b334b9475 10:05:08 ---> 30021735a6fd 10:05:08 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 10:05:09 ---> d1b5b6ae55d2 10:05:09 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 10:05:09 ---> 2743bf617632 10:05:09 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 10:05:09 ---> 6a04d1038b96 10:05:09 Step 18/23 : EXPOSE 59901 10:05:09 ---> Running in 37dd8d8b3d8d 10:05:09 Removing intermediate container 37dd8d8b3d8d 10:05:09 ---> 8bf1887b780e 10:05:09 Step 19/23 : ENTRYPOINT ["/device-modbus"] 10:05:09 ---> Running in 9a56c82fdbd4 10:05:09 Removing intermediate container 9a56c82fdbd4 10:05:09 ---> 175b7f3a3de4 10:05:09 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 10:05:09 ---> Running in 2488e4d10477 10:05:09 Removing intermediate container 2488e4d10477 10:05:09 ---> ca4307b8deed 10:05:09 Step 21/23 : LABEL arch=amd64 10:05:09 ---> Running in 4bb7ecb5a351 10:05:09 Removing intermediate container 4bb7ecb5a351 10:05:09 ---> b1017ff53d17 10:05:09 Step 22/23 : LABEL git_sha=b773e44940ad369af529d1a2db565c19940e1657 10:05:09 ---> Running in 85fdea2e79c1 10:05:09 Removing intermediate container 85fdea2e79c1 10:05:09 ---> aa7dbf3eb0eb 10:05:09 Step 23/23 : LABEL version=3.2.0-dev.25 10:05:09 ---> Running in cba1985aa830 10:05:10 Removing intermediate container cba1985aa830 10:05:10 ---> 390517b9b423 10:05:10 [Warning] One or more build-args [ARCH] were not consumed 10:05:10 Successfully built 390517b9b423 10:05: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 10:05:10 provisioning config files... 10:05:10 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16773899201369961743tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:05:10 ---> ****-login.sh 10:05:10 nexus3.edgexfoundry.org:10001 10:05:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:05:10 Configure a credential helper to remove this warning. See 10:05:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:05:10 10:05:10 Login Succeeded 10:05:10 nexus3.edgexfoundry.org:10002 10:05:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:05:10 Configure a credential helper to remove this warning. See 10:05:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:05:10 10:05:10 Login Succeeded 10:05:10 nexus3.edgexfoundry.org:10003 10:05:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:05:10 Configure a credential helper to remove this warning. See 10:05:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:05:10 10:05:10 Login Succeeded 10:05:10 nexus3.edgexfoundry.org:10004 10:05:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:05:10 Configure a credential helper to remove this warning. See 10:05:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:05:10 10:05:10 Login Succeeded 10:05:10 ****.io 10:05:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:05:11 Configure a credential helper to remove this warning. See 10:05:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:05:11 10:05:11 Login Succeeded 10:05:11 ---> ****-login.sh ends [Pipeline] } 10:05:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:05:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:05:11 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 10:05:11 b773e44940ad369af529d1a2db565c19940e1657 10:05:11 latest 10:05:11 3.2.0-dev.25 10:05:11 b773e44940ad369af529d1a2db565c19940e1657-3.2.0-dev.25 10:05:11 main 10:05:11 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:11 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:b773e44940ad369af529d1a2db565c19940e1657 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:11 + docker push nexus3.edgexfoundry.org:10004/device-modbus:b773e44940ad369af529d1a2db565c19940e1657 10:05:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 10:05:11 2b569cc86161: Preparing 10:05:11 04cbe429d7c9: Preparing 10:05:11 7c1400e082e0: Preparing 10:05:11 c9f9d844e3fe: Preparing 10:05:11 0aa5eb4ed590: Preparing 10:05:11 63ca1fbb43ae: Preparing 10:05:11 63ca1fbb43ae: Waiting 10:05:11 2b569cc86161: Pushed 10:05:11 04cbe429d7c9: Pushed 10:05:11 c9f9d844e3fe: Pushed 10:05:11 0aa5eb4ed590: Pushed 10:05:11 63ca1fbb43ae: Layer already exists 10:05:15 7c1400e082e0: Pushed 10:05:15 b773e44940ad369af529d1a2db565c19940e1657: digest: sha256:57832926d3f050a0859e40fa1a0d173deb2b2932bf1fe4ae51f508e5de1090f8 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:15 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:15 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 10:05:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 10:05:15 2b569cc86161: Preparing 10:05:15 04cbe429d7c9: Preparing 10:05:15 7c1400e082e0: Preparing 10:05:15 c9f9d844e3fe: Preparing 10:05:15 0aa5eb4ed590: Preparing 10:05:15 63ca1fbb43ae: Preparing 10:05:15 63ca1fbb43ae: Waiting 10:05:15 04cbe429d7c9: Layer already exists 10:05:15 2b569cc86161: Layer already exists 10:05:15 c9f9d844e3fe: Layer already exists 10:05:15 0aa5eb4ed590: Layer already exists 10:05:15 7c1400e082e0: Layer already exists 10:05:15 63ca1fbb43ae: Layer already exists 10:05:15 latest: digest: sha256:57832926d3f050a0859e40fa1a0d173deb2b2932bf1fe4ae51f508e5de1090f8 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:16 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:16 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.25 10:05:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 10:05:16 2b569cc86161: Preparing 10:05:16 04cbe429d7c9: Preparing 10:05:16 7c1400e082e0: Preparing 10:05:16 c9f9d844e3fe: Preparing 10:05:16 0aa5eb4ed590: Preparing 10:05:16 63ca1fbb43ae: Preparing 10:05:16 63ca1fbb43ae: Waiting 10:05:16 7c1400e082e0: Layer already exists 10:05:16 04cbe429d7c9: Layer already exists 10:05:16 c9f9d844e3fe: Layer already exists 10:05:16 0aa5eb4ed590: Layer already exists 10:05:16 2b569cc86161: Layer already exists 10:05:16 63ca1fbb43ae: Layer already exists 10:05:16 3.2.0-dev.25: digest: sha256:57832926d3f050a0859e40fa1a0d173deb2b2932bf1fe4ae51f508e5de1090f8 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:16 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:b773e44940ad369af529d1a2db565c19940e1657-3.2.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:17 + docker push nexus3.edgexfoundry.org:10004/device-modbus:b773e44940ad369af529d1a2db565c19940e1657-3.2.0-dev.25 10:05:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 10:05:17 2b569cc86161: Preparing 10:05:17 04cbe429d7c9: Preparing 10:05:17 7c1400e082e0: Preparing 10:05:17 c9f9d844e3fe: Preparing 10:05:17 0aa5eb4ed590: Preparing 10:05:17 63ca1fbb43ae: Preparing 10:05:17 2b569cc86161: Layer already exists 10:05:17 0aa5eb4ed590: Layer already exists 10:05:17 04cbe429d7c9: Layer already exists 10:05:17 c9f9d844e3fe: Layer already exists 10:05:17 7c1400e082e0: Layer already exists 10:05:17 63ca1fbb43ae: Layer already exists 10:05:17 b773e44940ad369af529d1a2db565c19940e1657-3.2.0-dev.25: digest: sha256:57832926d3f050a0859e40fa1a0d173deb2b2932bf1fe4ae51f508e5de1090f8 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:17 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:17 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 10:05:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 10:05:17 2b569cc86161: Preparing 10:05:17 04cbe429d7c9: Preparing 10:05:17 7c1400e082e0: Preparing 10:05:17 c9f9d844e3fe: Preparing 10:05:17 0aa5eb4ed590: Preparing 10:05:17 63ca1fbb43ae: Preparing 10:05:17 63ca1fbb43ae: Waiting 10:05:17 c9f9d844e3fe: Layer already exists 10:05:17 7c1400e082e0: Layer already exists 10:05:17 04cbe429d7c9: Layer already exists 10:05:17 2b569cc86161: Layer already exists 10:05:17 0aa5eb4ed590: Layer already exists 10:05:17 63ca1fbb43ae: Layer already exists 10:05:17 main: digest: sha256:57832926d3f050a0859e40fa1a0d173deb2b2932bf1fe4ae51f508e5de1090f8 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:05:17 ===================================================== [Pipeline] echo 10:05:17 taggedImages: 10:05:17 - nexus3.edgexfoundry.org:10004/device-modbus:b773e44940ad369af529d1a2db565c19940e1657 10:05:17 - nexus3.edgexfoundry.org:10004/device-modbus:latest 10:05:17 - nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.25 10:05:17 - nexus3.edgexfoundry.org:10004/device-modbus:b773e44940ad369af529d1a2db565c19940e1657-3.2.0-dev.25 10:05:17 - 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 10:05:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:05:18 10:05:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:05:18 latest: Pulling from edgex-lftools-log-publisher 10:05:18 5eb5b503b376: Pulling fs layer 10:05:18 5c69ac0246d0: Pulling fs layer 10:05:18 ec43610c2a17: Pulling fs layer 10:05:18 3a2ae6a8a46f: Pulling fs layer 10:05:18 33b1e0a273af: Pulling fs layer 10:05:18 5d3b04190fa2: Pulling fs layer 10:05:18 2f39f015ded8: Pulling fs layer 10:05:18 33b1e0a273af: Waiting 10:05:18 3a2ae6a8a46f: Waiting 10:05:18 5d3b04190fa2: Waiting 10:05:18 2f39f015ded8: Waiting 10:05:18 5c69ac0246d0: Verifying Checksum 10:05:18 5c69ac0246d0: Download complete 10:05:18 3a2ae6a8a46f: Verifying Checksum 10:05:18 3a2ae6a8a46f: Download complete 10:05:18 33b1e0a273af: Verifying Checksum 10:05:18 33b1e0a273af: Download complete 10:05:18 ec43610c2a17: Verifying Checksum 10:05:18 ec43610c2a17: Download complete 10:05:18 5d3b04190fa2: Verifying Checksum 10:05:18 5d3b04190fa2: Download complete 10:05:18 5eb5b503b376: Verifying Checksum 10:05:18 5eb5b503b376: Download complete 10:05:19 2f39f015ded8: Verifying Checksum 10:05:19 2f39f015ded8: Download complete 10:05:19 5eb5b503b376: Pull complete 10:05:20 5c69ac0246d0: Pull complete 10:05:20 ec43610c2a17: Pull complete 10:05:20 3a2ae6a8a46f: Pull complete 10:05:20 33b1e0a273af: Pull complete 10:05:20 5d3b04190fa2: Pull complete 10:05:24 2f39f015ded8: Pull complete 10:05:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:05:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:05:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:05:24 prd-ubuntu20.04-docker-8c-8g-22525 does not seem to be running inside a container 10:05:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:05:28 $ docker top c78716973f880eb87f7bc6adf4cced3ec781cfdf30b5661ffc7e0ba42e7e31a5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:05:29 ---> job-cost.sh 10:05:29 lf-activate-venv: SKIPPING 10:05:29 INFO: No Stack... 10:05:31 INFO: Retrieving Pricing Info for: v3-standard-8 10:05:32 INFO: Archiving Costs [Pipeline] sh 10:05:32 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 10:05:32 + cut -d, -f6 [Pipeline] lock 10:05:32 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-164-stack-cost] 10:05:32 Resource [jenkins-edgexfoundry-device-modbus-go-main-164-stack-cost] did not exist. Created. 10:05:32 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-164-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:05:32 + echo total: 0.2199999988079071 [Pipeline] stash 10:05:33 Stashed 1 file(s) [Pipeline] } 10:05:33 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-164-stack-cost] [Pipeline] // lock [Pipeline] } 10:05:33 $ docker stop --time=1 c78716973f880eb87f7bc6adf4cced3ec781cfdf30b5661ffc7e0ba42e7e31a5 10:05:34 $ docker rm -f --volumes c78716973f880eb87f7bc6adf4cced3ec781cfdf30b5661ffc7e0ba42e7e31a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:05:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22530 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 10:05:52 Running in /w/workspace/device-modbus-go/164 [Pipeline] { [Pipeline] checkout 10:05:52 The recommended git tool is: git 10:05:59 using credential edgex-jenkins-ssh 10:05:59 Cloning the remote Git repository 10:05:59 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 10:05:59 > git init /w/workspace/device-modbus-go/164 # timeout=10 10:05:59 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 10:05:59 > git --version # timeout=10 10:05:59 > git --version # 'git version 2.25.1' 10:05:59 using GIT_SSH to set credentials SSH Credentials for GitHub 10:06:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:06:02 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 10:06:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:06:03 Avoid second fetch 10:06:03 Checking out Revision b773e44940ad369af529d1a2db565c19940e1657 (main) 10:06:04 Commit message: "Merge pull request #580 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.45" 10:06:03 > git config core.sparsecheckout # timeout=10 10:06:03 > git checkout -f b773e44940ad369af529d1a2db565c19940e1657 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:06:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:06:08 % Total % Received % Xferd Average Speed Time Time Time Current 10:06:08 Dload Upload Total Spent Left Speed 10:06:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 178k 0 --:--:-- --:--:-- --:--:-- 178k [Pipeline] sh 10:06:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:06:09 + sudo tee /etc/docker/daemon.new 10:06:09 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:06:09 { 10:06:09 "registry-mirrors": [ 10:06:09 "https://nexus3.edgexfoundry.org:10001" 10:06:09 ], 10:06:09 "bip": "10.250.0.254/24", 10:06:09 "hosts": [ 10:06:09 "tcp://0.0.0.0:5555", 10:06:09 "unix:///var/run/docker.sock" 10:06:09 ], 10:06:09 "mtu": 1458, 10:06:09 "selinux-enabled": true, 10:06:09 "seccomp-profile": "/etc/docker/seccomp.json" 10:06:09 } [Pipeline] sh 10:06:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:06:10 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:06:28 provisioning config files... 10:06:28 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/164@tmp/config3880631708237278818tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:06:29 ---> ****-login.sh 10:06:29 nexus3.edgexfoundry.org:10001 10:06:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:06:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:06:30 Configure a credential helper to remove this warning. See 10:06:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:06:30 10:06:30 Login Succeeded 10:06:30 nexus3.edgexfoundry.org:10002 10:06:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:06:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:06:30 Configure a credential helper to remove this warning. See 10:06:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:06:30 10:06:30 Login Succeeded 10:06:30 nexus3.edgexfoundry.org:10003 10:06:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:06:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:06:30 Configure a credential helper to remove this warning. See 10:06:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:06:30 10:06:30 Login Succeeded 10:06:30 nexus3.edgexfoundry.org:10004 10:06:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:06:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:06:31 Configure a credential helper to remove this warning. See 10:06:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:06:31 10:06:31 Login Succeeded 10:06:31 ****.io 10:06:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:06:32 Configure a credential helper to remove this warning. See 10:06:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:06:32 10:06:32 Login Succeeded 10:06:32 ---> ****-login.sh ends [Pipeline] } 10:06:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:06:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:06:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:06:32 ========================================================= 10:06:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 10:06:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:32 + 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 . 10:06:33 Sending build context to Docker daemon 9.112MB 10:06:33 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 10:06:33 Step 2/10 : FROM ${BASE} AS builder 10:06:33 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:06:33 cf04c63912e1: Pulling fs layer 10:06:33 55b35a11ae5e: Pulling fs layer 10:06:33 a37a00ec5f00: Pulling fs layer 10:06:33 50b3750afda1: Pulling fs layer 10:06:33 4f4fb700ef54: Pulling fs layer 10:06:33 50b3750afda1: Waiting 10:06:33 80978eb59214: Pulling fs layer 10:06:33 4f4fb700ef54: Waiting 10:06:33 c9f46d7d2bd2: Pulling fs layer 10:06:33 c5a475d317c9: Pulling fs layer 10:06:33 80978eb59214: Waiting 10:06:33 c9f46d7d2bd2: Waiting 10:06:33 c5a475d317c9: Waiting 10:06:33 55b35a11ae5e: Verifying Checksum 10:06:33 55b35a11ae5e: Download complete 10:06:33 50b3750afda1: Verifying Checksum 10:06:33 50b3750afda1: Download complete 10:06:33 4f4fb700ef54: Verifying Checksum 10:06:33 4f4fb700ef54: Download complete 10:06:33 80978eb59214: Verifying Checksum 10:06:33 80978eb59214: Download complete 10:06:33 cf04c63912e1: Verifying Checksum 10:06:33 cf04c63912e1: Download complete 10:06:34 c5a475d317c9: Verifying Checksum 10:06:34 c5a475d317c9: Download complete 10:06:34 cf04c63912e1: Pull complete 10:06:35 55b35a11ae5e: Pull complete 10:06:35 a37a00ec5f00: Verifying Checksum 10:06:35 a37a00ec5f00: Download complete 10:06:36 c9f46d7d2bd2: Verifying Checksum 10:06:36 c9f46d7d2bd2: Download complete 10:06:48 a37a00ec5f00: Pull complete 10:06:48 50b3750afda1: Pull complete 10:06:49 4f4fb700ef54: Pull complete 10:06:49 80978eb59214: Pull complete 10:06:57 c9f46d7d2bd2: Pull complete 10:06:59 c5a475d317c9: Pull complete 10:06:59 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 10:06:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 10:06:59 ---> be29e6b0f0d4 10:06:59 Step 3/10 : ARG ADD_BUILD_TAGS="" 10:07:00 ---> Running in 527260e2d13b 10:07:00 Removing intermediate container 527260e2d13b 10:07:00 ---> a619ee2634c3 10:07:00 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:07:00 ---> Running in ee3e42a6a8de 10:07:00 Removing intermediate container ee3e42a6a8de 10:07:00 ---> 032320d66bc4 10:07:00 Step 5/10 : RUN apk add --update --no-cache make git openssh 10:07:00 ---> Running in 01e9504c6dec 10:07:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:07:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:07:04 (1/8) Installing openssh-keygen (9.7_p1-r4) 10:07:04 (2/8) Installing libedit (20240517.3.1-r0) 10:07:04 (3/8) Installing openssh-client-common (9.7_p1-r4) 10:07:04 (4/8) Installing openssh-client-default (9.7_p1-r4) 10:07:04 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 10:07:04 (6/8) Installing openssh-server-common (9.7_p1-r4) 10:07:04 (7/8) Installing openssh-server (9.7_p1-r4) 10:07:04 (8/8) Installing openssh (9.7_p1-r4) 10:07:04 Executing busybox-1.36.1-r29.trigger 10:07:04 OK: 244 MiB in 62 packages 10:07:06 Removing intermediate container 01e9504c6dec 10:07:06 ---> 3acfe47a02d6 10:07:06 Step 6/10 : WORKDIR /device-modbus-go 10:07:06 ---> Running in da2ed9b9fab9 10:07:06 Removing intermediate container da2ed9b9fab9 10:07:06 ---> 3525bb8f902e 10:07:06 Step 7/10 : COPY go.mod vendor* ./ 10:07:07 ---> dceb77fe459a 10:07:07 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:07:07 ---> Running in 4d01184af025 10:09:13 Removing intermediate container 4d01184af025 10:09:13 ---> b73e3a4198a7 10:09:13 Step 9/10 : COPY . . 10:09:13 ---> 3f7450537b26 10:09:13 Step 10/10 : RUN ${MAKE} 10:09:13 ---> Running in 7039dce71979 10:09:13 noop 10:09:13 Removing intermediate container 7039dce71979 10:09:13 ---> d768156370f9 10:09:13 Successfully built d768156370f9 10:09:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:14 + docker inspect -f . ci-base-image-arm64 10:09:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:09:14 prd-ubuntu20.04-docker-arm64-4c-16g-22530 does not seem to be running inside a container 10:09:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/164 -v /w/workspace/device-modbus-go/164:/w/workspace/device-modbus-go/164:rw,z -v /w/workspace/device-modbus-go/164@tmp:/w/workspace/device-modbus-go/164@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:09:15 $ docker top 8ece6524a05253d99a7f22312430a4bec51ea909feda4b74ce926834ea7ae288 -eo pid,comm [Pipeline] { [Pipeline] sh 10:09:16 + go version 10:09:16 go version go1.23.2 linux/arm64 [Pipeline] } 10:09:16 $ docker stop --time=1 8ece6524a05253d99a7f22312430a4bec51ea909feda4b74ce926834ea7ae288 10:09:18 $ docker rm -f --volumes 8ece6524a05253d99a7f22312430a4bec51ea909feda4b74ce926834ea7ae288 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:18 + docker inspect -f . ci-base-image-arm64 10:09:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:09:19 prd-ubuntu20.04-docker-arm64-4c-16g-22530 does not seem to be running inside a container 10:09:19 $ 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/164 -v /w/workspace/device-modbus-go/164:/w/workspace/device-modbus-go/164:rw,z -v /w/workspace/device-modbus-go/164@tmp:/w/workspace/device-modbus-go/164@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:09:20 $ docker top 6b18a8b9607305dffc05d6e03eb2f1265064c06fdb411c3eae1d2b35b2f517b6 -eo pid,comm [Pipeline] { [Pipeline] sh 10:09:21 + git config --global --add safe.directory /w/workspace/device-modbus-go/164 [Pipeline] fileExists [Pipeline] sh 10:09:21 + make test 10:09:21 go test ./... -coverprofile=coverage.out 10:09:28 ? github.com/edgexfoundry/device-modbus-go [no test files] 10:13:36 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 10:13:36 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.057s coverage: 47.9% of statements 10:13:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:13:36 go vet ./... 10:14:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:14:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:14:32 ./bin/test-attribution-txt.sh [Pipeline] echo 10:14:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 10:14:32 $ docker stop --time=1 6b18a8b9607305dffc05d6e03eb2f1265064c06fdb411c3eae1d2b35b2f517b6 10:14:35 $ docker rm -f --volumes 6b18a8b9607305dffc05d6e03eb2f1265064c06fdb411c3eae1d2b35b2f517b6 [Pipeline] // withDockerContainer [Pipeline] sh 10:14:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:14:36 Warning: overwriting stash ‘coverage-report’ 10:14:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:14:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:14:38 + ls -al . 10:14:38 total 268 10:14:38 drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 10:09 . 10:14:38 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 10:05 .. 10:14:38 -rw-rw-r-- 1 jenkins jenkins 140 Oct 11 10:06 .dockerignore 10:14:38 drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 10:06 .git 10:14:38 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 10:06 .github 10:14:38 -rw-rw-r-- 1 jenkins jenkins 266 Oct 11 10:06 .gitignore 10:14:38 -rw-rw-r-- 1 jenkins jenkins 199 Oct 11 10:06 .golangci.yml 10:14:38 -rw-rw-r-- 1 jenkins jenkins 19818 Oct 11 10:06 Attribution.txt 10:14:38 -rw-rw-r-- 1 jenkins jenkins 16388 Oct 11 10:06 CHANGELOG.md 10:14:38 -rw-rw-r-- 1 jenkins jenkins 1474 Oct 11 10:06 Dockerfile 10:14:38 -rw-rw-r-- 1 jenkins jenkins 677 Oct 11 10:06 GOVERNANCE.md 10:14:38 -rw-rw-r-- 1 jenkins jenkins 658 Oct 11 10:06 Jenkinsfile 10:14:38 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 11 10:06 LICENSE 10:14:38 -rw-rw-r-- 1 jenkins jenkins 1942 Oct 11 10:06 Makefile 10:14:38 -rw-rw-r-- 1 jenkins jenkins 622 Oct 11 10:06 OWNERS.md 10:14:38 -rw-rw-r-- 1 jenkins jenkins 4463 Oct 11 10:06 README.md 10:14:38 -rw-rw-r-- 1 jenkins jenkins 12 Oct 11 10:02 VERSION 10:14:38 drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 10:06 bin 10:14:38 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 10:06 cmd 10:14:38 -rw-r--r-- 1 jenkins jenkins 24669 Oct 11 10:13 coverage.out 10:14:38 -rw-rw-r-- 1 jenkins jenkins 7157 Oct 11 10:06 go.mod 10:14:38 -rw-rw-r-- 1 jenkins jenkins 100518 Oct 11 10:06 go.sum 10:14:38 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 10:06 internal 10:14:38 drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 10:06 simulator 10:14:38 -rw-rw-r-- 1 jenkins jenkins 229 Oct 11 10:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:14:39 + 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=b773e44940ad369af529d1a2db565c19940e1657 --label arch=arm64 --label version=3.2.0-dev.25 . 10:14:39 Sending build context to Docker daemon 9.137MB 10:14:39 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 10:14:39 Step 2/23 : FROM ${BASE} AS builder 10:14:39 ---> d768156370f9 10:14:39 Step 3/23 : ARG ADD_BUILD_TAGS="" 10:14:40 ---> Running in 34ca1730bcf0 10:14:40 Removing intermediate container 34ca1730bcf0 10:14:40 ---> 05ed9aa55f0f 10:14:40 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:14:40 ---> Running in 5a655e7082bb 10:14:40 Removing intermediate container 5a655e7082bb 10:14:40 ---> 2c8ac1f2276b 10:14:40 Step 5/23 : RUN apk add --update --no-cache make git openssh 10:14:41 ---> Running in 720124865ea9 10:14:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:14:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:14:44 OK: 244 MiB in 62 packages 10:14:45 Removing intermediate container 720124865ea9 10:14:45 ---> 7570cce82adb 10:14:45 Step 6/23 : WORKDIR /device-modbus-go 10:14:45 ---> Running in 9c2ded7c11b1 10:14:45 Removing intermediate container 9c2ded7c11b1 10:14:45 ---> 6c4e8b633c79 10:14:45 Step 7/23 : COPY go.mod vendor* ./ 10:14:45 ---> 82c206828bd9 10:14:45 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:14:45 ---> Running in ca81b145f8d3 10:14:48 Removing intermediate container ca81b145f8d3 10:14:48 ---> c7b5c2012f83 10:14:48 Step 9/23 : COPY . . 10:14:49 ---> f6e11cbae20e 10:14:49 Step 10/23 : RUN ${MAKE} 10:14:49 ---> Running in a0a635637118 10:14:50 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.25 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.45" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 10:18:42 Removing intermediate container a0a635637118 10:18:42 ---> b09c6cb8a8c2 10:18:42 Step 11/23 : FROM alpine:3.20 10:18:42 3.20: Pulling from library/alpine 10:18:42 cf04c63912e1: Already exists 10:18:42 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 10:18:42 Status: Downloaded newer image for alpine:3.20 10:18:42 ---> c157a85ed455 10:18:42 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 10:18:42 ---> Running in 4ce09dfdc3ca 10:18:42 Removing intermediate container 4ce09dfdc3ca 10:18:42 ---> 1feb52af7eb2 10:18:42 Step 13/23 : RUN apk add --update --no-cache dumb-init 10:18:42 ---> Running in 149bfada3f92 10:18:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:18:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:18:42 (1/1) Installing dumb-init (1.2.5-r3) 10:18:42 Executing busybox-1.36.1-r29.trigger 10:18:42 OK: 9 MiB in 15 packages 10:18:42 Removing intermediate container 149bfada3f92 10:18:42 ---> 3dc2eba3c795 10:18:42 Step 14/23 : RUN apk --no-cache upgrade 10:18:42 ---> Running in 0b6bcc94dfa2 10:18:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:18:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:18:42 Upgrading critical system libraries and apk-tools: 10:18:42 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 10:18:42 Executing busybox-1.36.1-r29.trigger 10:18:43 Continuing the upgrade transaction with new apk-tools: 10:18:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:18:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:18:45 OK: 9 MiB in 15 packages 10:18:45 Removing intermediate container 0b6bcc94dfa2 10:18:45 ---> fd70fd5d8b4a 10:18:45 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 10:18:47 ---> 226f8c5806e3 10:18:47 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 10:18:48 ---> 201369d2928a 10:18:48 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 10:18:49 ---> 73b0cd4be4c1 10:18:49 Step 18/23 : EXPOSE 59901 10:18:49 ---> Running in 5365f49295a3 10:18:49 Removing intermediate container 5365f49295a3 10:18:49 ---> 4ea014c415dd 10:18:49 Step 19/23 : ENTRYPOINT ["/device-modbus"] 10:18:49 ---> Running in 7bc5bcdbb22f 10:18:49 Removing intermediate container 7bc5bcdbb22f 10:18:49 ---> dab1ee91f13d 10:18:49 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 10:18:49 ---> Running in 82835fb87903 10:18:50 Removing intermediate container 82835fb87903 10:18:50 ---> 0f7c56718c97 10:18:50 Step 21/23 : LABEL arch=arm64 10:18:50 ---> Running in 8006f156b52b 10:18:50 Removing intermediate container 8006f156b52b 10:18:50 ---> d9734a772767 10:18:50 Step 22/23 : LABEL git_sha=b773e44940ad369af529d1a2db565c19940e1657 10:18:50 ---> Running in 9412a4e5fa26 10:18:51 Removing intermediate container 9412a4e5fa26 10:18:51 ---> 629f7a0679d1 10:18:51 Step 23/23 : LABEL version=3.2.0-dev.25 10:18:51 ---> Running in 7c3eca79922b 10:18:51 Removing intermediate container 7c3eca79922b 10:18:51 ---> 7816e38ff033 10:18:51 [Warning] One or more build-args [ARCH] were not consumed 10:18:51 Successfully built 7816e38ff033 10:18:51 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 10:18:51 provisioning config files... 10:18:52 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/164@tmp/config2351448636393496746tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:18:52 ---> ****-login.sh 10:18:52 nexus3.edgexfoundry.org:10001 10:18:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:18:52 Configure a credential helper to remove this warning. See 10:18:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:18:52 10:18:52 Login Succeeded 10:18:52 nexus3.edgexfoundry.org:10002 10:18:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:18:53 Configure a credential helper to remove this warning. See 10:18:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:18:53 10:18:53 Login Succeeded 10:18:53 nexus3.edgexfoundry.org:10003 10:18:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:18:53 Configure a credential helper to remove this warning. See 10:18:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:18:53 10:18:53 Login Succeeded 10:18:53 nexus3.edgexfoundry.org:10004 10:18:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:18:54 Configure a credential helper to remove this warning. See 10:18:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:18:54 10:18:54 Login Succeeded 10:18:54 ****.io 10:18:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:18:54 Configure a credential helper to remove this warning. See 10:18:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:18:54 10:18:54 Login Succeeded 10:18:54 ---> ****-login.sh ends [Pipeline] } 10:18:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:18:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:18:54 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 10:18:54 b773e44940ad369af529d1a2db565c19940e1657 10:18:54 latest 10:18:54 3.2.0-dev.25 10:18:54 b773e44940ad369af529d1a2db565c19940e1657-3.2.0-dev.25 10:18:54 main 10:18:54 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:18:55 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:b773e44940ad369af529d1a2db565c19940e1657 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:18:55 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:b773e44940ad369af529d1a2db565c19940e1657 10:18:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 10:18:55 f8e762beb92b: Preparing 10:18:55 161edd4ec0c5: Preparing 10:18:55 ba9b384e40d3: Preparing 10:18:55 7944ea995257: Preparing 10:18:55 6a95b6b1e045: Preparing 10:18:55 16113d51b718: Preparing 10:18:55 16113d51b718: Waiting 10:18:56 f8e762beb92b: Pushed 10:18:56 161edd4ec0c5: Pushed 10:18:56 6a95b6b1e045: Pushed 10:18:56 16113d51b718: Layer already exists 10:18:56 7944ea995257: Pushed 10:19:04 ba9b384e40d3: Pushed 10:19:04 b773e44940ad369af529d1a2db565c19940e1657: digest: sha256:6d0cbd91b7ff4e50ae785c61edf152c7d99c14d8621d5691112d58cf89b172f6 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:04 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:04 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 10:19:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 10:19:04 f8e762beb92b: Preparing 10:19:04 161edd4ec0c5: Preparing 10:19:04 ba9b384e40d3: Preparing 10:19:04 7944ea995257: Preparing 10:19:04 6a95b6b1e045: Preparing 10:19:04 16113d51b718: Preparing 10:19:04 16113d51b718: Waiting 10:19:04 ba9b384e40d3: Layer already exists 10:19:04 161edd4ec0c5: Layer already exists 10:19:04 6a95b6b1e045: Layer already exists 10:19:04 7944ea995257: Layer already exists 10:19:04 f8e762beb92b: Layer already exists 10:19:04 16113d51b718: Layer already exists 10:19:05 latest: digest: sha256:6d0cbd91b7ff4e50ae785c61edf152c7d99c14d8621d5691112d58cf89b172f6 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:05 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:05 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.25 10:19:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 10:19:05 f8e762beb92b: Preparing 10:19:05 161edd4ec0c5: Preparing 10:19:05 ba9b384e40d3: Preparing 10:19:05 7944ea995257: Preparing 10:19:05 6a95b6b1e045: Preparing 10:19:05 16113d51b718: Preparing 10:19:05 16113d51b718: Waiting 10:19:05 ba9b384e40d3: Layer already exists 10:19:05 f8e762beb92b: Layer already exists 10:19:05 7944ea995257: Layer already exists 10:19:05 161edd4ec0c5: Layer already exists 10:19:05 6a95b6b1e045: Layer already exists 10:19:05 16113d51b718: Layer already exists 10:19:06 3.2.0-dev.25: digest: sha256:6d0cbd91b7ff4e50ae785c61edf152c7d99c14d8621d5691112d58cf89b172f6 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:06 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:b773e44940ad369af529d1a2db565c19940e1657-3.2.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:07 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:b773e44940ad369af529d1a2db565c19940e1657-3.2.0-dev.25 10:19:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 10:19:07 f8e762beb92b: Preparing 10:19:07 161edd4ec0c5: Preparing 10:19:07 ba9b384e40d3: Preparing 10:19:07 7944ea995257: Preparing 10:19:07 6a95b6b1e045: Preparing 10:19:07 16113d51b718: Preparing 10:19:07 16113d51b718: Waiting 10:19:07 f8e762beb92b: Layer already exists 10:19:07 ba9b384e40d3: Layer already exists 10:19:07 7944ea995257: Layer already exists 10:19:07 161edd4ec0c5: Layer already exists 10:19:07 6a95b6b1e045: Layer already exists 10:19:07 16113d51b718: Layer already exists 10:19:07 b773e44940ad369af529d1a2db565c19940e1657-3.2.0-dev.25: digest: sha256:6d0cbd91b7ff4e50ae785c61edf152c7d99c14d8621d5691112d58cf89b172f6 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:07 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:07 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 10:19:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 10:19:07 f8e762beb92b: Preparing 10:19:07 161edd4ec0c5: Preparing 10:19:07 ba9b384e40d3: Preparing 10:19:07 7944ea995257: Preparing 10:19:07 6a95b6b1e045: Preparing 10:19:07 16113d51b718: Preparing 10:19:07 16113d51b718: Waiting 10:19:07 ba9b384e40d3: Layer already exists 10:19:07 6a95b6b1e045: Layer already exists 10:19:07 161edd4ec0c5: Layer already exists 10:19:07 7944ea995257: Layer already exists 10:19:07 f8e762beb92b: Layer already exists 10:19:07 16113d51b718: Layer already exists 10:19:08 main: digest: sha256:6d0cbd91b7ff4e50ae785c61edf152c7d99c14d8621d5691112d58cf89b172f6 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:19:08 ===================================================== [Pipeline] echo 10:19:08 taggedImages: 10:19:08 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:b773e44940ad369af529d1a2db565c19940e1657 10:19:08 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 10:19:08 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.25 10:19:08 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:b773e44940ad369af529d1a2db565c19940e1657-3.2.0-dev.25 10:19:08 - 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 10:19:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:19:08 10:19:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:19:09 arm64: Pulling from edgex-lftools-log-publisher 10:19:09 8998bd30e6a1: Pulling fs layer 10:19:09 04944245beec: Pulling fs layer 10:19:09 699f458cf7ca: Pulling fs layer 10:19:09 765212b225bb: Pulling fs layer 10:19:09 f23df028b6ca: Pulling fs layer 10:19:09 765212b225bb: Waiting 10:19:09 f23df028b6ca: Waiting 10:19:09 d65c8cfc05b1: Pulling fs layer 10:19:09 2437ff75d9bd: Pulling fs layer 10:19:09 d65c8cfc05b1: Waiting 10:19:09 2437ff75d9bd: Waiting 10:19:09 04944245beec: Verifying Checksum 10:19:09 04944245beec: Download complete 10:19:09 765212b225bb: Verifying Checksum 10:19:09 765212b225bb: Download complete 10:19:09 f23df028b6ca: Verifying Checksum 10:19:09 f23df028b6ca: Download complete 10:19:09 d65c8cfc05b1: Verifying Checksum 10:19:09 d65c8cfc05b1: Download complete 10:19:09 699f458cf7ca: Verifying Checksum 10:19:09 699f458cf7ca: Download complete 10:19:10 8998bd30e6a1: Download complete 10:19:12 2437ff75d9bd: Verifying Checksum 10:19:12 2437ff75d9bd: Download complete 10:19:15 8998bd30e6a1: Pull complete 10:19:15 04944245beec: Pull complete 10:19:17 699f458cf7ca: Pull complete 10:19:17 765212b225bb: Pull complete 10:19:18 f23df028b6ca: Pull complete 10:19:18 d65c8cfc05b1: Pull complete 10:19:36 2437ff75d9bd: Pull complete 10:19:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:19:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:19:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:19:37 prd-ubuntu20.04-docker-arm64-4c-16g-22530 does not seem to be running inside a container 10:19:37 $ 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/164 -v /w/workspace/device-modbus-go/164:/w/workspace/device-modbus-go/164:rw,z -v /w/workspace/device-modbus-go/164@tmp:/w/workspace/device-modbus-go/164@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:arm64 cat 10:19:40 $ docker top 3ac464a54044bcf3d3eb72fcce9b3e36c343352942650a5f63c0eb215ce1ae81 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:19:41 ---> job-cost.sh 10:19:41 lf-activate-venv: SKIPPING 10:19:41 INFO: No Stack... 10:19:41 INFO: Retrieving Pricing Info for: v3-standard-4 10:19:42 INFO: Archiving Costs [Pipeline] sh 10:19:43 + cat /w/workspace/device-modbus-go/164/archives/cost.csv 10:19:43 + cut -d, -f6 [Pipeline] lock 10:19:43 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-164-stack-cost] 10:19:43 Resource [jenkins-edgexfoundry-device-modbus-go-main-164-stack-cost] did not exist. Created. 10:19:43 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-164-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:19:44 /w/workspace/device-modbus-go/164@tmp/durable-5849435a/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:19:44 + echo total: 0.10999999940395355 [Pipeline] stash 10:19:44 Warning: overwriting stash ‘stack-cost’ 10:19:44 Stashed 1 file(s) [Pipeline] } 10:19:44 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-164-stack-cost] [Pipeline] // lock [Pipeline] } 10:19:44 $ docker stop --time=1 3ac464a54044bcf3d3eb72fcce9b3e36c343352942650a5f63c0eb215ce1ae81 10:19:46 $ docker rm -f --volumes 3ac464a54044bcf3d3eb72fcce9b3e36c343352942650a5f63c0eb215ce1ae81 [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 10:19:47 provisioning config files... 10:19:47 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10864813267858148939tmp [Pipeline] { [Pipeline] sh 10:19:47 + set +x 10:19:47 + curl -s https://codecov.io/bash 10:19:47 + bash -s -- 10:19:47 10:19:47 _____ _ 10:19:47 / ____| | | 10:19:47 | | ___ __| | ___ ___ _____ __ 10:19:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:19:47 | |___| (_) | (_| | __/ (_| (_) \ V / 10:19:47 \_____\___/ \__,_|\___|\___\___/ \_/ 10:19:47 Bash-1.0.6 10:19:47 10:19:47 10:19:47 ==> git version 2.25.1 found 10:19:47 ==> 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 10:19:47 Release-Date: 2020-01-08 10:19:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:19:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:19:47 ==> Jenkins CI detected. 10:19:47 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 10:19:47 project root: . 10:19:47 --> token set from env 10:19:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:19:47 ==> Running gcov in . (disable via -X gcov) 10:19:47 ==> Python coveragepy not found 10:19:47 ==> Searching for coverage reports in: 10:19:47 + . 10:19:47 -> Found 1 reports 10:19:47 ==> Detecting git/mercurial file structure 10:19:47 ==> Reading reports 10:19:47 + ./coverage.out bytes=24669 10:19:47 ==> Appending adjustments 10:19:47 https://docs.codecov.io/docs/fixing-reports 10:19:47 + Found adjustments 10:19:47 ==> Gzipping contents 10:19:47 4.0K /tmp/codecov.hKnTte.gz 10:19:47 ==> Uploading reports 10:19:47 url: https://codecov.io 10:19:47 query: branch=main&commit=b773e44940ad369af529d1a2db565c19940e1657&build=164&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F164%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:19:47 -> Pinging Codecov 10:19:47 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=b773e44940ad369af529d1a2db565c19940e1657&build=164&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F164%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:19:47 -> Uploading to 10:19:47 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-modbus-go/b773e44940ad369af529d1a2db565c19940e1657/688b0b7b-95d1-40e2-9825-2ed6d20cfa88.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241011%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241011T101947Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=2f899bb2aeed2b673ee79e8bcae3458bad7f4a25dbffd79eb63145fae7cdf57c 10:19:47 % Total % Received % Xferd Average Speed Time Time Time Current 10:19:47 Dload Upload Total Spent Left Speed 10:19:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3859 0 0 100 3859 0 14292 --:--:-- --:--:-- --:--:-- 14292 10:19:48 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/b773e44940ad369af529d1a2db565c19940e1657 [Pipeline] } 10:19:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 10:19:48 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 10:19:48 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 10:19:48 10:19:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 10:19:49 latest: Pulling from edgex-devops/edgex-snyk-go 10:19:49 43c4264eed91: Already exists 10:19:49 4cc291be95ef: Already exists 10:19:49 2ac1f1163629: Already exists 10:19:49 5c3c966382ef: Already exists 10:19:49 4f4fb700ef54: Already exists 10:19:49 d9c7d2e4e75e: Pulling fs layer 10:19:49 9c3e1370e548: Pulling fs layer 10:19:49 d9c7d2e4e75e: Verifying Checksum 10:19:49 d9c7d2e4e75e: Download complete 10:19:49 d9c7d2e4e75e: Pull complete 10:19:50 9c3e1370e548: Verifying Checksum 10:19:50 9c3e1370e548: Download complete 10:19:53 9c3e1370e548: Pull complete 10:19:53 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 10:19:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 10:19:53 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:19:53 prd-ubuntu20.04-docker-8c-8g-22525 does not seem to be running inside a container 10:19:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 10:19:56 $ docker top 403aed4c0ee1ba721dc0d4a3c5ad196a0685e999c25c027e5bab4b5ef536982e -eo pid,comm [Pipeline] { [Pipeline] sh 10:19:56 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] echo 10:19:56 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 10:19:56 + set -o pipefail 10:19:56 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 10:20:03 10:20:03 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 10:20:03 10:20:03 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/0a0805b9-8982-40eb-8dbc-845f1ef902a3/history/de1325e5-bbfb-446f-a71f-abe0415b866f 10:20:03 10:20:03 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 10:20:03 10:20:03 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 10:20:03 10:20:03 10:20:03 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 10:20:03 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 10:20:03 $ docker stop --time=1 403aed4c0ee1ba721dc0d4a3c5ad196a0685e999c25c027e5bab4b5ef536982e 10:20:11 $ docker rm -f --volumes 403aed4c0ee1ba721dc0d4a3c5ad196a0685e999c25c027e5bab4b5ef536982e [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 10:20:22 + git log --format=format:%s -1 b773e44940ad369af529d1a2db565c19940e1657 [Pipeline] sh 10:20:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:20:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:20:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:20:23 prd-ubuntu20.04-docker-8c-8g-22525 does not seem to be running inside a container 10:20:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:20:23 $ docker top fe0b080d370715985c9ed85203999914bed6dac7e7fd0ea17916139afe20744d -eo pid,comm 10:20:23 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 10:20:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:20:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:20:23 [ssh-agent] Looking for ssh-agent implementation... 10:20:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:20:24 $ docker exec fe0b080d370715985c9ed85203999914bed6dac7e7fd0ea17916139afe20744d ssh-agent 10:20:24 SSH_AUTH_SOCK=/tmp/ssh-crxJqqNTsRaV/agent.32 10:20:24 SSH_AGENT_PID=38 10:20:24 Running ssh-add (command line suppressed) 10:20:24 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11358124684342487902.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11358124684342487902.key) 10:20:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:20:24 + git semver tag 10:20:24 2024-10-11 10:20:24,683 [run_tag] DEBUG tag force:False 10:20:24 2024-10-11 10:20:24,683 [check_head_tag] DEBUG check head tag 10:20:24 2024-10-11 10:20:24,684 [execute] INFO git cat-file --batch-check 10:20:24 2024-10-11 10:20:24,685 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 10:20:24 2024-10-11 10:20:24,688 [execute] INFO git cat-file --batch 10:20:24 2024-10-11 10:20:24,689 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 10:20:24 2024-10-11 10:20:24,710 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 10:20:24 2024-10-11 10:20:24,710 [execute] INFO git tag -a v3.2.0-dev.25 -m v3.2.0-dev.25 10:20:24 2024-10-11 10:20:24,710 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.25', '-m', 'v3.2.0-dev.25'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 10:20:24 2024-10-11 10:20:24,716 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 10:20:24 3.2.0-dev.25 [Pipeline] } 10:20:24 $ docker exec --env ******** --env ******** fe0b080d370715985c9ed85203999914bed6dac7e7fd0ea17916139afe20744d ssh-agent -k 10:20:24 unset SSH_AUTH_SOCK; 10:20:24 unset SSH_AGENT_PID; 10:20:24 echo Agent pid 38 killed; 10:20:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:20:25 + git semver [Pipeline] } 10:20:25 $ docker stop --time=1 fe0b080d370715985c9ed85203999914bed6dac7e7fd0ea17916139afe20744d 10:20:26 $ docker rm -f --volumes fe0b080d370715985c9ed85203999914bed6dac7e7fd0ea17916139afe20744d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:20:27 10:20:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:20:27 0.23.1-centos7: Pulling from edgex-lftools 10:20:27 ab5ef0e58194: Pulling fs layer 10:20:27 9712f1f96733: Pulling fs layer 10:20:27 63f879dbbcfc: Pulling fs layer 10:20:27 0d9ebad4ef96: Pulling fs layer 10:20:27 e9a5061849ea: Pulling fs layer 10:20:27 d747dcd14b5f: Pulling fs layer 10:20:27 2de7ff778b66: Pulling fs layer 10:20:27 e9a5061849ea: Waiting 10:20:27 2de7ff778b66: Waiting 10:20:27 d747dcd14b5f: Waiting 10:20:27 0d9ebad4ef96: Waiting 10:20:27 9712f1f96733: Verifying Checksum 10:20:27 9712f1f96733: Download complete 10:20:27 63f879dbbcfc: Verifying Checksum 10:20:27 63f879dbbcfc: Download complete 10:20:29 0d9ebad4ef96: Download complete 10:20:29 d747dcd14b5f: Download complete 10:20:29 e9a5061849ea: Verifying Checksum 10:20:29 e9a5061849ea: Download complete 10:20:30 2de7ff778b66: Verifying Checksum 10:20:30 2de7ff778b66: Download complete 10:20:30 ab5ef0e58194: Download complete 10:20:32 ab5ef0e58194: Pull complete 10:20:32 9712f1f96733: Pull complete 10:20:33 63f879dbbcfc: Pull complete 10:20:36 0d9ebad4ef96: Pull complete 10:20:37 e9a5061849ea: Pull complete 10:20:37 d747dcd14b5f: Pull complete 10:20:38 2de7ff778b66: Pull complete 10:20:38 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 10:20:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:20:38 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:20:38 prd-ubuntu20.04-docker-8c-8g-22525 does not seem to be running inside a container 10:20:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 10:20:42 $ docker top 8052653b880e1d9c6ef079f5230087cd8acf375e9df7f4628427642758353583 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 10:20:42 provisioning config files... 10:20:42 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3706025136600932885tmp 10:20:42 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14357811016251481449tmp 10:20:42 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8994742217692501629tmp [Pipeline] { [Pipeline] echo 10:20:42 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 10:20:42 ---> sigul-configuration.sh 10:20:42 gpg: directory `/root/.gnupg' created 10:20:42 gpg: new configuration file `/root/.gnupg/gpg.conf' created 10:20:42 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 10:20:42 gpg: keyring `/root/.gnupg/secring.gpg' created 10:20:42 gpg: keyring `/root/.gnupg/pubring.gpg' created 10:20:42 gpg: CAST5 encrypted data 10:20:42 gpg: encrypted with 1 passphrase 10:20:42 gpg: WARNING: message was not integrity protected [Pipeline] sh 10:20:43 + mkdir /home/jenkins 10:20:43 + mkdir /home/jenkins/sigul [Pipeline] sh 10:20: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 10:20:43 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 10:20:43 ---> sigul-install.sh 10:20:43 Sigul already installed; skipping installation. [Pipeline] sh 10:20:44 + git tag --list 10:20:44 0.7.1 10:20:44 v1.0.0 10:20:44 v1.1.0 10:20:44 v1.1.1 10:20:44 v1.2.2 10:20:44 v1.3.0 10:20:44 v1.3.1 10:20:44 v2.0.0 10:20:44 v2.1.0 10:20:44 v2.1.1 10:20:44 v2.2.0 10:20:44 v2.3.0 10:20:44 v3.0 10:20:44 v3.0.0 10:20:44 v3.1 10:20:44 v3.1.0 10:20:44 v3.1.0-dev.1 10:20:44 v3.1.0-dev.10 10:20:44 v3.1.0-dev.11 10:20:44 v3.1.0-dev.12 10:20:44 v3.1.0-dev.13 10:20:44 v3.1.0-dev.14 10:20:44 v3.1.0-dev.15 10:20:44 v3.1.0-dev.16 10:20:44 v3.1.0-dev.17 10:20:44 v3.1.0-dev.18 10:20:44 v3.1.0-dev.19 10:20:44 v3.1.0-dev.2 10:20:44 v3.1.0-dev.20 10:20:44 v3.1.0-dev.21 10:20:44 v3.1.0-dev.22 10:20:44 v3.1.0-dev.23 10:20:44 v3.1.0-dev.24 10:20:44 v3.1.0-dev.25 10:20:44 v3.1.0-dev.3 10:20:44 v3.1.0-dev.4 10:20:44 v3.1.0-dev.5 10:20:44 v3.1.0-dev.6 10:20:44 v3.1.0-dev.7 10:20:44 v3.1.0-dev.8 10:20:44 v3.1.0-dev.9 10:20:44 v3.1.1 10:20:44 v3.1.1-dev.1 10:20:44 v3.2.0-dev.1 10:20:44 v3.2.0-dev.10 10:20:44 v3.2.0-dev.11 10:20:44 v3.2.0-dev.12 10:20:44 v3.2.0-dev.13 10:20:44 v3.2.0-dev.14 10:20:44 v3.2.0-dev.15 10:20:44 v3.2.0-dev.16 10:20:44 v3.2.0-dev.17 10:20:44 v3.2.0-dev.18 10:20:44 v3.2.0-dev.19 10:20:44 v3.2.0-dev.2 10:20:44 v3.2.0-dev.20 10:20:44 v3.2.0-dev.21 10:20:44 v3.2.0-dev.22 10:20:44 v3.2.0-dev.23 10:20:44 v3.2.0-dev.24 10:20:44 v3.2.0-dev.25 10:20:44 v3.2.0-dev.3 10:20:44 v3.2.0-dev.4 10:20:44 v3.2.0-dev.5 10:20:44 v3.2.0-dev.6 10:20:44 v3.2.0-dev.7 10:20:44 v3.2.0-dev.8 10:20:44 v3.2.0-dev.9 [Pipeline] sh 10:20:44 + lftools sign git-tag v3.2.0-dev.25 10:20:45 Signing Git tag with Sigul... 10:20:45 Signing v3.2.0-dev.25 [Pipeline] echo 10:20:45 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 10:20:45 ---> sigul-configuration-cleanup.sh [Pipeline] } 10:20:45 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 10:20:45 $ docker stop --time=1 8052653b880e1d9c6ef079f5230087cd8acf375e9df7f4628427642758353583 10:20:47 $ docker rm -f --volumes 8052653b880e1d9c6ef079f5230087cd8acf375e9df7f4628427642758353583 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 10:20:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:20:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:20:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:20:47 prd-ubuntu20.04-docker-8c-8g-22525 does not seem to be running inside a container 10:20: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:20:48 $ docker top 2266c03262f457140f99d907e6567d7e80654ad42afa93410f28b16b654ded14 -eo pid,comm 10:20:48 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). 10:20:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:20:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:20:48 [ssh-agent] Looking for ssh-agent implementation... 10:20:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:20:48 $ docker exec 2266c03262f457140f99d907e6567d7e80654ad42afa93410f28b16b654ded14 ssh-agent 10:20:48 SSH_AUTH_SOCK=/tmp/ssh-GWfKkdNKWcdI/agent.32 10:20:48 SSH_AGENT_PID=38 10:20:48 Running ssh-add (command line suppressed) 10:20:48 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2287531483758982592.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2287531483758982592.key) 10:20:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:20:48 + git semver bump pre 10:20:49 2024-10-11 10:20:49,123 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 10:20:49 2024-10-11 10:20:49,123 [bump_version] DEBUG bumping version:3.2.0-dev.25 on axis:pre with prefix:dev 10:20:49 2024-10-11 10:20:49,123 [bump_version] DEBUG bumped version:3.2.0-dev.26 10:20:49 2024-10-11 10:20:49,123 [write_version] DEBUG write version:3.2.0-dev.26 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 10:20:49 2024-10-11 10:20:49,123 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 10:20:49 2024-10-11 10:20:49,123 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 10:20:49 2024-10-11 10:20:49,126 [execute] INFO git cat-file --batch-check 10:20:49 2024-10-11 10:20:49,126 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:20:49 2024-10-11 10:20:49,131 [execute] INFO git cat-file --batch 10:20:49 2024-10-11 10:20:49,132 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:20:49 2024-10-11 10:20:49,136 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 10:20:49 3.2.0-dev.26 [Pipeline] } 10:20:49 $ docker exec --env ******** --env ******** 2266c03262f457140f99d907e6567d7e80654ad42afa93410f28b16b654ded14 ssh-agent -k 10:20:49 unset SSH_AUTH_SOCK; 10:20:49 unset SSH_AGENT_PID; 10:20:49 echo Agent pid 38 killed; 10:20:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:20:49 + git semver [Pipeline] } 10:20:49 $ docker stop --time=1 2266c03262f457140f99d907e6567d7e80654ad42afa93410f28b16b654ded14 10:20:51 $ docker rm -f --volumes 2266c03262f457140f99d907e6567d7e80654ad42afa93410f28b16b654ded14 [Pipeline] // withDockerContainer [Pipeline] sh 10:20:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:20:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:20:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:20:51 prd-ubuntu20.04-docker-8c-8g-22525 does not seem to be running inside a container 10:20:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:20:52 $ docker top 7586350d98f8804a627f196e247dcd0e7dbb47c0b268d851d784673bc2c9f24e -eo pid,comm 10:20:52 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). 10:20:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:20:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:20:52 [ssh-agent] Looking for ssh-agent implementation... 10:20:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:20:52 $ docker exec 7586350d98f8804a627f196e247dcd0e7dbb47c0b268d851d784673bc2c9f24e ssh-agent 10:20:52 SSH_AUTH_SOCK=/tmp/ssh-NlXCmT83JCZe/agent.32 10:20:52 SSH_AGENT_PID=38 10:20:52 Running ssh-add (command line suppressed) 10:20:52 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15345381355065323834.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15345381355065323834.key) 10:20:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:20:53 + git semver push 10:20:53 2024-10-11 10:20:53,259 [run_push] DEBUG push 10:20:53 2024-10-11 10:20:53,260 [execute] INFO git cat-file --batch-check 10:20:53 2024-10-11 10:20:53,260 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:20:53 2024-10-11 10:20:53,264 [execute] INFO git rev-list b970b3fe8e990412c8a0c7d21949745abb53ab43 -- 10:20:53 2024-10-11 10:20:53,264 [execute] DEBUG Popen(['git', 'rev-list', 'b970b3fe8e990412c8a0c7d21949745abb53ab43', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 10:20:53 2024-10-11 10:20:53,272 [execute] INFO git fetch -v origin 10:20:53 2024-10-11 10:20:53,273 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 10:20:53 2024-10-11 10:20:53,732 [run_push] DEBUG no remote changes detected 10:20:53 2024-10-11 10:20:53,732 [execute] INFO git push origin semver 10:20:53 2024-10-11 10:20:53,733 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 10:20:54 2024-10-11 10:20:54,451 [run_push] DEBUG push all version tags 10:20:54 2024-10-11 10:20:54,451 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 10:20:54 2024-10-11 10:20:54,452 [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) 10:20:55 2024-10-11 10:20:55,110 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 10:20:55 3.2.0-dev.26 [Pipeline] } 10:20:55 $ docker exec --env ******** --env ******** 7586350d98f8804a627f196e247dcd0e7dbb47c0b268d851d784673bc2c9f24e ssh-agent -k 10:20:55 unset SSH_AUTH_SOCK; 10:20:55 unset SSH_AGENT_PID; 10:20:55 echo Agent pid 38 killed; 10:20:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:20:55 + git semver [Pipeline] } 10:20:56 $ docker stop --time=1 7586350d98f8804a627f196e247dcd0e7dbb47c0b268d851d784673bc2c9f24e 10:20:57 $ docker rm -f --volumes 7586350d98f8804a627f196e247dcd0e7dbb47c0b268d851d784673bc2c9f24e [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 10:20:58 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 10:20:58 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 10:20:58 total 16 10:20:58 drwxr-xr-x 3 root root 4096 Oct 11 10:05 . 10:20:58 drwxrwxr-x 10 jenkins jenkins 4096 Oct 11 10:20 .. 10:20:58 drwxr-xr-x 2 root root 4096 Oct 11 10:05 cost 10:20:58 -rw-r--r-- 1 root root 88 Oct 11 10:05 cost.csv 10:20:58 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 10:20:58 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 10:20:58 total 16 10:20:58 drwxr-xr-x 3 jenkins jenkins 4096 Oct 11 10:05 . 10:20:58 drwxrwxr-x 10 jenkins jenkins 4096 Oct 11 10:20 .. 10:20:58 drwxr-xr-x 2 jenkins jenkins 4096 Oct 11 10:05 cost 10:20:58 -rw-r--r-- 1 jenkins jenkins 88 Oct 11 10:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:20:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:20:59 ---> package-listing.sh 10:20:59 ++ facter osfamily 10:20:59 ++ tr '[:upper:]' '[:lower:]' 10:20:59 + OS_FAMILY=debian 10:20:59 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 10:20:59 + START_PACKAGES=/tmp/packages_start.txt 10:20:59 + END_PACKAGES=/tmp/packages_end.txt 10:20:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:20:59 + PACKAGES=/tmp/packages_start.txt 10:20:59 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 10:20:59 + PACKAGES=/tmp/packages_end.txt 10:20:59 + case "${OS_FAMILY}" in 10:20:59 + grep '^ii' 10:20:59 + dpkg -l 10:20:59 + '[' -f /tmp/packages_start.txt ']' 10:20:59 + '[' -f /tmp/packages_end.txt ']' 10:20:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:20:59 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 10:20:59 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 10:20:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 10:20:59 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 10:20:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:21:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:21:00 prd-ubuntu20.04-docker-8c-8g-22525 does not seem to be running inside a container 10:21:00 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:21:00 $ docker top 326a4808f8ecb824aa97518fbf5b86397963da2b29304aba79e9de3e13fd9912 -eo pid,comm [Pipeline] { [Pipeline] sh 10:21:00 + touch /tmp/pre-build-complete [Pipeline] sh 10:21:01 + mkdir -p /var/log/sysstat [Pipeline] sh 10:21:01 + ls /var/log/sa-host 10:21:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:21:01 provisioning config files... 10:21:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7338750553104370267tmp [Pipeline] { [Pipeline] echo 10:21:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:21:02 ---> create-netrc.sh [Pipeline] } 10:21:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:21:02 ---> python-tools-install.sh [Pipeline] echo 10:21:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:21:02 ---> sudo-logs.sh 10:21:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:21:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:21:03 ---> job-cost.sh 10:21:03 lf-activate-venv: SKIPPING 10:21:03 DEBUG: total: 0.2199999988079071 10:21:03 INFO: Retrieving Stack Cost... 10:21:03 INFO: Retrieving Pricing Info for: v3-standard-8 10:21:03 INFO: Archiving Costs [Pipeline] echo 10:21:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:21:04 ---> logs-deploy.sh 10:21:04 lf-activate-venv: SKIPPING 10:21:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/164 10:21:04 INFO: archiving workspace using pattern(s): 10:21:05 Archives upload complete. 10:21:05 INFO: archiving logs to Nexus