Pull request #557 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a9394f63f6c0c144b743431c16b8db4b3f15c990+f7c28725686cbfd62f6225fd09367d5909216c89 (8060cc06887bc79d6e16b5ad9f273f25572c4f19) 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-ssh7492457872961794323.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh12736509794891929502.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 590556114a56c6d90cc8043840e039c2f74196dc The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-557/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-557/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14085698683763304918.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-557/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4379885205051627471.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh15721309748350541083.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-557/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-557/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13010855014788816845.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4769 in /w/workspace/xfoundry_device-modbus-go_PR-557 [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-557 # 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/557/head:refs/remotes/origin/PR-557 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f7c28725686cbfd62f6225fd09367d5909216c89 into PR head commit a9394f63f6c0c144b743431c16b8db4b3f15c990 Merge succeeded, producing a9394f63f6c0c144b743431c16b8db4b3f15c990 Checking out Revision a9394f63f6c0c144b743431c16b8db4b3f15c990 (PR-557) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > git config core.sparsecheckout # timeout=10 > git checkout -f a9394f63f6c0c144b743431c16b8db4b3f15c990 # 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 f7c28725686cbfd62f6225fd09367d5909216c89 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a9394f63f6c0c144b743431c16b8db4b3f15c990 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:33:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:33:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:33:22 ========================================================= 05:33:22 EdgeX Global Pipelines Version Info 05:33:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:33:23 ------------------- 05:33:23 stable info: 05:33:23 ------------------- 05:33:23 Commited By: Ginny Guan ginny@iotechsys.com 05:33:23 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 05:33:23 Message: update stable to v1.0.260 05:33:24 ------------------- 05:33:24 experimental info: 05:33:24 ------------------- 05:33:24 Commited By: Ginny Guan ginny@iotechsys.com 05:33:24 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 05:33:24 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:33:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:33:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:33:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:33:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:33:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:33:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 05:33:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:33:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:33:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:33:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:33:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:33:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:33:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:33:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:33:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:33:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:33:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:33:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:33:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:33:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:33:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:33:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:33:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:33:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:33:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:33:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:33:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:33:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-557 [Pipeline] echo 05:33:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-557 [Pipeline] echo 05:33:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-557 [Pipeline] echo 05:33:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a9394f63f6c0c144b743431c16b8db4b3f15c990 [Pipeline] echo 05:33:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a9394f6 [Pipeline] echo 05:33:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:33:26 provisioning config files... 05:33:26 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-557@tmp/config17936011823768051849tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:33:26 ---> ****-login.sh 05:33:26 nexus3.edgexfoundry.org:10001 05:33:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:33:27 Configure a credential helper to remove this warning. See 05:33:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:33:27 05:33:27 Login Succeeded 05:33:27 nexus3.edgexfoundry.org:10002 05:33:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:33:27 Configure a credential helper to remove this warning. See 05:33:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:33:27 05:33:27 Login Succeeded 05:33:27 nexus3.edgexfoundry.org:10003 05:33:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:33:27 Configure a credential helper to remove this warning. See 05:33:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:33:27 05:33:27 Login Succeeded 05:33:27 nexus3.edgexfoundry.org:10004 05:33:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:33:27 Configure a credential helper to remove this warning. See 05:33:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:33:27 05:33:27 Login Succeeded 05:33:27 ****.io 05:33:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:33:27 Configure a credential helper to remove this warning. See 05:33:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:33:27 05:33:27 Login Succeeded 05:33:27 ---> ****-login.sh ends [Pipeline] } 05:33:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:33:28 + git rev-list -1 --merges a9394f63f6c0c144b743431c16b8db4b3f15c990~1..a9394f63f6c0c144b743431c16b8db4b3f15c990 [Pipeline] echo 05:33:28 -----------> git rev-list -1 --merges a9394f63f6c0c144b743431c16b8db4b3f15c990~1..a9394f63f6c0c144b743431c16b8db4b3f15c990 a9394f63f6c0c144b743431c16b8db4b3f15c990 [false] [Pipeline] sh 05:33:28 + git log --format=format:%s -1 a9394f63f6c0c144b743431c16b8db4b3f15c990 [Pipeline] echo 05:33:29 ========================================================= 05:33:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:33:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:33:29 + git log --format=format:%s -1 a9394f63f6c0c144b743431c16b8db4b3f15c990 [Pipeline] echo 05:33:29 [semverPrep] GIT_COMMIT: a9394f63f6c0c144b743431c16b8db4b3f15c990, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:33:29 [semverPrep] This is not a build commit. [Pipeline] sh 05:33:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:33:30 + grep -v github /etc/ssh/ssh_known_hosts 05:33:30 + [ -e /tmp/ssh_known_hosts ] 05:33:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:33:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:33:30 + sudo tee -a /etc/ssh/ssh_known_hosts 05:33:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:33:30 05:33:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:33:31 0.1.4: Pulling from edgex-devops/py-git-semver 05:33:31 b85a868b505f: Pulling fs layer 05:33:31 e2be974225ed: Pulling fs layer 05:33:31 339a4e72a1f5: Pulling fs layer 05:33:31 988bab9f4d93: Pulling fs layer 05:33:31 1469e6f7b9e6: Pulling fs layer 05:33:31 eaf3925da568: Pulling fs layer 05:33:31 bab4dde63d76: Pulling fs layer 05:33:31 bde34c3a00c8: Pulling fs layer 05:33:31 b352a97aabf1: Pulling fs layer 05:33:31 4872d77fe225: Pulling fs layer 05:33:31 5851b861e8e6: Pulling fs layer 05:33:31 1469e6f7b9e6: Waiting 05:33:31 988bab9f4d93: Waiting 05:33:31 eaf3925da568: Waiting 05:33:31 bab4dde63d76: Waiting 05:33:31 bde34c3a00c8: Waiting 05:33:31 b352a97aabf1: Waiting 05:33:31 5851b861e8e6: Waiting 05:33:31 4872d77fe225: Waiting 05:33:31 e2be974225ed: Download complete 05:33:31 988bab9f4d93: Download complete 05:33:31 1469e6f7b9e6: Verifying Checksum 05:33:31 1469e6f7b9e6: Download complete 05:33:31 339a4e72a1f5: Verifying Checksum 05:33:31 339a4e72a1f5: Download complete 05:33:31 eaf3925da568: Download complete 05:33:31 bde34c3a00c8: Verifying Checksum 05:33:31 bde34c3a00c8: Download complete 05:33:31 b352a97aabf1: Download complete 05:33:31 4872d77fe225: Download complete 05:33:31 5851b861e8e6: Verifying Checksum 05:33:31 5851b861e8e6: Download complete 05:33:31 b85a868b505f: Verifying Checksum 05:33:31 b85a868b505f: Download complete 05:33:31 bab4dde63d76: Verifying Checksum 05:33:31 bab4dde63d76: Download complete 05:33:32 b85a868b505f: Pull complete 05:33:32 e2be974225ed: Pull complete 05:33:32 339a4e72a1f5: Pull complete 05:33:32 988bab9f4d93: Pull complete 05:33:33 1469e6f7b9e6: Pull complete 05:33:33 eaf3925da568: Pull complete 05:33:35 bab4dde63d76: Pull complete 05:33:35 bde34c3a00c8: Pull complete 05:33:35 b352a97aabf1: Pull complete 05:33:35 4872d77fe225: Pull complete 05:33:35 5851b861e8e6: Pull complete 05:33:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:33:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:33:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:33:35 prd-ubuntu20.04-docker-8c-8g-4769 does not seem to be running inside a container 05:33:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-557 -v /w/workspace/xfoundry_device-modbus-go_PR-557:/w/workspace/xfoundry_device-modbus-go_PR-557:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-557@tmp:/w/workspace/xfoundry_device-modbus-go_PR-557@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:33:38 $ docker top e3d10095628ce1899028600d51fe7c4aa386ddc0b5be6c634ccaaa497897ed33 -eo pid,comm 05:33:38 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:33:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:33:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:33:38 [ssh-agent] Looking for ssh-agent implementation... 05:33:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:33:38 $ docker exec e3d10095628ce1899028600d51fe7c4aa386ddc0b5be6c634ccaaa497897ed33 ssh-agent 05:33:38 SSH_AUTH_SOCK=/tmp/ssh-NUHIPbgZE536/agent.33 05:33:38 SSH_AGENT_PID=39 05:33:38 Running ssh-add (command line suppressed) 05:33:38 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-557@tmp/private_key_9189544239605364163.key (/w/workspace/xfoundry_device-modbus-go_PR-557@tmp/private_key_9189544239605364163.key) 05:33:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:33:38 + git tag --points-at HEAD [Pipeline] } 05:33:38 $ docker exec --env ******** --env ******** e3d10095628ce1899028600d51fe7c4aa386ddc0b5be6c634ccaaa497897ed33 ssh-agent -k 05:33:39 unset SSH_AUTH_SOCK; 05:33:39 unset SSH_AGENT_PID; 05:33:39 echo Agent pid 39 killed; 05:33:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:33:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:33:39 [ssh-agent] Looking for ssh-agent implementation... 05:33:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:33:39 $ docker exec e3d10095628ce1899028600d51fe7c4aa386ddc0b5be6c634ccaaa497897ed33 ssh-agent 05:33:39 SSH_AUTH_SOCK=/tmp/ssh-KfXCv23hT4JL/agent.72 05:33:39 SSH_AGENT_PID=78 05:33:39 Running ssh-add (command line suppressed) 05:33:39 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-557@tmp/private_key_11273376242528653546.key (/w/workspace/xfoundry_device-modbus-go_PR-557@tmp/private_key_11273376242528653546.key) 05:33:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:33:39 + git semver init 05:33:40 2024-07-02 05:33:40,115 [run_init] DEBUG init version:0.0.0 force:False 05:33:40 2024-07-02 05:33:40,116 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-557/.semver 05:33:40 2024-07-02 05:33:40,116 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-557/.semver 05:33:40 2024-07-02 05:33:40,116 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-557/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-557, universal_newlines=False, shell=None, istream=None) 05:33:41 2024-07-02 05:33:41,074 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-557/.git/info/exclude 05:33:41 2024-07-02 05:33:41,075 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-557/.semver/PR-557 with force:False 05:33:41 2024-07-02 05:33:41,075 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-557/.semver/PR-557 05:33:41 2024-07-02 05:33:41,080 [execute] INFO git cat-file --batch-check 05:33:41 2024-07-02 05:33:41,081 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-557/.semver, universal_newlines=False, shell=None, istream=) 05:33:41 2024-07-02 05:33:41,088 [execute] INFO git cat-file --batch 05:33:41 2024-07-02 05:33:41,088 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-557/.semver, universal_newlines=False, shell=None, istream=) 05:33:41 2024-07-02 05:33:41,094 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-557/.semver/PR-557 05:33:41 0.0.0 [Pipeline] } 05:33:41 $ docker exec --env ******** --env ******** e3d10095628ce1899028600d51fe7c4aa386ddc0b5be6c634ccaaa497897ed33 ssh-agent -k 05:33:41 unset SSH_AUTH_SOCK; 05:33:41 unset SSH_AGENT_PID; 05:33:41 echo Agent pid 78 killed; 05:33:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:33:41 + git semver [Pipeline] } 05:33:42 $ docker stop --time=1 e3d10095628ce1899028600d51fe7c4aa386ddc0b5be6c634ccaaa497897ed33 05:33:43 $ docker rm -f --volumes e3d10095628ce1899028600d51fe7c4aa386ddc0b5be6c634ccaaa497897ed33 [Pipeline] // withDockerContainer [Pipeline] sh 05:33:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:33:44 Stashed 1 file(s) [Pipeline] echo 05:33:44 [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 05:33:44 provisioning config files... 05:33:44 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-557@tmp/config17316007785620678010tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:33:45 ---> ****-login.sh 05:33:45 nexus3.edgexfoundry.org:10001 05:33:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:33:45 Configure a credential helper to remove this warning. See 05:33:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:33:45 05:33:45 Login Succeeded 05:33:45 nexus3.edgexfoundry.org:10002 05:33:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:33:45 Configure a credential helper to remove this warning. See 05:33:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:33:45 05:33:45 Login Succeeded 05:33:45 nexus3.edgexfoundry.org:10003 05:33:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:33:45 Configure a credential helper to remove this warning. See 05:33:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:33:45 05:33:45 Login Succeeded 05:33:45 nexus3.edgexfoundry.org:10004 05:33:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:33:45 Configure a credential helper to remove this warning. See 05:33:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:33:45 05:33:45 Login Succeeded 05:33:45 ****.io 05:33:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:33:45 Configure a credential helper to remove this warning. See 05:33:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:33:45 05:33:45 Login Succeeded 05:33:45 ---> ****-login.sh ends [Pipeline] } 05:33:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:33:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:33:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:33:46 ========================================================= 05:33:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 05:33:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:46 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 05:33:46 Sending build context to Docker daemon 17.84MB 05:33:46 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:33:46 Step 2/10 : FROM ${BASE} AS builder 05:33:46 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 05:33:46 619be1103602: Pulling fs layer 05:33:46 7862e08f4a3e: Pulling fs layer 05:33:46 5df492c9dc93: Pulling fs layer 05:33:46 7629e6793208: Pulling fs layer 05:33:46 4f4fb700ef54: Pulling fs layer 05:33:46 7629e6793208: Waiting 05:33:46 fb5054dd5b73: Pulling fs layer 05:33:46 eeca6798cff9: Pulling fs layer 05:33:46 aa269ceb94a6: Pulling fs layer 05:33:46 ada007ff1a6a: Pulling fs layer 05:33:46 4f4fb700ef54: Waiting 05:33:46 eeca6798cff9: Waiting 05:33:46 aa269ceb94a6: Waiting 05:33:46 ada007ff1a6a: Waiting 05:33:46 fb5054dd5b73: Waiting 05:33:47 7862e08f4a3e: Verifying Checksum 05:33:47 7862e08f4a3e: Download complete 05:33:47 7629e6793208: Verifying Checksum 05:33:47 7629e6793208: Download complete 05:33:47 4f4fb700ef54: Verifying Checksum 05:33:47 4f4fb700ef54: Download complete 05:33:47 fb5054dd5b73: Verifying Checksum 05:33:47 fb5054dd5b73: Download complete 05:33:47 619be1103602: Verifying Checksum 05:33:47 619be1103602: Download complete 05:33:47 eeca6798cff9: Verifying Checksum 05:33:47 eeca6798cff9: Download complete 05:33:47 619be1103602: Pull complete 05:33:47 ada007ff1a6a: Verifying Checksum 05:33:47 ada007ff1a6a: Download complete 05:33:47 7862e08f4a3e: Pull complete 05:33:47 5df492c9dc93: Download complete 05:33:47 aa269ceb94a6: Verifying Checksum 05:33:47 aa269ceb94a6: Download complete 05:33:50 5df492c9dc93: Pull complete 05:33:50 7629e6793208: Pull complete 05:33:50 4f4fb700ef54: Pull complete 05:33:50 fb5054dd5b73: Pull complete 05:33:50 eeca6798cff9: Pull complete 05:33:53 aa269ceb94a6: Pull complete 05:33:53 ada007ff1a6a: Pull complete 05:33:53 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 05:33:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 05:33:53 ---> f489d0715acc 05:33:53 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:33:56 ---> Running in e083b4d214c7 05:33:56 Removing intermediate container e083b4d214c7 05:33:56 ---> a09054d30233 05:33:56 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:33:56 ---> Running in 73789878fa06 05:33:56 Removing intermediate container 73789878fa06 05:33:56 ---> 80129dca05e3 05:33:56 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:33:56 ---> Running in 44ba3004ebf5 05:33:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:33:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:33:56 (1/8) Installing openssh-keygen (9.3_p2-r1) 05:33:56 (2/8) Installing libedit (20221030.3.1-r1) 05:33:56 (3/8) Installing openssh-client-common (9.3_p2-r1) 05:33:56 (4/8) Installing openssh-client-default (9.3_p2-r1) 05:33:56 (5/8) Installing openssh-sftp-server (9.3_p2-r1) 05:33:56 (6/8) Installing openssh-server-common (9.3_p2-r1) 05:33:56 (7/8) Installing openssh-server (9.3_p2-r1) 05:33:57 (8/8) Installing openssh (9.3_p2-r1) 05:33:57 Executing busybox-1.36.1-r5.trigger 05:33:57 OK: 270 MiB in 60 packages 05:33:57 Removing intermediate container 44ba3004ebf5 05:33:57 ---> 436b2177699c 05:33:57 Step 6/10 : WORKDIR /device-modbus-go 05:33:57 ---> Running in 6a4453d2fd60 05:33:57 Removing intermediate container 6a4453d2fd60 05:33:57 ---> 6fcb40cad154 05:33:57 Step 7/10 : COPY go.mod vendor* ./ 05:33:57 ---> ba140d382abc 05:33:57 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:33:57 ---> Running in 24c58477fa03 05:33:59 Still waiting to schedule task 05:33:59 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:34:53 Removing intermediate container 24c58477fa03 05:34:53 ---> f6a3e1b4035b 05:34:53 Step 9/10 : COPY . . 05:34:53 ---> 54786d446031 05:34:53 Step 10/10 : RUN ${MAKE} 05:34:53 ---> Running in 6ca4ebdc68a8 05:34:53 noop 05:34:53 Removing intermediate container 6ca4ebdc68a8 05:34:53 ---> e2cae4008271 05:34:53 Successfully built e2cae4008271 05:34:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:34:54 + docker inspect -f . ci-base-image-x86_64 05:34:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:34:54 prd-ubuntu20.04-docker-8c-8g-4769 does not seem to be running inside a container 05:34:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-557 -v /w/workspace/xfoundry_device-modbus-go_PR-557:/w/workspace/xfoundry_device-modbus-go_PR-557:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-557@tmp:/w/workspace/xfoundry_device-modbus-go_PR-557@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 ******** ci-base-image-x86_64 cat 05:34:54 $ docker top d3159ddea5dba5d4fe7e89ed0560207344c78944cad4418f27a10a92d6d24748 -eo pid,comm [Pipeline] { [Pipeline] sh 05:34:55 + go version 05:34:55 go version go1.21.9 linux/amd64 [Pipeline] } 05:34:55 $ docker stop --time=1 d3159ddea5dba5d4fe7e89ed0560207344c78944cad4418f27a10a92d6d24748 05:34:56 $ docker rm -f --volumes d3159ddea5dba5d4fe7e89ed0560207344c78944cad4418f27a10a92d6d24748 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:34:57 + docker inspect -f . ci-base-image-x86_64 05:34:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:34:57 prd-ubuntu20.04-docker-8c-8g-4769 does not seem to be running inside a container 05:34:57 $ 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-557 -v /w/workspace/xfoundry_device-modbus-go_PR-557:/w/workspace/xfoundry_device-modbus-go_PR-557:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-557@tmp:/w/workspace/xfoundry_device-modbus-go_PR-557@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 ******** ci-base-image-x86_64 cat 05:34:58 $ docker top 2985d96b67f12d5f36e4fdda5c2e29685d79db13e64a38efc7a6cbf3c95693ad -eo pid,comm [Pipeline] { [Pipeline] sh 05:34:58 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-557 [Pipeline] fileExists [Pipeline] sh 05:34:58 + make test 05:34:58 go test ./... -coverprofile=coverage.out 05:35:00 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:35:22 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:35:22 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 47.9% of statements 05:35:28 go vet ./... 05:35:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4771 in /w/workspace/xfoundry_device-modbus-go_PR-557 [Pipeline] { 05:35:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:35:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:35:33 ./bin/test-attribution-txt.sh 05:35:33 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 05:35:33 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 05:35:33 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 05:35:33 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 05:35:33 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 05:35:33 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 05:35:33 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 05:35:33 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 05:35:33 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 05:35:33 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 05:35:33 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 05:35:33 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 05:35:33 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 05:35:33 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 05:35:33 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 05:35:33 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 05:35:33 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 05:35:33 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 05:35:33 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 05:35:33 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 05:35:33 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 05:35:33 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 05:35:33 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [Pipeline] ws 05:35:34 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 05:35:34 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 05:35:34 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 05:35:34 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 05:35:34 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 05:35:34 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 05:35:34 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 05:35:34 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 05:35:34 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 05:35:34 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 05:35:34 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 05:35:34 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 05:35:34 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 05:35:34 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 05:35:34 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 05:35:34 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 05:35:34 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 05:35:34 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 05:35:34 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 05:35:34 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 05:35:34 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 05:35:34 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 05:35:34 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 05:35:34 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 05:35:34 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 05:35:34 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 05:35:34 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 05:35:34 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 05:35:34 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 05:35:34 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 05:35:34 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 05:35:34 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 05:35:34 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 05:35:34 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 05:35:34 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 05:35:34 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 05:35:34 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 05:35:34 An attribution for golang.org/x/term is missing from Attribution.txt, please add 05:35:34 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 05:35:34 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add 05:35:37 The recommended git tool is: git [Pipeline] echo 05:35:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:35:37 $ docker stop --time=1 2985d96b67f12d5f36e4fdda5c2e29685d79db13e64a38efc7a6cbf3c95693ad 05:35:39 $ docker rm -f --volumes 2985d96b67f12d5f36e4fdda5c2e29685d79db13e64a38efc7a6cbf3c95693ad [Pipeline] // withDockerContainer [Pipeline] sh 05:35:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:35:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:35:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:35:41 + ls -al . 05:35:41 total 264 05:35:41 drwxrwxr-x 9 jenkins jenkins 4096 Jul 2 05:34 . 05:35:41 drwxrwxr-x 4 jenkins jenkins 4096 Jul 2 05:33 .. 05:35:41 -rw-rw-r-- 1 jenkins jenkins 140 Jul 2 05:33 .dockerignore 05:35:41 drwxrwxr-x 8 jenkins jenkins 4096 Jul 2 05:35 .git 05:35:41 drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 05:33 .github 05:35:41 -rw-rw-r-- 1 jenkins jenkins 266 Jul 2 05:33 .gitignore 05:35:41 -rw-rw-r-- 1 jenkins jenkins 41 Jul 2 05:33 .golangci.yml 05:35:41 drwxr-xr-x 3 jenkins jenkins 4096 Jul 2 05:33 .semver 05:35:41 -rw-rw-r-- 1 jenkins jenkins 11101 Jul 2 05:33 Attribution.txt 05:35:41 -rw-rw-r-- 1 jenkins jenkins 16388 Jul 2 05:33 CHANGELOG.md 05:35:41 -rw-rw-r-- 1 jenkins jenkins 1474 Jul 2 05:33 Dockerfile 05:35:41 -rw-rw-r-- 1 jenkins jenkins 677 Jul 2 05:33 GOVERNANCE.md 05:35:41 -rw-rw-r-- 1 jenkins jenkins 658 Jul 2 05:33 Jenkinsfile 05:35:41 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 2 05:33 LICENSE 05:35:41 -rw-rw-r-- 1 jenkins jenkins 1942 Jul 2 05:33 Makefile 05:35:41 -rw-rw-r-- 1 jenkins jenkins 622 Jul 2 05:33 OWNERS.md 05:35:41 -rw-rw-r-- 1 jenkins jenkins 4463 Jul 2 05:33 README.md 05:35:41 -rw-rw-r-- 1 jenkins jenkins 5 Jul 2 05:33 VERSION 05:35:41 drwxrwxr-x 2 jenkins jenkins 4096 Jul 2 05:33 bin 05:35:41 drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 05:33 cmd 05:35:41 -rw-r--r-- 1 jenkins jenkins 24601 Jul 2 05:35 coverage.out 05:35:41 -rw-rw-r-- 1 jenkins jenkins 7241 Jul 2 05:33 go.mod 05:35:41 -rw-rw-r-- 1 jenkins jenkins 102291 Jul 2 05:33 go.sum 05:35:41 drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 05:33 internal 05:35:41 drwxrwxr-x 2 jenkins jenkins 4096 Jul 2 05:33 simulator 05:35:41 -rw-rw-r-- 1 jenkins jenkins 229 Jul 2 05:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:35:42 + 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=a9394f63f6c0c144b743431c16b8db4b3f15c990 --label arch=amd64 --label version=0.0.0 . 05:35:42 Sending build context to Docker daemon 17.86MB 05:35:42 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 05:35:42 Step 2/23 : FROM ${BASE} AS builder 05:35:42 ---> e2cae4008271 05:35:42 Step 3/23 : ARG ADD_BUILD_TAGS="" 05:35:42 ---> Running in 761a4c595f1c 05:35:42 Removing intermediate container 761a4c595f1c 05:35:42 ---> a4a1ea7f1af5 05:35:42 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:35:42 ---> Running in 8b5eb68508fa 05:35:42 Removing intermediate container 8b5eb68508fa 05:35:42 ---> a4a7c24d674c 05:35:42 Step 5/23 : RUN apk add --update --no-cache make git openssh 05:35:42 ---> Running in dafac7f9318f 05:35:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:35:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:35:43 OK: 270 MiB in 60 packages 05:35:43 Removing intermediate container dafac7f9318f 05:35:43 ---> 34cd0d18a994 05:35:43 Step 6/23 : WORKDIR /device-modbus-go 05:35:43 ---> Running in 3bc7e4130db8 05:35:43 Removing intermediate container 3bc7e4130db8 05:35:43 ---> 77298ce1b3c9 05:35:43 Step 7/23 : COPY go.mod vendor* ./ 05:35:43 ---> 6acf8081ad97 05:35:43 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:35:44 using credential edgex-jenkins-ssh 05:35:44 Cloning the remote Git repository 05:35:44 ---> Running in c14e55ca0150 05:35:44 Removing intermediate container c14e55ca0150 05:35:44 ---> 72cb556a61ce 05:35:44 Step 9/23 : COPY . . 05:35:44 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:35:44 > git init /w/workspace/device-modbus-go/1 # timeout=10 05:35:44 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:35:44 > git --version # timeout=10 05:35:44 > git --version # 'git version 2.25.1' 05:35:44 using GIT_SSH to set credentials SSH Credentials for GitHub 05:35:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:35:45 ---> a3d4a27af068 05:35:45 Step 10/23 : RUN ${MAKE} 05:35:45 ---> Running in cf2cff8a38b6 05:35:45 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.19" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 05:35:46 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:35:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:35:48 Merging remotes/origin/main commit f7c28725686cbfd62f6225fd09367d5909216c89 into PR head commit a9394f63f6c0c144b743431c16b8db4b3f15c990 05:35:49 Merge succeeded, producing a9394f63f6c0c144b743431c16b8db4b3f15c990 05:35:49 Checking out Revision a9394f63f6c0c144b743431c16b8db4b3f15c990 (PR-557) 05:35:48 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:35:48 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:35:48 using GIT_SSH to set credentials SSH Credentials for GitHub 05:35:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/557/head:refs/remotes/origin/PR-557 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:35:48 > git config core.sparsecheckout # timeout=10 05:35:48 > git checkout -f a9394f63f6c0c144b743431c16b8db4b3f15c990 # timeout=10 05:35:49 > git remote # timeout=10 05:35:49 > git config --get remote.origin.url # timeout=10 05:35:49 using GIT_SSH to set credentials SSH Credentials for GitHub 05:35:49 > git merge f7c28725686cbfd62f6225fd09367d5909216c89 # timeout=10 05:35:49 > git rev-parse HEAD^{commit} # timeout=10 05:35:49 > git config core.sparsecheckout # timeout=10 05:35:49 > git checkout -f a9394f63f6c0c144b743431c16b8db4b3f15c990 # timeout=10 05:35:49 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 05:35:49 > git --version # timeout=10 05:35:49 > git --version # 'git version 2.25.1' 05:35:49 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:35:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:35:54 % Total % Received % Xferd Average Speed Time Time Time Current 05:35:54 Dload Upload Total Spent Left Speed 05:35:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 94323 0 --:--:-- --:--:-- --:--:-- 95022 [Pipeline] sh 05:35:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:35:55 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 05:35:55 /etc/docker/daemon.json 05:35:55 { 05:35:55 "registry-mirrors": [ 05:35:55 "https://nexus3.edgexfoundry.org:10001" 05:35:55 ], 05:35:55 "bip": "10.250.0.254/24", 05:35:55 "hosts": [ 05:35:55 "tcp://0.0.0.0:5555", 05:35:55 "unix:///var/run/docker.sock" 05:35:55 ], 05:35:55 "mtu": 1458, 05:35:55 "selinux-enabled": true, 05:35:55 "seccomp-profile": "/etc/docker/seccomp.json" 05:35:55 } [Pipeline] sh 05:35:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:35:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:36:14 provisioning config files... 05:36:14 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config16876930239280086424tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:36:15 ---> ****-login.sh 05:36:15 nexus3.edgexfoundry.org:10001 05:36:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:36:15 Configure a credential helper to remove this warning. See 05:36:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:36:15 05:36:15 Login Succeeded 05:36:15 nexus3.edgexfoundry.org:10002 05:36:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:36:15 Configure a credential helper to remove this warning. See 05:36:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:36:15 05:36:15 Login Succeeded 05:36:16 nexus3.edgexfoundry.org:10003 05:36:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:36:16 Configure a credential helper to remove this warning. See 05:36:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:36:16 05:36:16 Login Succeeded 05:36:16 nexus3.edgexfoundry.org:10004 05:36:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:36:16 Configure a credential helper to remove this warning. See 05:36:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:36:16 05:36:16 Login Succeeded 05:36:16 ****.io 05:36:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:36:17 Configure a credential helper to remove this warning. See 05:36:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:36:17 05:36:17 Login Succeeded 05:36:17 ---> ****-login.sh ends [Pipeline] } 05:36:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:36:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:36:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:36:17 Removing intermediate container cf2cff8a38b6 05:36:17 ---> 733f00910aa2 05:36:17 Step 11/23 : FROM alpine:3.18 05:36:17 3.18: Pulling from library/alpine 05:36:17 73baa7ef167e: Pulling fs layer 05:36:17 73baa7ef167e: Verifying Checksum 05:36:17 73baa7ef167e: Download complete 05:36:17 73baa7ef167e: Pull complete 05:36:17 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 05:36:17 Status: Downloaded newer image for alpine:3.18 05:36:17 ---> 8fd7cac70a4a 05:36:17 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:36:17 ---> Running in 7a50b42cd445 05:36:17 Removing intermediate container 7a50b42cd445 05:36:17 ---> 8bb38373db10 05:36:17 Step 13/23 : RUN apk add --update --no-cache dumb-init 05:36:17 ---> Running in 8b02d2320cf2 05:36:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:36:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:36:17 (1/1) Installing dumb-init (1.2.5-r2) 05:36:17 Executing busybox-1.36.1-r7.trigger 05:36:17 OK: 7 MiB in 16 packages 05:36:17 Removing intermediate container 8b02d2320cf2 05:36:17 ---> 5b7de92a0780 05:36:17 Step 14/23 : RUN apk --no-cache upgrade 05:36:17 ---> Running in f9954e729baa 05:36:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:36:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:36:17 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 05:36:17 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 05:36:17 OK: 7 MiB in 16 packages 05:36:17 Removing intermediate container f9954e729baa 05:36:17 ---> ebfc2ac2b846 05:36:17 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:36:17 ---> 4d3a407e1dc1 05:36:17 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:36:17 ---> 77fae121eaf3 05:36:17 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:36:17 ---> a0174528b342 05:36:17 Step 18/23 : EXPOSE 59901 05:36:17 ---> Running in a2033d9a8051 05:36:17 Removing intermediate container a2033d9a8051 05:36:17 ---> d72802d14d50 05:36:17 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:36:17 ---> Running in 2edb361290af 05:36:17 Removing intermediate container 2edb361290af 05:36:17 ---> 7e40198e48e2 05:36:17 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:36:17 ========================================================= 05:36:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 05:36:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 05:36:18 ---> Running in 452138801ba1 05:36:18 Removing intermediate container 452138801ba1 05:36:18 ---> 1e6db4dbbeab 05:36:18 Step 21/23 : LABEL arch=amd64 05:36:18 ---> Running in c77439ef50a8 05:36:18 Removing intermediate container c77439ef50a8 05:36:18 ---> 5d200208a722 05:36:18 Step 22/23 : LABEL git_sha=a9394f63f6c0c144b743431c16b8db4b3f15c990 [Pipeline] sh 05:36:18 ---> Running in 4c168f80f4fe 05:36:18 Removing intermediate container 4c168f80f4fe 05:36:18 ---> fd9bb28cf291 05:36:18 Step 23/23 : LABEL version=0.0.0 05:36:18 ---> Running in 62cc342a0e91 05:36:18 Removing intermediate container 62cc342a0e91 05:36:18 ---> 67c6206a0aa4 05:36:18 [Warning] One or more build-args [ARCH] were not consumed 05:36:18 Successfully built 67c6206a0aa4 05:36:18 Successfully tagged device-modbus:latest [Pipeline] } 05:36:18 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional 05:36:18 Sending build context to Docker daemon 9.054MB [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } 05:36:18 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:36:18 Step 2/10 : FROM ${BASE} AS builder 05:36:18 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:36:18 c6b39de5b339: Pulling fs layer 05:36:18 a69c41024577: Pulling fs layer 05:36:18 d6de4b400683: Pulling fs layer 05:36:18 35cb2a7552d0: Pulling fs layer 05:36:18 4f4fb700ef54: Pulling fs layer 05:36:18 464afbd9ba4c: Pulling fs layer 05:36:18 00f215d4a9da: Pulling fs layer 05:36:18 d496ad576159: Pulling fs layer 05:36:18 4f4fb700ef54: Waiting 05:36:18 464afbd9ba4c: Waiting 05:36:18 00f215d4a9da: Waiting 05:36:18 d496ad576159: Waiting 05:36:18 35cb2a7552d0: Waiting 05:36:18 a69c41024577: Verifying Checksum 05:36:18 a69c41024577: Download complete 05:36:18 35cb2a7552d0: Verifying Checksum 05:36:18 35cb2a7552d0: Download complete 05:36:18 4f4fb700ef54: Verifying Checksum 05:36:18 4f4fb700ef54: Download complete [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:19 464afbd9ba4c: Verifying Checksum 05:36:19 464afbd9ba4c: Download complete 05:36:19 c6b39de5b339: Download complete 05:36:19 d496ad576159: Verifying Checksum 05:36:19 d496ad576159: Download complete 05:36:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:36:19 05:36:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:36:19 latest: Pulling from edgex-lftools-log-publisher 05:36:19 5eb5b503b376: Pulling fs layer 05:36:19 5c69ac0246d0: Pulling fs layer 05:36:19 ec43610c2a17: Pulling fs layer 05:36:19 3a2ae6a8a46f: Pulling fs layer 05:36:19 33b1e0a273af: Pulling fs layer 05:36:19 5d3b04190fa2: Pulling fs layer 05:36:19 2f39f015ded8: Pulling fs layer 05:36:19 3a2ae6a8a46f: Waiting 05:36:19 33b1e0a273af: Waiting 05:36:19 5d3b04190fa2: Waiting 05:36:19 2f39f015ded8: Waiting 05:36:19 5c69ac0246d0: Verifying Checksum 05:36:19 5c69ac0246d0: Download complete 05:36:19 3a2ae6a8a46f: Verifying Checksum 05:36:19 3a2ae6a8a46f: Download complete 05:36:19 33b1e0a273af: Verifying Checksum 05:36:19 33b1e0a273af: Download complete 05:36:19 5d3b04190fa2: Download complete 05:36:19 ec43610c2a17: Verifying Checksum 05:36:19 ec43610c2a17: Download complete 05:36:20 c6b39de5b339: Pull complete 05:36:20 5eb5b503b376: Verifying Checksum 05:36:20 5eb5b503b376: Download complete 05:36:20 a69c41024577: Pull complete 05:36:20 2f39f015ded8: Verifying Checksum 05:36:20 2f39f015ded8: Download complete 05:36:20 d6de4b400683: Verifying Checksum 05:36:20 d6de4b400683: Download complete 05:36:21 5eb5b503b376: Pull complete 05:36:21 5c69ac0246d0: Pull complete 05:36:21 ec43610c2a17: Pull complete 05:36:21 3a2ae6a8a46f: Pull complete 05:36:21 00f215d4a9da: Verifying Checksum 05:36:21 00f215d4a9da: Download complete 05:36:22 33b1e0a273af: Pull complete 05:36:22 5d3b04190fa2: Pull complete 05:36:26 2f39f015ded8: Pull complete 05:36:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:36:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:36:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:36:26 prd-ubuntu20.04-docker-8c-8g-4769 does not seem to be running inside a container 05:36:26 $ 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-557 -v /w/workspace/xfoundry_device-modbus-go_PR-557:/w/workspace/xfoundry_device-modbus-go_PR-557:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-557@tmp:/w/workspace/xfoundry_device-modbus-go_PR-557@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-lftools-log-publisher:latest cat 05:36:29 $ docker top 2941b2547ade5dcf677f8248734671b303e1d5c24b20be897cde62963befb68e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:36:29 ---> job-cost.sh 05:36:29 lf-activate-venv: SKIPPING 05:36:29 INFO: No Stack... 05:36:29 INFO: Retrieving Pricing Info for: v3-standard-8 05:36:30 INFO: Archiving Costs [Pipeline] sh 05:36:30 + cat /w/workspace/xfoundry_device-modbus-go_PR-557/archives/cost.csv 05:36:30 + cut -d, -f6 [Pipeline] lock 05:36:30 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-557-1-stack-cost] 05:36:30 Resource [jenkins-edgexfoundry-device-modbus-go-PR-557-1-stack-cost] did not exist. Created. 05:36:30 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-557-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:36:31 + echo total: 0.2199999988079071 [Pipeline] stash 05:36:31 Stashed 1 file(s) [Pipeline] } 05:36:31 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-557-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:36:31 $ docker stop --time=1 2941b2547ade5dcf677f8248734671b303e1d5c24b20be897cde62963befb68e 05:36:32 $ docker rm -f --volumes 2941b2547ade5dcf677f8248734671b303e1d5c24b20be897cde62963befb68e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:36:34 d6de4b400683: Pull complete 05:36:34 35cb2a7552d0: Pull complete 05:36:34 4f4fb700ef54: Pull complete 05:36:34 464afbd9ba4c: Pull complete 05:36:44 00f215d4a9da: Pull complete 05:36:44 d496ad576159: Pull complete 05:36:44 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 05:36:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 05:36:44 ---> f246e2811388 05:36:44 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:36:45 ---> Running in 21850fcf1be4 05:36:46 Removing intermediate container 21850fcf1be4 05:36:46 ---> 9d2fcc4f44f5 05:36:46 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:36:46 ---> Running in aecec0964dd6 05:36:46 Removing intermediate container aecec0964dd6 05:36:46 ---> 9b0a45fb89e5 05:36:46 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:36:46 ---> Running in 1668152ef710 05:36:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:36:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:36:49 (1/8) Installing openssh-keygen (9.3_p2-r1) 05:36:49 (2/8) Installing libedit (20221030.3.1-r1) 05:36:49 (3/8) Installing openssh-client-common (9.3_p2-r1) 05:36:49 (4/8) Installing openssh-client-default (9.3_p2-r1) 05:36:49 (5/8) Installing openssh-sftp-server (9.3_p2-r1) 05:36:49 (6/8) Installing openssh-server-common (9.3_p2-r1) 05:36:49 (7/8) Installing openssh-server (9.3_p2-r1) 05:36:49 (8/8) Installing openssh (9.3_p2-r1) 05:36:49 Executing busybox-1.36.1-r5.trigger 05:36:49 OK: 272 MiB in 60 packages 05:36:50 Removing intermediate container 1668152ef710 05:36:50 ---> e00a4fe55924 05:36:50 Step 6/10 : WORKDIR /device-modbus-go 05:36:50 ---> Running in 2acec90f3ceb 05:36:51 Removing intermediate container 2acec90f3ceb 05:36:51 ---> 86d4a0766a1f 05:36:51 Step 7/10 : COPY go.mod vendor* ./ 05:36:51 ---> 263da2ce2da0 05:36:51 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:36:51 ---> Running in 7ad980c0d139 05:38:43 Removing intermediate container 7ad980c0d139 05:38:43 ---> 29379e3a2eac 05:38:43 Step 9/10 : COPY . . 05:38:43 ---> de687e231488 05:38:43 Step 10/10 : RUN ${MAKE} 05:38:43 ---> Running in 7afc39b0f672 05:38:43 noop 05:38:43 Removing intermediate container 7afc39b0f672 05:38:43 ---> c86684a0e146 05:38:43 Successfully built c86684a0e146 05:38:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:38:44 + docker inspect -f . ci-base-image-arm64 05:38:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:38:44 prd-ubuntu20.04-docker-arm64-4c-16g-4771 does not seem to be running inside a container 05:38:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@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 ******** ci-base-image-arm64 cat 05:38:45 $ docker top 81e552b8db017510045020699611114206e4f6ddafe676054716d4fc653def88 -eo pid,comm [Pipeline] { [Pipeline] sh 05:38:46 + go version 05:38:46 go version go1.21.9 linux/arm64 [Pipeline] } 05:38:46 $ docker stop --time=1 81e552b8db017510045020699611114206e4f6ddafe676054716d4fc653def88 05:38:48 $ docker rm -f --volumes 81e552b8db017510045020699611114206e4f6ddafe676054716d4fc653def88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:38:49 + docker inspect -f . ci-base-image-arm64 05:38:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:38:49 prd-ubuntu20.04-docker-arm64-4c-16g-4771 does not seem to be running inside a container 05:38:49 $ 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/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@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 ******** ci-base-image-arm64 cat 05:38:50 $ docker top 544cef696c8a0cbe460adf6f2f8c543492acbb4eafe5af3595a73d5ed387068b -eo pid,comm [Pipeline] { [Pipeline] sh 05:38:51 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 05:38:51 + make test 05:38:51 go test ./... -coverprofile=coverage.out 05:38:58 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:42:05 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:42:07 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.057s coverage: 47.9% of statements 05:42:08 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:42:08 go vet ./... 05:42:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:42:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:42:55 ./bin/test-attribution-txt.sh 05:42:55 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 05:42:55 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 05:42:55 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 05:42:55 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 05:42:55 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 05:42:55 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 05:42:55 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 05:42:55 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 05:42:55 An attribution for golang.org/x/term is missing from Attribution.txt, please add 05:42:55 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 05:42:55 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 05:42:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:42:55 $ docker stop --time=1 544cef696c8a0cbe460adf6f2f8c543492acbb4eafe5af3595a73d5ed387068b 05:42:57 $ docker rm -f --volumes 544cef696c8a0cbe460adf6f2f8c543492acbb4eafe5af3595a73d5ed387068b [Pipeline] // withDockerContainer [Pipeline] sh 05:42:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:42:58 Warning: overwriting stash ‘coverage-report’ 05:42:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:43:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:43:00 + ls -al . 05:43:00 total 260 05:43:00 drwxrwxr-x 8 jenkins jenkins 4096 Jul 2 05:38 . 05:43:00 drwxrwxr-x 4 jenkins jenkins 4096 Jul 2 05:35 .. 05:43:00 -rw-rw-r-- 1 jenkins jenkins 140 Jul 2 05:35 .dockerignore 05:43:00 drwxrwxr-x 8 jenkins jenkins 4096 Jul 2 05:35 .git 05:43:00 drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 05:35 .github 05:43:00 -rw-rw-r-- 1 jenkins jenkins 266 Jul 2 05:35 .gitignore 05:43:00 -rw-rw-r-- 1 jenkins jenkins 41 Jul 2 05:35 .golangci.yml 05:43:00 -rw-rw-r-- 1 jenkins jenkins 11101 Jul 2 05:35 Attribution.txt 05:43:00 -rw-rw-r-- 1 jenkins jenkins 16388 Jul 2 05:35 CHANGELOG.md 05:43:00 -rw-rw-r-- 1 jenkins jenkins 1474 Jul 2 05:35 Dockerfile 05:43:00 -rw-rw-r-- 1 jenkins jenkins 677 Jul 2 05:35 GOVERNANCE.md 05:43:00 -rw-rw-r-- 1 jenkins jenkins 658 Jul 2 05:35 Jenkinsfile 05:43:00 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 2 05:35 LICENSE 05:43:00 -rw-rw-r-- 1 jenkins jenkins 1942 Jul 2 05:35 Makefile 05:43:00 -rw-rw-r-- 1 jenkins jenkins 622 Jul 2 05:35 OWNERS.md 05:43:00 -rw-rw-r-- 1 jenkins jenkins 4463 Jul 2 05:35 README.md 05:43:00 -rw-rw-r-- 1 jenkins jenkins 5 Jul 2 05:33 VERSION 05:43:00 drwxrwxr-x 2 jenkins jenkins 4096 Jul 2 05:35 bin 05:43:00 drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 05:35 cmd 05:43:00 -rw-r--r-- 1 jenkins jenkins 24601 Jul 2 05:42 coverage.out 05:43:00 -rw-rw-r-- 1 jenkins jenkins 7241 Jul 2 05:35 go.mod 05:43:00 -rw-rw-r-- 1 jenkins jenkins 102291 Jul 2 05:35 go.sum 05:43:00 drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 05:35 internal 05:43:00 drwxrwxr-x 2 jenkins jenkins 4096 Jul 2 05:35 simulator 05:43:00 -rw-rw-r-- 1 jenkins jenkins 229 Jul 2 05:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:43:00 + 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=a9394f63f6c0c144b743431c16b8db4b3f15c990 --label arch=arm64 --label version=0.0.0 . 05:43:01 Sending build context to Docker daemon 9.079MB 05:43:01 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 05:43:01 Step 2/23 : FROM ${BASE} AS builder 05:43:01 ---> c86684a0e146 05:43:01 Step 3/23 : ARG ADD_BUILD_TAGS="" 05:43:01 ---> Running in f65565bfd189 05:43:01 Removing intermediate container f65565bfd189 05:43:01 ---> eff089a7cbfc 05:43:01 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:43:01 ---> Running in 006462a101ef 05:43:02 Removing intermediate container 006462a101ef 05:43:02 ---> f3ee19c04d07 05:43:02 Step 5/23 : RUN apk add --update --no-cache make git openssh 05:43:02 ---> Running in d2a3ea96ebfa 05:43:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:43:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:43:04 OK: 272 MiB in 60 packages 05:43:05 Removing intermediate container d2a3ea96ebfa 05:43:05 ---> 0a485c3a709d 05:43:05 Step 6/23 : WORKDIR /device-modbus-go 05:43:05 ---> Running in 267d92e97936 05:43:05 Removing intermediate container 267d92e97936 05:43:05 ---> 4eb30cc0fc4f 05:43:05 Step 7/23 : COPY go.mod vendor* ./ 05:43:06 ---> 78aefdcf1f56 05:43:06 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:43:06 ---> Running in 5aeb95db3069 05:43:08 Removing intermediate container 5aeb95db3069 05:43:08 ---> 2da5a59ddbd4 05:43:08 Step 9/23 : COPY . . 05:43:09 ---> d7a51547c950 05:43:09 Step 10/23 : RUN ${MAKE} 05:43:09 ---> Running in 54ba12d4af55 05:43:10 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.19" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 05:46:32 Removing intermediate container 54ba12d4af55 05:46:32 ---> 63297540ea76 05:46:32 Step 11/23 : FROM alpine:3.18 05:46:32 3.18: Pulling from library/alpine 05:46:32 5c905c7ebe2f: Pulling fs layer 05:46:32 5c905c7ebe2f: Verifying Checksum 05:46:32 5c905c7ebe2f: Download complete 05:46:32 5c905c7ebe2f: Pull complete 05:46:32 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 05:46:32 Status: Downloaded newer image for alpine:3.18 05:46:32 ---> dec292d02e07 05:46:32 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:46:32 ---> Running in ac08d560afaf 05:46:32 Removing intermediate container ac08d560afaf 05:46:32 ---> b8f41fb11d91 05:46:32 Step 13/23 : RUN apk add --update --no-cache dumb-init 05:46:32 ---> Running in aed944812fe4 05:46:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:46:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:46:32 (1/1) Installing dumb-init (1.2.5-r2) 05:46:32 Executing busybox-1.36.1-r7.trigger 05:46:32 OK: 8 MiB in 16 packages 05:46:32 Removing intermediate container aed944812fe4 05:46:32 ---> 908e737f9e13 05:46:32 Step 14/23 : RUN apk --no-cache upgrade 05:46:32 ---> Running in ba577c8ea5c1 05:46:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:46:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:46:32 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 05:46:32 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 05:46:32 OK: 8 MiB in 16 packages 05:46:33 Removing intermediate container ba577c8ea5c1 05:46:33 ---> f4eaca0edd29 05:46:33 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:46:34 ---> d308b6b29bd6 05:46:34 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:46:35 ---> aa5b32e3bc50 05:46:35 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:46:35 ---> 3fa3f2f3d13e 05:46:35 Step 18/23 : EXPOSE 59901 05:46:35 ---> Running in ec4ad462345b 05:46:36 Removing intermediate container ec4ad462345b 05:46:36 ---> f0d40ca33083 05:46:36 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:46:36 ---> Running in e9ec74d8c461 05:46:36 Removing intermediate container e9ec74d8c461 05:46:36 ---> a81090d4b80b 05:46:36 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:46:36 ---> Running in 3a129c62cb67 05:46:37 Removing intermediate container 3a129c62cb67 05:46:37 ---> 39fdc9583833 05:46:37 Step 21/23 : LABEL arch=arm64 05:46:37 ---> Running in b87ed84274cc 05:46:37 Removing intermediate container b87ed84274cc 05:46:37 ---> 7696c5410728 05:46:37 Step 22/23 : LABEL git_sha=a9394f63f6c0c144b743431c16b8db4b3f15c990 05:46:37 ---> Running in c2d348e38a61 05:46:38 Removing intermediate container c2d348e38a61 05:46:38 ---> b4390c1c7c32 05:46:38 Step 23/23 : LABEL version=0.0.0 05:46:38 ---> Running in e5657a58d468 05:46:38 Removing intermediate container e5657a58d468 05:46:38 ---> 3d3770d52ca6 05:46:38 [Warning] One or more build-args [ARCH] were not consumed 05:46:38 Successfully built 3d3770d52ca6 05:46:38 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 05:46:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:46:39 05:46:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:46:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:46:39 arm64: Pulling from edgex-lftools-log-publisher 05:46:39 8998bd30e6a1: Pulling fs layer 05:46:39 04944245beec: Pulling fs layer 05:46:39 699f458cf7ca: Pulling fs layer 05:46:39 765212b225bb: Pulling fs layer 05:46:39 f23df028b6ca: Pulling fs layer 05:46:39 d65c8cfc05b1: Pulling fs layer 05:46:39 2437ff75d9bd: Pulling fs layer 05:46:39 765212b225bb: Waiting 05:46:39 f23df028b6ca: Waiting 05:46:39 d65c8cfc05b1: Waiting 05:46:39 2437ff75d9bd: Waiting 05:46:39 04944245beec: Verifying Checksum 05:46:39 04944245beec: Download complete 05:46:39 765212b225bb: Verifying Checksum 05:46:39 765212b225bb: Download complete 05:46:39 f23df028b6ca: Verifying Checksum 05:46:39 f23df028b6ca: Download complete 05:46:39 d65c8cfc05b1: Verifying Checksum 05:46:39 d65c8cfc05b1: Download complete 05:46:39 699f458cf7ca: Verifying Checksum 05:46:39 699f458cf7ca: Download complete 05:46:40 8998bd30e6a1: Download complete 05:46:43 2437ff75d9bd: Download complete 05:46:44 8998bd30e6a1: Pull complete 05:46:45 04944245beec: Pull complete 05:46:46 699f458cf7ca: Pull complete 05:46:47 765212b225bb: Pull complete 05:46:48 f23df028b6ca: Pull complete 05:46:48 d65c8cfc05b1: Pull complete 05:47:06 2437ff75d9bd: Pull complete 05:47:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:47:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:47:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:47:06 prd-ubuntu20.04-docker-arm64-4c-16g-4771 does not seem to be running inside a container 05:47:06 $ 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/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@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-lftools-log-publisher:arm64 cat 05:47:09 $ docker top f1be967e9bcbf354f8a33b898fc0f5667f8025e9a8bb200ec92aabac4dca24c1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:47:10 ---> job-cost.sh 05:47:10 lf-activate-venv: SKIPPING 05:47:10 INFO: No Stack... 05:47:10 INFO: Retrieving Pricing Info for: v3-standard-4 05:47:11 INFO: Archiving Costs [Pipeline] sh 05:47:12 + cut -d, -f6 05:47:12 + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock 05:47:12 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-557-1-stack-cost] 05:47:12 Resource [jenkins-edgexfoundry-device-modbus-go-PR-557-1-stack-cost] did not exist. Created. 05:47:12 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-557-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:47:13 /w/workspace/device-modbus-go/1@tmp/durable-7db85684/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:47:13 + echo total: 0.10999999940395355 [Pipeline] stash 05:47:13 Warning: overwriting stash ‘stack-cost’ 05:47:13 Stashed 1 file(s) [Pipeline] } 05:47:13 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-557-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:47:13 $ docker stop --time=1 f1be967e9bcbf354f8a33b898fc0f5667f8025e9a8bb200ec92aabac4dca24c1 05:47:15 $ docker rm -f --volumes f1be967e9bcbf354f8a33b898fc0f5667f8025e9a8bb200ec92aabac4dca24c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:47:16 provisioning config files... 05:47:16 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-557@tmp/config15654492436052918738tmp [Pipeline] { [Pipeline] sh 05:47:16 + set +x 05:47:16 + bash -s -- 05:47:16 + curl -s https://codecov.io/bash 05:47:16 05:47:16 _____ _ 05:47:16 / ____| | | 05:47:16 | | ___ __| | ___ ___ _____ __ 05:47:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:47:16 | |___| (_) | (_| | __/ (_| (_) \ V / 05:47:16 \_____\___/ \__,_|\___|\___\___/ \_/ 05:47:16 Bash-1.0.6 05:47:16 05:47:16 05:47:16 ==> git version 2.25.1 found 05:47:16 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:47:16 Release-Date: 2020-01-08 05:47:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:47:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:47:16 ==> Jenkins CI detected. 05:47:16 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-557 05:47:16 project root: . 05:47:16 --> token set from env 05:47:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:47:17 ==> Running gcov in . (disable via -X gcov) 05:47:17 ==> Python coveragepy not found 05:47:17 ==> Searching for coverage reports in: 05:47:17 + . 05:47:17 -> Found 1 reports 05:47:17 ==> Detecting git/mercurial file structure 05:47:17 ==> Reading reports 05:47:17 + ./coverage.out bytes=24601 05:47:17 ==> Appending adjustments 05:47:17 https://docs.codecov.io/docs/fixing-reports 05:47:17 + Found adjustments 05:47:17 ==> Gzipping contents 05:47:17 4.0K /tmp/codecov.ly0ZSZ.gz 05:47:17 ==> Uploading reports 05:47:17 url: https://codecov.io 05:47:17 query: branch=PR-557&commit=a9394f63f6c0c144b743431c16b8db4b3f15c990&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-557%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=557&job=&cmd_args= 05:47:17 -> Pinging Codecov 05:47:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-557&commit=a9394f63f6c0c144b743431c16b8db4b3f15c990&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-557%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=557&job=&cmd_args= 05:47:17 -> Uploading to 05:47:17 https://storage.googleapis.com/codecov/v4/raw/2024-07-02/55DBCA73C666E3227836607328DD7E49/a9394f63f6c0c144b743431c16b8db4b3f15c990/8c0e8759-635b-4200-82d6-5971fd95323c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240702%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240702T054717Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d1e74a67ac28b6db8d4e56210052daa1c812d05e1fcc0e039bd0ff4bd8ee8580 05:47:17 % Total % Received % Xferd Average Speed Time Time Time Current 05:47:17 Dload Upload Total Spent Left Speed 05:47:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 16708 --:--:-- --:--:-- --:--:-- 16708 05:47:17 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/a9394f63f6c0c144b743431c16b8db4b3f15c990 [Pipeline] } 05:47:17 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 05:47:19 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-557/archives ] 05:47:19 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-557/archives 05:47:19 total 16 05:47:19 drwxr-xr-x 3 root root 4096 Jul 2 05:36 . 05:47:19 drwxrwxr-x 10 jenkins jenkins 4096 Jul 2 05:36 .. 05:47:19 drwxr-xr-x 2 root root 4096 Jul 2 05:36 cost 05:47:19 -rw-r--r-- 1 root root 88 Jul 2 05:36 cost.csv 05:47:19 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-557/archives 05:47:19 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-557/archives 05:47:19 total 16 05:47:19 drwxr-xr-x 3 jenkins jenkins 4096 Jul 2 05:36 . 05:47:19 drwxrwxr-x 10 jenkins jenkins 4096 Jul 2 05:36 .. 05:47:19 drwxr-xr-x 2 jenkins jenkins 4096 Jul 2 05:36 cost 05:47:19 -rw-r--r-- 1 jenkins jenkins 88 Jul 2 05:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:47:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:47:21 ---> package-listing.sh 05:47:21 ++ tr '[:upper:]' '[:lower:]' 05:47:21 ++ facter osfamily 05:47:21 + OS_FAMILY=debian 05:47:21 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-557 05:47:21 + START_PACKAGES=/tmp/packages_start.txt 05:47:21 + END_PACKAGES=/tmp/packages_end.txt 05:47:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:47:21 + PACKAGES=/tmp/packages_start.txt 05:47:21 + '[' /w/workspace/xfoundry_device-modbus-go_PR-557 ']' 05:47:21 + PACKAGES=/tmp/packages_end.txt 05:47:21 + case "${OS_FAMILY}" in 05:47:21 + dpkg -l 05:47:21 + grep '^ii' 05:47:21 + '[' -f /tmp/packages_start.txt ']' 05:47:21 + '[' -f /tmp/packages_end.txt ']' 05:47:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:47:21 + '[' /w/workspace/xfoundry_device-modbus-go_PR-557 ']' 05:47:21 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-557/archives/ 05:47:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-557/archives/ [Pipeline] echo 05:47:21 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-557/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:47:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:47:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:47:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:47:22 prd-ubuntu20.04-docker-8c-8g-4769 does not seem to be running inside a container 05:47:22 $ 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-557/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-557 -v /w/workspace/xfoundry_device-modbus-go_PR-557:/w/workspace/xfoundry_device-modbus-go_PR-557:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-557@tmp:/w/workspace/xfoundry_device-modbus-go_PR-557@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:47:22 $ docker top b942a46aaac72822d5c5020a992e1ab4948b76f2aaf7b4f9fab12db51d718103 -eo pid,comm [Pipeline] { [Pipeline] sh 05:47:23 + touch /tmp/pre-build-complete [Pipeline] sh 05:47:23 + mkdir -p /var/log/sysstat [Pipeline] sh 05:47:23 + ls /var/log/sa-host 05:47:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:47:24 provisioning config files... 05:47:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-557@tmp/config4517253690403811559tmp [Pipeline] { [Pipeline] echo 05:47:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:47:24 ---> create-netrc.sh [Pipeline] } 05:47:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:47:25 ---> python-tools-install.sh [Pipeline] echo 05:47:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:47:25 ---> sudo-logs.sh 05:47:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:47:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:47:25 ---> job-cost.sh 05:47:25 lf-activate-venv: SKIPPING 05:47:25 DEBUG: total: 0.2199999988079071 05:47:25 INFO: Retrieving Stack Cost... 05:47:26 INFO: Retrieving Pricing Info for: v3-standard-8 05:47:26 INFO: Archiving Costs [Pipeline] echo 05:47:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:47:26 ---> logs-deploy.sh 05:47:26 lf-activate-venv: SKIPPING 05:47:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-557/1 05:47:26 INFO: archiving workspace using pattern(s): 05:47:27 Archives upload complete. 05:47:27 INFO: archiving logs to Nexus