Pull request #554 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f6d5f3c1c0f36123a5390c6d9c70f66dc57a8938+6ffd961e50bad5aafcddb961eadc768a2e323cba (fdeb0d8ab4db1e46af0b6861a10a1f6b51d0cb5c) 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-ssh12057865881266556812.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-ssh3702878709239614820.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-554/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-554/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11818404745545943982.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-554/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7635874527707723593.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-ssh11852328521050199443.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-554/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-554/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2167313857950345480.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-1584 in /w/workspace/xfoundry_device-modbus-go_PR-554 [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-554 # 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 Merging remotes/origin/main commit 6ffd961e50bad5aafcddb961eadc768a2e323cba into PR head commit f6d5f3c1c0f36123a5390c6d9c70f66dc57a8938 Merge succeeded, producing f6d5f3c1c0f36123a5390c6d9c70f66dc57a8938 Checking out Revision f6d5f3c1c0f36123a5390c6d9c70f66dc57a8938 (PR-554) 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 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/554/head:refs/remotes/origin/PR-554 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f6d5f3c1c0f36123a5390c6d9c70f66dc57a8938 # 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 f6d5f3c1c0f36123a5390c6d9c70f66dc57a8938 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:03:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:03:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:03:35 ========================================================= 06:03:35 EdgeX Global Pipelines Version Info 06:03:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:03:36 ------------------- 06:03:36 stable info: 06:03:36 ------------------- 06:03:36 Commited By: Ginny Guan ginny@iotechsys.com 06:03:36 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 06:03:36 Message: update stable to v1.0.260 06:03:37 ------------------- 06:03:37 experimental info: 06:03:37 ------------------- 06:03:37 Commited By: Ginny Guan ginny@iotechsys.com 06:03:37 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 06:03:37 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:03:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 06:03:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 06:03:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:03:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:03:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:03:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 06:03:37 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:03:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:03:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:03:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:03:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:03:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 06:03:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:03:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:03:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:03:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:03:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:03:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:03:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:03:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:03:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:03:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:03:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:03:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:03:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:03:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:03:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:03:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-554 [Pipeline] echo 06:03:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-554 [Pipeline] echo 06:03:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-554 [Pipeline] echo 06:03:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f6d5f3c1c0f36123a5390c6d9c70f66dc57a8938 [Pipeline] echo 06:03:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f6d5f3c [Pipeline] echo 06:03:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:03:39 provisioning config files... 06:03:39 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-554@tmp/config16265050616156738982tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:03:40 ---> ****-login.sh 06:03:40 nexus3.edgexfoundry.org:10001 06:03:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:03:40 Configure a credential helper to remove this warning. See 06:03:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:03:40 06:03:40 Login Succeeded 06:03:40 nexus3.edgexfoundry.org:10002 06:03:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:03:40 Configure a credential helper to remove this warning. See 06:03:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:03:40 06:03:40 Login Succeeded 06:03:40 nexus3.edgexfoundry.org:10003 06:03:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:03:40 Configure a credential helper to remove this warning. See 06:03:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:03:40 06:03:40 Login Succeeded 06:03:40 nexus3.edgexfoundry.org:10004 06:03:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:03:40 Configure a credential helper to remove this warning. See 06:03:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:03:40 06:03:40 Login Succeeded 06:03:40 ****.io 06:03:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:03:40 Configure a credential helper to remove this warning. See 06:03:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:03:40 06:03:40 Login Succeeded 06:03:40 ---> ****-login.sh ends [Pipeline] } 06:03:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:03:41 + git rev-list -1 --merges f6d5f3c1c0f36123a5390c6d9c70f66dc57a8938~1..f6d5f3c1c0f36123a5390c6d9c70f66dc57a8938 [Pipeline] echo 06:03:41 -----------> git rev-list -1 --merges f6d5f3c1c0f36123a5390c6d9c70f66dc57a8938~1..f6d5f3c1c0f36123a5390c6d9c70f66dc57a8938 f6d5f3c1c0f36123a5390c6d9c70f66dc57a8938 [false] [Pipeline] sh 06:03:41 + git log --format=format:%s -1 f6d5f3c1c0f36123a5390c6d9c70f66dc57a8938 [Pipeline] echo 06:03:42 ========================================================= 06:03:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:03:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:03:42 + git log --format=format:%s -1 f6d5f3c1c0f36123a5390c6d9c70f66dc57a8938 [Pipeline] echo 06:03:42 [semverPrep] GIT_COMMIT: f6d5f3c1c0f36123a5390c6d9c70f66dc57a8938, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 06:03:42 [semverPrep] This is not a build commit. [Pipeline] sh 06:03:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:03:42 + grep -v github /etc/ssh/ssh_known_hosts 06:03:42 + [ -e /tmp/ssh_known_hosts ] 06:03:42 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:03:42 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:03:42 + sudo tee -a /etc/ssh/ssh_known_hosts 06:03:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:03:43 06:03:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:03:43 0.1.4: Pulling from edgex-devops/py-git-semver 06:03:43 b85a868b505f: Pulling fs layer 06:03:43 e2be974225ed: Pulling fs layer 06:03:43 339a4e72a1f5: Pulling fs layer 06:03:43 988bab9f4d93: Pulling fs layer 06:03:43 1469e6f7b9e6: Pulling fs layer 06:03:43 eaf3925da568: Pulling fs layer 06:03:43 bab4dde63d76: Pulling fs layer 06:03:43 bde34c3a00c8: Pulling fs layer 06:03:43 b352a97aabf1: Pulling fs layer 06:03:43 4872d77fe225: Pulling fs layer 06:03:43 5851b861e8e6: Pulling fs layer 06:03:43 988bab9f4d93: Waiting 06:03:43 1469e6f7b9e6: Waiting 06:03:43 b352a97aabf1: Waiting 06:03:43 4872d77fe225: Waiting 06:03:43 5851b861e8e6: Waiting 06:03:43 eaf3925da568: Waiting 06:03:43 bab4dde63d76: Waiting 06:03:43 bde34c3a00c8: Waiting 06:03:43 e2be974225ed: Verifying Checksum 06:03:43 e2be974225ed: Download complete 06:03:43 988bab9f4d93: Verifying Checksum 06:03:43 988bab9f4d93: Download complete 06:03:43 1469e6f7b9e6: Verifying Checksum 06:03:43 1469e6f7b9e6: Download complete 06:03:43 eaf3925da568: Verifying Checksum 06:03:43 eaf3925da568: Download complete 06:03:43 339a4e72a1f5: Verifying Checksum 06:03:43 339a4e72a1f5: Download complete 06:03:44 bde34c3a00c8: Download complete 06:03:44 b352a97aabf1: Download complete 06:03:44 4872d77fe225: Verifying Checksum 06:03:44 4872d77fe225: Download complete 06:03:44 5851b861e8e6: Verifying Checksum 06:03:44 5851b861e8e6: Download complete 06:03:44 b85a868b505f: Verifying Checksum 06:03:44 b85a868b505f: Download complete 06:03:44 bab4dde63d76: Verifying Checksum 06:03:44 bab4dde63d76: Download complete 06:03:45 b85a868b505f: Pull complete 06:03:45 e2be974225ed: Pull complete 06:03:45 339a4e72a1f5: Pull complete 06:03:45 988bab9f4d93: Pull complete 06:03:46 1469e6f7b9e6: Pull complete 06:03:46 eaf3925da568: Pull complete 06:03:47 bab4dde63d76: Pull complete 06:03:47 bde34c3a00c8: Pull complete 06:03:47 b352a97aabf1: Pull complete 06:03:47 4872d77fe225: Pull complete 06:03:48 5851b861e8e6: Pull complete 06:03:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:03:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:03:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:03:48 prd-ubuntu20.04-docker-8c-8g-1584 does not seem to be running inside a container 06:03:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-554 -v /w/workspace/xfoundry_device-modbus-go_PR-554:/w/workspace/xfoundry_device-modbus-go_PR-554:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-554@tmp:/w/workspace/xfoundry_device-modbus-go_PR-554@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:03:50 $ docker top bd31b8dfe8727774738e86cb95d0642602c34497bc84b9ee79c39a511c2f4f6a -eo pid,comm 06:03:50 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:03:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:03:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:03:50 [ssh-agent] Looking for ssh-agent implementation... 06:03:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:03:51 $ docker exec bd31b8dfe8727774738e86cb95d0642602c34497bc84b9ee79c39a511c2f4f6a ssh-agent 06:03:51 SSH_AUTH_SOCK=/tmp/ssh-7brJsWKD7phg/agent.32 06:03:51 SSH_AGENT_PID=38 06:03:51 Running ssh-add (command line suppressed) 06:03:51 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-554@tmp/private_key_17356965257558719882.key (/w/workspace/xfoundry_device-modbus-go_PR-554@tmp/private_key_17356965257558719882.key) 06:03:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:03:51 + git tag --points-at HEAD [Pipeline] } 06:03:51 $ docker exec --env ******** --env ******** bd31b8dfe8727774738e86cb95d0642602c34497bc84b9ee79c39a511c2f4f6a ssh-agent -k 06:03:51 unset SSH_AUTH_SOCK; 06:03:51 unset SSH_AGENT_PID; 06:03:51 echo Agent pid 38 killed; 06:03:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:03:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:03:52 [ssh-agent] Looking for ssh-agent implementation... 06:03:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:03:52 $ docker exec bd31b8dfe8727774738e86cb95d0642602c34497bc84b9ee79c39a511c2f4f6a ssh-agent 06:03:52 SSH_AUTH_SOCK=/tmp/ssh-VfvRAitERyDN/agent.71 06:03:52 SSH_AGENT_PID=77 06:03:52 Running ssh-add (command line suppressed) 06:03:52 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-554@tmp/private_key_15027828793207963168.key (/w/workspace/xfoundry_device-modbus-go_PR-554@tmp/private_key_15027828793207963168.key) 06:03:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:03:52 + git semver init 06:03:53 2024-05-30 06:03:53,031 [run_init] DEBUG init version:0.0.0 force:False 06:03:53 2024-05-30 06:03:53,032 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-554/.semver 06:03:53 2024-05-30 06:03:53,032 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-554/.semver 06:03:53 2024-05-30 06:03:53,033 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-554/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-554, universal_newlines=False, shell=None, istream=None) 06:03:54 2024-05-30 06:03:54,014 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-554/.git/info/exclude 06:03:54 2024-05-30 06:03:54,014 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-554/.semver/PR-554 with force:False 06:03:54 2024-05-30 06:03:54,014 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-554/.semver/PR-554 06:03:54 2024-05-30 06:03:54,017 [execute] INFO git cat-file --batch-check 06:03:54 2024-05-30 06:03:54,017 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-554/.semver, universal_newlines=False, shell=None, istream=) 06:03:54 2024-05-30 06:03:54,023 [execute] INFO git cat-file --batch 06:03:54 2024-05-30 06:03:54,023 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-554/.semver, universal_newlines=False, shell=None, istream=) 06:03:54 2024-05-30 06:03:54,028 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-554/.semver/PR-554 06:03:54 0.0.0 [Pipeline] } 06:03:54 $ docker exec --env ******** --env ******** bd31b8dfe8727774738e86cb95d0642602c34497bc84b9ee79c39a511c2f4f6a ssh-agent -k 06:03:54 unset SSH_AUTH_SOCK; 06:03:54 unset SSH_AGENT_PID; 06:03:54 echo Agent pid 77 killed; 06:03:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:03:54 + git semver [Pipeline] } 06:03:54 $ docker stop --time=1 bd31b8dfe8727774738e86cb95d0642602c34497bc84b9ee79c39a511c2f4f6a 06:03:56 $ docker rm -f --volumes bd31b8dfe8727774738e86cb95d0642602c34497bc84b9ee79c39a511c2f4f6a [Pipeline] // withDockerContainer [Pipeline] sh 06:03:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:03:56 Stashed 1 file(s) [Pipeline] echo 06:03:57 [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 06:03:57 provisioning config files... 06:03:57 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-554@tmp/config12596407624751025749tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:03:58 ---> ****-login.sh 06:03:58 nexus3.edgexfoundry.org:10001 06:03:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:03:58 Configure a credential helper to remove this warning. See 06:03:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:03:58 06:03:58 Login Succeeded 06:03:58 nexus3.edgexfoundry.org:10002 06:03:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:03:58 Configure a credential helper to remove this warning. See 06:03:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:03:58 06:03:58 Login Succeeded 06:03:58 nexus3.edgexfoundry.org:10003 06:03:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:03:58 Configure a credential helper to remove this warning. See 06:03:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:03:58 06:03:58 Login Succeeded 06:03:58 nexus3.edgexfoundry.org:10004 06:03:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:03:58 Configure a credential helper to remove this warning. See 06:03:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:03:58 06:03:58 Login Succeeded 06:03:58 ****.io 06:03:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:03:58 Configure a credential helper to remove this warning. See 06:03:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:03:58 06:03:58 Login Succeeded 06:03:58 ---> ****-login.sh ends [Pipeline] } 06:03:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:03:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:03:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:03:59 ========================================================= 06:03:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 06:03:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:59 + 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 . 06:03:59 Sending build context to Docker daemon 17.71MB 06:03:59 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 06:03:59 Step 2/10 : FROM ${BASE} AS builder 06:03:59 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 06:03:59 619be1103602: Pulling fs layer 06:03:59 7862e08f4a3e: Pulling fs layer 06:03:59 5df492c9dc93: Pulling fs layer 06:03:59 7629e6793208: Pulling fs layer 06:03:59 4f4fb700ef54: Pulling fs layer 06:03:59 fb5054dd5b73: Pulling fs layer 06:03:59 eeca6798cff9: Pulling fs layer 06:03:59 aa269ceb94a6: Pulling fs layer 06:03:59 ada007ff1a6a: Pulling fs layer 06:03:59 7629e6793208: Waiting 06:03:59 4f4fb700ef54: Waiting 06:03:59 fb5054dd5b73: Waiting 06:03:59 eeca6798cff9: Waiting 06:03:59 aa269ceb94a6: Waiting 06:03:59 ada007ff1a6a: Waiting 06:03:59 7862e08f4a3e: Download complete 06:03:59 7629e6793208: Download complete 06:03:59 4f4fb700ef54: Verifying Checksum 06:03:59 4f4fb700ef54: Download complete 06:03:59 fb5054dd5b73: Verifying Checksum 06:03:59 fb5054dd5b73: Download complete 06:03:59 619be1103602: Verifying Checksum 06:03:59 619be1103602: Download complete 06:03:59 eeca6798cff9: Verifying Checksum 06:03:59 eeca6798cff9: Download complete 06:03:59 619be1103602: Pull complete 06:04:00 ada007ff1a6a: Verifying Checksum 06:04:00 ada007ff1a6a: Download complete 06:04:00 7862e08f4a3e: Pull complete 06:04:00 5df492c9dc93: Verifying Checksum 06:04:00 5df492c9dc93: Download complete 06:04:00 aa269ceb94a6: Verifying Checksum 06:04:00 aa269ceb94a6: Download complete 06:04:03 5df492c9dc93: Pull complete 06:04:03 7629e6793208: Pull complete 06:04:03 4f4fb700ef54: Pull complete 06:04:03 fb5054dd5b73: Pull complete 06:04:03 eeca6798cff9: Pull complete 06:04:06 aa269ceb94a6: Pull complete 06:04:06 ada007ff1a6a: Pull complete 06:04:06 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 06:04:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 06:04:06 ---> f489d0715acc 06:04:06 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:04:11 ---> Running in 431aae699ce2 06:04:11 Removing intermediate container 431aae699ce2 06:04:11 ---> 7bc6810e0a31 06:04:11 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:04:11 ---> Running in 819084039e6d 06:04:11 Removing intermediate container 819084039e6d 06:04:11 ---> e03f4607f3e9 06:04:11 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:04:11 ---> Running in 443914986ba1 06:04:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:04:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:04:12 (1/8) Installing openssh-keygen (9.3_p2-r1) 06:04:12 (2/8) Installing libedit (20221030.3.1-r1) 06:04:12 (3/8) Installing openssh-client-common (9.3_p2-r1) 06:04:12 (4/8) Installing openssh-client-default (9.3_p2-r1) 06:04:12 (5/8) Installing openssh-sftp-server (9.3_p2-r1) 06:04:12 (6/8) Installing openssh-server-common (9.3_p2-r1) 06:04:12 (7/8) Installing openssh-server (9.3_p2-r1) 06:04:12 (8/8) Installing openssh (9.3_p2-r1) 06:04:12 Executing busybox-1.36.1-r5.trigger 06:04:12 OK: 270 MiB in 60 packages 06:04:12 Still waiting to schedule task 06:04:12 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:04:12 Removing intermediate container 443914986ba1 06:04:12 ---> d8c218938fa8 06:04:12 Step 6/10 : WORKDIR /device-modbus-go 06:04:12 ---> Running in 24bc37c75589 06:04:12 Removing intermediate container 24bc37c75589 06:04:12 ---> ce764a33aa90 06:04:12 Step 7/10 : COPY go.mod vendor* ./ 06:04:12 ---> 9ed67a66e5ea 06:04:12 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:04:12 ---> Running in 685c4719f119 06:04:59 Removing intermediate container 685c4719f119 06:04:59 ---> a620517f480c 06:04:59 Step 9/10 : COPY . . 06:04:59 ---> 14fa642f1073 06:04:59 Step 10/10 : RUN ${MAKE} 06:04:59 ---> Running in 33fa35fda499 06:04:59 noop 06:04:59 Removing intermediate container 33fa35fda499 06:04:59 ---> 04402e7142b4 06:04:59 Successfully built 04402e7142b4 06:04:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:00 + docker inspect -f . ci-base-image-x86_64 06:05:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:00 prd-ubuntu20.04-docker-8c-8g-1584 does not seem to be running inside a container 06:05:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-554 -v /w/workspace/xfoundry_device-modbus-go_PR-554:/w/workspace/xfoundry_device-modbus-go_PR-554:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-554@tmp:/w/workspace/xfoundry_device-modbus-go_PR-554@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:05:00 $ docker top 2d24faf3aad8647813f63f65b4e1678fcb0dd5c2bc18629ac004da4a3b0bcdb1 -eo pid,comm [Pipeline] { [Pipeline] sh 06:05:01 + go version 06:05:01 go version go1.21.9 linux/amd64 [Pipeline] } 06:05:01 $ docker stop --time=1 2d24faf3aad8647813f63f65b4e1678fcb0dd5c2bc18629ac004da4a3b0bcdb1 06:05:02 $ docker rm -f --volumes 2d24faf3aad8647813f63f65b4e1678fcb0dd5c2bc18629ac004da4a3b0bcdb1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:03 + docker inspect -f . ci-base-image-x86_64 06:05:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:03 prd-ubuntu20.04-docker-8c-8g-1584 does not seem to be running inside a container 06:05:03 $ 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-554 -v /w/workspace/xfoundry_device-modbus-go_PR-554:/w/workspace/xfoundry_device-modbus-go_PR-554:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-554@tmp:/w/workspace/xfoundry_device-modbus-go_PR-554@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:05:03 $ docker top 7fa9250e3671e3fa16c3c97512f1c93612a343341ab22145cc36e09cfbb741a6 -eo pid,comm [Pipeline] { [Pipeline] sh 06:05:04 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-554 [Pipeline] fileExists [Pipeline] sh 06:05:04 + make test 06:05:04 go test ./... -coverprofile=coverage.out 06:05:06 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:05:24 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:05:24 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 47.9% of statements 06:05:31 go vet ./... 06:05:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:05:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:05:36 ./bin/test-attribution-txt.sh 06:05:36 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 06:05:36 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 06:05:36 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 06:05:36 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 06:05:36 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 06:05:36 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 06:05:36 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 06:05:36 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 06:05:36 An attribution for golang.org/x/term is missing from Attribution.txt, please add 06:05:36 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 06:05:36 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 06:05:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:05:36 $ docker stop --time=1 7fa9250e3671e3fa16c3c97512f1c93612a343341ab22145cc36e09cfbb741a6 06:05:41 $ docker rm -f --volumes 7fa9250e3671e3fa16c3c97512f1c93612a343341ab22145cc36e09cfbb741a6 [Pipeline] // withDockerContainer [Pipeline] sh 06:05:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:05:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:05:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:05:43 + ls -al . 06:05:43 total 264 06:05:43 drwxrwxr-x 9 jenkins jenkins 4096 May 30 06:05 . 06:05:43 drwxrwxr-x 4 jenkins jenkins 4096 May 30 06:03 .. 06:05:43 -rw-rw-r-- 1 jenkins jenkins 140 May 30 06:03 .dockerignore 06:05:43 drwxrwxr-x 8 jenkins jenkins 4096 May 30 06:05 .git 06:05:43 drwxrwxr-x 3 jenkins jenkins 4096 May 30 06:03 .github 06:05:43 -rw-rw-r-- 1 jenkins jenkins 266 May 30 06:03 .gitignore 06:05:43 -rw-rw-r-- 1 jenkins jenkins 41 May 30 06:03 .golangci.yml 06:05:43 drwxr-xr-x 3 jenkins jenkins 4096 May 30 06:03 .semver 06:05:43 -rw-rw-r-- 1 jenkins jenkins 11101 May 30 06:03 Attribution.txt 06:05:43 -rw-rw-r-- 1 jenkins jenkins 16388 May 30 06:03 CHANGELOG.md 06:05:43 -rw-rw-r-- 1 jenkins jenkins 1474 May 30 06:03 Dockerfile 06:05:43 -rw-rw-r-- 1 jenkins jenkins 677 May 30 06:03 GOVERNANCE.md 06:05:43 -rw-rw-r-- 1 jenkins jenkins 658 May 30 06:03 Jenkinsfile 06:05:43 -rw-rw-r-- 1 jenkins jenkins 11340 May 30 06:03 LICENSE 06:05:43 -rw-rw-r-- 1 jenkins jenkins 1942 May 30 06:03 Makefile 06:05:43 -rw-rw-r-- 1 jenkins jenkins 622 May 30 06:03 OWNERS.md 06:05:43 -rw-rw-r-- 1 jenkins jenkins 4463 May 30 06:03 README.md 06:05:43 -rw-rw-r-- 1 jenkins jenkins 5 May 30 06:03 VERSION 06:05:43 drwxrwxr-x 2 jenkins jenkins 4096 May 30 06:03 bin 06:05:43 drwxrwxr-x 3 jenkins jenkins 4096 May 30 06:03 cmd 06:05:43 -rw-r--r-- 1 jenkins jenkins 24601 May 30 06:05 coverage.out 06:05:43 -rw-rw-r-- 1 jenkins jenkins 7241 May 30 06:03 go.mod 06:05:43 -rw-rw-r-- 1 jenkins jenkins 101886 May 30 06:03 go.sum 06:05:43 drwxrwxr-x 3 jenkins jenkins 4096 May 30 06:03 internal 06:05:43 drwxrwxr-x 2 jenkins jenkins 4096 May 30 06:03 simulator 06:05:43 -rw-rw-r-- 1 jenkins jenkins 229 May 30 06:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:43 + 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=f6d5f3c1c0f36123a5390c6d9c70f66dc57a8938 --label arch=amd64 --label version=0.0.0 . 06:05:43 Sending build context to Docker daemon 17.74MB 06:05:43 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 06:05:43 Step 2/23 : FROM ${BASE} AS builder 06:05:44 ---> 04402e7142b4 06:05:44 Step 3/23 : ARG ADD_BUILD_TAGS="" 06:05:44 ---> Running in bd828ae74755 06:05:44 Removing intermediate container bd828ae74755 06:05:44 ---> 008c9411629e 06:05:44 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:05:44 ---> Running in 80dc096fcff0 06:05:44 Removing intermediate container 80dc096fcff0 06:05:44 ---> ccd97d444429 06:05:44 Step 5/23 : RUN apk add --update --no-cache make git openssh 06:05:44 ---> Running in e3968d4097d9 06:05:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:05:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:05:45 OK: 270 MiB in 60 packages 06:05:45 Removing intermediate container e3968d4097d9 06:05:45 ---> 347f5dccd34e 06:05:45 Step 6/23 : WORKDIR /device-modbus-go 06:05:45 ---> Running in 2fdc69e33fd1 06:05:45 Removing intermediate container 2fdc69e33fd1 06:05:45 ---> f9e77972f9e2 06:05:45 Step 7/23 : COPY go.mod vendor* ./ 06:05:45 ---> 290a0dad901d 06:05:45 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:05:45 ---> Running in 770a652d7223 06:05:46 Removing intermediate container 770a652d7223 06:05:46 ---> a848557d9ee8 06:05:46 Step 9/23 : COPY . . 06:05:46 ---> 30910e13e9a2 06:05:46 Step 10/23 : RUN ${MAKE} 06:05:46 ---> Running in fd37d1fd6496 06:05:47 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.16" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 06:06:19 Removing intermediate container fd37d1fd6496 06:06:19 ---> 7ab19589cb23 06:06:19 Step 11/23 : FROM alpine:3.18 06:06:19 3.18: Pulling from library/alpine 06:06:19 619be1103602: Already exists 06:06:19 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 06:06:19 Status: Downloaded newer image for alpine:3.18 06:06:19 ---> d3782b16ccc9 06:06:19 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:06:19 ---> Running in 3b5dea547ca9 06:06:19 Removing intermediate container 3b5dea547ca9 06:06:19 ---> f44f48c6034a 06:06:19 Step 13/23 : RUN apk add --update --no-cache dumb-init 06:06:19 ---> Running in 6d2bb4cc12ad 06:06:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:06:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:06:19 (1/1) Installing dumb-init (1.2.5-r2) 06:06:19 Executing busybox-1.36.1-r5.trigger 06:06:19 OK: 7 MiB in 16 packages 06:06:19 Removing intermediate container 6d2bb4cc12ad 06:06:19 ---> aacb4d443b6a 06:06:19 Step 14/23 : RUN apk --no-cache upgrade 06:06:19 ---> Running in 9ea94206d1a6 06:06:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:06:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:06:19 Upgrading critical system libraries and apk-tools: 06:06:19 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 06:06:19 Executing busybox-1.36.1-r5.trigger 06:06:19 Continuing the upgrade transaction with new apk-tools: 06:06:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:06:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:06:19 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 06:06:19 Executing busybox-1.36.1-r6.post-upgrade 06:06:19 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 06:06:19 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 06:06:19 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 06:06:19 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 06:06:19 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 06:06:19 Executing busybox-1.36.1-r6.trigger 06:06:19 OK: 7 MiB in 16 packages 06:06:19 Removing intermediate container 9ea94206d1a6 06:06:19 ---> 15ad1aa0ac64 06:06:19 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 06:06:19 ---> f218a223aa6f 06:06:19 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 06:06:20 ---> 43323b0bd385 06:06:20 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:06:20 ---> 32f793b04932 06:06:20 Step 18/23 : EXPOSE 59901 06:06:20 ---> Running in ae2a18729022 06:06:20 Removing intermediate container ae2a18729022 06:06:20 ---> cba0773ea9bd 06:06:20 Step 19/23 : ENTRYPOINT ["/device-modbus"] 06:06:20 ---> Running in ee515c073474 06:06:20 Removing intermediate container ee515c073474 06:06:20 ---> bd61c9150fe0 06:06:20 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:06:20 ---> Running in 00026358b25d 06:06:20 Removing intermediate container 00026358b25d 06:06:20 ---> fb6d15cf84dd 06:06:20 Step 21/23 : LABEL arch=amd64 06:06:20 ---> Running in e595222383e2 06:06:20 Removing intermediate container e595222383e2 06:06:20 ---> 8f1c201896c9 06:06:20 Step 22/23 : LABEL git_sha=f6d5f3c1c0f36123a5390c6d9c70f66dc57a8938 06:06:20 ---> Running in d06894c4b615 06:06:20 Removing intermediate container d06894c4b615 06:06:20 ---> f093f6330e7d 06:06:20 Step 23/23 : LABEL version=0.0.0 06:06:20 ---> Running in 110905787eae 06:06:20 Removing intermediate container 110905787eae 06:06:20 ---> 40dd31768963 06:06:20 [Warning] One or more build-args [ARCH] were not consumed 06:06:20 Successfully built 40dd31768963 06:06:20 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 06:06:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:06:21 06:06:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:06:22 latest: Pulling from edgex-lftools-log-publisher 06:06:22 5eb5b503b376: Pulling fs layer 06:06:22 5c69ac0246d0: Pulling fs layer 06:06:22 ec43610c2a17: Pulling fs layer 06:06:22 3a2ae6a8a46f: Pulling fs layer 06:06:22 33b1e0a273af: Pulling fs layer 06:06:22 5d3b04190fa2: Pulling fs layer 06:06:22 2f39f015ded8: Pulling fs layer 06:06:22 3a2ae6a8a46f: Waiting 06:06:22 33b1e0a273af: Waiting 06:06:22 5d3b04190fa2: Waiting 06:06:22 5c69ac0246d0: Verifying Checksum 06:06:22 5c69ac0246d0: Download complete 06:06:22 3a2ae6a8a46f: Verifying Checksum 06:06:22 3a2ae6a8a46f: Download complete 06:06:22 33b1e0a273af: Verifying Checksum 06:06:22 33b1e0a273af: Download complete 06:06:22 5d3b04190fa2: Verifying Checksum 06:06:22 5d3b04190fa2: Download complete 06:06:22 ec43610c2a17: Verifying Checksum 06:06:22 ec43610c2a17: Download complete 06:06:22 5eb5b503b376: Verifying Checksum 06:06:22 5eb5b503b376: Download complete 06:06:22 2f39f015ded8: Download complete 06:06:23 5eb5b503b376: Pull complete 06:06:23 5c69ac0246d0: Pull complete 06:06:24 ec43610c2a17: Pull complete 06:06:24 3a2ae6a8a46f: Pull complete 06:06:24 33b1e0a273af: Pull complete 06:06:24 5d3b04190fa2: Pull complete 06:06:28 2f39f015ded8: Pull complete 06:06:28 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:06:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:06:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:06:28 prd-ubuntu20.04-docker-8c-8g-1584 does not seem to be running inside a container 06:06:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-554 -v /w/workspace/xfoundry_device-modbus-go_PR-554:/w/workspace/xfoundry_device-modbus-go_PR-554:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-554@tmp:/w/workspace/xfoundry_device-modbus-go_PR-554@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:06:31 $ docker top d18cc3fadc9b18923c6395990832bdc18b5b2665ec0e1086024f2827c3e46067 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:06:32 ---> job-cost.sh 06:06:32 lf-activate-venv: SKIPPING 06:06:32 INFO: No Stack... 06:06:32 INFO: Retrieving Pricing Info for: v3-standard-8 06:06:33 INFO: Archiving Costs [Pipeline] sh 06:06:33 + cat /w/workspace/xfoundry_device-modbus-go_PR-554/archives/cost.csv 06:06:33 + cut -d, -f6 [Pipeline] lock 06:06:33 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-554-1-stack-cost] 06:06:33 Resource [jenkins-edgexfoundry-device-modbus-go-PR-554-1-stack-cost] did not exist. Created. 06:06:33 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-554-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:06:33 + echo total: 0.2199999988079071 [Pipeline] stash 06:06:34 Stashed 1 file(s) [Pipeline] } 06:06:34 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-554-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:06:34 $ docker stop --time=1 d18cc3fadc9b18923c6395990832bdc18b5b2665ec0e1086024f2827c3e46067 06:06:35 $ docker rm -f --volumes d18cc3fadc9b18923c6395990832bdc18b5b2665ec0e1086024f2827c3e46067 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:07:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1590 in /w/workspace/xfoundry_device-modbus-go_PR-554 [Pipeline] { [Pipeline] ws 06:07:20 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 06:07:23 The recommended git tool is: git 06:07:30 using credential edgex-jenkins-ssh 06:07:30 Cloning the remote Git repository 06:07:30 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:07:30 > git init /w/workspace/device-modbus-go/1 # timeout=10 06:07:30 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:07:30 > git --version # timeout=10 06:07:30 > git --version # 'git version 2.25.1' 06:07:30 using GIT_SSH to set credentials SSH Credentials for GitHub 06:07:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:07:32 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:07:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:07:33 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:07:33 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:07:33 using GIT_SSH to set credentials SSH Credentials for GitHub 06:07:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/554/head:refs/remotes/origin/PR-554 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:07:34 Merging remotes/origin/main commit 6ffd961e50bad5aafcddb961eadc768a2e323cba into PR head commit f6d5f3c1c0f36123a5390c6d9c70f66dc57a8938 06:07:34 Merge succeeded, producing f6d5f3c1c0f36123a5390c6d9c70f66dc57a8938 06:07:34 Checking out Revision f6d5f3c1c0f36123a5390c6d9c70f66dc57a8938 (PR-554) 06:07:35 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 06:07:35 > git --version # timeout=10 06:07:35 > git --version # 'git version 2.25.1' 06:07:35 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 06:07:34 > git config core.sparsecheckout # timeout=10 06:07:34 > git checkout -f f6d5f3c1c0f36123a5390c6d9c70f66dc57a8938 # timeout=10 06:07:34 > git remote # timeout=10 06:07:34 > git config --get remote.origin.url # timeout=10 06:07:34 using GIT_SSH to set credentials SSH Credentials for GitHub 06:07:34 > git merge 6ffd961e50bad5aafcddb961eadc768a2e323cba # timeout=10 06:07:34 > git rev-parse HEAD^{commit} # timeout=10 06:07:34 > git config core.sparsecheckout # timeout=10 06:07:34 > git checkout -f f6d5f3c1c0f36123a5390c6d9c70f66dc57a8938 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:07:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:07:40 % Total % Received % Xferd Average Speed Time Time Time Current 06:07:40 Dload Upload Total Spent Left Speed 06:07:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 215k 0 --:--:-- --:--:-- --:--:-- 215k [Pipeline] sh 06:07:40 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:07:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:07:41 + sudo tee /etc/docker/daemon.new 06:07:41 { 06:07:41 "registry-mirrors": [ 06:07:41 "https://nexus3.edgexfoundry.org:10001" 06:07:41 ], 06:07:41 "bip": "10.250.0.254/24", 06:07:41 "hosts": [ 06:07:41 "tcp://0.0.0.0:5555", 06:07:41 "unix:///var/run/docker.sock" 06:07:41 ], 06:07:41 "mtu": 1458, 06:07:41 "selinux-enabled": true, 06:07:41 "seccomp-profile": "/etc/docker/seccomp.json" 06:07:41 } [Pipeline] sh 06:07:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:07:41 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:08:00 provisioning config files... 06:08:00 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config16334818818885230865tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:08:00 ---> ****-login.sh 06:08:00 nexus3.edgexfoundry.org:10001 06:08:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:08:01 Configure a credential helper to remove this warning. See 06:08:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:08:01 06:08:01 Login Succeeded 06:08:01 nexus3.edgexfoundry.org:10002 06:08:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:08:01 Configure a credential helper to remove this warning. See 06:08:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:08:01 06:08:01 Login Succeeded 06:08:01 nexus3.edgexfoundry.org:10003 06:08:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:08:02 Configure a credential helper to remove this warning. See 06:08:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:08:02 06:08:02 Login Succeeded 06:08:02 nexus3.edgexfoundry.org:10004 06:08:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:08:02 Configure a credential helper to remove this warning. See 06:08:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:08:02 06:08:02 Login Succeeded 06:08:02 ****.io 06:08:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:08:02 Configure a credential helper to remove this warning. See 06:08:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:08:02 06:08:02 Login Succeeded 06:08:02 ---> ****-login.sh ends [Pipeline] } 06:08:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:08:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:08:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:08:03 ========================================================= 06:08:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 06:08:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:04 + 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 . 06:08:04 Sending build context to Docker daemon 8.99MB 06:08:04 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 06:08:04 Step 2/10 : FROM ${BASE} AS builder 06:08:04 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:08:04 c6b39de5b339: Pulling fs layer 06:08:04 a69c41024577: Pulling fs layer 06:08:04 d6de4b400683: Pulling fs layer 06:08:04 35cb2a7552d0: Pulling fs layer 06:08:04 4f4fb700ef54: Pulling fs layer 06:08:04 464afbd9ba4c: Pulling fs layer 06:08:04 00f215d4a9da: Pulling fs layer 06:08:04 d496ad576159: Pulling fs layer 06:08:04 35cb2a7552d0: Waiting 06:08:04 4f4fb700ef54: Waiting 06:08:04 464afbd9ba4c: Waiting 06:08:04 00f215d4a9da: Waiting 06:08:04 d496ad576159: Waiting 06:08:04 a69c41024577: Verifying Checksum 06:08:04 a69c41024577: Download complete 06:08:05 35cb2a7552d0: Verifying Checksum 06:08:05 35cb2a7552d0: Download complete 06:08:05 4f4fb700ef54: Verifying Checksum 06:08:05 4f4fb700ef54: Download complete 06:08:05 c6b39de5b339: Verifying Checksum 06:08:05 c6b39de5b339: Download complete 06:08:05 464afbd9ba4c: Verifying Checksum 06:08:05 464afbd9ba4c: Download complete 06:08:05 d496ad576159: Verifying Checksum 06:08:05 d496ad576159: Download complete 06:08:05 c6b39de5b339: Pull complete 06:08:06 a69c41024577: Pull complete 06:08:06 d6de4b400683: Verifying Checksum 06:08:06 d6de4b400683: Download complete 06:08:07 00f215d4a9da: Verifying Checksum 06:08:07 00f215d4a9da: Download complete 06:08:20 d6de4b400683: Pull complete 06:08:20 35cb2a7552d0: Pull complete 06:08:20 4f4fb700ef54: Pull complete 06:08:20 464afbd9ba4c: Pull complete 06:08:28 00f215d4a9da: Pull complete 06:08:29 d496ad576159: Pull complete 06:08:29 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 06:08:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 06:08:29 ---> f246e2811388 06:08:29 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:08:31 ---> Running in b7cfe62b3d21 06:08:31 Removing intermediate container b7cfe62b3d21 06:08:31 ---> 59b9e9c1a0ef 06:08:31 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:08:31 ---> Running in 6f2948ba1c23 06:08:32 Removing intermediate container 6f2948ba1c23 06:08:32 ---> 00af3a9dea6d 06:08:32 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:08:32 ---> Running in 71cd265ba3ed 06:08:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:08:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:08:34 (1/8) Installing openssh-keygen (9.3_p2-r1) 06:08:34 (2/8) Installing libedit (20221030.3.1-r1) 06:08:34 (3/8) Installing openssh-client-common (9.3_p2-r1) 06:08:34 (4/8) Installing openssh-client-default (9.3_p2-r1) 06:08:34 (5/8) Installing openssh-sftp-server (9.3_p2-r1) 06:08:34 (6/8) Installing openssh-server-common (9.3_p2-r1) 06:08:34 (7/8) Installing openssh-server (9.3_p2-r1) 06:08:34 (8/8) Installing openssh (9.3_p2-r1) 06:08:34 Executing busybox-1.36.1-r5.trigger 06:08:34 OK: 272 MiB in 60 packages 06:08:36 Removing intermediate container 71cd265ba3ed 06:08:36 ---> 2fd14e65c611 06:08:36 Step 6/10 : WORKDIR /device-modbus-go 06:08:36 ---> Running in 4c222428a622 06:08:36 Removing intermediate container 4c222428a622 06:08:36 ---> 18346ad0e9e4 06:08:36 Step 7/10 : COPY go.mod vendor* ./ 06:08:37 ---> ecc0d82d6fbd 06:08:37 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:08:37 ---> Running in 64fe9e531480 06:10:28 Removing intermediate container 64fe9e531480 06:10:28 ---> 271af3c7f17a 06:10:28 Step 9/10 : COPY . . 06:10:28 ---> 64b7766de747 06:10:28 Step 10/10 : RUN ${MAKE} 06:10:28 ---> Running in 6dffbcfc0bd0 06:10:28 noop 06:10:29 Removing intermediate container 6dffbcfc0bd0 06:10:29 ---> aef1c9e3341e 06:10:29 Successfully built aef1c9e3341e 06:10:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:30 + docker inspect -f . ci-base-image-arm64 06:10:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:30 prd-ubuntu20.04-docker-arm64-4c-16g-1590 does not seem to be running inside a container 06:10:30 $ 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 06:10:31 $ docker top a30ed2c2701acfe469b1edb5510e02dd99549a4b1157ca91ea0fc3a3cadb985e -eo pid,comm [Pipeline] { [Pipeline] sh 06:10:32 + go version 06:10:32 go version go1.21.9 linux/arm64 [Pipeline] } 06:10:32 $ docker stop --time=1 a30ed2c2701acfe469b1edb5510e02dd99549a4b1157ca91ea0fc3a3cadb985e 06:10:34 $ docker rm -f --volumes a30ed2c2701acfe469b1edb5510e02dd99549a4b1157ca91ea0fc3a3cadb985e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:35 + docker inspect -f . ci-base-image-arm64 06:10:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:35 prd-ubuntu20.04-docker-arm64-4c-16g-1590 does not seem to be running inside a container 06:10:35 $ 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 06:10:37 $ docker top 99842e83da1790357a640363a9d8c80cdea2a0e1cce654ca13d777d7eaf551fb -eo pid,comm [Pipeline] { [Pipeline] sh 06:10:38 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 06:10:38 + make test 06:10:38 go test ./... -coverprofile=coverage.out 06:10:45 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:14:52 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:14:53 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.076s coverage: 47.9% of statements 06:14:54 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:14:54 go vet ./... 06:15:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:15:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:15:41 ./bin/test-attribution-txt.sh 06:15:41 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 06:15:41 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 06:15:41 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 06:15:41 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 06:15:41 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 06:15:41 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 06:15:41 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 06:15:41 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 06:15:41 An attribution for golang.org/x/term is missing from Attribution.txt, please add 06:15:41 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 06:15:41 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 06:15:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:15:41 $ docker stop --time=1 99842e83da1790357a640363a9d8c80cdea2a0e1cce654ca13d777d7eaf551fb 06:15:43 $ docker rm -f --volumes 99842e83da1790357a640363a9d8c80cdea2a0e1cce654ca13d777d7eaf551fb [Pipeline] // withDockerContainer [Pipeline] sh 06:15:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:15:44 Warning: overwriting stash ‘coverage-report’ 06:15:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:15:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:15:46 + ls -al . 06:15:46 total 260 06:15:46 drwxrwxr-x 8 jenkins jenkins 4096 May 30 06:10 . 06:15:46 drwxrwxr-x 4 jenkins jenkins 4096 May 30 06:07 .. 06:15:46 -rw-rw-r-- 1 jenkins jenkins 140 May 30 06:07 .dockerignore 06:15:46 drwxrwxr-x 8 jenkins jenkins 4096 May 30 06:07 .git 06:15:46 drwxrwxr-x 3 jenkins jenkins 4096 May 30 06:07 .github 06:15:46 -rw-rw-r-- 1 jenkins jenkins 266 May 30 06:07 .gitignore 06:15:46 -rw-rw-r-- 1 jenkins jenkins 41 May 30 06:07 .golangci.yml 06:15:46 -rw-rw-r-- 1 jenkins jenkins 11101 May 30 06:07 Attribution.txt 06:15:46 -rw-rw-r-- 1 jenkins jenkins 16388 May 30 06:07 CHANGELOG.md 06:15:46 -rw-rw-r-- 1 jenkins jenkins 1474 May 30 06:07 Dockerfile 06:15:46 -rw-rw-r-- 1 jenkins jenkins 677 May 30 06:07 GOVERNANCE.md 06:15:46 -rw-rw-r-- 1 jenkins jenkins 658 May 30 06:07 Jenkinsfile 06:15:46 -rw-rw-r-- 1 jenkins jenkins 11340 May 30 06:07 LICENSE 06:15:46 -rw-rw-r-- 1 jenkins jenkins 1942 May 30 06:07 Makefile 06:15:46 -rw-rw-r-- 1 jenkins jenkins 622 May 30 06:07 OWNERS.md 06:15:46 -rw-rw-r-- 1 jenkins jenkins 4463 May 30 06:07 README.md 06:15:46 -rw-rw-r-- 1 jenkins jenkins 5 May 30 06:03 VERSION 06:15:46 drwxrwxr-x 2 jenkins jenkins 4096 May 30 06:07 bin 06:15:46 drwxrwxr-x 3 jenkins jenkins 4096 May 30 06:07 cmd 06:15:46 -rw-r--r-- 1 jenkins jenkins 24601 May 30 06:14 coverage.out 06:15:46 -rw-rw-r-- 1 jenkins jenkins 7241 May 30 06:07 go.mod 06:15:46 -rw-rw-r-- 1 jenkins jenkins 101886 May 30 06:07 go.sum 06:15:46 drwxrwxr-x 3 jenkins jenkins 4096 May 30 06:07 internal 06:15:46 drwxrwxr-x 2 jenkins jenkins 4096 May 30 06:07 simulator 06:15:46 -rw-rw-r-- 1 jenkins jenkins 229 May 30 06:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:46 + 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=f6d5f3c1c0f36123a5390c6d9c70f66dc57a8938 --label arch=arm64 --label version=0.0.0 . 06:15:46 Sending build context to Docker daemon 9.015MB 06:15:47 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 06:15:47 Step 2/23 : FROM ${BASE} AS builder 06:15:47 ---> aef1c9e3341e 06:15:47 Step 3/23 : ARG ADD_BUILD_TAGS="" 06:15:47 ---> Running in 8a9ecefcb18f 06:15:47 Removing intermediate container 8a9ecefcb18f 06:15:47 ---> 12bae952b4e0 06:15:47 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:15:47 ---> Running in f6c91ff595bd 06:15:47 Removing intermediate container f6c91ff595bd 06:15:47 ---> 8e3264c95ea3 06:15:47 Step 5/23 : RUN apk add --update --no-cache make git openssh 06:15:47 ---> Running in d801ac61090a 06:15:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:15:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:15:50 OK: 272 MiB in 60 packages 06:15:51 Removing intermediate container d801ac61090a 06:15:51 ---> 538a3358e206 06:15:51 Step 6/23 : WORKDIR /device-modbus-go 06:15:51 ---> Running in 7f94eac6442f 06:15:51 Removing intermediate container 7f94eac6442f 06:15:51 ---> 3ca658cc4f96 06:15:51 Step 7/23 : COPY go.mod vendor* ./ 06:15:51 ---> 0ee58a91220a 06:15:51 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:15:51 ---> Running in e76a9d69be0b 06:15:54 Removing intermediate container e76a9d69be0b 06:15:54 ---> 34e3521d850d 06:15:54 Step 9/23 : COPY . . 06:15:55 ---> 8e911348f612 06:15:55 Step 10/23 : RUN ${MAKE} 06:15:55 ---> Running in 431768f2afdd 06:15:56 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.16" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 06:19:18 Removing intermediate container 431768f2afdd 06:19:18 ---> e0beb147de7e 06:19:18 Step 11/23 : FROM alpine:3.18 06:19:18 3.18: Pulling from library/alpine 06:19:18 c6b39de5b339: Already exists 06:19:18 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 06:19:18 Status: Downloaded newer image for alpine:3.18 06:19:18 ---> 33abbf032149 06:19:18 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:19:18 ---> Running in b1751374ac3b 06:19:19 Removing intermediate container b1751374ac3b 06:19:19 ---> 331a1a231d56 06:19:19 Step 13/23 : RUN apk add --update --no-cache dumb-init 06:19:19 ---> Running in f24b7080a32f 06:19:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:19:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:19:21 (1/1) Installing dumb-init (1.2.5-r2) 06:19:21 Executing busybox-1.36.1-r5.trigger 06:19:21 OK: 8 MiB in 16 packages 06:19:22 Removing intermediate container f24b7080a32f 06:19:22 ---> 039e53a8b1ae 06:19:22 Step 14/23 : RUN apk --no-cache upgrade 06:19:22 ---> Running in 7424496ab76c 06:19:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:19:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:19:24 Upgrading critical system libraries and apk-tools: 06:19:24 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 06:19:24 Executing busybox-1.36.1-r5.trigger 06:19:24 Continuing the upgrade transaction with new apk-tools: 06:19:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:19:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:19:26 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 06:19:26 Executing busybox-1.36.1-r6.post-upgrade 06:19:26 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 06:19:26 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 06:19:26 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 06:19:26 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 06:19:26 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 06:19:26 Executing busybox-1.36.1-r6.trigger 06:19:26 OK: 8 MiB in 16 packages 06:19:27 Removing intermediate container 7424496ab76c 06:19:27 ---> 424b95ba4be8 06:19:27 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 06:19:29 ---> c2bc5ba599df 06:19:29 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 06:19:29 ---> 99c83269c962 06:19:29 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:19:30 ---> 6a984c2f3e3a 06:19:30 Step 18/23 : EXPOSE 59901 06:19:30 ---> Running in 0bccf969f556 06:19:30 Removing intermediate container 0bccf969f556 06:19:30 ---> 331b36058b8f 06:19:30 Step 19/23 : ENTRYPOINT ["/device-modbus"] 06:19:30 ---> Running in 9880cf6b8185 06:19:30 Removing intermediate container 9880cf6b8185 06:19:30 ---> e1e577ea5b5e 06:19:30 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:19:31 ---> Running in bfed3fa21d9d 06:19:31 Removing intermediate container bfed3fa21d9d 06:19:31 ---> e31ffa7a0719 06:19:31 Step 21/23 : LABEL arch=arm64 06:19:31 ---> Running in da2b7669040e 06:19:31 Removing intermediate container da2b7669040e 06:19:31 ---> 3639299aa36c 06:19:31 Step 22/23 : LABEL git_sha=f6d5f3c1c0f36123a5390c6d9c70f66dc57a8938 06:19:31 ---> Running in 11760bb50f36 06:19:32 Removing intermediate container 11760bb50f36 06:19:32 ---> 23f6f98961c3 06:19:32 Step 23/23 : LABEL version=0.0.0 06:19:32 ---> Running in c74d61221b97 06:19:32 Removing intermediate container c74d61221b97 06:19:32 ---> 714103252f1d 06:19:32 [Warning] One or more build-args [ARCH] were not consumed 06:19:32 Successfully built 714103252f1d 06:19:32 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 06:19:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:19:33 06:19:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:19:34 arm64: Pulling from edgex-lftools-log-publisher 06:19:34 8998bd30e6a1: Pulling fs layer 06:19:34 04944245beec: Pulling fs layer 06:19:34 699f458cf7ca: Pulling fs layer 06:19:34 765212b225bb: Pulling fs layer 06:19:34 f23df028b6ca: Pulling fs layer 06:19:34 d65c8cfc05b1: Pulling fs layer 06:19:34 2437ff75d9bd: Pulling fs layer 06:19:34 765212b225bb: Waiting 06:19:34 f23df028b6ca: Waiting 06:19:34 2437ff75d9bd: Waiting 06:19:34 d65c8cfc05b1: Waiting 06:19:34 04944245beec: Verifying Checksum 06:19:34 04944245beec: Download complete 06:19:34 765212b225bb: Verifying Checksum 06:19:34 765212b225bb: Download complete 06:19:34 f23df028b6ca: Verifying Checksum 06:19:34 f23df028b6ca: Download complete 06:19:34 d65c8cfc05b1: Verifying Checksum 06:19:34 d65c8cfc05b1: Download complete 06:19:34 699f458cf7ca: Verifying Checksum 06:19:34 699f458cf7ca: Download complete 06:19:34 8998bd30e6a1: Verifying Checksum 06:19:34 8998bd30e6a1: Download complete 06:19:37 2437ff75d9bd: Verifying Checksum 06:19:37 2437ff75d9bd: Download complete 06:19:39 8998bd30e6a1: Pull complete 06:19:39 04944245beec: Pull complete 06:19:41 699f458cf7ca: Pull complete 06:19:41 765212b225bb: Pull complete 06:19:42 f23df028b6ca: Pull complete 06:19:42 d65c8cfc05b1: Pull complete 06:20:00 2437ff75d9bd: Pull complete 06:20:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:20:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:20:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:20:01 prd-ubuntu20.04-docker-arm64-4c-16g-1590 does not seem to be running inside a container 06:20:01 $ 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 06:20:03 $ docker top abf1e3abe8e42cc7116de003c839fc57145dbe331599ef490a47bf2469a6b3da -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:20:04 ---> job-cost.sh 06:20:04 lf-activate-venv: SKIPPING 06:20:04 INFO: No Stack... 06:20:05 INFO: Retrieving Pricing Info for: v3-standard-4 06:20:06 INFO: Archiving Costs [Pipeline] sh 06:20:06 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 06:20:06 + cut -d, -f6 [Pipeline] lock 06:20:06 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-554-1-stack-cost] 06:20:06 Resource [jenkins-edgexfoundry-device-modbus-go-PR-554-1-stack-cost] did not exist. Created. 06:20:06 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-554-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:20:07 /w/workspace/device-modbus-go/1@tmp/durable-d035e7fc/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:20:08 + echo total: 0.10999999940395355 [Pipeline] stash 06:20:08 Warning: overwriting stash ‘stack-cost’ 06:20:08 Stashed 1 file(s) [Pipeline] } 06:20:08 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-554-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:20:08 $ docker stop --time=1 abf1e3abe8e42cc7116de003c839fc57145dbe331599ef490a47bf2469a6b3da 06:20:09 $ docker rm -f --volumes abf1e3abe8e42cc7116de003c839fc57145dbe331599ef490a47bf2469a6b3da [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 06:20:11 provisioning config files... 06:20:11 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-554@tmp/config2528379071653303109tmp [Pipeline] { [Pipeline] sh 06:20:11 + set +x 06:20:11 + bash -s -- 06:20:11 + curl -s https://codecov.io/bash 06:20:11 06:20:11 _____ _ 06:20:11 / ____| | | 06:20:11 | | ___ __| | ___ ___ _____ __ 06:20:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:20:11 | |___| (_) | (_| | __/ (_| (_) \ V / 06:20:11 \_____\___/ \__,_|\___|\___\___/ \_/ 06:20:11 Bash-1.0.6 06:20:11 06:20:11 06:20:11 ==> git version 2.25.1 found 06:20:11 ==> 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 06:20:11 Release-Date: 2020-01-08 06:20:11 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:20:11 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:20:11 ==> Jenkins CI detected. 06:20:11 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-554 06:20:11 project root: . 06:20:11 --> token set from env 06:20:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:20:11 ==> Running gcov in . (disable via -X gcov) 06:20:11 ==> Python coveragepy not found 06:20:11 ==> Searching for coverage reports in: 06:20:11 + . 06:20:11 -> Found 1 reports 06:20:11 ==> Detecting git/mercurial file structure 06:20:11 ==> Reading reports 06:20:11 + ./coverage.out bytes=24601 06:20:11 ==> Appending adjustments 06:20:11 https://docs.codecov.io/docs/fixing-reports 06:20:11 + Found adjustments 06:20:11 ==> Gzipping contents 06:20:11 4.0K /tmp/codecov.QGP3iR.gz 06:20:11 ==> Uploading reports 06:20:11 url: https://codecov.io 06:20:11 query: branch=PR-554&commit=f6d5f3c1c0f36123a5390c6d9c70f66dc57a8938&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-554%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=554&job=&cmd_args= 06:20:11 -> Pinging Codecov 06:20:11 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-554&commit=f6d5f3c1c0f36123a5390c6d9c70f66dc57a8938&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-554%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=554&job=&cmd_args= 06:20:11 -> Uploading to 06:20:11 https://storage.googleapis.com/codecov/v4/raw/2024-05-30/55DBCA73C666E3227836607328DD7E49/f6d5f3c1c0f36123a5390c6d9c70f66dc57a8938/b64837a9-87cf-457f-a396-91a0d70e3927.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240530%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240530T062011Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f9422766a98f2b88eac72ccdcfaa72a9d2370671950fca5e9a39b39202c8fdfc 06:20:11 % Total % Received % Xferd Average Speed Time Time Time Current 06:20:11 Dload Upload Total Spent Left Speed 06:20:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 18565 --:--:-- --:--:-- --:--:-- 18475 100 3843 0 0 100 3843 0 15189 --:--:-- --:--:-- --:--:-- 15129 06:20:12 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/f6d5f3c1c0f36123a5390c6d9c70f66dc57a8938 [Pipeline] } 06:20:12 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 06:20:14 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-554/archives ] 06:20:14 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-554/archives 06:20:14 total 16 06:20:14 drwxr-xr-x 3 root root 4096 May 30 06:06 . 06:20:14 drwxrwxr-x 10 jenkins jenkins 4096 May 30 06:06 .. 06:20:14 drwxr-xr-x 2 root root 4096 May 30 06:06 cost 06:20:14 -rw-r--r-- 1 root root 88 May 30 06:06 cost.csv 06:20:14 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-554/archives 06:20:14 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-554/archives 06:20:14 total 16 06:20:14 drwxr-xr-x 3 jenkins jenkins 4096 May 30 06:06 . 06:20:14 drwxrwxr-x 10 jenkins jenkins 4096 May 30 06:06 .. 06:20:14 drwxr-xr-x 2 jenkins jenkins 4096 May 30 06:06 cost 06:20:14 -rw-r--r-- 1 jenkins jenkins 88 May 30 06:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:20:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:20:15 ---> package-listing.sh 06:20:15 ++ tr '[:upper:]' '[:lower:]' 06:20:15 ++ facter osfamily 06:20:16 + OS_FAMILY=debian 06:20:16 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-554 06:20:16 + START_PACKAGES=/tmp/packages_start.txt 06:20:16 + END_PACKAGES=/tmp/packages_end.txt 06:20:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:20:16 + PACKAGES=/tmp/packages_start.txt 06:20:16 + '[' /w/workspace/xfoundry_device-modbus-go_PR-554 ']' 06:20:16 + PACKAGES=/tmp/packages_end.txt 06:20:16 + case "${OS_FAMILY}" in 06:20:16 + dpkg -l 06:20:16 + grep '^ii' 06:20:16 + '[' -f /tmp/packages_start.txt ']' 06:20:16 + '[' -f /tmp/packages_end.txt ']' 06:20:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:20:16 + '[' /w/workspace/xfoundry_device-modbus-go_PR-554 ']' 06:20:16 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-554/archives/ 06:20:16 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-554/archives/ [Pipeline] echo 06:20:16 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-554/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:20:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:20:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:20:17 prd-ubuntu20.04-docker-8c-8g-1584 does not seem to be running inside a container 06:20:17 $ 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-554/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-554 -v /w/workspace/xfoundry_device-modbus-go_PR-554:/w/workspace/xfoundry_device-modbus-go_PR-554:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-554@tmp:/w/workspace/xfoundry_device-modbus-go_PR-554@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 06:20:17 $ docker top b5da958ea5a2ffb031b45446600ab98ecfc50d826f488e3ba89c9bc062263b37 -eo pid,comm [Pipeline] { [Pipeline] sh 06:20:17 + touch /tmp/pre-build-complete [Pipeline] sh 06:20:18 + mkdir -p /var/log/sysstat [Pipeline] sh 06:20:18 + ls /var/log/sa-host 06:20:18 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:20:18 provisioning config files... 06:20:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-554@tmp/config4038167663459195766tmp [Pipeline] { [Pipeline] echo 06:20:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:20:19 ---> create-netrc.sh [Pipeline] } 06:20:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:20:19 ---> python-tools-install.sh [Pipeline] echo 06:20:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:20:19 ---> sudo-logs.sh 06:20:19 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:20:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:20:20 ---> job-cost.sh 06:20:20 lf-activate-venv: SKIPPING 06:20:20 DEBUG: total: 0.2199999988079071 06:20:20 INFO: Retrieving Stack Cost... 06:20:20 INFO: Retrieving Pricing Info for: v3-standard-8 06:20:21 INFO: Archiving Costs [Pipeline] echo 06:20:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:20:21 ---> logs-deploy.sh 06:20:21 lf-activate-venv: SKIPPING 06:20:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-554/1 06:20:21 INFO: archiving workspace using pattern(s): 06:20:22 Archives upload complete. 06:20:22 INFO: archiving logs to Nexus 06:20:23 ---> uname -a: 06:20:23 Linux prd-ubuntu20-04-docker-8c-8g-1584 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 06:20:23 06:20:23 06:20:23 ---> lscpu: 06:20:23 Architecture: x86_64 06:20:23 CPU op-mode(s): 32-bit, 64-bit 06:20:23 Byte Order: Little Endian 06:20:23 Address sizes: 40 bits physical, 48 bits virtual 06:20:23 CPU(s): 8 06:20:23 On-line CPU(s) list: 0-7 06:20:23 Thread(s) per core: 1 06:20:23 Core(s) per socket: 1 06:20:23 Socket(s): 8 06:20:23 NUMA node(s): 1 06:20:23 Vendor ID: AuthenticAMD 06:20:23 CPU family: 23 06:20:23 Model: 49 06:20:23 Model name: AMD EPYC-Rome Processor 06:20:23 Stepping: 0 06:20:23 CPU MHz: 2799.998 06:20:23 BogoMIPS: 5599.99 06:20:23 Virtualization: AMD-V 06:20:23 Hypervisor vendor: KVM 06:20:23 Virtualization type: full 06:20:23 L1d cache: 256 KiB 06:20:23 L1i cache: 256 KiB 06:20:23 L2 cache: 4 MiB 06:20:23 L3 cache: 128 MiB 06:20:23 NUMA node0 CPU(s): 0-7 06:20:23 Vulnerability Itlb multihit: Not affected 06:20:23 Vulnerability L1tf: Not affected 06:20:23 Vulnerability Mds: Not affected 06:20:23 Vulnerability Meltdown: Not affected 06:20:23 Vulnerability Mmio stale data: Not affected 06:20:23 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:20:23 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 06:20:23 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 06:20:23 Vulnerability Srbds: Not affected 06:20:23 Vulnerability Tsx async abort: Not affected 06:20:23 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 06:20:23 06:20:23 06:20:23 ---> nproc: 06:20:23 8 06:20:23 06:20:23 06:20:23 ---> df -h: 06:20:23 Filesystem Size Used Avail Use% Mounted on 06:20:23 overlay 155G 12G 143G 8% / 06:20:23 tmpfs 64M 0 64M 0% /dev 06:20:23 tmpfs 16G 0 16G 0% /sys/fs/cgroup 06:20:23 shm 64M 0 64M 0% /dev/shm 06:20:23 /dev/vda1 155G 12G 143G 8% /facter-os 06:20:23 06:20:23