Pull request #553 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6b3cf952463bd39915f099284793de5e65115ca1+6ffd961e50bad5aafcddb961eadc768a2e323cba (905b08d25625e2cfe8b88232ce323ae57ebb0074) 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-ssh2308465690586515822.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-ssh15660820937249468475.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-553/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-553/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16012519768951666683.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-553/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2981162910705392900.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-ssh9170537977762761369.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-553/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-553/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8510868772303769092.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-1009 in /w/workspace/xfoundry_device-modbus-go_PR-553 [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-553 # 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/553/head:refs/remotes/origin/PR-553 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6ffd961e50bad5aafcddb961eadc768a2e323cba into PR head commit 6b3cf952463bd39915f099284793de5e65115ca1 Merge succeeded, producing 6b3cf952463bd39915f099284793de5e65115ca1 Checking out Revision 6b3cf952463bd39915f099284793de5e65115ca1 (PR-553) 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 6b3cf952463bd39915f099284793de5e65115ca1 # 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 6ffd961e50bad5aafcddb961eadc768a2e323cba # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6b3cf952463bd39915f099284793de5e65115ca1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:22:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:22:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:22:44 ========================================================= 05:22:44 EdgeX Global Pipelines Version Info 05:22:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:22:45 ------------------- 05:22:45 stable info: 05:22:45 ------------------- 05:22:45 Commited By: Ginny Guan ginny@iotechsys.com 05:22:45 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 05:22:45 Message: update stable to v1.0.260 05:22:46 ------------------- 05:22:46 experimental info: 05:22:46 ------------------- 05:22:46 Commited By: Ginny Guan ginny@iotechsys.com 05:22:46 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 05:22:46 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:22:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:22:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:22:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:22:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:22:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:22:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:22:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:22:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:22:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:22:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:22:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:22:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:22:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:22:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:22:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:22:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-553 [Pipeline] echo 05:22:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-553 [Pipeline] echo 05:22:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-553 [Pipeline] echo 05:22:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6b3cf952463bd39915f099284793de5e65115ca1 [Pipeline] echo 05:22:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6b3cf95 [Pipeline] echo 05:22:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:22:48 provisioning config files... 05:22:48 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-553@tmp/config17919182690204304182tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:22:49 ---> ****-login.sh 05:22:49 nexus3.edgexfoundry.org:10001 05:22:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:22:49 Configure a credential helper to remove this warning. See 05:22:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:22:49 05:22:49 Login Succeeded 05:22:49 nexus3.edgexfoundry.org:10002 05:22:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:22:49 Configure a credential helper to remove this warning. See 05:22:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:22:49 05:22:49 Login Succeeded 05:22:49 nexus3.edgexfoundry.org:10003 05:22:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:22:49 Configure a credential helper to remove this warning. See 05:22:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:22:49 05:22:49 Login Succeeded 05:22:49 nexus3.edgexfoundry.org:10004 05:22:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:22:49 Configure a credential helper to remove this warning. See 05:22:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:22:49 05:22:49 Login Succeeded 05:22:49 ****.io 05:22:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:22:50 Configure a credential helper to remove this warning. See 05:22:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:22:50 05:22:50 Login Succeeded 05:22:50 ---> ****-login.sh ends [Pipeline] } 05:22:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:22:50 + git rev-list -1 --merges 6b3cf952463bd39915f099284793de5e65115ca1~1..6b3cf952463bd39915f099284793de5e65115ca1 [Pipeline] echo 05:22:50 -----------> git rev-list -1 --merges 6b3cf952463bd39915f099284793de5e65115ca1~1..6b3cf952463bd39915f099284793de5e65115ca1 6b3cf952463bd39915f099284793de5e65115ca1 [false] [Pipeline] sh 05:22:51 + git log --format=format:%s -1 6b3cf952463bd39915f099284793de5e65115ca1 [Pipeline] echo 05:22:51 ========================================================= 05:22:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:22:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:22:51 + git log --format=format:%s -1 6b3cf952463bd39915f099284793de5e65115ca1 [Pipeline] echo 05:22:51 [semverPrep] GIT_COMMIT: 6b3cf952463bd39915f099284793de5e65115ca1, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:22:51 [semverPrep] This is not a build commit. [Pipeline] sh 05:22:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:22:52 + grep -v github /etc/ssh/ssh_known_hosts 05:22:52 + [ -e /tmp/ssh_known_hosts ] 05:22:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:22:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:22:52 + sudo tee -a /etc/ssh/ssh_known_hosts 05:22:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:22:52 05:22:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:22:53 0.1.4: Pulling from edgex-devops/py-git-semver 05:22:53 b85a868b505f: Pulling fs layer 05:22:53 e2be974225ed: Pulling fs layer 05:22:53 339a4e72a1f5: Pulling fs layer 05:22:53 988bab9f4d93: Pulling fs layer 05:22:53 1469e6f7b9e6: Pulling fs layer 05:22:53 eaf3925da568: Pulling fs layer 05:22:53 bab4dde63d76: Pulling fs layer 05:22:53 bde34c3a00c8: Pulling fs layer 05:22:53 b352a97aabf1: Pulling fs layer 05:22:53 4872d77fe225: Pulling fs layer 05:22:53 988bab9f4d93: Waiting 05:22:53 1469e6f7b9e6: Waiting 05:22:53 bde34c3a00c8: Waiting 05:22:53 b352a97aabf1: Waiting 05:22:53 4872d77fe225: Waiting 05:22:53 5851b861e8e6: Pulling fs layer 05:22:53 5851b861e8e6: Waiting 05:22:53 e2be974225ed: Download complete 05:22:53 988bab9f4d93: Download complete 05:22:53 1469e6f7b9e6: Verifying Checksum 05:22:53 1469e6f7b9e6: Download complete 05:22:53 339a4e72a1f5: Verifying Checksum 05:22:53 339a4e72a1f5: Download complete 05:22:53 eaf3925da568: Verifying Checksum 05:22:53 eaf3925da568: Download complete 05:22:53 bde34c3a00c8: Verifying Checksum 05:22:53 bde34c3a00c8: Download complete 05:22:53 b352a97aabf1: Verifying Checksum 05:22:53 b352a97aabf1: Download complete 05:22:53 4872d77fe225: Verifying Checksum 05:22:53 4872d77fe225: Download complete 05:22:53 5851b861e8e6: Download complete 05:22:53 b85a868b505f: Verifying Checksum 05:22:53 b85a868b505f: Download complete 05:22:53 bab4dde63d76: Verifying Checksum 05:22:53 bab4dde63d76: Download complete 05:22:54 b85a868b505f: Pull complete 05:22:54 e2be974225ed: Pull complete 05:22:55 339a4e72a1f5: Pull complete 05:22:55 988bab9f4d93: Pull complete 05:22:55 1469e6f7b9e6: Pull complete 05:22:55 eaf3925da568: Pull complete 05:22:57 bab4dde63d76: Pull complete 05:22:57 bde34c3a00c8: Pull complete 05:22:57 b352a97aabf1: Pull complete 05:22:57 4872d77fe225: Pull complete 05:22:57 5851b861e8e6: Pull complete 05:22:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:22:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:22:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:22:58 prd-ubuntu20.04-docker-8c-8g-1009 does not seem to be running inside a container 05:22:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-553 -v /w/workspace/xfoundry_device-modbus-go_PR-553:/w/workspace/xfoundry_device-modbus-go_PR-553:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-553@tmp:/w/workspace/xfoundry_device-modbus-go_PR-553@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:22:59 $ docker top 4dbbd32aa6831a918f96c41b542192e9912305459b1073e194e4689bfe212fef -eo pid,comm 05:22:59 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:22:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:22:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:22:59 [ssh-agent] Looking for ssh-agent implementation... 05:23:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:22:59 $ docker exec 4dbbd32aa6831a918f96c41b542192e9912305459b1073e194e4689bfe212fef ssh-agent 05:23:00 SSH_AUTH_SOCK=/tmp/ssh-UE6pB6d40070/agent.32 05:23:00 SSH_AGENT_PID=38 05:23:00 Running ssh-add (command line suppressed) 05:23:00 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-553@tmp/private_key_16923454671362567234.key (/w/workspace/xfoundry_device-modbus-go_PR-553@tmp/private_key_16923454671362567234.key) 05:23:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:23:00 + git tag --points-at HEAD [Pipeline] } 05:23:00 $ docker exec --env ******** --env ******** 4dbbd32aa6831a918f96c41b542192e9912305459b1073e194e4689bfe212fef ssh-agent -k 05:23:00 unset SSH_AUTH_SOCK; 05:23:00 unset SSH_AGENT_PID; 05:23:00 echo Agent pid 38 killed; 05:23:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:23:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:23:00 [ssh-agent] Looking for ssh-agent implementation... 05:23:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:23:00 $ docker exec 4dbbd32aa6831a918f96c41b542192e9912305459b1073e194e4689bfe212fef ssh-agent 05:23:01 SSH_AUTH_SOCK=/tmp/ssh-9asyAR952mi8/agent.72 05:23:01 SSH_AGENT_PID=79 05:23:01 Running ssh-add (command line suppressed) 05:23:01 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-553@tmp/private_key_15332854552778438518.key (/w/workspace/xfoundry_device-modbus-go_PR-553@tmp/private_key_15332854552778438518.key) 05:23:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:23:01 + git semver init 05:23:01 2024-05-29 05:23:01,764 [run_init] DEBUG init version:0.0.0 force:False 05:23:01 2024-05-29 05:23:01,765 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-553/.semver 05:23:01 2024-05-29 05:23:01,766 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-553/.semver 05:23:01 2024-05-29 05:23:01,766 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-553/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-553, universal_newlines=False, shell=None, istream=None) 05:23:02 2024-05-29 05:23:02,729 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-553/.git/info/exclude 05:23:02 2024-05-29 05:23:02,729 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-553/.semver/PR-553 with force:False 05:23:02 2024-05-29 05:23:02,730 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-553/.semver/PR-553 05:23:02 2024-05-29 05:23:02,734 [execute] INFO git cat-file --batch-check 05:23:02 2024-05-29 05:23:02,735 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-553/.semver, universal_newlines=False, shell=None, istream=) 05:23:02 2024-05-29 05:23:02,741 [execute] INFO git cat-file --batch 05:23:02 2024-05-29 05:23:02,741 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-553/.semver, universal_newlines=False, shell=None, istream=) 05:23:02 2024-05-29 05:23:02,746 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-553/.semver/PR-553 05:23:02 0.0.0 [Pipeline] } 05:23:02 $ docker exec --env ******** --env ******** 4dbbd32aa6831a918f96c41b542192e9912305459b1073e194e4689bfe212fef ssh-agent -k 05:23:02 unset SSH_AUTH_SOCK; 05:23:02 unset SSH_AGENT_PID; 05:23:02 echo Agent pid 79 killed; 05:23:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:23:03 + git semver [Pipeline] } 05:23:03 $ docker stop --time=1 4dbbd32aa6831a918f96c41b542192e9912305459b1073e194e4689bfe212fef 05:23:05 $ docker rm -f --volumes 4dbbd32aa6831a918f96c41b542192e9912305459b1073e194e4689bfe212fef [Pipeline] // withDockerContainer [Pipeline] sh 05:23:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:23:05 Stashed 1 file(s) [Pipeline] echo 05:23:05 [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:23:06 provisioning config files... 05:23:06 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-553@tmp/config8348978969518668421tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:23:06 ---> ****-login.sh 05:23:06 nexus3.edgexfoundry.org:10001 05:23:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:23:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:23:06 Configure a credential helper to remove this warning. See 05:23:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:23:06 05:23:06 Login Succeeded 05:23:06 nexus3.edgexfoundry.org:10002 05:23:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:23:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:23:06 Configure a credential helper to remove this warning. See 05:23:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:23:06 05:23:06 Login Succeeded 05:23:06 nexus3.edgexfoundry.org:10003 05:23:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:23:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:23:07 Configure a credential helper to remove this warning. See 05:23:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:23:07 05:23:07 Login Succeeded 05:23:07 nexus3.edgexfoundry.org:10004 05:23:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:23:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:23:07 Configure a credential helper to remove this warning. See 05:23:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:23:07 05:23:07 Login Succeeded 05:23:07 ****.io 05:23:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:23:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:23:07 Configure a credential helper to remove this warning. See 05:23:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:23:07 05:23:07 Login Succeeded 05:23:07 ---> ****-login.sh ends [Pipeline] } 05:23:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:23:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:23:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:23:07 ========================================================= 05:23:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 05:23:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:23:08 + 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:23:08 Sending build context to Docker daemon 17.7MB 05:23:08 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:23:08 Step 2/10 : FROM ${BASE} AS builder 05:23:08 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 05:23:08 619be1103602: Pulling fs layer 05:23:08 7862e08f4a3e: Pulling fs layer 05:23:08 5df492c9dc93: Pulling fs layer 05:23:08 7629e6793208: Pulling fs layer 05:23:08 4f4fb700ef54: Pulling fs layer 05:23:08 fb5054dd5b73: Pulling fs layer 05:23:08 eeca6798cff9: Pulling fs layer 05:23:08 aa269ceb94a6: Pulling fs layer 05:23:08 ada007ff1a6a: Pulling fs layer 05:23:08 eeca6798cff9: Waiting 05:23:08 aa269ceb94a6: Waiting 05:23:08 ada007ff1a6a: Waiting 05:23:08 7629e6793208: Waiting 05:23:08 4f4fb700ef54: Waiting 05:23:08 fb5054dd5b73: Waiting 05:23:08 7862e08f4a3e: Verifying Checksum 05:23:08 7862e08f4a3e: Download complete 05:23:08 7629e6793208: Download complete 05:23:08 4f4fb700ef54: Verifying Checksum 05:23:08 4f4fb700ef54: Download complete 05:23:08 fb5054dd5b73: Download complete 05:23:08 619be1103602: Verifying Checksum 05:23:08 619be1103602: Download complete 05:23:08 eeca6798cff9: Verifying Checksum 05:23:08 eeca6798cff9: Download complete 05:23:08 619be1103602: Pull complete 05:23:08 7862e08f4a3e: Pull complete 05:23:08 ada007ff1a6a: Verifying Checksum 05:23:08 ada007ff1a6a: Download complete 05:23:08 5df492c9dc93: Verifying Checksum 05:23:08 5df492c9dc93: Download complete 05:23:09 aa269ceb94a6: Verifying Checksum 05:23:09 aa269ceb94a6: Download complete 05:23:12 5df492c9dc93: Pull complete 05:23:12 7629e6793208: Pull complete 05:23:12 4f4fb700ef54: Pull complete 05:23:12 fb5054dd5b73: Pull complete 05:23:12 eeca6798cff9: Pull complete 05:23:15 aa269ceb94a6: Pull complete 05:23:15 ada007ff1a6a: Pull complete 05:23:15 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 05:23:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 05:23:15 ---> f489d0715acc 05:23:15 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:23:17 ---> Running in 1338e42fb01f 05:23:17 Removing intermediate container 1338e42fb01f 05:23:17 ---> fbcdab2531c6 05:23:17 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:23:17 ---> Running in 021a18e4f9ff 05:23:17 Removing intermediate container 021a18e4f9ff 05:23:17 ---> 7ace308a8d71 05:23:17 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:23:17 ---> Running in 6d0c5b83b040 05:23:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:23:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:23:17 (1/8) Installing openssh-keygen (9.3_p2-r1) 05:23:17 (2/8) Installing libedit (20221030.3.1-r1) 05:23:17 (3/8) Installing openssh-client-common (9.3_p2-r1) 05:23:17 (4/8) Installing openssh-client-default (9.3_p2-r1) 05:23:17 (5/8) Installing openssh-sftp-server (9.3_p2-r1) 05:23:17 (6/8) Installing openssh-server-common (9.3_p2-r1) 05:23:17 (7/8) Installing openssh-server (9.3_p2-r1) 05:23:17 (8/8) Installing openssh (9.3_p2-r1) 05:23:17 Executing busybox-1.36.1-r5.trigger 05:23:17 OK: 270 MiB in 60 packages 05:23:18 Removing intermediate container 6d0c5b83b040 05:23:18 ---> 364e435bcbf4 05:23:18 Step 6/10 : WORKDIR /device-modbus-go 05:23:18 ---> Running in da97e5f932b8 05:23:18 Removing intermediate container da97e5f932b8 05:23:18 ---> 1277f231e5f0 05:23:18 Step 7/10 : COPY go.mod vendor* ./ 05:23:18 ---> 2fa0cbef9b08 05:23:18 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:23:18 ---> Running in a6c84e60af72 05:23:21 Still waiting to schedule task 05:23:21 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:23:57 Removing intermediate container a6c84e60af72 05:23:57 ---> 8e137daabcd4 05:23:57 Step 9/10 : COPY . . 05:23:57 ---> bc1f53af7d66 05:23:57 Step 10/10 : RUN ${MAKE} 05:23:57 ---> Running in f030e379d6cd 05:23:57 noop 05:23:57 Removing intermediate container f030e379d6cd 05:23:57 ---> bae570166d74 05:23:57 Successfully built bae570166d74 05:23:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:23:58 + docker inspect -f . ci-base-image-x86_64 05:23:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:23:58 prd-ubuntu20.04-docker-8c-8g-1009 does not seem to be running inside a container 05:23:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-553 -v /w/workspace/xfoundry_device-modbus-go_PR-553:/w/workspace/xfoundry_device-modbus-go_PR-553:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-553@tmp:/w/workspace/xfoundry_device-modbus-go_PR-553@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 ******** ci-base-image-x86_64 cat 05:23:58 $ docker top 5ef00c16972afb1a5a83e2589007ef7dc6c566447b33c8b9b9964cf17454fae9 -eo pid,comm [Pipeline] { [Pipeline] sh 05:23:58 + go version 05:23:58 go version go1.21.9 linux/amd64 [Pipeline] } 05:23:59 $ docker stop --time=1 5ef00c16972afb1a5a83e2589007ef7dc6c566447b33c8b9b9964cf17454fae9 05:24:00 $ docker rm -f --volumes 5ef00c16972afb1a5a83e2589007ef7dc6c566447b33c8b9b9964cf17454fae9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:24:01 + docker inspect -f . ci-base-image-x86_64 05:24:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:24:01 prd-ubuntu20.04-docker-8c-8g-1009 does not seem to be running inside a container 05:24:01 $ 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-553 -v /w/workspace/xfoundry_device-modbus-go_PR-553:/w/workspace/xfoundry_device-modbus-go_PR-553:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-553@tmp:/w/workspace/xfoundry_device-modbus-go_PR-553@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 ******** ci-base-image-x86_64 cat 05:24:01 $ docker top d39192ef7ede435236e0915cbc2f4ceace7870a27b269c8d7745c26d453a0a84 -eo pid,comm [Pipeline] { [Pipeline] sh 05:24:02 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-553 [Pipeline] fileExists [Pipeline] sh 05:24:02 + make test 05:24:02 go test ./... -coverprofile=coverage.out 05:24:03 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:24:25 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:24:25 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.018s coverage: 47.9% of statements 05:24:33 go vet ./... 05:24:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:24:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:24:40 ./bin/test-attribution-txt.sh 05:24:40 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 05:24:40 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 05:24:40 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 05:24:40 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 05:24:40 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 05:24:40 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 05:24:40 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 05:24:40 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 05:24:40 An attribution for golang.org/x/term is missing from Attribution.txt, please add 05:24:40 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 05:24:40 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 05:25:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:25:00 $ docker stop --time=1 d39192ef7ede435236e0915cbc2f4ceace7870a27b269c8d7745c26d453a0a84 05:25:02 $ docker rm -f --volumes d39192ef7ede435236e0915cbc2f4ceace7870a27b269c8d7745c26d453a0a84 [Pipeline] // withDockerContainer [Pipeline] sh 05:25:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:25:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:25:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:25:04 + ls -al . 05:25:04 total 264 05:25:04 drwxrwxr-x 9 jenkins jenkins 4096 May 29 05:24 . 05:25:04 drwxrwxr-x 4 jenkins jenkins 4096 May 29 05:22 .. 05:25:04 -rw-rw-r-- 1 jenkins jenkins 140 May 29 05:22 .dockerignore 05:25:04 drwxrwxr-x 8 jenkins jenkins 4096 May 29 05:24 .git 05:25:04 drwxrwxr-x 3 jenkins jenkins 4096 May 29 05:22 .github 05:25:04 -rw-rw-r-- 1 jenkins jenkins 266 May 29 05:22 .gitignore 05:25:04 -rw-rw-r-- 1 jenkins jenkins 41 May 29 05:22 .golangci.yml 05:25:04 drwxr-xr-x 3 jenkins jenkins 4096 May 29 05:23 .semver 05:25:04 -rw-rw-r-- 1 jenkins jenkins 11101 May 29 05:22 Attribution.txt 05:25:04 -rw-rw-r-- 1 jenkins jenkins 16388 May 29 05:22 CHANGELOG.md 05:25:04 -rw-rw-r-- 1 jenkins jenkins 1474 May 29 05:22 Dockerfile 05:25:04 -rw-rw-r-- 1 jenkins jenkins 677 May 29 05:22 GOVERNANCE.md 05:25:04 -rw-rw-r-- 1 jenkins jenkins 658 May 29 05:22 Jenkinsfile 05:25:04 -rw-rw-r-- 1 jenkins jenkins 11340 May 29 05:22 LICENSE 05:25:04 -rw-rw-r-- 1 jenkins jenkins 1942 May 29 05:22 Makefile 05:25:04 -rw-rw-r-- 1 jenkins jenkins 622 May 29 05:22 OWNERS.md 05:25:04 -rw-rw-r-- 1 jenkins jenkins 4463 May 29 05:22 README.md 05:25:04 -rw-rw-r-- 1 jenkins jenkins 5 May 29 05:23 VERSION 05:25:04 drwxrwxr-x 2 jenkins jenkins 4096 May 29 05:22 bin 05:25:04 drwxrwxr-x 3 jenkins jenkins 4096 May 29 05:22 cmd 05:25:04 -rw-r--r-- 1 jenkins jenkins 24601 May 29 05:24 coverage.out 05:25:04 -rw-rw-r-- 1 jenkins jenkins 7241 May 29 05:22 go.mod 05:25:04 -rw-rw-r-- 1 jenkins jenkins 101886 May 29 05:22 go.sum 05:25:04 drwxrwxr-x 3 jenkins jenkins 4096 May 29 05:22 internal 05:25:04 drwxrwxr-x 2 jenkins jenkins 4096 May 29 05:22 simulator 05:25:04 -rw-rw-r-- 1 jenkins jenkins 229 May 29 05:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:25:04 + 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=6b3cf952463bd39915f099284793de5e65115ca1 --label arch=amd64 --label version=0.0.0 . 05:25:04 Sending build context to Docker daemon 17.72MB 05:25:04 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 05:25:04 Step 2/23 : FROM ${BASE} AS builder 05:25:04 ---> bae570166d74 05:25:04 Step 3/23 : ARG ADD_BUILD_TAGS="" 05:25:04 ---> Running in 42acccadfcd8 05:25:04 Removing intermediate container 42acccadfcd8 05:25:04 ---> c61d26569671 05:25:04 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:25:04 ---> Running in b2898f31f8da 05:25:04 Removing intermediate container b2898f31f8da 05:25:04 ---> 2d753ab530ef 05:25:04 Step 5/23 : RUN apk add --update --no-cache make git openssh 05:25:04 ---> Running in 9162b7cd2e38 05:25:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:25:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:25:06 OK: 270 MiB in 60 packages 05:25:06 Removing intermediate container 9162b7cd2e38 05:25:06 ---> e700b4c2584c 05:25:06 Step 6/23 : WORKDIR /device-modbus-go 05:25:06 ---> Running in a304e06a1403 05:25:06 Removing intermediate container a304e06a1403 05:25:06 ---> 0ed651c75d53 05:25:06 Step 7/23 : COPY go.mod vendor* ./ 05:25:06 ---> b65f2035f290 05:25:06 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:25:06 ---> Running in 07d6d6507bb6 05:25:07 Removing intermediate container 07d6d6507bb6 05:25:07 ---> f09db9df4917 05:25:07 Step 9/23 : COPY . . 05:25:08 ---> b3d16f94e0d8 05:25:08 Step 10/23 : RUN ${MAKE} 05:25:08 ---> Running in bc925e0967db 05:25:08 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.15" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 05:25:22 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1010 in /w/workspace/xfoundry_device-modbus-go_PR-553 [Pipeline] { [Pipeline] ws 05:25:22 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 05:25:22 The recommended git tool is: git 05:25:27 using credential edgex-jenkins-ssh 05:25:27 Cloning the remote Git repository 05:25:27 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:25:27 > git init /w/workspace/device-modbus-go/1 # timeout=10 05:25:27 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:25:27 > git --version # timeout=10 05:25:27 > git --version # 'git version 2.25.1' 05:25:27 using GIT_SSH to set credentials SSH Credentials for GitHub 05:25:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:25:29 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:25:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:25:31 Merging remotes/origin/main commit 6ffd961e50bad5aafcddb961eadc768a2e323cba into PR head commit 6b3cf952463bd39915f099284793de5e65115ca1 05:25:31 Merge succeeded, producing 6b3cf952463bd39915f099284793de5e65115ca1 05:25:31 Checking out Revision 6b3cf952463bd39915f099284793de5e65115ca1 (PR-553) 05:25:30 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:25:30 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:25:30 using GIT_SSH to set credentials SSH Credentials for GitHub 05:25:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:25:31 > git config core.sparsecheckout # timeout=10 05:25:31 > git checkout -f 6b3cf952463bd39915f099284793de5e65115ca1 # timeout=10 05:25:31 > git remote # timeout=10 05:25:31 > git config --get remote.origin.url # timeout=10 05:25:31 using GIT_SSH to set credentials SSH Credentials for GitHub 05:25:31 > git merge 6ffd961e50bad5aafcddb961eadc768a2e323cba # timeout=10 05:25:31 > git rev-parse HEAD^{commit} # timeout=10 05:25:31 > git config core.sparsecheckout # timeout=10 05:25:31 > git checkout -f 6b3cf952463bd39915f099284793de5e65115ca1 # timeout=10 05:25:32 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 05:25:32 > git --version # timeout=10 05:25:32 > git --version # 'git version 2.25.1' 05:25:32 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:25:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:25:37 % Total % Received % Xferd Average Speed Time Time Time Current 05:25:37 Dload Upload Total Spent Left Speed 05:25:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 85520 0 --:--:-- --:--:-- --:--:-- 86093 [Pipeline] sh 05:25:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:25:37 + sudo tee /etc/docker/daemon.new 05:25:37 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:25:37 { 05:25:37 "registry-mirrors": [ 05:25:37 "https://nexus3.edgexfoundry.org:10001" 05:25:37 ], 05:25:37 "bip": "10.250.0.254/24", 05:25:37 "hosts": [ 05:25:37 "tcp://0.0.0.0:5555", 05:25:37 "unix:///var/run/docker.sock" 05:25:37 ], 05:25:37 "mtu": 1458, 05:25:37 "selinux-enabled": true, 05:25:37 "seccomp-profile": "/etc/docker/seccomp.json" 05:25:37 } [Pipeline] sh 05:25:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:25:38 + sudo service docker restart 05:25:40 Removing intermediate container bc925e0967db 05:25:40 ---> 2aaf8153545f 05:25:40 Step 11/23 : FROM alpine:3.18 05:25:40 3.18: Pulling from library/alpine 05:25:40 619be1103602: Already exists 05:25:40 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 05:25:40 Status: Downloaded newer image for alpine:3.18 05:25:40 ---> d3782b16ccc9 05:25:40 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:25:40 ---> Running in 29bc985d9844 05:25:40 Removing intermediate container 29bc985d9844 05:25:40 ---> 3f88df84c6c2 05:25:40 Step 13/23 : RUN apk add --update --no-cache dumb-init 05:25:40 ---> Running in ee0c6d847745 05:25:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:25:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:25:40 (1/1) Installing dumb-init (1.2.5-r2) 05:25:40 Executing busybox-1.36.1-r5.trigger 05:25:40 OK: 7 MiB in 16 packages 05:25:40 Removing intermediate container ee0c6d847745 05:25:40 ---> 73783b3e2d67 05:25:40 Step 14/23 : RUN apk --no-cache upgrade 05:25:40 ---> Running in 3f891589b861 05:25:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:25:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:25:40 Upgrading critical system libraries and apk-tools: 05:25:40 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 05:25:40 Executing busybox-1.36.1-r5.trigger 05:25:40 Continuing the upgrade transaction with new apk-tools: 05:25:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:25:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:25:40 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 05:25:40 Executing busybox-1.36.1-r6.post-upgrade 05:25:40 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 05:25:40 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 05:25:40 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 05:25:40 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 05:25:40 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 05:25:40 Executing busybox-1.36.1-r6.trigger 05:25:40 OK: 7 MiB in 16 packages 05:25:40 Removing intermediate container 3f891589b861 05:25:40 ---> f9daf968b8a9 05:25:40 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:25:40 ---> ab6aada64785 05:25:40 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:25:40 ---> b208854f9e9c 05:25:40 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:25:40 ---> b1ddbef03c90 05:25:40 Step 18/23 : EXPOSE 59901 05:25:40 ---> Running in 2da9b1ee95bd 05:25:40 Removing intermediate container 2da9b1ee95bd 05:25:40 ---> 45a50cfe185f 05:25:40 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:25:40 ---> Running in ed69fd85aa22 05:25:40 Removing intermediate container ed69fd85aa22 05:25:40 ---> 007d7491402c 05:25:40 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:25:40 ---> Running in fb711137c0c4 05:25:40 Removing intermediate container fb711137c0c4 05:25:40 ---> 3900dfbbcc9b 05:25:40 Step 21/23 : LABEL arch=amd64 05:25:40 ---> Running in c4a77905bba9 05:25:40 Removing intermediate container c4a77905bba9 05:25:40 ---> b15efa13a0d5 05:25:40 Step 22/23 : LABEL git_sha=6b3cf952463bd39915f099284793de5e65115ca1 05:25:40 ---> Running in 62dd1cd3c33d 05:25:40 Removing intermediate container 62dd1cd3c33d 05:25:40 ---> 30e7fa9e4c53 05:25:40 Step 23/23 : LABEL version=0.0.0 05:25:40 ---> Running in 79d307bc4066 05:25:40 Removing intermediate container 79d307bc4066 05:25:40 ---> 31a9c8fc5490 05:25:40 [Warning] One or more build-args [ARCH] were not consumed 05:25:40 Successfully built 31a9c8fc5490 05:25:40 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:25:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:25:41 05:25:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:25:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:25:42 latest: Pulling from edgex-lftools-log-publisher 05:25:42 5eb5b503b376: Pulling fs layer 05:25:42 5c69ac0246d0: Pulling fs layer 05:25:42 ec43610c2a17: Pulling fs layer 05:25:42 3a2ae6a8a46f: Pulling fs layer 05:25:42 33b1e0a273af: Pulling fs layer 05:25:42 5d3b04190fa2: Pulling fs layer 05:25:42 2f39f015ded8: Pulling fs layer 05:25:42 3a2ae6a8a46f: Waiting 05:25:42 33b1e0a273af: Waiting 05:25:42 5d3b04190fa2: Waiting 05:25:42 2f39f015ded8: Waiting 05:25:42 5c69ac0246d0: Verifying Checksum 05:25:42 5c69ac0246d0: Download complete 05:25:42 3a2ae6a8a46f: Download complete 05:25:42 33b1e0a273af: Verifying Checksum 05:25:42 33b1e0a273af: Download complete 05:25:42 5d3b04190fa2: Verifying Checksum 05:25:42 5d3b04190fa2: Download complete 05:25:42 ec43610c2a17: Verifying Checksum 05:25:42 ec43610c2a17: Download complete 05:25:42 5eb5b503b376: Verifying Checksum 05:25:42 5eb5b503b376: Download complete 05:25:43 2f39f015ded8: Download complete 05:25:43 5eb5b503b376: Pull complete 05:25:43 5c69ac0246d0: Pull complete 05:25:44 ec43610c2a17: Pull complete 05:25:44 3a2ae6a8a46f: Pull complete 05:25:44 33b1e0a273af: Pull complete 05:25:44 5d3b04190fa2: Pull complete 05:25:48 2f39f015ded8: Pull complete 05:25:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:25:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:25:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:25:49 prd-ubuntu20.04-docker-8c-8g-1009 does not seem to be running inside a container 05:25:49 $ 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-553 -v /w/workspace/xfoundry_device-modbus-go_PR-553:/w/workspace/xfoundry_device-modbus-go_PR-553:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-553@tmp:/w/workspace/xfoundry_device-modbus-go_PR-553@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:25:50 $ docker top 0fd39cca92270ea7f26e2625baa815be2ee3c22a94ef9b05031fa1c00c247aaf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:25:50 ---> job-cost.sh 05:25:50 lf-activate-venv: SKIPPING 05:25:50 INFO: No Stack... 05:25:52 INFO: Retrieving Pricing Info for: v3-standard-8 05:25:52 INFO: Archiving Costs [Pipeline] sh 05:25:53 + cat /w/workspace/xfoundry_device-modbus-go_PR-553/archives/cost.csv 05:25:53 + cut -d, -f6 [Pipeline] lock 05:25:53 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-553-1-stack-cost] 05:25:53 Resource [jenkins-edgexfoundry-device-modbus-go-PR-553-1-stack-cost] did not exist. Created. 05:25:53 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-553-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:25:53 + echo total: 0.2199999988079071 [Pipeline] stash 05:25:53 Stashed 1 file(s) [Pipeline] } 05:25:53 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-553-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:25:53 $ docker stop --time=1 0fd39cca92270ea7f26e2625baa815be2ee3c22a94ef9b05031fa1c00c247aaf 05:25:55 $ docker rm -f --volumes 0fd39cca92270ea7f26e2625baa815be2ee3c22a94ef9b05031fa1c00c247aaf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:25:56 provisioning config files... 05:25:56 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config10316635664201297570tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:25:57 ---> ****-login.sh 05:25:57 nexus3.edgexfoundry.org:10001 05:25:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:25:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:25:57 Configure a credential helper to remove this warning. See 05:25:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:25:57 05:25:57 Login Succeeded 05:25:57 nexus3.edgexfoundry.org:10002 05:25:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:25:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:25:58 Configure a credential helper to remove this warning. See 05:25:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:25:58 05:25:58 Login Succeeded 05:25:58 nexus3.edgexfoundry.org:10003 05:25:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:25:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:25:58 Configure a credential helper to remove this warning. See 05:25:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:25:58 05:25:58 Login Succeeded 05:25:58 nexus3.edgexfoundry.org:10004 05:25:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:25:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:25:58 Configure a credential helper to remove this warning. See 05:25:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:25:58 05:25:58 Login Succeeded 05:25:58 ****.io 05:25:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:25:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:25:59 Configure a credential helper to remove this warning. See 05:25:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:25:59 05:25:59 Login Succeeded 05:25:59 ---> ****-login.sh ends [Pipeline] } 05:25:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:25:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:26:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:26:00 ========================================================= 05:26:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 05:26:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:26:00 + 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 . 05:26:00 Sending build context to Docker daemon 8.99MB 05:26:01 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:26:01 Step 2/10 : FROM ${BASE} AS builder 05:26:01 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:26:01 c6b39de5b339: Pulling fs layer 05:26:01 a69c41024577: Pulling fs layer 05:26:01 d6de4b400683: Pulling fs layer 05:26:01 35cb2a7552d0: Pulling fs layer 05:26:01 4f4fb700ef54: Pulling fs layer 05:26:01 464afbd9ba4c: Pulling fs layer 05:26:01 00f215d4a9da: Pulling fs layer 05:26:01 d496ad576159: Pulling fs layer 05:26:01 35cb2a7552d0: Waiting 05:26:01 464afbd9ba4c: Waiting 05:26:01 00f215d4a9da: Waiting 05:26:01 4f4fb700ef54: Waiting 05:26:01 a69c41024577: Verifying Checksum 05:26:01 a69c41024577: Download complete 05:26:01 35cb2a7552d0: Verifying Checksum 05:26:01 35cb2a7552d0: Download complete 05:26:01 4f4fb700ef54: Download complete 05:26:01 464afbd9ba4c: Verifying Checksum 05:26:01 464afbd9ba4c: Download complete 05:26:01 c6b39de5b339: Verifying Checksum 05:26:01 c6b39de5b339: Download complete 05:26:01 d496ad576159: Verifying Checksum 05:26:01 d496ad576159: Download complete 05:26:02 c6b39de5b339: Pull complete 05:26:02 a69c41024577: Pull complete 05:26:03 d6de4b400683: Verifying Checksum 05:26:03 d6de4b400683: Download complete 05:26:04 00f215d4a9da: Verifying Checksum 05:26:04 00f215d4a9da: Download complete 05:26:16 d6de4b400683: Pull complete 05:26:16 35cb2a7552d0: Pull complete 05:26:16 4f4fb700ef54: Pull complete 05:26:16 464afbd9ba4c: Pull complete 05:26:26 00f215d4a9da: Pull complete 05:26:27 d496ad576159: Pull complete 05:26:27 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 05:26:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 05:26:27 ---> f246e2811388 05:26:27 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:26:29 ---> Running in 6be5908000a1 05:26:29 Removing intermediate container 6be5908000a1 05:26:29 ---> a77df4ae43cc 05:26:29 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:26:29 ---> Running in f65eeb11cdb2 05:26:29 Removing intermediate container f65eeb11cdb2 05:26:29 ---> 6cb91d2ca5f3 05:26:29 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:26:29 ---> Running in 3985763b5532 05:26:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:26:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:26:32 (1/8) Installing openssh-keygen (9.3_p2-r1) 05:26:32 (2/8) Installing libedit (20221030.3.1-r1) 05:26:32 (3/8) Installing openssh-client-common (9.3_p2-r1) 05:26:32 (4/8) Installing openssh-client-default (9.3_p2-r1) 05:26:32 (5/8) Installing openssh-sftp-server (9.3_p2-r1) 05:26:32 (6/8) Installing openssh-server-common (9.3_p2-r1) 05:26:32 (7/8) Installing openssh-server (9.3_p2-r1) 05:26:32 (8/8) Installing openssh (9.3_p2-r1) 05:26:32 Executing busybox-1.36.1-r5.trigger 05:26:32 OK: 272 MiB in 60 packages 05:26:33 Removing intermediate container 3985763b5532 05:26:33 ---> ea0df3f25353 05:26:33 Step 6/10 : WORKDIR /device-modbus-go 05:26:33 ---> Running in 942a3d7ea7e2 05:26:33 Removing intermediate container 942a3d7ea7e2 05:26:33 ---> 91d9189360a9 05:26:33 Step 7/10 : COPY go.mod vendor* ./ 05:26:33 ---> 191e9a60a7f1 05:26:33 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:26:34 ---> Running in f121622a1d19 05:28:26 Removing intermediate container f121622a1d19 05:28:26 ---> 6c0d81956cd5 05:28:26 Step 9/10 : COPY . . 05:28:26 ---> 1920c6d49663 05:28:26 Step 10/10 : RUN ${MAKE} 05:28:26 ---> Running in 6cbe720dc1bd 05:28:26 noop 05:28:26 Removing intermediate container 6cbe720dc1bd 05:28:26 ---> 9b1eb21941e6 05:28:26 Successfully built 9b1eb21941e6 05:28:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:26 + docker inspect -f . ci-base-image-arm64 05:28:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:28:26 prd-ubuntu20.04-docker-arm64-4c-16g-1010 does not seem to be running inside a container 05:28:27 $ 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:28:28 $ docker top 1344d08f5837bd45b0b8e7561700634460cf96c3ac61e8c9790705a068958ced -eo pid,comm [Pipeline] { [Pipeline] sh 05:28:29 + go version 05:28:29 go version go1.21.9 linux/arm64 [Pipeline] } 05:28:29 $ docker stop --time=1 1344d08f5837bd45b0b8e7561700634460cf96c3ac61e8c9790705a068958ced 05:28:30 $ docker rm -f --volumes 1344d08f5837bd45b0b8e7561700634460cf96c3ac61e8c9790705a068958ced [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:31 + docker inspect -f . ci-base-image-arm64 05:28:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:28:32 prd-ubuntu20.04-docker-arm64-4c-16g-1010 does not seem to be running inside a container 05:28:32 $ 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:28:33 $ docker top ee20c16c19685913ba460fa3baf700eeea0d20007340ea8df84a71d77df4a87a -eo pid,comm [Pipeline] { [Pipeline] sh 05:28:34 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 05:28:35 + make test 05:28:35 go test ./... -coverprofile=coverage.out 05:28:40 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:31:47 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:31:50 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.076s coverage: 47.9% of statements 05:31:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:31:51 go vet ./... 05:32:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:32:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:32:38 ./bin/test-attribution-txt.sh 05:32:38 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 05:32:38 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 05:32:38 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 05:32:38 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 05:32:38 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 05:32:38 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 05:32:38 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 05:32:38 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 05:32:38 An attribution for golang.org/x/term is missing from Attribution.txt, please add 05:32:38 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 05:32:38 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 05:32:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:32:38 $ docker stop --time=1 ee20c16c19685913ba460fa3baf700eeea0d20007340ea8df84a71d77df4a87a 05:32:40 $ docker rm -f --volumes ee20c16c19685913ba460fa3baf700eeea0d20007340ea8df84a71d77df4a87a [Pipeline] // withDockerContainer [Pipeline] sh 05:32:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:32:42 Warning: overwriting stash ‘coverage-report’ 05:32:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:32:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:32:43 + ls -al . 05:32:43 total 260 05:32:43 drwxrwxr-x 8 jenkins jenkins 4096 May 29 05:28 . 05:32:43 drwxrwxr-x 4 jenkins jenkins 4096 May 29 05:25 .. 05:32:43 -rw-rw-r-- 1 jenkins jenkins 140 May 29 05:25 .dockerignore 05:32:43 drwxrwxr-x 8 jenkins jenkins 4096 May 29 05:25 .git 05:32:43 drwxrwxr-x 3 jenkins jenkins 4096 May 29 05:25 .github 05:32:43 -rw-rw-r-- 1 jenkins jenkins 266 May 29 05:25 .gitignore 05:32:43 -rw-rw-r-- 1 jenkins jenkins 41 May 29 05:25 .golangci.yml 05:32:43 -rw-rw-r-- 1 jenkins jenkins 11101 May 29 05:25 Attribution.txt 05:32:43 -rw-rw-r-- 1 jenkins jenkins 16388 May 29 05:25 CHANGELOG.md 05:32:43 -rw-rw-r-- 1 jenkins jenkins 1474 May 29 05:25 Dockerfile 05:32:43 -rw-rw-r-- 1 jenkins jenkins 677 May 29 05:25 GOVERNANCE.md 05:32:43 -rw-rw-r-- 1 jenkins jenkins 658 May 29 05:25 Jenkinsfile 05:32:43 -rw-rw-r-- 1 jenkins jenkins 11340 May 29 05:25 LICENSE 05:32:43 -rw-rw-r-- 1 jenkins jenkins 1942 May 29 05:25 Makefile 05:32:43 -rw-rw-r-- 1 jenkins jenkins 622 May 29 05:25 OWNERS.md 05:32:43 -rw-rw-r-- 1 jenkins jenkins 4463 May 29 05:25 README.md 05:32:43 -rw-rw-r-- 1 jenkins jenkins 5 May 29 05:23 VERSION 05:32:43 drwxrwxr-x 2 jenkins jenkins 4096 May 29 05:25 bin 05:32:43 drwxrwxr-x 3 jenkins jenkins 4096 May 29 05:25 cmd 05:32:43 -rw-r--r-- 1 jenkins jenkins 24601 May 29 05:31 coverage.out 05:32:43 -rw-rw-r-- 1 jenkins jenkins 7241 May 29 05:25 go.mod 05:32:43 -rw-rw-r-- 1 jenkins jenkins 101886 May 29 05:25 go.sum 05:32:43 drwxrwxr-x 3 jenkins jenkins 4096 May 29 05:25 internal 05:32:43 drwxrwxr-x 2 jenkins jenkins 4096 May 29 05:25 simulator 05:32:43 -rw-rw-r-- 1 jenkins jenkins 229 May 29 05:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:32:44 + 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=6b3cf952463bd39915f099284793de5e65115ca1 --label arch=arm64 --label version=0.0.0 . 05:32:44 Sending build context to Docker daemon 9.015MB 05:32:44 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 05:32:44 Step 2/23 : FROM ${BASE} AS builder 05:32:44 ---> 9b1eb21941e6 05:32:44 Step 3/23 : ARG ADD_BUILD_TAGS="" 05:32:44 ---> Running in 1a63f29ccab6 05:32:45 Removing intermediate container 1a63f29ccab6 05:32:45 ---> 66194626a766 05:32:45 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:32:45 ---> Running in edbeb2e3d70b 05:32:45 Removing intermediate container edbeb2e3d70b 05:32:45 ---> 21b8c8963453 05:32:45 Step 5/23 : RUN apk add --update --no-cache make git openssh 05:32:45 ---> Running in 74ae5a89ddcf 05:32:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:32:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:32:47 OK: 272 MiB in 60 packages 05:32:48 Removing intermediate container 74ae5a89ddcf 05:32:48 ---> 0db4fb92a4cd 05:32:48 Step 6/23 : WORKDIR /device-modbus-go 05:32:48 ---> Running in a9ce4ec43df0 05:32:49 Removing intermediate container a9ce4ec43df0 05:32:49 ---> 19943320d373 05:32:49 Step 7/23 : COPY go.mod vendor* ./ 05:32:49 ---> e1ab2361e682 05:32:49 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:32:49 ---> Running in b9abb7403a55 05:32:52 Removing intermediate container b9abb7403a55 05:32:52 ---> a74624d9682a 05:32:52 Step 9/23 : COPY . . 05:32:53 ---> a5d96d35f0b6 05:32:53 Step 10/23 : RUN ${MAKE} 05:32:53 ---> Running in da12c5d61fea 05:32:54 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.15" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 05:36:15 Removing intermediate container da12c5d61fea 05:36:15 ---> 7ca6afa2c474 05:36:15 Step 11/23 : FROM alpine:3.18 05:36:15 3.18: Pulling from library/alpine 05:36:15 c6b39de5b339: Already exists 05:36:15 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 05:36:15 Status: Downloaded newer image for alpine:3.18 05:36:15 ---> 33abbf032149 05:36:15 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:36:15 ---> Running in 0c0270466ca1 05:36:15 Removing intermediate container 0c0270466ca1 05:36:15 ---> cf8eb29e3cbe 05:36:15 Step 13/23 : RUN apk add --update --no-cache dumb-init 05:36:15 ---> Running in 1f081dad2f58 05:36:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:36:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:36:15 (1/1) Installing dumb-init (1.2.5-r2) 05:36:15 Executing busybox-1.36.1-r5.trigger 05:36:15 OK: 8 MiB in 16 packages 05:36:15 Removing intermediate container 1f081dad2f58 05:36:15 ---> b06c600456bc 05:36:15 Step 14/23 : RUN apk --no-cache upgrade 05:36:15 ---> Running in b57d659f1f0b 05:36:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:36:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:36:15 Upgrading critical system libraries and apk-tools: 05:36:15 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 05:36:15 Executing busybox-1.36.1-r5.trigger 05:36:15 Continuing the upgrade transaction with new apk-tools: 05:36:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:36:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:36:16 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 05:36:16 Executing busybox-1.36.1-r6.post-upgrade 05:36:16 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 05:36:16 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 05:36:16 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 05:36:16 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 05:36:17 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 05:36:17 Executing busybox-1.36.1-r6.trigger 05:36:17 OK: 8 MiB in 16 packages 05:36:18 Removing intermediate container b57d659f1f0b 05:36:18 ---> a7c6c99d3d1d 05:36:18 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:36:20 ---> fe00a51eee05 05:36:20 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:36:20 ---> 8b266cd7b59d 05:36:20 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:36:20 ---> 2c14e5febbb8 05:36:20 Step 18/23 : EXPOSE 59901 05:36:20 ---> Running in 3b2a805d15da 05:36:20 Removing intermediate container 3b2a805d15da 05:36:20 ---> f32773512560 05:36:20 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:36:20 ---> Running in 38744077e2e0 05:36:21 Removing intermediate container 38744077e2e0 05:36:21 ---> a6c0a69755b7 05:36:21 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:36:21 ---> Running in 3d8b1bd16dd3 05:36:21 Removing intermediate container 3d8b1bd16dd3 05:36:21 ---> 8452fd206290 05:36:21 Step 21/23 : LABEL arch=arm64 05:36:21 ---> Running in 84e916b9d33b 05:36:21 Removing intermediate container 84e916b9d33b 05:36:21 ---> 7a13c9db5174 05:36:21 Step 22/23 : LABEL git_sha=6b3cf952463bd39915f099284793de5e65115ca1 05:36:21 ---> Running in 1786f0bd50e8 05:36:22 Removing intermediate container 1786f0bd50e8 05:36:22 ---> ed993651f4f7 05:36:22 Step 23/23 : LABEL version=0.0.0 05:36:22 ---> Running in 86a129c79253 05:36:22 Removing intermediate container 86a129c79253 05:36:22 ---> 7faa0a7eb3f0 05:36:22 [Warning] One or more build-args [ARCH] were not consumed 05:36:22 Successfully built 7faa0a7eb3f0 05:36:22 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:36:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:36:23 05:36:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:36:24 arm64: Pulling from edgex-lftools-log-publisher 05:36:24 8998bd30e6a1: Pulling fs layer 05:36:24 04944245beec: Pulling fs layer 05:36:24 699f458cf7ca: Pulling fs layer 05:36:24 765212b225bb: Pulling fs layer 05:36:24 f23df028b6ca: Pulling fs layer 05:36:24 d65c8cfc05b1: Pulling fs layer 05:36:24 2437ff75d9bd: Pulling fs layer 05:36:24 765212b225bb: Waiting 05:36:24 f23df028b6ca: Waiting 05:36:24 2437ff75d9bd: Waiting 05:36:24 d65c8cfc05b1: Waiting 05:36:24 04944245beec: Verifying Checksum 05:36:24 04944245beec: Download complete 05:36:24 765212b225bb: Verifying Checksum 05:36:24 765212b225bb: Download complete 05:36:24 f23df028b6ca: Verifying Checksum 05:36:24 f23df028b6ca: Download complete 05:36:24 d65c8cfc05b1: Verifying Checksum 05:36:24 d65c8cfc05b1: Download complete 05:36:24 699f458cf7ca: Verifying Checksum 05:36:24 699f458cf7ca: Download complete 05:36:24 8998bd30e6a1: Verifying Checksum 05:36:24 8998bd30e6a1: Download complete 05:36:27 2437ff75d9bd: Verifying Checksum 05:36:27 2437ff75d9bd: Download complete 05:36:29 8998bd30e6a1: Pull complete 05:36:30 04944245beec: Pull complete 05:36:31 699f458cf7ca: Pull complete 05:36:31 765212b225bb: Pull complete 05:36:32 f23df028b6ca: Pull complete 05:36:32 d65c8cfc05b1: Pull complete 05:36:51 2437ff75d9bd: Pull complete 05:36:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:36:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:36:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:36:51 prd-ubuntu20.04-docker-arm64-4c-16g-1010 does not seem to be running inside a container 05:36:51 $ 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:36:54 $ docker top e04c62dcc087afeb6bf1c6dca0f0d4bec892aba6283ba3d8ff9bc265ff35b284 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:36:55 ---> job-cost.sh 05:36:55 lf-activate-venv: SKIPPING 05:36:55 INFO: No Stack... 05:36:55 INFO: Retrieving Pricing Info for: v3-standard-4 05:36:56 INFO: Archiving Costs [Pipeline] sh 05:37:10 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 05:37:10 + cut -d, -f6 [Pipeline] lock 05:37:10 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-553-1-stack-cost] 05:37:10 Resource [jenkins-edgexfoundry-device-modbus-go-PR-553-1-stack-cost] did not exist. Created. 05:37:10 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-553-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:37:17 /w/workspace/device-modbus-go/1@tmp/durable-b496f673/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:37:17 + echo total: 0.10999999940395355 [Pipeline] stash 05:37:17 Warning: overwriting stash ‘stack-cost’ 05:37:17 Stashed 1 file(s) [Pipeline] } 05:37:17 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-553-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:37:18 $ docker stop --time=1 e04c62dcc087afeb6bf1c6dca0f0d4bec892aba6283ba3d8ff9bc265ff35b284 05:37:19 $ docker rm -f --volumes e04c62dcc087afeb6bf1c6dca0f0d4bec892aba6283ba3d8ff9bc265ff35b284 [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:37:20 provisioning config files... 05:37:20 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-553@tmp/config13285909039018485219tmp [Pipeline] { [Pipeline] sh 05:37:21 + set +x 05:37:21 + curl -s https://codecov.io/bash 05:37:21 + bash -s -- 05:37:21 05:37:21 _____ _ 05:37:21 / ____| | | 05:37:21 | | ___ __| | ___ ___ _____ __ 05:37:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:37:21 | |___| (_) | (_| | __/ (_| (_) \ V / 05:37:21 \_____\___/ \__,_|\___|\___\___/ \_/ 05:37:21 Bash-1.0.6 05:37:21 05:37:21 05:37:21 ==> git version 2.25.1 found 05:37:21 ==> 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:37:21 Release-Date: 2020-01-08 05:37:21 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:37:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:37:21 ==> Jenkins CI detected. 05:37:21 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-553 05:37:21 project root: . 05:37:21 --> token set from env 05:37:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:37:21 ==> Running gcov in . (disable via -X gcov) 05:37:21 ==> Python coveragepy not found 05:37:21 ==> Searching for coverage reports in: 05:37:21 + . 05:37:21 -> Found 1 reports 05:37:21 ==> Detecting git/mercurial file structure 05:37:21 ==> Reading reports 05:37:21 + ./coverage.out bytes=24601 05:37:21 ==> Appending adjustments 05:37:21 https://docs.codecov.io/docs/fixing-reports 05:37:21 + Found adjustments 05:37:21 ==> Gzipping contents 05:37:21 4.0K /tmp/codecov.YHh2ip.gz 05:37:21 ==> Uploading reports 05:37:21 url: https://codecov.io 05:37:21 query: branch=PR-553&commit=6b3cf952463bd39915f099284793de5e65115ca1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-553%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=553&job=&cmd_args= 05:37:21 -> Pinging Codecov 05:37:21 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-553&commit=6b3cf952463bd39915f099284793de5e65115ca1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-553%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=553&job=&cmd_args= 05:37:21 -> Uploading to 05:37:21 https://storage.googleapis.com/codecov/v4/raw/2024-05-29/55DBCA73C666E3227836607328DD7E49/6b3cf952463bd39915f099284793de5e65115ca1/37dfd756-d6f8-431a-b319-6d18f448a53b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240529%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240529T053721Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d0f4006cbc42e1511fb573ba72aaf2b0b310708fbe607e82769365d0b41f9836 05:37:21 % Total % Received % Xferd Average Speed Time Time Time Current 05:37:21 Dload Upload Total Spent Left Speed 05:37:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 16079 --:--:-- --:--:-- --:--:-- 16079 05:37:22 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/6b3cf952463bd39915f099284793de5e65115ca1 [Pipeline] } 05:37:22 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:37:24 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-553/archives ] 05:37:24 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-553/archives 05:37:24 total 16 05:37:24 drwxr-xr-x 3 root root 4096 May 29 05:25 . 05:37:24 drwxrwxr-x 10 jenkins jenkins 4096 May 29 05:25 .. 05:37:24 drwxr-xr-x 2 root root 4096 May 29 05:25 cost 05:37:24 -rw-r--r-- 1 root root 88 May 29 05:25 cost.csv 05:37:24 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-553/archives 05:37:24 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-553/archives 05:37:24 total 16 05:37:24 drwxr-xr-x 3 jenkins jenkins 4096 May 29 05:25 . 05:37:24 drwxrwxr-x 10 jenkins jenkins 4096 May 29 05:25 .. 05:37:24 drwxr-xr-x 2 jenkins jenkins 4096 May 29 05:25 cost 05:37:24 -rw-r--r-- 1 jenkins jenkins 88 May 29 05:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:37:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:37:25 ---> package-listing.sh 05:37:25 ++ facter osfamily 05:37:25 ++ tr '[:upper:]' '[:lower:]' 05:37:25 + OS_FAMILY=debian 05:37:25 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-553 05:37:25 + START_PACKAGES=/tmp/packages_start.txt 05:37:25 + END_PACKAGES=/tmp/packages_end.txt 05:37:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:37:25 + PACKAGES=/tmp/packages_start.txt 05:37:25 + '[' /w/workspace/xfoundry_device-modbus-go_PR-553 ']' 05:37:25 + PACKAGES=/tmp/packages_end.txt 05:37:25 + case "${OS_FAMILY}" in 05:37:25 + dpkg -l 05:37:25 + grep '^ii' 05:37:25 + '[' -f /tmp/packages_start.txt ']' 05:37:25 + '[' -f /tmp/packages_end.txt ']' 05:37:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:37:25 + '[' /w/workspace/xfoundry_device-modbus-go_PR-553 ']' 05:37:25 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-553/archives/ 05:37:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-553/archives/ [Pipeline] echo 05:37:25 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-553/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:37:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:37:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:37:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:37:27 prd-ubuntu20.04-docker-8c-8g-1009 does not seem to be running inside a container 05:37:27 $ 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-553/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-553 -v /w/workspace/xfoundry_device-modbus-go_PR-553:/w/workspace/xfoundry_device-modbus-go_PR-553:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-553@tmp:/w/workspace/xfoundry_device-modbus-go_PR-553@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:37:27 $ docker top b4f42ab56b6b12b9b223a4e88072e3386e98cc62c61f6d2a32dfe0abb98606ad -eo pid,comm [Pipeline] { [Pipeline] sh 05:37:27 + touch /tmp/pre-build-complete [Pipeline] sh 05:37:28 + mkdir -p /var/log/sysstat [Pipeline] sh 05:37:28 + ls /var/log/sa-host 05:37:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:37:28 provisioning config files... 05:37:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-553@tmp/config11195519295760565367tmp [Pipeline] { [Pipeline] echo 05:37:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:37:29 ---> create-netrc.sh [Pipeline] } 05:37:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:37:29 ---> python-tools-install.sh [Pipeline] echo 05:37:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:37:30 ---> sudo-logs.sh 05:37:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:37:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:37:30 ---> job-cost.sh 05:37:30 lf-activate-venv: SKIPPING 05:37:30 DEBUG: total: 0.2199999988079071 05:37:30 INFO: Retrieving Stack Cost... 05:37:30 INFO: Retrieving Pricing Info for: v3-standard-8 05:37:31 INFO: Archiving Costs [Pipeline] echo 05:37:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:37:31 ---> logs-deploy.sh 05:37:31 lf-activate-venv: SKIPPING 05:37:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-553/1 05:37:31 INFO: archiving workspace using pattern(s): 05:37:32 Archives upload complete. 05:37:32 INFO: archiving logs to Nexus