Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of whxtpbnl for edgexfoundry/device-modbus-go Loading trusted files from base branch main at b773e44940ad369af529d1a2db565c19940e1657 rather than 0079a6753dc3243845d21c2f9117c3e0b3b23a10 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-ssh3398386498481638013.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-ssh7691226281741895405.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/PR-581/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/PR-581/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8247103640483912286.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-ssh453041512492021887.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/PR-581/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/PR-581/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7259445788601326698.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-22553’ Running on prd-ubuntu20.04-docker-8c-8g-22558 in /w/workspace/xfoundry_device-modbus-go_PR-581 [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/xfoundry_device-modbus-go_PR-581 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/581/head:refs/remotes/origin/PR-581 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b773e44940ad369af529d1a2db565c19940e1657 into PR head commit 0079a6753dc3243845d21c2f9117c3e0b3b23a10 Merge succeeded, producing 8be2c06fae9eabf3364fa14adef6b5aac61f351d Checking out Revision 8be2c06fae9eabf3364fa14adef6b5aac61f351d (PR-581) > git config core.sparsecheckout # timeout=10 > git checkout -f 0079a6753dc3243845d21c2f9117c3e0b3b23a10 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b773e44940ad369af529d1a2db565c19940e1657 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8be2c06fae9eabf3364fa14adef6b5aac61f351d # timeout=10 Commit message: "Merge commit 'b773e44940ad369af529d1a2db565c19940e1657' into HEAD" > git rev-list --no-walk 0079a6753dc3243845d21c2f9117c3e0b3b23a10 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:54:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:54:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:54:36 ========================================================= 00:54:36 EdgeX Global Pipelines Version Info 00:54:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:54:37 ------------------- 00:54:37 stable info: 00:54:37 ------------------- 00:54:37 Commited By: Ginny Guan ginny@iotechsys.com 00:54:37 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 00:54:37 Message: update stable to v1.0.265 00:54:37 ------------------- 00:54:37 experimental info: 00:54:37 ------------------- 00:54:37 Commited By: Cherry Wang cherry@iotechsys.com 00:54:37 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 00:54:37 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:54:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 00:54:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 00:54:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:54:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:54:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:54:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 00:54:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:54:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:54:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:54:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:54:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:54:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 00:54:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:54:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:54:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:54:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:54:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:54:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:54:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:54:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:54:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:54:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:54:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:54:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:54:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:54:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:54:38 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:54:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-581 [Pipeline] echo 00:54:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-581 [Pipeline] echo 00:54:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-581 [Pipeline] echo 00:54:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8be2c06fae9eabf3364fa14adef6b5aac61f351d [Pipeline] echo 00:54:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8be2c06 [Pipeline] echo 00:54:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:54:38 provisioning config files... 00:54:38 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-581@tmp/config6030646097591578942tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:54:39 ---> ****-login.sh 00:54:39 nexus3.edgexfoundry.org:10001 00:54:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:54:39 Configure a credential helper to remove this warning. See 00:54:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:54:39 00:54:39 Login Succeeded 00:54:39 nexus3.edgexfoundry.org:10002 00:54:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:54:39 Configure a credential helper to remove this warning. See 00:54:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:54:39 00:54:39 Login Succeeded 00:54:39 nexus3.edgexfoundry.org:10003 00:54:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:54:39 Configure a credential helper to remove this warning. See 00:54:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:54:39 00:54:39 Login Succeeded 00:54:39 nexus3.edgexfoundry.org:10004 00:54:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:54:40 Configure a credential helper to remove this warning. See 00:54:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:54:40 00:54:40 Login Succeeded 00:54:40 ****.io 00:54:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:54:40 Configure a credential helper to remove this warning. See 00:54:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:54:40 00:54:40 Login Succeeded 00:54:40 ---> ****-login.sh ends [Pipeline] } 00:54:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:54:40 + git rev-list -1 --merges 8be2c06fae9eabf3364fa14adef6b5aac61f351d~1..8be2c06fae9eabf3364fa14adef6b5aac61f351d [Pipeline] echo 00:54:40 -----------> git rev-list -1 --merges 8be2c06fae9eabf3364fa14adef6b5aac61f351d~1..8be2c06fae9eabf3364fa14adef6b5aac61f351d 8be2c06fae9eabf3364fa14adef6b5aac61f351d 00:54:40 8be2c06fae9eabf3364fa14adef6b5aac61f351d [false] [Pipeline] sh 00:54:41 + git log --format=format:%s -1 8be2c06fae9eabf3364fa14adef6b5aac61f351d [Pipeline] echo 00:54:41 ========================================================= 00:54:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:54:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:54:41 + git log --format=format:%s -1 8be2c06fae9eabf3364fa14adef6b5aac61f351d [Pipeline] echo 00:54:41 [semverPrep] GIT_COMMIT: 8be2c06fae9eabf3364fa14adef6b5aac61f351d, Commit Message: Merge commit 'b773e44940ad369af529d1a2db565c19940e1657' into HEAD [Pipeline] echo 00:54:41 [semverPrep] This is not a build commit. [Pipeline] sh 00:54:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:54:41 + grep -v github /etc/ssh/ssh_known_hosts 00:54:41 + [ -e /tmp/ssh_known_hosts ] 00:54:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:54:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:54:41 + sudo tee -a /etc/ssh/ssh_known_hosts 00:54:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:54:42 00:54:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:54:42 0.1.4: Pulling from edgex-devops/py-git-semver 00:54:42 b85a868b505f: Pulling fs layer 00:54:42 e2be974225ed: Pulling fs layer 00:54:42 339a4e72a1f5: Pulling fs layer 00:54:42 988bab9f4d93: Pulling fs layer 00:54:42 1469e6f7b9e6: Pulling fs layer 00:54:42 eaf3925da568: Pulling fs layer 00:54:42 bab4dde63d76: Pulling fs layer 00:54:42 bde34c3a00c8: Pulling fs layer 00:54:42 b352a97aabf1: Pulling fs layer 00:54:42 4872d77fe225: Pulling fs layer 00:54:42 5851b861e8e6: Pulling fs layer 00:54:42 988bab9f4d93: Waiting 00:54:42 1469e6f7b9e6: Waiting 00:54:42 eaf3925da568: Waiting 00:54:42 bde34c3a00c8: Waiting 00:54:42 b352a97aabf1: Waiting 00:54:42 4872d77fe225: Waiting 00:54:42 5851b861e8e6: Waiting 00:54:42 bab4dde63d76: Waiting 00:54:42 e2be974225ed: Verifying Checksum 00:54:42 e2be974225ed: Download complete 00:54:42 988bab9f4d93: Verifying Checksum 00:54:42 988bab9f4d93: Download complete 00:54:42 1469e6f7b9e6: Verifying Checksum 00:54:42 1469e6f7b9e6: Download complete 00:54:42 339a4e72a1f5: Verifying Checksum 00:54:42 339a4e72a1f5: Download complete 00:54:42 eaf3925da568: Verifying Checksum 00:54:42 eaf3925da568: Download complete 00:54:42 bde34c3a00c8: Download complete 00:54:42 b352a97aabf1: Verifying Checksum 00:54:42 b352a97aabf1: Download complete 00:54:42 4872d77fe225: Download complete 00:54:42 5851b861e8e6: Verifying Checksum 00:54:42 5851b861e8e6: Download complete 00:54:42 b85a868b505f: Download complete 00:54:43 bab4dde63d76: Verifying Checksum 00:54:43 bab4dde63d76: Download complete 00:54:44 b85a868b505f: Pull complete 00:54:44 e2be974225ed: Pull complete 00:54:44 339a4e72a1f5: Pull complete 00:54:44 988bab9f4d93: Pull complete 00:54:44 1469e6f7b9e6: Pull complete 00:54:44 eaf3925da568: Pull complete 00:54:46 bab4dde63d76: Pull complete 00:54:46 bde34c3a00c8: Pull complete 00:54:46 b352a97aabf1: Pull complete 00:54:47 4872d77fe225: Pull complete 00:54:47 5851b861e8e6: Pull complete 00:54:47 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:54:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:54:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:54:47 prd-ubuntu20.04-docker-8c-8g-22558 does not seem to be running inside a container 00:54:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-581 -v /w/workspace/xfoundry_device-modbus-go_PR-581:/w/workspace/xfoundry_device-modbus-go_PR-581:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-581@tmp:/w/workspace/xfoundry_device-modbus-go_PR-581@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:54:50 $ docker top 06526bd5225fe77e8d5e117b0282ea368c604071b60d71442b8725290d3ba68d -eo pid,comm 00:54:50 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). 00:54:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:54:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:54:50 [ssh-agent] Looking for ssh-agent implementation... 00:54:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:54:50 $ docker exec 06526bd5225fe77e8d5e117b0282ea368c604071b60d71442b8725290d3ba68d ssh-agent 00:54:50 SSH_AUTH_SOCK=/tmp/ssh-3qItk6Ay5fEH/agent.33 00:54:50 SSH_AGENT_PID=39 00:54:50 Running ssh-add (command line suppressed) 00:54:50 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-581@tmp/private_key_16853211006622850727.key (/w/workspace/xfoundry_device-modbus-go_PR-581@tmp/private_key_16853211006622850727.key) 00:54:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:54:50 + git tag --points-at HEAD [Pipeline] } 00:54:50 $ docker exec --env ******** --env ******** 06526bd5225fe77e8d5e117b0282ea368c604071b60d71442b8725290d3ba68d ssh-agent -k 00:54:50 unset SSH_AUTH_SOCK; 00:54:50 unset SSH_AGENT_PID; 00:54:50 echo Agent pid 39 killed; 00:54:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:54:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:54:50 [ssh-agent] Looking for ssh-agent implementation... 00:54:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:54:51 $ docker exec 06526bd5225fe77e8d5e117b0282ea368c604071b60d71442b8725290d3ba68d ssh-agent 00:54:51 SSH_AUTH_SOCK=/tmp/ssh-K2e8ijS77ufm/agent.72 00:54:51 SSH_AGENT_PID=78 00:54:51 Running ssh-add (command line suppressed) 00:54:51 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-581@tmp/private_key_2097078686561223955.key (/w/workspace/xfoundry_device-modbus-go_PR-581@tmp/private_key_2097078686561223955.key) 00:54:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:54:51 + git semver init 00:54:51 2024-10-12 00:54:51,741 [run_init] DEBUG init version:0.0.0 force:False 00:54:51 2024-10-12 00:54:51,742 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-581/.semver 00:54:51 2024-10-12 00:54:51,742 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-581/.semver 00:54:51 2024-10-12 00:54:51,743 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-581/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-581, universal_newlines=False, shell=None, istream=None) 00:54:52 2024-10-12 00:54:52,755 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-581/.git/info/exclude 00:54:52 2024-10-12 00:54:52,756 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-581/.semver/PR-581 with force:False 00:54:52 2024-10-12 00:54:52,756 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-581/.semver/PR-581 00:54:52 2024-10-12 00:54:52,759 [execute] INFO git cat-file --batch-check 00:54:52 2024-10-12 00:54:52,760 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-581/.semver, universal_newlines=False, shell=None, istream=) 00:54:53 2024-10-12 00:54:52,768 [execute] INFO git cat-file --batch 00:54:53 2024-10-12 00:54:52,768 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-581/.semver, universal_newlines=False, shell=None, istream=) 00:54:53 2024-10-12 00:54:52,774 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-581/.semver/PR-581 00:54:53 0.0.0 [Pipeline] } 00:54:53 $ docker exec --env ******** --env ******** 06526bd5225fe77e8d5e117b0282ea368c604071b60d71442b8725290d3ba68d ssh-agent -k 00:54:53 unset SSH_AUTH_SOCK; 00:54:53 unset SSH_AGENT_PID; 00:54:53 echo Agent pid 78 killed; 00:54:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:54:53 + git semver [Pipeline] } 00:54:53 $ docker stop --time=1 06526bd5225fe77e8d5e117b0282ea368c604071b60d71442b8725290d3ba68d 00:54:55 $ docker rm -f --volumes 06526bd5225fe77e8d5e117b0282ea368c604071b60d71442b8725290d3ba68d [Pipeline] // withDockerContainer [Pipeline] sh 00:54:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:54:55 Stashed 1 file(s) [Pipeline] echo 00:54:55 [edgeXSemver]: initialized semver on version 0.0.0 [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 00:54:55 provisioning config files... 00:54:55 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-581@tmp/config7462580554530364881tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:54:56 ---> ****-login.sh 00:54:56 nexus3.edgexfoundry.org:10001 00:54:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:54:56 Configure a credential helper to remove this warning. See 00:54:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:54:56 00:54:56 Login Succeeded 00:54:56 nexus3.edgexfoundry.org:10002 00:54:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:54:56 Configure a credential helper to remove this warning. See 00:54:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:54:56 00:54:56 Login Succeeded 00:54:56 nexus3.edgexfoundry.org:10003 00:54:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:54:56 Configure a credential helper to remove this warning. See 00:54:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:54:56 00:54:56 Login Succeeded 00:54:56 nexus3.edgexfoundry.org:10004 00:54:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:54:56 Configure a credential helper to remove this warning. See 00:54:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:54:56 00:54:56 Login Succeeded 00:54:56 ****.io 00:54:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:54:56 Configure a credential helper to remove this warning. See 00:54:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:54:56 00:54:56 Login Succeeded 00:54:56 ---> ****-login.sh ends [Pipeline] } 00:54:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:54:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:54:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:54:56 ========================================================= 00:54:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 00:54:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:57 + 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 . 00:54:57 Sending build context to Docker daemon 17.96MB 00:54:57 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 00:54:57 Step 2/10 : FROM ${BASE} AS builder 00:54:57 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 00:54:57 43c4264eed91: Pulling fs layer 00:54:57 4cc291be95ef: Pulling fs layer 00:54:57 2ac1f1163629: Pulling fs layer 00:54:57 5c3c966382ef: Pulling fs layer 00:54:57 4f4fb700ef54: Pulling fs layer 00:54:57 5d5c8e513c77: Pulling fs layer 00:54:57 9f66e0745190: Pulling fs layer 00:54:57 f49a43e4bbc0: Pulling fs layer 00:54:57 561ebcabdf7f: Pulling fs layer 00:54:57 9f66e0745190: Waiting 00:54:57 5c3c966382ef: Waiting 00:54:57 f49a43e4bbc0: Waiting 00:54:57 4f4fb700ef54: Waiting 00:54:57 5d5c8e513c77: Waiting 00:54:57 561ebcabdf7f: Waiting 00:54:57 4cc291be95ef: Download complete 00:54:57 5c3c966382ef: Verifying Checksum 00:54:57 5c3c966382ef: Download complete 00:54:57 4f4fb700ef54: Verifying Checksum 00:54:57 4f4fb700ef54: Download complete 00:54:57 43c4264eed91: Verifying Checksum 00:54:57 43c4264eed91: Download complete 00:54:57 5d5c8e513c77: Download complete 00:54:57 9f66e0745190: Verifying Checksum 00:54:57 9f66e0745190: Download complete 00:54:57 43c4264eed91: Pull complete 00:54:57 561ebcabdf7f: Verifying Checksum 00:54:57 561ebcabdf7f: Download complete 00:54:57 4cc291be95ef: Pull complete 00:54:57 2ac1f1163629: Verifying Checksum 00:54:57 2ac1f1163629: Download complete 00:54:58 f49a43e4bbc0: Verifying Checksum 00:54:58 f49a43e4bbc0: Download complete 00:55:00 2ac1f1163629: Pull complete 00:55:00 5c3c966382ef: Pull complete 00:55:00 4f4fb700ef54: Pull complete 00:55:00 5d5c8e513c77: Pull complete 00:55:01 9f66e0745190: Pull complete 00:55:03 f49a43e4bbc0: Pull complete 00:55:03 561ebcabdf7f: Pull complete 00:55:03 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 00:55:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 00:55:03 ---> 3a752c3f9dda 00:55:03 Step 3/10 : ARG ADD_BUILD_TAGS="" 00:55:07 ---> Running in 59bbea4842bf 00:55:07 Removing intermediate container 59bbea4842bf 00:55:07 ---> 261eb34ab202 00:55:07 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:55:07 ---> Running in a5b210002348 00:55:07 Removing intermediate container a5b210002348 00:55:07 ---> 0fde306ec475 00:55:07 Step 5/10 : RUN apk add --update --no-cache make git openssh 00:55:07 ---> Running in 61fb81ad9b4c 00:55:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 00:55:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 00:55:08 (1/8) Installing openssh-keygen (9.7_p1-r4) 00:55:08 (2/8) Installing libedit (20240517.3.1-r0) 00:55:08 (3/8) Installing openssh-client-common (9.7_p1-r4) 00:55:08 (4/8) Installing openssh-client-default (9.7_p1-r4) 00:55:08 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 00:55:08 (6/8) Installing openssh-server-common (9.7_p1-r4) 00:55:08 (7/8) Installing openssh-server (9.7_p1-r4) 00:55:08 (8/8) Installing openssh (9.7_p1-r4) 00:55:08 Executing busybox-1.36.1-r29.trigger 00:55:08 OK: 252 MiB in 62 packages 00:55:09 Removing intermediate container 61fb81ad9b4c 00:55:09 ---> 1345daa9e876 00:55:09 Step 6/10 : WORKDIR /device-modbus-go 00:55:09 ---> Running in 98ad94dd72d6 00:55:09 Removing intermediate container 98ad94dd72d6 00:55:09 ---> f4a4d0d52995 00:55:09 Step 7/10 : COPY go.mod vendor* ./ 00:55:09 ---> 4f4d7535662c 00:55:09 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:55:09 ---> Running in 51c4ac7f5ff9 00:55:10 Still waiting to schedule task 00:55:10 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-22557’ 00:56:05 Removing intermediate container 51c4ac7f5ff9 00:56:05 ---> 63dd902d1292 00:56:05 Step 9/10 : COPY . . 00:56:06 ---> a304d02d9565 00:56:06 Step 10/10 : RUN ${MAKE} 00:56:06 ---> Running in 785a949c18a4 00:56:06 noop 00:56:06 Removing intermediate container 785a949c18a4 00:56:06 ---> d895a99ade30 00:56:06 Successfully built d895a99ade30 00:56:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:07 + docker inspect -f . ci-base-image-x86_64 00:56:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:56:07 prd-ubuntu20.04-docker-8c-8g-22558 does not seem to be running inside a container 00:56:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-581 -v /w/workspace/xfoundry_device-modbus-go_PR-581:/w/workspace/xfoundry_device-modbus-go_PR-581:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-581@tmp:/w/workspace/xfoundry_device-modbus-go_PR-581@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:56:07 $ docker top c5abe16a62b211cdb2483703ba961bcbec66020cbade4a10aa28dc237eef113c -eo pid,comm [Pipeline] { [Pipeline] sh 00:56:07 + go version 00:56:07 go version go1.23.2 linux/amd64 [Pipeline] } 00:56:08 $ docker stop --time=1 c5abe16a62b211cdb2483703ba961bcbec66020cbade4a10aa28dc237eef113c 00:56:09 $ docker rm -f --volumes c5abe16a62b211cdb2483703ba961bcbec66020cbade4a10aa28dc237eef113c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:09 + docker inspect -f . ci-base-image-x86_64 00:56:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:56:09 prd-ubuntu20.04-docker-8c-8g-22558 does not seem to be running inside a container 00:56:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-581 -v /w/workspace/xfoundry_device-modbus-go_PR-581:/w/workspace/xfoundry_device-modbus-go_PR-581:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-581@tmp:/w/workspace/xfoundry_device-modbus-go_PR-581@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:56:10 $ docker top a62fa85782d543053cc217a55b8451d33e24ed9161a905c8c7c5486aafeaf843 -eo pid,comm [Pipeline] { [Pipeline] sh 00:56:10 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-581 [Pipeline] fileExists [Pipeline] sh 00:56:11 + make test 00:56:11 go test ./... -coverprofile=coverage.out 00:56:13 ? github.com/edgexfoundry/device-modbus-go [no test files] 00:56:31 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 00:56:31 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.008s coverage: 47.9% of statements 00:56:39 go vet ./... 00:56:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:56:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:56:46 ./bin/test-attribution-txt.sh [Pipeline] echo 00:56:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 00:56:46 $ docker stop --time=1 a62fa85782d543053cc217a55b8451d33e24ed9161a905c8c7c5486aafeaf843 00:56:50 $ docker rm -f --volumes a62fa85782d543053cc217a55b8451d33e24ed9161a905c8c7c5486aafeaf843 [Pipeline] // withDockerContainer [Pipeline] sh 00:56:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:56:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:56:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:56:51 + ls -al . 00:56:51 total 272 00:56:51 drwxrwxr-x 9 jenkins jenkins 4096 Oct 12 00:56 . 00:56:51 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 00:54 .. 00:56:51 -rw-rw-r-- 1 jenkins jenkins 140 Oct 12 00:54 .dockerignore 00:56:51 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 00:56 .git 00:56:51 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 00:54 .github 00:56:51 -rw-rw-r-- 1 jenkins jenkins 266 Oct 12 00:54 .gitignore 00:56:51 -rw-rw-r-- 1 jenkins jenkins 199 Oct 12 00:54 .golangci.yml 00:56:51 drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 00:54 .semver 00:56:51 -rw-rw-r-- 1 jenkins jenkins 19818 Oct 12 00:54 Attribution.txt 00:56:51 -rw-rw-r-- 1 jenkins jenkins 16388 Oct 12 00:54 CHANGELOG.md 00:56:51 -rw-rw-r-- 1 jenkins jenkins 1474 Oct 12 00:54 Dockerfile 00:56:51 -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 00:54 GOVERNANCE.md 00:56:51 -rw-rw-r-- 1 jenkins jenkins 658 Oct 12 00:54 Jenkinsfile 00:56:51 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 12 00:54 LICENSE 00:56:51 -rw-rw-r-- 1 jenkins jenkins 1942 Oct 12 00:54 Makefile 00:56:51 -rw-rw-r-- 1 jenkins jenkins 622 Oct 12 00:54 OWNERS.md 00:56:51 -rw-rw-r-- 1 jenkins jenkins 4463 Oct 12 00:54 README.md 00:56:51 -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 00:54 VERSION 00:56:51 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 00:54 bin 00:56:51 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 00:54 cmd 00:56:51 -rw-r--r-- 1 jenkins jenkins 25463 Oct 12 00:56 coverage.out 00:56:51 -rw-rw-r-- 1 jenkins jenkins 7157 Oct 12 00:54 go.mod 00:56:51 -rw-rw-r-- 1 jenkins jenkins 100518 Oct 12 00:54 go.sum 00:56:51 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 00:54 internal 00:56:51 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 00:54 simulator 00:56:51 -rw-rw-r-- 1 jenkins jenkins 229 Oct 12 00:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:52 + 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=8be2c06fae9eabf3364fa14adef6b5aac61f351d --label arch=amd64 --label version=0.0.0 . 00:56:52 Sending build context to Docker daemon 17.99MB 00:56:52 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 00:56:52 Step 2/23 : FROM ${BASE} AS builder 00:56:52 ---> d895a99ade30 00:56:52 Step 3/23 : ARG ADD_BUILD_TAGS="" 00:56:52 ---> Running in 7aad1759bd8b 00:56:52 Removing intermediate container 7aad1759bd8b 00:56:52 ---> 18a8144639d1 00:56:52 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:56:52 ---> Running in 71a8ac07c343 00:56:52 Removing intermediate container 71a8ac07c343 00:56:52 ---> 1d0f8de559bc 00:56:52 Step 5/23 : RUN apk add --update --no-cache make git openssh 00:56:52 ---> Running in 243d4d7fbf89 00:56:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 00:56:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 00:56:53 OK: 252 MiB in 62 packages 00:56:53 Removing intermediate container 243d4d7fbf89 00:56:53 ---> aac78e4f3965 00:56:53 Step 6/23 : WORKDIR /device-modbus-go 00:56:53 ---> Running in d047d6c1fcfe 00:56:53 Removing intermediate container d047d6c1fcfe 00:56:53 ---> e70769e66393 00:56:53 Step 7/23 : COPY go.mod vendor* ./ 00:56:53 ---> 8fe3c1aebfeb 00:56:53 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:56:53 ---> Running in 653ff6b0e598 00:56:54 Removing intermediate container 653ff6b0e598 00:56:54 ---> 142ede8e3cb0 00:56:54 Step 9/23 : COPY . . 00:56:54 ---> ad1f196bdf2d 00:56:54 Step 10/23 : RUN ${MAKE} 00:56:54 ---> Running in 2a5f15167cf2 00:56:55 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.45" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 00:57:27 Removing intermediate container 2a5f15167cf2 00:57:27 ---> 968a802897e7 00:57:27 Step 11/23 : FROM alpine:3.20 00:57:27 3.20: Pulling from library/alpine 00:57:27 43c4264eed91: Already exists 00:57:27 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 00:57:27 Status: Downloaded newer image for alpine:3.20 00:57:27 ---> 91ef0af61f39 00:57:27 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 00:57:27 ---> Running in 60bbf823f1dd 00:57:27 Removing intermediate container 60bbf823f1dd 00:57:27 ---> 21d4ded67771 00:57:27 Step 13/23 : RUN apk add --update --no-cache dumb-init 00:57:27 ---> Running in 757e4d78cb2a 00:57:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 00:57:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 00:57:27 (1/1) Installing dumb-init (1.2.5-r3) 00:57:27 Executing busybox-1.36.1-r29.trigger 00:57:27 OK: 8 MiB in 15 packages 00:57:27 Removing intermediate container 757e4d78cb2a 00:57:27 ---> 3836c6cd1790 00:57:27 Step 14/23 : RUN apk --no-cache upgrade 00:57:27 ---> Running in 5dc3c3cc8307 00:57:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 00:57:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 00:57:27 Upgrading critical system libraries and apk-tools: 00:57:27 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 00:57:27 Executing busybox-1.36.1-r29.trigger 00:57:28 Continuing the upgrade transaction with new apk-tools: 00:57:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 00:57:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 00:57:28 OK: 8 MiB in 15 packages 00:57:28 Removing intermediate container 5dc3c3cc8307 00:57:28 ---> f31bd9d5bbee 00:57:28 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 00:57:29 ---> 4cbef7bec555 00:57:29 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 00:57:29 ---> 584c987475a1 00:57:29 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 00:57:29 ---> ae4fa874b2dd 00:57:29 Step 18/23 : EXPOSE 59901 00:57:29 ---> Running in 77ffd16f7431 00:57:29 Removing intermediate container 77ffd16f7431 00:57:29 ---> 321b4d95a367 00:57:29 Step 19/23 : ENTRYPOINT ["/device-modbus"] 00:57:30 ---> Running in 5bbe3c0a0fe1 00:57:30 Removing intermediate container 5bbe3c0a0fe1 00:57:30 ---> c94b9d02872e 00:57:30 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 00:57:30 ---> Running in 92b5ebb1ea54 00:57:30 Removing intermediate container 92b5ebb1ea54 00:57:30 ---> 4b5be78755f5 00:57:30 Step 21/23 : LABEL arch=amd64 00:57:30 ---> Running in f9f6d7fd3f41 00:57:30 Removing intermediate container f9f6d7fd3f41 00:57:30 ---> 6ec11f35bc3d 00:57:30 Step 22/23 : LABEL git_sha=8be2c06fae9eabf3364fa14adef6b5aac61f351d 00:57:30 ---> Running in 7a3dc063cc30 00:57:30 Removing intermediate container 7a3dc063cc30 00:57:30 ---> b51f0f0b12de 00:57:30 Step 23/23 : LABEL version=0.0.0 00:57:30 ---> Running in 4300eef83819 00:57:30 Removing intermediate container 4300eef83819 00:57:30 ---> b2d3814d4d9c 00:57:30 [Warning] One or more build-args [ARCH] were not consumed 00:57:30 Successfully built b2d3814d4d9c 00:57:30 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [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 00:57:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:57:30 00:57:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:57:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:57:31 latest: Pulling from edgex-lftools-log-publisher 00:57:31 5eb5b503b376: Pulling fs layer 00:57:31 5c69ac0246d0: Pulling fs layer 00:57:31 ec43610c2a17: Pulling fs layer 00:57:31 3a2ae6a8a46f: Pulling fs layer 00:57:31 33b1e0a273af: Pulling fs layer 00:57:31 5d3b04190fa2: Pulling fs layer 00:57:31 2f39f015ded8: Pulling fs layer 00:57:31 3a2ae6a8a46f: Waiting 00:57:31 33b1e0a273af: Waiting 00:57:31 5d3b04190fa2: Waiting 00:57:31 2f39f015ded8: Waiting 00:57:31 5c69ac0246d0: Download complete 00:57:31 3a2ae6a8a46f: Verifying Checksum 00:57:31 3a2ae6a8a46f: Download complete 00:57:31 33b1e0a273af: Verifying Checksum 00:57:31 33b1e0a273af: Download complete 00:57:31 5d3b04190fa2: Verifying Checksum 00:57:31 5d3b04190fa2: Download complete 00:57:31 ec43610c2a17: Verifying Checksum 00:57:31 ec43610c2a17: Download complete 00:57:31 5eb5b503b376: Verifying Checksum 00:57:31 5eb5b503b376: Download complete 00:57:31 2f39f015ded8: Download complete 00:57:32 5eb5b503b376: Pull complete 00:57:32 5c69ac0246d0: Pull complete 00:57:33 ec43610c2a17: Pull complete 00:57:33 3a2ae6a8a46f: Pull complete 00:57:33 33b1e0a273af: Pull complete 00:57:33 5d3b04190fa2: Pull complete 00:57:37 2f39f015ded8: Pull complete 00:57:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:57:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:57:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:57:37 prd-ubuntu20.04-docker-8c-8g-22558 does not seem to be running inside a container 00:57: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/xfoundry_device-modbus-go_PR-581 -v /w/workspace/xfoundry_device-modbus-go_PR-581:/w/workspace/xfoundry_device-modbus-go_PR-581:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-581@tmp:/w/workspace/xfoundry_device-modbus-go_PR-581@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:57:41 $ docker top 6f5ce64370dc2f4e1fe9da15946d584512c1b9660c2b25e4f6cec01630c04bfd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:57:42 ---> job-cost.sh 00:57:42 lf-activate-venv: SKIPPING 00:57:42 INFO: No Stack... 00:57:42 INFO: Retrieving Pricing Info for: v3-standard-8 00:57:42 INFO: Archiving Costs [Pipeline] sh 00:57:43 + cat /w/workspace/xfoundry_device-modbus-go_PR-581/archives/cost.csv 00:57:43 + cut -d, -f6 [Pipeline] lock 00:57:43 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-581-2-stack-cost] 00:57:43 Resource [jenkins-edgexfoundry-device-modbus-go-PR-581-2-stack-cost] did not exist. Created. 00:57:43 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-581-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:57:43 + echo total: 0.2199999988079071 [Pipeline] stash 00:57:43 Stashed 1 file(s) [Pipeline] } 00:57:43 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-581-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:57:43 $ docker stop --time=1 6f5ce64370dc2f4e1fe9da15946d584512c1b9660c2b25e4f6cec01630c04bfd 00:57:44 $ docker rm -f --volumes 6f5ce64370dc2f4e1fe9da15946d584512c1b9660c2b25e4f6cec01630c04bfd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:58:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22559 in /w/workspace/xfoundry_device-modbus-go_PR-581 [Pipeline] { [Pipeline] ws 00:58:45 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 00:58:48 The recommended git tool is: git 00:58:53 using credential edgex-jenkins-ssh 00:58:53 Cloning the remote Git repository 00:58:53 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 00:58:53 > git init /w/workspace/device-modbus-go/2 # timeout=10 00:58:53 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:58:53 > git --version # timeout=10 00:58:53 > git --version # 'git version 2.25.1' 00:58:53 using GIT_SSH to set credentials SSH Credentials for GitHub 00:58:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:58:55 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 00:58:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:58:57 Merging remotes/origin/main commit b773e44940ad369af529d1a2db565c19940e1657 into PR head commit 0079a6753dc3243845d21c2f9117c3e0b3b23a10 00:58:56 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 00:58:56 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:58:56 using GIT_SSH to set credentials SSH Credentials for GitHub 00:58:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/581/head:refs/remotes/origin/PR-581 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:58:57 > git config core.sparsecheckout # timeout=10 00:58:57 Merge succeeded, producing ad049bff68903de1c09df98abd14cfa6fdce8ffe 00:58:57 Checking out Revision ad049bff68903de1c09df98abd14cfa6fdce8ffe (PR-581) 00:58:57 > git checkout -f 0079a6753dc3243845d21c2f9117c3e0b3b23a10 # timeout=10 00:58:57 > git remote # timeout=10 00:58:57 > git config --get remote.origin.url # timeout=10 00:58:57 using GIT_SSH to set credentials SSH Credentials for GitHub 00:58:57 > git merge b773e44940ad369af529d1a2db565c19940e1657 # timeout=10 00:58:57 > git rev-parse HEAD^{commit} # timeout=10 00:58:57 > git config core.sparsecheckout # timeout=10 00:58:57 > git checkout -f ad049bff68903de1c09df98abd14cfa6fdce8ffe # timeout=10 00:59:01 Commit message: "Merge commit 'b773e44940ad369af529d1a2db565c19940e1657' into HEAD" 00:59:01 > git rev-list --no-walk 0079a6753dc3243845d21c2f9117c3e0b3b23a10 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:59:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:59:02 % Total % Received % Xferd Average Speed Time Time Time Current 00:59:02 Dload Upload Total Spent Left Speed 00:59:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 106k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh 00:59:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:59:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:59:03 + sudo tee /etc/docker/daemon.new 00:59:03 { 00:59:03 "registry-mirrors": [ 00:59:03 "https://nexus3.edgexfoundry.org:10001" 00:59:03 ], 00:59:03 "bip": "10.250.0.254/24", 00:59:03 "hosts": [ 00:59:03 "tcp://0.0.0.0:5555", 00:59:03 "unix:///var/run/docker.sock" 00:59:03 ], 00:59:03 "mtu": 1458, 00:59:03 "selinux-enabled": true, 00:59:03 "seccomp-profile": "/etc/docker/seccomp.json" 00:59:03 } [Pipeline] sh 00:59:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:59:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:59:22 provisioning config files... 00:59:22 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config4339782624918141396tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:59:23 ---> ****-login.sh 00:59:23 nexus3.edgexfoundry.org:10001 00:59:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:59:23 Configure a credential helper to remove this warning. See 00:59:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:59:23 00:59:23 Login Succeeded 00:59:23 nexus3.edgexfoundry.org:10002 00:59:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:59:24 Configure a credential helper to remove this warning. See 00:59:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:59:24 00:59:24 Login Succeeded 00:59:24 nexus3.edgexfoundry.org:10003 00:59:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:59:24 Configure a credential helper to remove this warning. See 00:59:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:59:24 00:59:24 Login Succeeded 00:59:24 nexus3.edgexfoundry.org:10004 00:59:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:59:24 Configure a credential helper to remove this warning. See 00:59:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:59:24 00:59:24 Login Succeeded 00:59:24 ****.io 00:59:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:59:25 Configure a credential helper to remove this warning. See 00:59:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:59:25 00:59:25 Login Succeeded 00:59:25 ---> ****-login.sh ends [Pipeline] } 00:59:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:59:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:59:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:59:25 ========================================================= 00:59:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 00:59:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:25 + 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 . 00:59:26 Sending build context to Docker daemon 9.141MB 00:59:26 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 00:59:26 Step 2/10 : FROM ${BASE} AS builder 00:59:26 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:59:26 cf04c63912e1: Pulling fs layer 00:59:26 55b35a11ae5e: Pulling fs layer 00:59:26 a37a00ec5f00: Pulling fs layer 00:59:26 50b3750afda1: Pulling fs layer 00:59:26 4f4fb700ef54: Pulling fs layer 00:59:26 80978eb59214: Pulling fs layer 00:59:26 c9f46d7d2bd2: Pulling fs layer 00:59:26 c5a475d317c9: Pulling fs layer 00:59:26 4f4fb700ef54: Waiting 00:59:26 80978eb59214: Waiting 00:59:26 c9f46d7d2bd2: Waiting 00:59:26 c5a475d317c9: Waiting 00:59:26 50b3750afda1: Waiting 00:59:26 55b35a11ae5e: Verifying Checksum 00:59:26 55b35a11ae5e: Download complete 00:59:26 50b3750afda1: Download complete 00:59:26 4f4fb700ef54: Verifying Checksum 00:59:26 4f4fb700ef54: Download complete 00:59:26 80978eb59214: Verifying Checksum 00:59:26 80978eb59214: Download complete 00:59:26 cf04c63912e1: Download complete 00:59:27 c5a475d317c9: Verifying Checksum 00:59:27 c5a475d317c9: Download complete 00:59:27 cf04c63912e1: Pull complete 00:59:28 55b35a11ae5e: Pull complete 00:59:28 a37a00ec5f00: Verifying Checksum 00:59:28 a37a00ec5f00: Download complete 00:59:29 c9f46d7d2bd2: Verifying Checksum 00:59:29 c9f46d7d2bd2: Download complete 00:59:41 a37a00ec5f00: Pull complete 00:59:42 50b3750afda1: Pull complete 00:59:42 4f4fb700ef54: Pull complete 00:59:42 80978eb59214: Pull complete 00:59:50 c9f46d7d2bd2: Pull complete 00:59:52 c5a475d317c9: Pull complete 00:59:52 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 00:59:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 00:59:52 ---> be29e6b0f0d4 00:59:52 Step 3/10 : ARG ADD_BUILD_TAGS="" 00:59:53 ---> Running in b13cef5977e3 00:59:53 Removing intermediate container b13cef5977e3 00:59:53 ---> afac46446764 00:59:53 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:59:53 ---> Running in 3fed77661c1f 00:59:54 Removing intermediate container 3fed77661c1f 00:59:54 ---> 49488ab9432b 00:59:54 Step 5/10 : RUN apk add --update --no-cache make git openssh 00:59:54 ---> Running in 656a53330ec3 00:59:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 00:59:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 00:59:57 (1/8) Installing openssh-keygen (9.7_p1-r4) 00:59:57 (2/8) Installing libedit (20240517.3.1-r0) 00:59:57 (3/8) Installing openssh-client-common (9.7_p1-r4) 00:59:57 (4/8) Installing openssh-client-default (9.7_p1-r4) 00:59:57 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 00:59:57 (6/8) Installing openssh-server-common (9.7_p1-r4) 00:59:57 (7/8) Installing openssh-server (9.7_p1-r4) 00:59:57 (8/8) Installing openssh (9.7_p1-r4) 00:59:57 Executing busybox-1.36.1-r29.trigger 00:59:57 OK: 244 MiB in 62 packages 00:59:58 Removing intermediate container 656a53330ec3 00:59:58 ---> 5280b2d21503 00:59:58 Step 6/10 : WORKDIR /device-modbus-go 00:59:58 ---> Running in c408a716f208 00:59:59 Removing intermediate container c408a716f208 00:59:59 ---> 2f8d06dc7bae 00:59:59 Step 7/10 : COPY go.mod vendor* ./ 00:59:59 ---> 4a8e1a71fab3 00:59:59 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:59:59 ---> Running in 62c774b18909 01:01:51 Removing intermediate container 62c774b18909 01:01:51 ---> 4cfb660d0c06 01:01:51 Step 9/10 : COPY . . 01:01:51 ---> 58659f04fac5 01:01:51 Step 10/10 : RUN ${MAKE} 01:01:51 ---> Running in 9ec82a63271a 01:01:51 noop 01:01:51 Removing intermediate container 9ec82a63271a 01:01:51 ---> f4fe9d4dd536 01:01:51 Successfully built f4fe9d4dd536 01:01:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:01:51 + docker inspect -f . ci-base-image-arm64 01:01:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:01:52 prd-ubuntu20.04-docker-arm64-4c-16g-22559 does not seem to be running inside a container 01:01:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:01:53 $ docker top f3240f33afaf79ccc9da3fed21f78b042d0de051cb48c2582f1712dd1912a5ff -eo pid,comm [Pipeline] { [Pipeline] sh 01:01:54 + go version 01:01:54 go version go1.23.2 linux/arm64 [Pipeline] } 01:01:54 $ docker stop --time=1 f3240f33afaf79ccc9da3fed21f78b042d0de051cb48c2582f1712dd1912a5ff 01:01:56 $ docker rm -f --volumes f3240f33afaf79ccc9da3fed21f78b042d0de051cb48c2582f1712dd1912a5ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:01:56 + docker inspect -f . ci-base-image-arm64 01:01:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:01:56 prd-ubuntu20.04-docker-arm64-4c-16g-22559 does not seem to be running inside a container 01:01:56 $ 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/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:01:58 $ docker top b2ab90a19ef7fadd040f4a80107b3b1138679771647b3a9921a429886bb2dc83 -eo pid,comm [Pipeline] { [Pipeline] sh 01:01:59 + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh 01:02:00 + make test 01:02:00 go test ./... -coverprofile=coverage.out 01:02:06 ? github.com/edgexfoundry/device-modbus-go [no test files] 01:05:29 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 01:05:29 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.055s coverage: 47.9% of statements 01:05:29 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:05:29 go vet ./... 01:06:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:06:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:06:16 ./bin/test-attribution-txt.sh [Pipeline] echo 01:06:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:06:16 $ docker stop --time=1 b2ab90a19ef7fadd040f4a80107b3b1138679771647b3a9921a429886bb2dc83 01:06:18 $ docker rm -f --volumes b2ab90a19ef7fadd040f4a80107b3b1138679771647b3a9921a429886bb2dc83 [Pipeline] // withDockerContainer [Pipeline] sh 01:06:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:06:20 Warning: overwriting stash ‘coverage-report’ 01:06:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:06:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:06:21 + ls -al . 01:06:21 total 268 01:06:21 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 01:02 . 01:06:21 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 00:58 .. 01:06:21 -rw-rw-r-- 1 jenkins jenkins 140 Oct 12 00:58 .dockerignore 01:06:21 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 00:58 .git 01:06:21 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 00:58 .github 01:06:21 -rw-rw-r-- 1 jenkins jenkins 266 Oct 12 00:58 .gitignore 01:06:21 -rw-rw-r-- 1 jenkins jenkins 199 Oct 12 00:58 .golangci.yml 01:06:21 -rw-rw-r-- 1 jenkins jenkins 19818 Oct 12 00:58 Attribution.txt 01:06:21 -rw-rw-r-- 1 jenkins jenkins 16388 Oct 12 00:58 CHANGELOG.md 01:06:21 -rw-rw-r-- 1 jenkins jenkins 1474 Oct 12 00:58 Dockerfile 01:06:21 -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 00:58 GOVERNANCE.md 01:06:21 -rw-rw-r-- 1 jenkins jenkins 658 Oct 12 00:58 Jenkinsfile 01:06:21 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 12 00:58 LICENSE 01:06:21 -rw-rw-r-- 1 jenkins jenkins 1942 Oct 12 00:58 Makefile 01:06:21 -rw-rw-r-- 1 jenkins jenkins 622 Oct 12 00:58 OWNERS.md 01:06:21 -rw-rw-r-- 1 jenkins jenkins 4463 Oct 12 00:58 README.md 01:06:21 -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 00:54 VERSION 01:06:21 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 00:58 bin 01:06:21 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 00:58 cmd 01:06:21 -rw-r--r-- 1 jenkins jenkins 25463 Oct 12 01:05 coverage.out 01:06:21 -rw-rw-r-- 1 jenkins jenkins 7157 Oct 12 00:58 go.mod 01:06:21 -rw-rw-r-- 1 jenkins jenkins 100518 Oct 12 00:58 go.sum 01:06:21 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 00:58 internal 01:06:21 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 00:58 simulator 01:06:21 -rw-rw-r-- 1 jenkins jenkins 229 Oct 12 00:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:22 + 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=ad049bff68903de1c09df98abd14cfa6fdce8ffe --label arch=arm64 --label version=0.0.0 . 01:06:22 Sending build context to Docker daemon 9.167MB 01:06:22 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 01:06:22 Step 2/23 : FROM ${BASE} AS builder 01:06:22 ---> f4fe9d4dd536 01:06:22 Step 3/23 : ARG ADD_BUILD_TAGS="" 01:06:22 ---> Running in c68c67383963 01:06:22 Removing intermediate container c68c67383963 01:06:22 ---> a610efeaa962 01:06:22 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:06:23 ---> Running in 06f5be3ccff3 01:06:23 Removing intermediate container 06f5be3ccff3 01:06:23 ---> 892c24fed657 01:06:23 Step 5/23 : RUN apk add --update --no-cache make git openssh 01:06:23 ---> Running in e702bf17060e 01:06:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:06:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:06:26 OK: 244 MiB in 62 packages 01:06:27 Removing intermediate container e702bf17060e 01:06:27 ---> 55261e3833a6 01:06:27 Step 6/23 : WORKDIR /device-modbus-go 01:06:27 ---> Running in fadcb3df7557 01:06:27 Removing intermediate container fadcb3df7557 01:06:27 ---> 50ddd52b14d6 01:06:27 Step 7/23 : COPY go.mod vendor* ./ 01:06:28 ---> 021c89750b2c 01:06:28 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:06:28 ---> Running in 6edfc523707b 01:06:31 Removing intermediate container 6edfc523707b 01:06:31 ---> 2c2cf9bd8637 01:06:31 Step 9/23 : COPY . . 01:06:32 ---> 95685f8382b5 01:06:32 Step 10/23 : RUN ${MAKE} 01:06:32 ---> Running in 5c3172b8ae74 01:06:33 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.45" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 01:10:10 Removing intermediate container 5c3172b8ae74 01:10:10 ---> 8ddeb2641d17 01:10:10 Step 11/23 : FROM alpine:3.20 01:10:10 3.20: Pulling from library/alpine 01:10:10 cf04c63912e1: Already exists 01:10:10 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 01:10:10 Status: Downloaded newer image for alpine:3.20 01:10:10 ---> c157a85ed455 01:10:10 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 01:10:10 ---> Running in 189de95bad04 01:10:10 Removing intermediate container 189de95bad04 01:10:10 ---> f541dd6d6b0c 01:10:10 Step 13/23 : RUN apk add --update --no-cache dumb-init 01:10:10 ---> Running in 145eb170e210 01:10:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:10:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:10:10 (1/1) Installing dumb-init (1.2.5-r3) 01:10:10 Executing busybox-1.36.1-r29.trigger 01:10:10 OK: 9 MiB in 15 packages 01:10:11 Removing intermediate container 145eb170e210 01:10:11 ---> 3d6199eedaf8 01:10:11 Step 14/23 : RUN apk --no-cache upgrade 01:10:11 ---> Running in 55010f16e411 01:10:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:10:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:10:13 Upgrading critical system libraries and apk-tools: 01:10:13 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 01:10:13 Executing busybox-1.36.1-r29.trigger 01:10:13 Continuing the upgrade transaction with new apk-tools: 01:10:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:10:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:10:15 OK: 9 MiB in 15 packages 01:10:16 Removing intermediate container 55010f16e411 01:10:16 ---> ca9b8d001297 01:10:16 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 01:10:17 ---> 2c21803a9e5f 01:10:17 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 01:10:18 ---> b7e3a9062fbe 01:10:18 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 01:10:18 ---> 65504fa39ebe 01:10:18 Step 18/23 : EXPOSE 59901 01:10:18 ---> Running in ed64c7e762f1 01:10:19 Removing intermediate container ed64c7e762f1 01:10:19 ---> 82c030d3082e 01:10:19 Step 19/23 : ENTRYPOINT ["/device-modbus"] 01:10:19 ---> Running in c65028c2280b 01:10:19 Removing intermediate container c65028c2280b 01:10:19 ---> e79158479d95 01:10:19 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:10:19 ---> Running in 06035d30ddb3 01:10:19 Removing intermediate container 06035d30ddb3 01:10:19 ---> 0a2ba7273c1e 01:10:19 Step 21/23 : LABEL arch=arm64 01:10:19 ---> Running in 15b88071a48f 01:10:19 Removing intermediate container 15b88071a48f 01:10:19 ---> 4f11e82b0af0 01:10:19 Step 22/23 : LABEL git_sha=ad049bff68903de1c09df98abd14cfa6fdce8ffe 01:10:20 ---> Running in 41851e3a0ccf 01:10:20 Removing intermediate container 41851e3a0ccf 01:10:20 ---> ceb45aa40a93 01:10:20 Step 23/23 : LABEL version=0.0.0 01:10:20 ---> Running in 09a92d492379 01:10:20 Removing intermediate container 09a92d492379 01:10:20 ---> b0de0557183c 01:10:20 [Warning] One or more build-args [ARCH] were not consumed 01:10:20 Successfully built b0de0557183c 01:10:20 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:10:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:10:21 01:10:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:10:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:10:21 arm64: Pulling from edgex-lftools-log-publisher 01:10:21 8998bd30e6a1: Pulling fs layer 01:10:21 04944245beec: Pulling fs layer 01:10:21 699f458cf7ca: Pulling fs layer 01:10:21 765212b225bb: Pulling fs layer 01:10:21 f23df028b6ca: Pulling fs layer 01:10:21 d65c8cfc05b1: Pulling fs layer 01:10:21 f23df028b6ca: Waiting 01:10:21 765212b225bb: Waiting 01:10:21 2437ff75d9bd: Pulling fs layer 01:10:21 d65c8cfc05b1: Waiting 01:10:21 2437ff75d9bd: Waiting 01:10:21 04944245beec: Verifying Checksum 01:10:21 04944245beec: Download complete 01:10:21 765212b225bb: Download complete 01:10:21 f23df028b6ca: Download complete 01:10:21 d65c8cfc05b1: Download complete 01:10:21 699f458cf7ca: Verifying Checksum 01:10:21 699f458cf7ca: Download complete 01:10:22 8998bd30e6a1: Download complete 01:10:24 2437ff75d9bd: Verifying Checksum 01:10:24 2437ff75d9bd: Download complete 01:10:26 8998bd30e6a1: Pull complete 01:10:26 04944245beec: Pull complete 01:10:28 699f458cf7ca: Pull complete 01:10:28 765212b225bb: Pull complete 01:10:29 f23df028b6ca: Pull complete 01:10:29 d65c8cfc05b1: Pull complete 01:10:47 2437ff75d9bd: Pull complete 01:10:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:10:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:10:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:10:47 prd-ubuntu20.04-docker-arm64-4c-16g-22559 does not seem to be running inside a container 01:10:48 $ 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/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:10:50 $ docker top 6e64b61e86769174f9464074f13f18f73056eccdc55c10f32bf3926932e85739 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:10:51 ---> job-cost.sh 01:10:51 lf-activate-venv: SKIPPING 01:10:51 INFO: No Stack... 01:10:52 INFO: Retrieving Pricing Info for: v3-standard-4 01:10:52 INFO: Archiving Costs [Pipeline] sh 01:10:53 + cat /w/workspace/device-modbus-go/2/archives/cost.csv 01:10:53 + cut -d, -f6 [Pipeline] lock 01:10:53 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-581-2-stack-cost] 01:10:53 Resource [jenkins-edgexfoundry-device-modbus-go-PR-581-2-stack-cost] did not exist. Created. 01:10:53 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-581-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:10:54 /w/workspace/device-modbus-go/2@tmp/durable-22bb9d4d/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:10:54 + echo total: 0.10999999940395355 [Pipeline] stash 01:10:54 Warning: overwriting stash ‘stack-cost’ 01:10:54 Stashed 1 file(s) [Pipeline] } 01:10:54 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-581-2-stack-cost] [Pipeline] // lock [Pipeline] } 01:10:54 $ docker stop --time=1 6e64b61e86769174f9464074f13f18f73056eccdc55c10f32bf3926932e85739 01:10:56 $ docker rm -f --volumes 6e64b61e86769174f9464074f13f18f73056eccdc55c10f32bf3926932e85739 [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 01:10:56 provisioning config files... 01:10:56 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-581@tmp/config12724003346595825159tmp [Pipeline] { [Pipeline] sh 01:10:56 + set +x 01:10:56 + curl -s https://codecov.io/bash 01:10:56 + bash -s -- 01:10:56 01:10:56 _____ _ 01:10:56 / ____| | | 01:10:56 | | ___ __| | ___ ___ _____ __ 01:10:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:10:56 | |___| (_) | (_| | __/ (_| (_) \ V / 01:10:56 \_____\___/ \__,_|\___|\___\___/ \_/ 01:10:56 Bash-1.0.6 01:10:56 01:10:56 01:10:56 ==> git version 2.25.1 found 01:10:56 ==> 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 01:10:56 Release-Date: 2020-01-08 01:10:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:10:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:10:56 ==> Jenkins CI detected. 01:10:56 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-581 01:10:56 project root: . 01:10:56 --> token set from env 01:10:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:10:56 ==> Running gcov in . (disable via -X gcov) 01:10:57 ==> Python coveragepy not found 01:10:57 ==> Searching for coverage reports in: 01:10:57 + . 01:10:57 -> Found 1 reports 01:10:57 ==> Detecting git/mercurial file structure 01:10:57 ==> Reading reports 01:10:57 + ./coverage.out bytes=25463 01:10:57 ==> Appending adjustments 01:10:57 https://docs.codecov.io/docs/fixing-reports 01:10:57 + Found adjustments 01:10:57 ==> Gzipping contents 01:10:57 4.0K /tmp/codecov.rhDU9N.gz 01:10:57 ==> Uploading reports 01:10:57 url: https://codecov.io 01:10:57 query: branch=PR-581&commit=8be2c06fae9eabf3364fa14adef6b5aac61f351d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-581%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=581&job=&cmd_args= 01:10:57 -> Pinging Codecov 01:10:57 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-581&commit=8be2c06fae9eabf3364fa14adef6b5aac61f351d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-581%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=581&job=&cmd_args= 01:10:57 -> Uploading to 01:10:57 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-modbus-go/8be2c06fae9eabf3364fa14adef6b5aac61f351d/8193b946-1200-4b75-9390-a0d381d1d256.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241012%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241012T011057Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=76c7a29a235ee12104070f279f1d5e39308ece2d0a4433bccf58887f664aa571 01:10:57 % Total % Received % Xferd Average Speed Time Time Time Current 01:10:57 Dload Upload Total Spent Left Speed 01:10:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3928 0 0 100 3928 0 14388 --:--:-- --:--:-- --:--:-- 14388 01:10:57 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/8be2c06fae9eabf3364fa14adef6b5aac61f351d [Pipeline] } 01:10:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [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) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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 01:10:58 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-581/archives ] 01:10:58 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-581/archives 01:10:58 total 16 01:10:58 drwxr-xr-x 3 root root 4096 Oct 12 00:57 . 01:10:58 drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 00:57 .. 01:10:58 drwxr-xr-x 2 root root 4096 Oct 12 00:57 cost 01:10:58 -rw-r--r-- 1 root root 88 Oct 12 00:57 cost.csv 01:10:58 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-581/archives 01:10:58 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-581/archives 01:10:58 total 16 01:10:58 drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 00:57 . 01:10:58 drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 00:57 .. 01:10:58 drwxr-xr-x 2 jenkins jenkins 4096 Oct 12 00:57 cost 01:10:58 -rw-r--r-- 1 jenkins jenkins 88 Oct 12 00:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:10:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:10:59 ---> package-listing.sh 01:10:59 ++ facter osfamily 01:10:59 ++ tr '[:upper:]' '[:lower:]' 01:11:00 + OS_FAMILY=debian 01:11:00 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-581 01:11:00 + START_PACKAGES=/tmp/packages_start.txt 01:11:00 + END_PACKAGES=/tmp/packages_end.txt 01:11:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:11:00 + PACKAGES=/tmp/packages_start.txt 01:11:00 + '[' /w/workspace/xfoundry_device-modbus-go_PR-581 ']' 01:11:00 + PACKAGES=/tmp/packages_end.txt 01:11:00 + case "${OS_FAMILY}" in 01:11:00 + dpkg -l 01:11:00 + grep '^ii' 01:11:00 + '[' -f /tmp/packages_start.txt ']' 01:11:00 + '[' -f /tmp/packages_end.txt ']' 01:11:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:11:00 + '[' /w/workspace/xfoundry_device-modbus-go_PR-581 ']' 01:11:00 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-581/archives/ 01:11:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-581/archives/ [Pipeline] echo 01:11:00 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/xfoundry_device-modbus-go_PR-581/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:11:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:11:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:11:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:11:01 prd-ubuntu20.04-docker-8c-8g-22558 does not seem to be running inside a container 01:11:01 $ 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/xfoundry_device-modbus-go_PR-581/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-581 -v /w/workspace/xfoundry_device-modbus-go_PR-581:/w/workspace/xfoundry_device-modbus-go_PR-581:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-581@tmp:/w/workspace/xfoundry_device-modbus-go_PR-581@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:11:01 $ docker top 7f1e2f2d812f640c117aa0a34d1cdaac90d0683f15b224030b43f4792c763c70 -eo pid,comm [Pipeline] { [Pipeline] sh 01:11:01 + touch /tmp/pre-build-complete [Pipeline] sh 01:11:02 + mkdir -p /var/log/sysstat [Pipeline] sh 01:11:02 + ls /var/log/sa-host 01:11:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:11:02 provisioning config files... 01:11:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-581@tmp/config6040654616559262221tmp [Pipeline] { [Pipeline] echo 01:11:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:11:02 ---> create-netrc.sh [Pipeline] } 01:11:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:11:03 ---> python-tools-install.sh [Pipeline] echo 01:11:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:11:03 ---> sudo-logs.sh 01:11:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:11:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:11:03 ---> job-cost.sh 01:11:03 lf-activate-venv: SKIPPING 01:11:03 DEBUG: total: 0.2199999988079071 01:11:03 INFO: Retrieving Stack Cost... 01:11:04 INFO: Retrieving Pricing Info for: v3-standard-8 01:11:04 INFO: Archiving Costs [Pipeline] echo 01:11:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:11:04 ---> logs-deploy.sh 01:11:04 lf-activate-venv: SKIPPING 01:11:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-581/2 01:11:04 INFO: archiving workspace using pattern(s): 01:11:05 Archives upload complete. 01:11:05 INFO: archiving logs to Nexus