Pull request #547 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 67d534a3da082ab1a91afc75009c44586036319d+6ffd961e50bad5aafcddb961eadc768a2e323cba (8a72b60e774ce026cef262f771f22827be4a5449) 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-ssh623643403008600275.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh8152351952133213595.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-547/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-547/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18276408304232871667.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3204907722943208094.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-547/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-547/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1319402089429763650.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-268’ Running on prd-ubuntu20.04-docker-8c-8g-271 in /w/workspace/xfoundry_device-modbus-go_PR-547 [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-547 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/547/head:refs/remotes/origin/PR-547 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6ffd961e50bad5aafcddb961eadc768a2e323cba into PR head commit 67d534a3da082ab1a91afc75009c44586036319d Merge succeeded, producing 67d534a3da082ab1a91afc75009c44586036319d Checking out Revision 67d534a3da082ab1a91afc75009c44586036319d (PR-547) Commit message: "build(deps): Bump golang.org/x/net from 0.21.0 to 0.23.0" First time build. Skipping changelog. > git config core.sparsecheckout # timeout=10 > git checkout -f 67d534a3da082ab1a91afc75009c44586036319d # 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 67d534a3da082ab1a91afc75009c44586036319d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:44:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:44:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:44:41 ========================================================= 09:44:41 EdgeX Global Pipelines Version Info 09:44:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:44:42 ------------------- 09:44:42 stable info: 09:44:42 ------------------- 09:44:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:44:42 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 09:44:42 Message: update stable to v1.0.258 09:44:43 ------------------- 09:44:43 experimental info: 09:44:43 ------------------- 09:44:43 Commited By: **** collab-it+edgex@linuxfoundation.org 09:44:43 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 09:44:43 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:44:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 09:44:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 09:44:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:44:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:44:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:44:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 09:44:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:44:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:44:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:44:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:44:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:44:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 09:44:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:44:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:44:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:44:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:44:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:44:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:44:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:44:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:44:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:44:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:44:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:44:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:44:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:44:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:44:43 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:44:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-547 [Pipeline] echo 09:44:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-547 [Pipeline] echo 09:44:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-547 [Pipeline] echo 09:44:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 67d534a3da082ab1a91afc75009c44586036319d [Pipeline] echo 09:44:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 67d534a [Pipeline] echo 09:44:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:44:44 provisioning config files... 09:44:44 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-547@tmp/config9070321085706414644tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:44:44 ---> ****-login.sh 09:44:44 nexus3.edgexfoundry.org:10001 09:44:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:44:44 Configure a credential helper to remove this warning. See 09:44:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:44:44 09:44:44 Login Succeeded 09:44:44 nexus3.edgexfoundry.org:10002 09:44:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:44:44 Configure a credential helper to remove this warning. See 09:44:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:44:44 09:44:44 Login Succeeded 09:44:44 nexus3.edgexfoundry.org:10003 09:44:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:44:44 Configure a credential helper to remove this warning. See 09:44:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:44:44 09:44:44 Login Succeeded 09:44:44 nexus3.edgexfoundry.org:10004 09:44:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:44:44 Configure a credential helper to remove this warning. See 09:44:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:44:44 09:44:44 Login Succeeded 09:44:44 ****.io 09:44:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:44:45 Configure a credential helper to remove this warning. See 09:44:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:44:45 09:44:45 Login Succeeded 09:44:45 ---> ****-login.sh ends [Pipeline] } 09:44:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:44:45 + git rev-list -1 --merges 67d534a3da082ab1a91afc75009c44586036319d~1..67d534a3da082ab1a91afc75009c44586036319d [Pipeline] echo 09:44:45 -----------> git rev-list -1 --merges 67d534a3da082ab1a91afc75009c44586036319d~1..67d534a3da082ab1a91afc75009c44586036319d 67d534a3da082ab1a91afc75009c44586036319d [false] [Pipeline] sh 09:44:45 + git log --format=format:%s -1 67d534a3da082ab1a91afc75009c44586036319d [Pipeline] echo 09:44:45 ========================================================= 09:44:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:44:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:44:46 + git log --format=format:%s -1 67d534a3da082ab1a91afc75009c44586036319d [Pipeline] echo 09:44:46 [semverPrep] GIT_COMMIT: 67d534a3da082ab1a91afc75009c44586036319d, Commit Message: build(deps): Bump golang.org/x/net from 0.21.0 to 0.23.0 [Pipeline] echo 09:44:46 [semverPrep] This is not a build commit. [Pipeline] sh 09:44:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:44:46 + grep -v github /etc/ssh/ssh_known_hosts 09:44:46 + [ -e /tmp/ssh_known_hosts ] 09:44:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:44:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:44:46 + sudo tee -a /etc/ssh/ssh_known_hosts 09:44:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:44:47 09:44:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:44:47 0.1.4: Pulling from edgex-devops/py-git-semver 09:44:47 b85a868b505f: Pulling fs layer 09:44:47 e2be974225ed: Pulling fs layer 09:44:47 339a4e72a1f5: Pulling fs layer 09:44:47 988bab9f4d93: Pulling fs layer 09:44:47 1469e6f7b9e6: Pulling fs layer 09:44:47 eaf3925da568: Pulling fs layer 09:44:47 bab4dde63d76: Pulling fs layer 09:44:47 bde34c3a00c8: Pulling fs layer 09:44:47 b352a97aabf1: Pulling fs layer 09:44:47 4872d77fe225: Pulling fs layer 09:44:47 5851b861e8e6: Pulling fs layer 09:44:47 eaf3925da568: Waiting 09:44:47 bab4dde63d76: Waiting 09:44:47 bde34c3a00c8: Waiting 09:44:47 988bab9f4d93: Waiting 09:44:47 b352a97aabf1: Waiting 09:44:47 4872d77fe225: Waiting 09:44:47 1469e6f7b9e6: Waiting 09:44:47 5851b861e8e6: Waiting 09:44:47 e2be974225ed: Verifying Checksum 09:44:47 e2be974225ed: Download complete 09:44:47 988bab9f4d93: Download complete 09:44:47 1469e6f7b9e6: Verifying Checksum 09:44:47 eaf3925da568: Verifying Checksum 09:44:47 eaf3925da568: Download complete 09:44:47 339a4e72a1f5: Verifying Checksum 09:44:47 339a4e72a1f5: Download complete 09:44:47 bde34c3a00c8: Verifying Checksum 09:44:47 bde34c3a00c8: Download complete 09:44:47 b352a97aabf1: Verifying Checksum 09:44:47 b352a97aabf1: Download complete 09:44:47 4872d77fe225: Verifying Checksum 09:44:47 4872d77fe225: Download complete 09:44:47 5851b861e8e6: Download complete 09:44:47 b85a868b505f: Verifying Checksum 09:44:47 b85a868b505f: Download complete 09:44:47 bab4dde63d76: Verifying Checksum 09:44:47 bab4dde63d76: Download complete 09:44:49 b85a868b505f: Pull complete 09:44:49 e2be974225ed: Pull complete 09:44:50 339a4e72a1f5: Pull complete 09:44:50 988bab9f4d93: Pull complete 09:44:51 1469e6f7b9e6: Pull complete 09:44:51 eaf3925da568: Pull complete 09:44:53 bab4dde63d76: Pull complete 09:44:54 bde34c3a00c8: Pull complete 09:44:54 b352a97aabf1: Pull complete 09:44:54 4872d77fe225: Pull complete 09:44:54 5851b861e8e6: Pull complete 09:44:54 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:44:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:44:54 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:44:54 prd-ubuntu20.04-docker-8c-8g-271 does not seem to be running inside a container 09:44:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-547 -v /w/workspace/xfoundry_device-modbus-go_PR-547:/w/workspace/xfoundry_device-modbus-go_PR-547:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-547@tmp:/w/workspace/xfoundry_device-modbus-go_PR-547@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:44:57 $ docker top 34e91ba119ebefb6c1432acdd1dc2c57a1c78e7c441c00d2d63281a1dfff50b1 -eo pid,comm 09:44:57 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). 09:44:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:44:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:44:57 [ssh-agent] Looking for ssh-agent implementation... 09:44:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:44:58 $ docker exec 34e91ba119ebefb6c1432acdd1dc2c57a1c78e7c441c00d2d63281a1dfff50b1 ssh-agent 09:44:58 SSH_AUTH_SOCK=/tmp/ssh-SjYlUCFPJXTM/agent.32 09:44:58 SSH_AGENT_PID=38 09:44:58 Running ssh-add (command line suppressed) 09:44:58 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-547@tmp/private_key_2580985530006441225.key (/w/workspace/xfoundry_device-modbus-go_PR-547@tmp/private_key_2580985530006441225.key) 09:44:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:44:58 + git tag --points-at HEAD [Pipeline] } 09:44:58 $ docker exec --env ******** --env ******** 34e91ba119ebefb6c1432acdd1dc2c57a1c78e7c441c00d2d63281a1dfff50b1 ssh-agent -k 09:44:58 unset SSH_AUTH_SOCK; 09:44:58 unset SSH_AGENT_PID; 09:44:58 echo Agent pid 38 killed; 09:44:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:44:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:44:58 [ssh-agent] Looking for ssh-agent implementation... 09:44:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:44:58 $ docker exec 34e91ba119ebefb6c1432acdd1dc2c57a1c78e7c441c00d2d63281a1dfff50b1 ssh-agent 09:44:59 SSH_AUTH_SOCK=/tmp/ssh-PfMKM02nFykA/agent.71 09:44:59 SSH_AGENT_PID=78 09:44:59 Running ssh-add (command line suppressed) 09:44:59 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-547@tmp/private_key_1637228122436922026.key (/w/workspace/xfoundry_device-modbus-go_PR-547@tmp/private_key_1637228122436922026.key) 09:44:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:44:59 + git semver init 09:44:59 2024-05-16 09:44:59,663 [run_init] DEBUG init version:0.0.0 force:False 09:44:59 2024-05-16 09:44:59,664 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-547/.semver 09:44:59 2024-05-16 09:44:59,664 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-547/.semver 09:44:59 2024-05-16 09:44:59,665 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-547/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-547, universal_newlines=False, shell=None, istream=None) 09:45:01 2024-05-16 09:45:01,003 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-547/.git/info/exclude 09:45:01 2024-05-16 09:45:01,004 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-547/.semver/PR-547 with force:False 09:45:01 2024-05-16 09:45:01,004 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-547/.semver/PR-547 09:45:01 2024-05-16 09:45:01,009 [execute] INFO git cat-file --batch-check 09:45:01 2024-05-16 09:45:01,010 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-547/.semver, universal_newlines=False, shell=None, istream=) 09:45:01 2024-05-16 09:45:01,017 [execute] INFO git cat-file --batch 09:45:01 2024-05-16 09:45:01,018 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-547/.semver, universal_newlines=False, shell=None, istream=) 09:45:01 2024-05-16 09:45:01,024 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-547/.semver/PR-547 09:45:01 0.0.0 [Pipeline] } 09:45:01 $ docker exec --env ******** --env ******** 34e91ba119ebefb6c1432acdd1dc2c57a1c78e7c441c00d2d63281a1dfff50b1 ssh-agent -k 09:45:01 unset SSH_AUTH_SOCK; 09:45:01 unset SSH_AGENT_PID; 09:45:01 echo Agent pid 78 killed; 09:45:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:45:01 + git semver [Pipeline] } 09:45:01 $ docker stop --time=1 34e91ba119ebefb6c1432acdd1dc2c57a1c78e7c441c00d2d63281a1dfff50b1 09:45:03 $ docker rm -f --volumes 34e91ba119ebefb6c1432acdd1dc2c57a1c78e7c441c00d2d63281a1dfff50b1 [Pipeline] // withDockerContainer [Pipeline] sh 09:45:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:45:03 Stashed 1 file(s) [Pipeline] echo 09:45:03 [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 09:45:04 provisioning config files... 09:45:04 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-547@tmp/config1668512042576187463tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:45:04 ---> ****-login.sh 09:45:04 nexus3.edgexfoundry.org:10001 09:45:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:45:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:45:04 Configure a credential helper to remove this warning. See 09:45:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:45:04 09:45:04 Login Succeeded 09:45:04 nexus3.edgexfoundry.org:10002 09:45:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:45:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:45:04 Configure a credential helper to remove this warning. See 09:45:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:45:04 09:45:04 Login Succeeded 09:45:04 nexus3.edgexfoundry.org:10003 09:45:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:45:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:45:04 Configure a credential helper to remove this warning. See 09:45:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:45:04 09:45:04 Login Succeeded 09:45:04 nexus3.edgexfoundry.org:10004 09:45:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:45:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:45:04 Configure a credential helper to remove this warning. See 09:45:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:45:04 09:45:04 Login Succeeded 09:45:04 ****.io 09:45:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:45:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:45:04 Configure a credential helper to remove this warning. See 09:45:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:45:04 09:45:04 Login Succeeded 09:45:04 ---> ****-login.sh ends [Pipeline] } 09:45:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:45:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:45:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:45:05 ========================================================= 09:45:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 09:45:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:45:05 + 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 . 09:45:05 Sending build context to Docker daemon 20.92MB 09:45:05 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 09:45:05 Step 2/10 : FROM ${BASE} AS builder 09:45:05 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 09:45:05 619be1103602: Pulling fs layer 09:45:05 7862e08f4a3e: Pulling fs layer 09:45:05 5df492c9dc93: Pulling fs layer 09:45:05 7629e6793208: Pulling fs layer 09:45:05 4f4fb700ef54: Pulling fs layer 09:45:05 fb5054dd5b73: Pulling fs layer 09:45:05 eeca6798cff9: Pulling fs layer 09:45:05 eeca6798cff9: Waiting 09:45:05 fb5054dd5b73: Waiting 09:45:05 7629e6793208: Waiting 09:45:05 aa269ceb94a6: Pulling fs layer 09:45:05 ada007ff1a6a: Pulling fs layer 09:45:05 aa269ceb94a6: Waiting 09:45:05 7862e08f4a3e: Verifying Checksum 09:45:05 7862e08f4a3e: Download complete 09:45:05 7629e6793208: Download complete 09:45:05 4f4fb700ef54: Verifying Checksum 09:45:05 4f4fb700ef54: Download complete 09:45:05 fb5054dd5b73: Verifying Checksum 09:45:05 fb5054dd5b73: Download complete 09:45:05 619be1103602: Verifying Checksum 09:45:05 619be1103602: Download complete 09:45:05 eeca6798cff9: Verifying Checksum 09:45:05 eeca6798cff9: Download complete 09:45:05 619be1103602: Pull complete 09:45:05 ada007ff1a6a: Verifying Checksum 09:45:05 ada007ff1a6a: Download complete 09:45:05 7862e08f4a3e: Pull complete 09:45:06 5df492c9dc93: Verifying Checksum 09:45:06 5df492c9dc93: Download complete 09:45:06 aa269ceb94a6: Verifying Checksum 09:45:06 aa269ceb94a6: Download complete 09:45:10 5df492c9dc93: Pull complete 09:45:10 7629e6793208: Pull complete 09:45:10 4f4fb700ef54: Pull complete 09:45:11 fb5054dd5b73: Pull complete 09:45:11 eeca6798cff9: Pull complete 09:45:13 aa269ceb94a6: Pull complete 09:45:14 ada007ff1a6a: Pull complete 09:45:14 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 09:45:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 09:45:14 ---> f489d0715acc 09:45:14 Step 3/10 : ARG ADD_BUILD_TAGS="" 09:45:18 Still waiting to schedule task 09:45:18 ‘prd-ubuntu20.04-docker-arm64-4c-16g-269’ is offline 09:45:21 ---> Running in b401a567c4f3 09:45:21 Removing intermediate container b401a567c4f3 09:45:21 ---> 66c9f2260bf1 09:45:21 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:45:21 ---> Running in 36227ef79fa3 09:45:21 Removing intermediate container 36227ef79fa3 09:45:21 ---> bf6fd7b1036f 09:45:21 Step 5/10 : RUN apk add --update --no-cache make git openssh 09:45:21 ---> Running in 249bde4c9b2c 09:45:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:45:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:45:21 (1/8) Installing openssh-keygen (9.3_p2-r1) 09:45:21 (2/8) Installing libedit (20221030.3.1-r1) 09:45:21 (3/8) Installing openssh-client-common (9.3_p2-r1) 09:45:21 (4/8) Installing openssh-client-default (9.3_p2-r1) 09:45:21 (5/8) Installing openssh-sftp-server (9.3_p2-r1) 09:45:21 (6/8) Installing openssh-server-common (9.3_p2-r1) 09:45:21 (7/8) Installing openssh-server (9.3_p2-r1) 09:45:21 (8/8) Installing openssh (9.3_p2-r1) 09:45:21 Executing busybox-1.36.1-r5.trigger 09:45:21 OK: 270 MiB in 60 packages 09:45:21 Removing intermediate container 249bde4c9b2c 09:45:21 ---> 86e661659627 09:45:21 Step 6/10 : WORKDIR /device-modbus-go 09:45:21 ---> Running in f6d872c935ce 09:45:21 Removing intermediate container f6d872c935ce 09:45:21 ---> e9ccf1f726f3 09:45:21 Step 7/10 : COPY go.mod vendor* ./ 09:45:21 ---> 0ab02df5cbdc 09:45:21 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:45:21 ---> Running in 2c30e023f753 09:46:17 Removing intermediate container 2c30e023f753 09:46:17 ---> 9999af54cf17 09:46:17 Step 9/10 : COPY . . 09:46:17 ---> 55750fed7730 09:46:17 Step 10/10 : RUN ${MAKE} 09:46:17 ---> Running in d90a3212bb57 09:46:17 noop 09:46:17 Removing intermediate container d90a3212bb57 09:46:17 ---> fc49fd66320b 09:46:17 Successfully built fc49fd66320b 09:46:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:46:18 + docker inspect -f . ci-base-image-x86_64 09:46:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:46:18 prd-ubuntu20.04-docker-8c-8g-271 does not seem to be running inside a container 09:46:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-547 -v /w/workspace/xfoundry_device-modbus-go_PR-547:/w/workspace/xfoundry_device-modbus-go_PR-547:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-547@tmp:/w/workspace/xfoundry_device-modbus-go_PR-547@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:46:18 $ docker top a6b3d235bda54c2343ddd7c6401a733619906ca79b28f9a361c10cb2981b927e -eo pid,comm [Pipeline] { [Pipeline] sh 09:46:19 + go version 09:46:19 go version go1.21.9 linux/amd64 [Pipeline] } 09:46:19 $ docker stop --time=1 a6b3d235bda54c2343ddd7c6401a733619906ca79b28f9a361c10cb2981b927e 09:46:20 $ docker rm -f --volumes a6b3d235bda54c2343ddd7c6401a733619906ca79b28f9a361c10cb2981b927e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:46:20 + docker inspect -f . ci-base-image-x86_64 09:46:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:46:20 prd-ubuntu20.04-docker-8c-8g-271 does not seem to be running inside a container 09:46:20 $ 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-547 -v /w/workspace/xfoundry_device-modbus-go_PR-547:/w/workspace/xfoundry_device-modbus-go_PR-547:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-547@tmp:/w/workspace/xfoundry_device-modbus-go_PR-547@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:46:21 $ docker top 2885de3a67b0a0e68f06637107355486160fc233141a924e7bd5e0ccecf10c91 -eo pid,comm [Pipeline] { [Pipeline] sh 09:46:21 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-547 [Pipeline] fileExists [Pipeline] sh 09:46:21 + make test 09:46:21 go test ./... -coverprofile=coverage.out 09:46:23 ? github.com/edgexfoundry/device-modbus-go [no test files] 09:46:41 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 09:46:41 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.017s coverage: 47.9% of statements 09:46:49 go vet ./... 09:46:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:46:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:46:55 ./bin/test-attribution-txt.sh 09:46:55 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 09:46:55 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 09:46:55 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 09:46:55 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 09:46:55 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 09:46:55 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 09:46:55 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 09:46:55 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 09:46:55 An attribution for golang.org/x/term is missing from Attribution.txt, please add 09:46:55 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 09:46:55 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 09:46:55 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 09:46:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:46:55 $ docker stop --time=1 2885de3a67b0a0e68f06637107355486160fc233141a924e7bd5e0ccecf10c91 09:47:02 $ docker rm -f --volumes 2885de3a67b0a0e68f06637107355486160fc233141a924e7bd5e0ccecf10c91 [Pipeline] // withDockerContainer [Pipeline] sh 09:47:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:47:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:47:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:47:03 + ls -al . 09:47:03 total 264 09:47:03 drwxrwxr-x 9 jenkins jenkins 4096 May 16 09:46 . 09:47:03 drwxrwxr-x 4 jenkins jenkins 4096 May 16 09:44 .. 09:47:03 -rw-rw-r-- 1 jenkins jenkins 140 May 16 09:44 .dockerignore 09:47:03 drwxrwxr-x 8 jenkins jenkins 4096 May 16 09:46 .git 09:47:03 drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:44 .github 09:47:03 -rw-rw-r-- 1 jenkins jenkins 266 May 16 09:44 .gitignore 09:47:03 -rw-rw-r-- 1 jenkins jenkins 41 May 16 09:44 .golangci.yml 09:47:03 drwxr-xr-x 3 jenkins jenkins 4096 May 16 09:45 .semver 09:47:03 -rw-rw-r-- 1 jenkins jenkins 11101 May 16 09:44 Attribution.txt 09:47:03 -rw-rw-r-- 1 jenkins jenkins 16388 May 16 09:44 CHANGELOG.md 09:47:03 -rw-rw-r-- 1 jenkins jenkins 1474 May 16 09:44 Dockerfile 09:47:03 -rw-rw-r-- 1 jenkins jenkins 677 May 16 09:44 GOVERNANCE.md 09:47:03 -rw-rw-r-- 1 jenkins jenkins 658 May 16 09:44 Jenkinsfile 09:47:03 -rw-rw-r-- 1 jenkins jenkins 11340 May 16 09:44 LICENSE 09:47:03 -rw-rw-r-- 1 jenkins jenkins 1942 May 16 09:44 Makefile 09:47:03 -rw-rw-r-- 1 jenkins jenkins 622 May 16 09:44 OWNERS.md 09:47:03 -rw-rw-r-- 1 jenkins jenkins 4463 May 16 09:44 README.md 09:47:03 -rw-rw-r-- 1 jenkins jenkins 5 May 16 09:45 VERSION 09:47:03 drwxrwxr-x 2 jenkins jenkins 4096 May 16 09:44 bin 09:47:03 drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:44 cmd 09:47:03 -rw-r--r-- 1 jenkins jenkins 24601 May 16 09:46 coverage.out 09:47:03 -rw-rw-r-- 1 jenkins jenkins 7289 May 16 09:44 go.mod 09:47:03 -rw-rw-r-- 1 jenkins jenkins 101939 May 16 09:44 go.sum 09:47:03 drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:44 internal 09:47:03 drwxrwxr-x 2 jenkins jenkins 4096 May 16 09:44 simulator 09:47:03 -rw-rw-r-- 1 jenkins jenkins 229 May 16 09:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:03 + 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=67d534a3da082ab1a91afc75009c44586036319d --label arch=amd64 --label version=0.0.0 . 09:47:03 Sending build context to Docker daemon 20.95MB 09:47:03 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 09:47:03 Step 2/23 : FROM ${BASE} AS builder 09:47:03 ---> fc49fd66320b 09:47:03 Step 3/23 : ARG ADD_BUILD_TAGS="" 09:47:04 ---> Running in b5dc90c4bb8e 09:47:04 Removing intermediate container b5dc90c4bb8e 09:47:04 ---> cf6e6f4d3d66 09:47:04 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:47:04 ---> Running in 24d0dc5bac24 09:47:04 Removing intermediate container 24d0dc5bac24 09:47:04 ---> 7f201d18f752 09:47:04 Step 5/23 : RUN apk add --update --no-cache make git openssh 09:47:04 ---> Running in 61535c25df31 09:47:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:47:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:47:04 OK: 270 MiB in 60 packages 09:47:05 Removing intermediate container 61535c25df31 09:47:05 ---> 5fd90a56f0c9 09:47:05 Step 6/23 : WORKDIR /device-modbus-go 09:47:05 ---> Running in 58453a5b8ceb 09:47:05 Removing intermediate container 58453a5b8ceb 09:47:05 ---> 70655124c580 09:47:05 Step 7/23 : COPY go.mod vendor* ./ 09:47:05 ---> 0816576cdf8a 09:47:05 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:47:05 ---> Running in 10ff8affa193 09:47:06 Removing intermediate container 10ff8affa193 09:47:06 ---> 0c10bf8bc6d6 09:47:06 Step 9/23 : COPY . . 09:47:06 ---> d291a65f55cf 09:47:06 Step 10/23 : RUN ${MAKE} 09:47:06 ---> Running in 3739aaf8f601 09:47:07 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.13" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 09:47:45 Removing intermediate container 3739aaf8f601 09:47:45 ---> 51f188c04b82 09:47:45 Step 11/23 : FROM alpine:3.18 09:47:45 3.18: Pulling from library/alpine 09:47:45 619be1103602: Already exists 09:47:45 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 09:47:45 Status: Downloaded newer image for alpine:3.18 09:47:45 ---> d3782b16ccc9 09:47:45 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 09:47:45 ---> Running in ac63b697e25d 09:47:45 Removing intermediate container ac63b697e25d 09:47:45 ---> 96c831c07b49 09:47:45 Step 13/23 : RUN apk add --update --no-cache dumb-init 09:47:45 ---> Running in 392129ca1c48 09:47:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:47:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:47:45 (1/1) Installing dumb-init (1.2.5-r2) 09:47:45 Executing busybox-1.36.1-r5.trigger 09:47:45 OK: 7 MiB in 16 packages 09:47:45 Removing intermediate container 392129ca1c48 09:47:45 ---> 6f7db2e9dd24 09:47:45 Step 14/23 : RUN apk --no-cache upgrade 09:47:45 ---> Running in 67575e2e213c 09:47:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:47:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:47:45 Upgrading critical system libraries and apk-tools: 09:47:45 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 09:47:45 Executing busybox-1.36.1-r5.trigger 09:47:45 Continuing the upgrade transaction with new apk-tools: 09:47:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:47:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:47:45 (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 09:47:45 (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) 09:47:45 (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) 09:47:45 OK: 7 MiB in 16 packages 09:47:45 Removing intermediate container 67575e2e213c 09:47:45 ---> 3f8e401f749b 09:47:45 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 09:47:47 ---> 4923aca9d130 09:47:47 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 09:47:47 ---> 3107b6a18056 09:47:47 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 09:47:47 ---> c3fa9c399dd4 09:47:47 Step 18/23 : EXPOSE 59901 09:47:47 ---> Running in dc68cf9a06d2 09:47:47 Removing intermediate container dc68cf9a06d2 09:47:47 ---> d035efdf8b0a 09:47:47 Step 19/23 : ENTRYPOINT ["/device-modbus"] 09:47:47 ---> Running in 59f3e8006d4b 09:47:48 Removing intermediate container 59f3e8006d4b 09:47:48 ---> 4ce085197961 09:47:48 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 09:47:48 ---> Running in bbaee2ade9fd 09:47:48 Removing intermediate container bbaee2ade9fd 09:47:48 ---> 1253a2db01a1 09:47:48 Step 21/23 : LABEL arch=amd64 09:47:48 ---> Running in 1dbad1d528b8 09:47:48 Removing intermediate container 1dbad1d528b8 09:47:48 ---> eb71397316f3 09:47:48 Step 22/23 : LABEL git_sha=67d534a3da082ab1a91afc75009c44586036319d 09:47:48 ---> Running in e928404ac0da 09:47:48 Removing intermediate container e928404ac0da 09:47:48 ---> 8996c9b75db0 09:47:48 Step 23/23 : LABEL version=0.0.0 09:47:48 ---> Running in 564633caa521 09:47:48 Removing intermediate container 564633caa521 09:47:48 ---> af440a63b350 09:47:48 [Warning] One or more build-args [ARCH] were not consumed 09:47:48 Successfully built af440a63b350 09:47:48 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 09:47:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:47:48 09:47:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:47:49 latest: Pulling from edgex-lftools-log-publisher 09:47:49 5eb5b503b376: Pulling fs layer 09:47:49 5c69ac0246d0: Pulling fs layer 09:47:49 ec43610c2a17: Pulling fs layer 09:47:49 3a2ae6a8a46f: Pulling fs layer 09:47:49 33b1e0a273af: Pulling fs layer 09:47:49 5d3b04190fa2: Pulling fs layer 09:47:49 2f39f015ded8: Pulling fs layer 09:47:49 33b1e0a273af: Waiting 09:47:49 5d3b04190fa2: Waiting 09:47:49 2f39f015ded8: Waiting 09:47:49 3a2ae6a8a46f: Waiting 09:47:49 5c69ac0246d0: Download complete 09:47:49 3a2ae6a8a46f: Download complete 09:47:49 33b1e0a273af: Verifying Checksum 09:47:49 33b1e0a273af: Download complete 09:47:49 5d3b04190fa2: Verifying Checksum 09:47:49 5d3b04190fa2: Download complete 09:47:49 ec43610c2a17: Verifying Checksum 09:47:49 ec43610c2a17: Download complete 09:47:49 5eb5b503b376: Verifying Checksum 09:47:49 5eb5b503b376: Download complete 09:47:49 2f39f015ded8: Download complete 09:47:50 5eb5b503b376: Pull complete 09:47:50 5c69ac0246d0: Pull complete 09:47:50 ec43610c2a17: Pull complete 09:47:51 3a2ae6a8a46f: Pull complete 09:47:51 33b1e0a273af: Pull complete 09:47:51 5d3b04190fa2: Pull complete 09:47:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-273 in /w/workspace/xfoundry_device-modbus-go_PR-547 [Pipeline] { [Pipeline] ws 09:47:52 Running in /w/workspace/device-modbus-go/4 [Pipeline] { [Pipeline] checkout 09:47:52 The recommended git tool is: git 09:47:55 2f39f015ded8: Pull complete 09:47:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:47:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:47:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:47:55 prd-ubuntu20.04-docker-8c-8g-271 does not seem to be running inside a container 09:47:55 $ 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-547 -v /w/workspace/xfoundry_device-modbus-go_PR-547:/w/workspace/xfoundry_device-modbus-go_PR-547:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-547@tmp:/w/workspace/xfoundry_device-modbus-go_PR-547@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:47:56 using credential edgex-jenkins-ssh 09:47:56 Cloning the remote Git repository 09:47:57 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 09:47:57 > git init /w/workspace/device-modbus-go/4 # timeout=10 09:47:57 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 09:47:57 > git --version # timeout=10 09:47:57 > git --version # 'git version 2.25.1' 09:47:57 using GIT_SSH to set credentials SSH Credentials for GitHub 09:47:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:47:59 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 09:47:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:48:00 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 09:48:00 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 09:48:00 using GIT_SSH to set credentials SSH Credentials for GitHub 09:48:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/547/head:refs/remotes/origin/PR-547 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:48:01 Merging remotes/origin/main commit 6ffd961e50bad5aafcddb961eadc768a2e323cba into PR head commit 67d534a3da082ab1a91afc75009c44586036319d 09:48:01 Merge succeeded, producing 67d534a3da082ab1a91afc75009c44586036319d 09:48:01 Checking out Revision 67d534a3da082ab1a91afc75009c44586036319d (PR-547) 09:48:02 Commit message: "build(deps): Bump golang.org/x/net from 0.21.0 to 0.23.0" 09:48:01 > git config core.sparsecheckout # timeout=10 09:48:01 > git checkout -f 67d534a3da082ab1a91afc75009c44586036319d # timeout=10 09:48:01 > git remote # timeout=10 09:48:01 > git config --get remote.origin.url # timeout=10 09:48:01 using GIT_SSH to set credentials SSH Credentials for GitHub 09:48:01 > git merge 6ffd961e50bad5aafcddb961eadc768a2e323cba # timeout=10 09:48:01 > git rev-parse HEAD^{commit} # timeout=10 09:48:01 > git config core.sparsecheckout # timeout=10 09:48:01 > git checkout -f 67d534a3da082ab1a91afc75009c44586036319d # timeout=10 09:48:02 $ docker top 098da2d567272897f2db7c78473a04d25612c29f60a61f34a2405a57fc9c2a46 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:48:03 ---> job-cost.sh 09:48:03 lf-activate-venv: SKIPPING 09:48:03 INFO: No Stack... 09:48:03 INFO: Retrieving Pricing Info for: v3-standard-8 09:48:04 INFO: Archiving Costs [Pipeline] sh 09:48:04 + cat /w/workspace/xfoundry_device-modbus-go_PR-547/archives/cost.csv 09:48:04 + cut -d, -f6 [Pipeline] lock 09:48:04 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-547-4-stack-cost] 09:48:04 Resource [jenkins-edgexfoundry-device-modbus-go-PR-547-4-stack-cost] did not exist. Created. 09:48:04 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-547-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:48:04 + echo total: 0.2199999988079071 [Pipeline] stash 09:48:04 Stashed 1 file(s) [Pipeline] } 09:48:04 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-547-4-stack-cost] [Pipeline] // lock [Pipeline] } 09:48:04 $ docker stop --time=1 098da2d567272897f2db7c78473a04d25612c29f60a61f34a2405a57fc9c2a46 09:48:05 $ docker rm -f --volumes 098da2d567272897f2db7c78473a04d25612c29f60a61f34a2405a57fc9c2a46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:48:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:48:07 % Total % Received % Xferd Average Speed Time Time Time Current 09:48:07 Dload Upload Total Spent Left Speed 09:48:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 245k 0 --:--:-- --:--:-- --:--:-- 245k [Pipeline] sh 09:48:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:48:07 + sudo tee /etc/docker/daemon.new 09:48:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:48:07 { 09:48:07 "registry-mirrors": [ 09:48:07 "https://nexus3.edgexfoundry.org:10001" 09:48:07 ], 09:48:07 "bip": "10.250.0.254/24", 09:48:07 "hosts": [ 09:48:07 "tcp://0.0.0.0:5555", 09:48:07 "unix:///var/run/docker.sock" 09:48:07 ], 09:48:07 "mtu": 1458, 09:48:07 "selinux-enabled": true, 09:48:07 "seccomp-profile": "/etc/docker/seccomp.json" 09:48:07 } [Pipeline] sh 09:48:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:48:08 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:48:26 provisioning config files... 09:48:26 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/4@tmp/config3407110859132137138tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:48:27 ---> ****-login.sh 09:48:27 nexus3.edgexfoundry.org:10001 09:48:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:48:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:48:27 Configure a credential helper to remove this warning. See 09:48:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:48:27 09:48:27 Login Succeeded 09:48:27 nexus3.edgexfoundry.org:10002 09:48:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:48:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:48:28 Configure a credential helper to remove this warning. See 09:48:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:48:28 09:48:28 Login Succeeded 09:48:28 nexus3.edgexfoundry.org:10003 09:48:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:48:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:48:28 Configure a credential helper to remove this warning. See 09:48:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:48:28 09:48:28 Login Succeeded 09:48:28 nexus3.edgexfoundry.org:10004 09:48:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:48:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:48:28 Configure a credential helper to remove this warning. See 09:48:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:48:28 09:48:28 Login Succeeded 09:48:28 ****.io 09:48:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:48:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:48:29 Configure a credential helper to remove this warning. See 09:48:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:48:29 09:48:29 Login Succeeded 09:48:29 ---> ****-login.sh ends [Pipeline] } 09:48:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:48:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:48:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:48:29 ========================================================= 09:48:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 09:48:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:48:30 + 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 . 09:48:30 Sending build context to Docker daemon 10.59MB 09:48:30 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 09:48:30 Step 2/10 : FROM ${BASE} AS builder 09:48:30 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:48:30 c6b39de5b339: Pulling fs layer 09:48:30 a69c41024577: Pulling fs layer 09:48:30 d6de4b400683: Pulling fs layer 09:48:30 35cb2a7552d0: Pulling fs layer 09:48:30 4f4fb700ef54: Pulling fs layer 09:48:30 464afbd9ba4c: Pulling fs layer 09:48:30 00f215d4a9da: Pulling fs layer 09:48:30 d496ad576159: Pulling fs layer 09:48:30 464afbd9ba4c: Waiting 09:48:30 35cb2a7552d0: Waiting 09:48:30 00f215d4a9da: Waiting 09:48:30 d496ad576159: Waiting 09:48:30 4f4fb700ef54: Waiting 09:48:30 a69c41024577: Verifying Checksum 09:48:30 a69c41024577: Download complete 09:48:30 35cb2a7552d0: Verifying Checksum 09:48:30 35cb2a7552d0: Download complete 09:48:30 4f4fb700ef54: Verifying Checksum 09:48:30 4f4fb700ef54: Download complete 09:48:30 464afbd9ba4c: Verifying Checksum 09:48:30 464afbd9ba4c: Download complete 09:48:30 c6b39de5b339: Verifying Checksum 09:48:30 c6b39de5b339: Download complete 09:48:31 d496ad576159: Verifying Checksum 09:48:31 d496ad576159: Download complete 09:48:31 c6b39de5b339: Pull complete 09:48:32 a69c41024577: Pull complete 09:48:32 d6de4b400683: Download complete 09:48:34 00f215d4a9da: Verifying Checksum 09:48:34 00f215d4a9da: Download complete 09:48:46 d6de4b400683: Pull complete 09:48:46 35cb2a7552d0: Pull complete 09:48:46 4f4fb700ef54: Pull complete 09:48:46 464afbd9ba4c: Pull complete 09:48:56 00f215d4a9da: Pull complete 09:48:57 d496ad576159: Pull complete 09:48:57 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 09:48:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 09:48:57 ---> f246e2811388 09:48:57 Step 3/10 : ARG ADD_BUILD_TAGS="" 09:48:59 ---> Running in db371d80f7c2 09:48:59 Removing intermediate container db371d80f7c2 09:48:59 ---> 85939c8e805e 09:48:59 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:48:59 ---> Running in 716a6b5630c0 09:48:59 Removing intermediate container 716a6b5630c0 09:48:59 ---> 411e8177a052 09:48:59 Step 5/10 : RUN apk add --update --no-cache make git openssh 09:48:59 ---> Running in 92b6ab0e301b 09:49:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:49:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:49:02 (1/8) Installing openssh-keygen (9.3_p2-r1) 09:49:02 (2/8) Installing libedit (20221030.3.1-r1) 09:49:02 (3/8) Installing openssh-client-common (9.3_p2-r1) 09:49:02 (4/8) Installing openssh-client-default (9.3_p2-r1) 09:49:02 (5/8) Installing openssh-sftp-server (9.3_p2-r1) 09:49:02 (6/8) Installing openssh-server-common (9.3_p2-r1) 09:49:02 (7/8) Installing openssh-server (9.3_p2-r1) 09:49:02 (8/8) Installing openssh (9.3_p2-r1) 09:49:02 Executing busybox-1.36.1-r5.trigger 09:49:02 OK: 272 MiB in 60 packages 09:49:03 Removing intermediate container 92b6ab0e301b 09:49:03 ---> 966d3b89c54c 09:49:03 Step 6/10 : WORKDIR /device-modbus-go 09:49:04 ---> Running in 69c2b12d281c 09:49:04 Removing intermediate container 69c2b12d281c 09:49:04 ---> 32754cab3ad1 09:49:04 Step 7/10 : COPY go.mod vendor* ./ 09:49:04 ---> 93f1774c8626 09:49:04 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:49:04 ---> Running in 7b8e57aeb63b 09:50:56 Removing intermediate container 7b8e57aeb63b 09:50:56 ---> ec7ee6fef6c2 09:50:56 Step 9/10 : COPY . . 09:50:56 ---> de348832f544 09:50:56 Step 10/10 : RUN ${MAKE} 09:50:56 ---> Running in 7d4fea763947 09:50:56 noop 09:50:56 Removing intermediate container 7d4fea763947 09:50:56 ---> 275ba360e095 09:50:56 Successfully built 275ba360e095 09:50:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:50:56 + docker inspect -f . ci-base-image-arm64 09:50:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:50:57 prd-ubuntu20.04-docker-arm64-4c-16g-273 does not seem to be running inside a container 09:50:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@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 09:50:58 $ docker top de548a85908eda7934b5a3e2123961642ae436d3598b2d7bc0aac893e775fbc6 -eo pid,comm [Pipeline] { [Pipeline] sh 09:50:59 + go version 09:50:59 go version go1.21.9 linux/arm64 [Pipeline] } 09:50:59 $ docker stop --time=1 de548a85908eda7934b5a3e2123961642ae436d3598b2d7bc0aac893e775fbc6 09:51:00 $ docker rm -f --volumes de548a85908eda7934b5a3e2123961642ae436d3598b2d7bc0aac893e775fbc6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:51:01 + docker inspect -f . ci-base-image-arm64 09:51:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:51:01 prd-ubuntu20.04-docker-arm64-4c-16g-273 does not seem to be running inside a container 09:51:01 $ 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/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@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 09:51:02 $ docker top 64ea2717b77de62a98bcca38df707b531f01214c5b681d773366cbe9bba92f44 -eo pid,comm [Pipeline] { [Pipeline] sh 09:51:03 + git config --global --add safe.directory /w/workspace/device-modbus-go/4 [Pipeline] fileExists [Pipeline] sh 09:51:03 + make test 09:51:03 go test ./... -coverprofile=coverage.out 09:51:10 ? github.com/edgexfoundry/device-modbus-go [no test files] 09:54:32 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 09:54:32 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.079s coverage: 47.9% of statements 09:54:33 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:54:33 go vet ./... 09:55:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:55:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:55:20 ./bin/test-attribution-txt.sh 09:55:20 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 09:55:20 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 09:55:20 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 09:55:20 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 09:55:20 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 09:55:20 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 09:55:20 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 09:55:20 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 09:55:20 An attribution for golang.org/x/term is missing from Attribution.txt, please add 09:55:20 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 09:55:20 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 09:55:20 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 09:55:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:55:20 $ docker stop --time=1 64ea2717b77de62a98bcca38df707b531f01214c5b681d773366cbe9bba92f44 09:55:22 $ docker rm -f --volumes 64ea2717b77de62a98bcca38df707b531f01214c5b681d773366cbe9bba92f44 [Pipeline] // withDockerContainer [Pipeline] sh 09:55:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:55:24 Warning: overwriting stash ‘coverage-report’ 09:55:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:55:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:55:25 + ls -al . 09:55:25 total 260 09:55:25 drwxrwxr-x 8 jenkins jenkins 4096 May 16 09:51 . 09:55:25 drwxrwxr-x 4 jenkins jenkins 4096 May 16 09:47 .. 09:55:25 -rw-rw-r-- 1 jenkins jenkins 140 May 16 09:48 .dockerignore 09:55:25 drwxrwxr-x 8 jenkins jenkins 4096 May 16 09:48 .git 09:55:25 drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:48 .github 09:55:25 -rw-rw-r-- 1 jenkins jenkins 266 May 16 09:48 .gitignore 09:55:25 -rw-rw-r-- 1 jenkins jenkins 41 May 16 09:48 .golangci.yml 09:55:25 -rw-rw-r-- 1 jenkins jenkins 11101 May 16 09:48 Attribution.txt 09:55:25 -rw-rw-r-- 1 jenkins jenkins 16388 May 16 09:48 CHANGELOG.md 09:55:25 -rw-rw-r-- 1 jenkins jenkins 1474 May 16 09:48 Dockerfile 09:55:25 -rw-rw-r-- 1 jenkins jenkins 677 May 16 09:48 GOVERNANCE.md 09:55:25 -rw-rw-r-- 1 jenkins jenkins 658 May 16 09:48 Jenkinsfile 09:55:25 -rw-rw-r-- 1 jenkins jenkins 11340 May 16 09:48 LICENSE 09:55:25 -rw-rw-r-- 1 jenkins jenkins 1942 May 16 09:48 Makefile 09:55:25 -rw-rw-r-- 1 jenkins jenkins 622 May 16 09:48 OWNERS.md 09:55:25 -rw-rw-r-- 1 jenkins jenkins 4463 May 16 09:48 README.md 09:55:25 -rw-rw-r-- 1 jenkins jenkins 5 May 16 09:45 VERSION 09:55:25 drwxrwxr-x 2 jenkins jenkins 4096 May 16 09:48 bin 09:55:25 drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:48 cmd 09:55:25 -rw-r--r-- 1 jenkins jenkins 24601 May 16 09:54 coverage.out 09:55:25 -rw-rw-r-- 1 jenkins jenkins 7289 May 16 09:48 go.mod 09:55:25 -rw-rw-r-- 1 jenkins jenkins 101939 May 16 09:48 go.sum 09:55:25 drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:48 internal 09:55:25 drwxrwxr-x 2 jenkins jenkins 4096 May 16 09:48 simulator 09:55:25 -rw-rw-r-- 1 jenkins jenkins 229 May 16 09:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:55:25 + 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=67d534a3da082ab1a91afc75009c44586036319d --label arch=arm64 --label version=0.0.0 . 09:55:25 Sending build context to Docker daemon 10.62MB 09:55:26 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 09:55:26 Step 2/23 : FROM ${BASE} AS builder 09:55:26 ---> 275ba360e095 09:55:26 Step 3/23 : ARG ADD_BUILD_TAGS="" 09:55:26 ---> Running in ff3e0bc598e6 09:55:26 Removing intermediate container ff3e0bc598e6 09:55:26 ---> 5b2dc2731832 09:55:26 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:55:26 ---> Running in 42d3c463c49e 09:55:26 Removing intermediate container 42d3c463c49e 09:55:26 ---> 76fedf900c16 09:55:26 Step 5/23 : RUN apk add --update --no-cache make git openssh 09:55:26 ---> Running in 909e1d5daa2c 09:55:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:55:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:55:29 OK: 272 MiB in 60 packages 09:55:30 Removing intermediate container 909e1d5daa2c 09:55:30 ---> 7dc7380dab42 09:55:30 Step 6/23 : WORKDIR /device-modbus-go 09:55:30 ---> Running in b284e2ef99d1 09:55:30 Removing intermediate container b284e2ef99d1 09:55:30 ---> 1f96d3c1e4d2 09:55:30 Step 7/23 : COPY go.mod vendor* ./ 09:55:31 ---> bed4fe295831 09:55:31 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:55:31 ---> Running in 7b27198c7c0c 09:55:34 Removing intermediate container 7b27198c7c0c 09:55:34 ---> 1504c1e55b57 09:55:34 Step 9/23 : COPY . . 09:55:34 ---> 058f6d2c30b0 09:55:34 Step 10/23 : RUN ${MAKE} 09:55:34 ---> Running in d75682a947f9 09:55:35 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.13" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 09:59:12 Removing intermediate container d75682a947f9 09:59:12 ---> 73627ed0f753 09:59:12 Step 11/23 : FROM alpine:3.18 09:59:12 3.18: Pulling from library/alpine 09:59:12 c6b39de5b339: Already exists 09:59:12 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 09:59:12 Status: Downloaded newer image for alpine:3.18 09:59:12 ---> 33abbf032149 09:59:12 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 09:59:12 ---> Running in e06cad632745 09:59:12 Removing intermediate container e06cad632745 09:59:12 ---> 07fc8173733c 09:59:12 Step 13/23 : RUN apk add --update --no-cache dumb-init 09:59:12 ---> Running in f46c45b74dca 09:59:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:59:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:59:12 (1/1) Installing dumb-init (1.2.5-r2) 09:59:12 Executing busybox-1.36.1-r5.trigger 09:59:12 OK: 8 MiB in 16 packages 09:59:12 Removing intermediate container f46c45b74dca 09:59:12 ---> 14e7b4b27fbc 09:59:12 Step 14/23 : RUN apk --no-cache upgrade 09:59:12 ---> Running in a7481aca6a56 09:59:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:59:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:59:12 Upgrading critical system libraries and apk-tools: 09:59:12 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 09:59:12 Executing busybox-1.36.1-r5.trigger 09:59:12 Continuing the upgrade transaction with new apk-tools: 09:59:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:59:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:59:12 (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 09:59:12 (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) 09:59:12 (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) 09:59:12 OK: 8 MiB in 16 packages 09:59:12 Removing intermediate container a7481aca6a56 09:59:12 ---> b0e25aa508f5 09:59:12 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 09:59:13 ---> 38e5d1cb2c9a 09:59:13 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 09:59:13 ---> 920212478f7e 09:59:13 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 09:59:14 ---> 951a5a39768e 09:59:14 Step 18/23 : EXPOSE 59901 09:59:14 ---> Running in 2470eec54ad5 09:59:14 Removing intermediate container 2470eec54ad5 09:59:14 ---> af67758d5a79 09:59:14 Step 19/23 : ENTRYPOINT ["/device-modbus"] 09:59:14 ---> Running in eec9c247d854 09:59:15 Removing intermediate container eec9c247d854 09:59:15 ---> 99220924b0b6 09:59:15 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 09:59:15 ---> Running in 5dbb7def670b 09:59:15 Removing intermediate container 5dbb7def670b 09:59:15 ---> 999a7339831d 09:59:15 Step 21/23 : LABEL arch=arm64 09:59:15 ---> Running in 9dd2bda64fa8 09:59:15 Removing intermediate container 9dd2bda64fa8 09:59:15 ---> 24460bddc76a 09:59:15 Step 22/23 : LABEL git_sha=67d534a3da082ab1a91afc75009c44586036319d 09:59:15 ---> Running in 6fb0035551d4 09:59:16 Removing intermediate container 6fb0035551d4 09:59:16 ---> f8210125fec0 09:59:16 Step 23/23 : LABEL version=0.0.0 09:59:16 ---> Running in 71fb2e0013eb 09:59:16 Removing intermediate container 71fb2e0013eb 09:59:16 ---> c76fa8bdb8c1 09:59:16 [Warning] One or more build-args [ARCH] were not consumed 09:59:16 Successfully built c76fa8bdb8c1 09:59:16 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 09:59:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:59:16 09:59:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:59:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:59:17 arm64: Pulling from edgex-lftools-log-publisher 09:59:17 8998bd30e6a1: Pulling fs layer 09:59:17 04944245beec: Pulling fs layer 09:59:17 699f458cf7ca: Pulling fs layer 09:59:17 765212b225bb: Pulling fs layer 09:59:17 f23df028b6ca: Pulling fs layer 09:59:17 d65c8cfc05b1: Pulling fs layer 09:59:17 2437ff75d9bd: Pulling fs layer 09:59:17 765212b225bb: Waiting 09:59:17 f23df028b6ca: Waiting 09:59:17 d65c8cfc05b1: Waiting 09:59:17 2437ff75d9bd: Waiting 09:59:17 04944245beec: Verifying Checksum 09:59:17 04944245beec: Download complete 09:59:17 765212b225bb: Verifying Checksum 09:59:17 765212b225bb: Download complete 09:59:17 f23df028b6ca: Verifying Checksum 09:59:17 f23df028b6ca: Download complete 09:59:17 d65c8cfc05b1: Verifying Checksum 09:59:17 d65c8cfc05b1: Download complete 09:59:17 699f458cf7ca: Verifying Checksum 09:59:17 699f458cf7ca: Download complete 09:59:17 8998bd30e6a1: Verifying Checksum 09:59:17 8998bd30e6a1: Download complete 09:59:20 2437ff75d9bd: Verifying Checksum 09:59:20 2437ff75d9bd: Download complete 09:59:22 8998bd30e6a1: Pull complete 09:59:23 04944245beec: Pull complete 09:59:24 699f458cf7ca: Pull complete 09:59:24 765212b225bb: Pull complete 09:59:25 f23df028b6ca: Pull complete 09:59:25 d65c8cfc05b1: Pull complete 09:59:43 2437ff75d9bd: Pull complete 09:59:43 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:59:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:59:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:59:43 prd-ubuntu20.04-docker-arm64-4c-16g-273 does not seem to be running inside a container 09:59:44 $ 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/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@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 09:59:46 $ docker top b89aea80f0e9abfc581e0e777b33a92672f328d07d06171fa16afc4ee44b0768 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:59:47 ---> job-cost.sh 09:59:47 lf-activate-venv: SKIPPING 09:59:47 INFO: No Stack... 09:59:47 INFO: Retrieving Pricing Info for: v3-standard-4 09:59:48 INFO: Archiving Costs [Pipeline] sh 09:59:49 + cat /w/workspace/device-modbus-go/4/archives/cost.csv 09:59:49 + cut -d, -f6 [Pipeline] lock 09:59:49 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-547-4-stack-cost] 09:59:49 Resource [jenkins-edgexfoundry-device-modbus-go-PR-547-4-stack-cost] did not exist. Created. 09:59:49 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-547-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:59:50 /w/workspace/device-modbus-go/4@tmp/durable-5ff94aa0/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:59:50 + echo total: 0.10999999940395355 [Pipeline] stash 09:59:50 Warning: overwriting stash ‘stack-cost’ 09:59:50 Stashed 1 file(s) [Pipeline] } 09:59:50 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-547-4-stack-cost] [Pipeline] // lock [Pipeline] } 09:59:50 $ docker stop --time=1 b89aea80f0e9abfc581e0e777b33a92672f328d07d06171fa16afc4ee44b0768 09:59:51 $ docker rm -f --volumes b89aea80f0e9abfc581e0e777b33a92672f328d07d06171fa16afc4ee44b0768 [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 09:59:52 provisioning config files... 09:59:52 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-547@tmp/config1551962637154537010tmp [Pipeline] { [Pipeline] sh 09:59:52 + set +x 09:59:52 + + bash -s -- 09:59:52 curl -s https://codecov.io/bash 09:59:52 09:59:52 _____ _ 09:59:52 / ____| | | 09:59:52 | | ___ __| | ___ ___ _____ __ 09:59:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:59:52 | |___| (_) | (_| | __/ (_| (_) \ V / 09:59:52 \_____\___/ \__,_|\___|\___\___/ \_/ 09:59:52 Bash-1.0.6 09:59:52 09:59:52 09:59:52 ==> git version 2.25.1 found 09:59:52 ==> 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 09:59:52 Release-Date: 2020-01-08 09:59:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:59:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:59:52 ==> Jenkins CI detected. 09:59:52 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-547 09:59:52 project root: . 09:59:52 --> token set from env 09:59:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:59:52 ==> Running gcov in . (disable via -X gcov) 09:59:52 ==> Python coveragepy not found 09:59:52 ==> Searching for coverage reports in: 09:59:52 + . 09:59:52 -> Found 1 reports 09:59:52 ==> Detecting git/mercurial file structure 09:59:52 ==> Reading reports 09:59:52 + ./coverage.out bytes=24601 09:59:52 ==> Appending adjustments 09:59:52 https://docs.codecov.io/docs/fixing-reports 09:59:52 + Found adjustments 09:59:52 ==> Gzipping contents 09:59:52 4.0K /tmp/codecov.y5cGbp.gz 09:59:52 ==> Uploading reports 09:59:52 url: https://codecov.io 09:59:52 query: branch=PR-547&commit=67d534a3da082ab1a91afc75009c44586036319d&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-547%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=547&job=&cmd_args= 09:59:52 -> Pinging Codecov 09:59:52 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-547&commit=67d534a3da082ab1a91afc75009c44586036319d&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-547%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=547&job=&cmd_args= 09:59:52 -> Uploading to 09:59:52 https://storage.googleapis.com/codecov/v4/raw/2024-05-16/55DBCA73C666E3227836607328DD7E49/67d534a3da082ab1a91afc75009c44586036319d/1f9365d8-32f9-412d-94e6-517f50dcc59f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20240516%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240516T095952Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b05731cdd5b5800ee25a18adb4569f8cbd595a7936d8f7714a64f0649e8f8f89 09:59:52 % Total % Received % Xferd Average Speed Time Time Time Current 09:59:52 Dload Upload Total Spent Left Speed 09:59:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 15558 --:--:-- --:--:-- --:--:-- 15558 09:59:53 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/67d534a3da082ab1a91afc75009c44586036319d [Pipeline] } 09:59:53 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 09:59:54 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-547/archives ] 09:59:54 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-547/archives 09:59:54 total 16 09:59:54 drwxr-xr-x 3 root root 4096 May 16 09:48 . 09:59:54 drwxrwxr-x 10 jenkins jenkins 4096 May 16 09:48 .. 09:59:54 drwxr-xr-x 2 root root 4096 May 16 09:48 cost 09:59:54 -rw-r--r-- 1 root root 88 May 16 09:48 cost.csv 09:59:54 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-547/archives 09:59:54 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-547/archives 09:59:54 total 16 09:59:54 drwxr-xr-x 3 jenkins jenkins 4096 May 16 09:48 . 09:59:54 drwxrwxr-x 10 jenkins jenkins 4096 May 16 09:48 .. 09:59:54 drwxr-xr-x 2 jenkins jenkins 4096 May 16 09:48 cost 09:59:54 -rw-r--r-- 1 jenkins jenkins 88 May 16 09:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:59:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:59:55 ---> package-listing.sh 09:59:55 ++ facter osfamily 09:59:55 ++ tr '[:upper:]' '[:lower:]' 09:59:55 + OS_FAMILY=debian 09:59:55 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-547 09:59:55 + START_PACKAGES=/tmp/packages_start.txt 09:59:55 + END_PACKAGES=/tmp/packages_end.txt 09:59:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:59:55 + PACKAGES=/tmp/packages_start.txt 09:59:55 + '[' /w/workspace/xfoundry_device-modbus-go_PR-547 ']' 09:59:55 + PACKAGES=/tmp/packages_end.txt 09:59:55 + case "${OS_FAMILY}" in 09:59:55 + dpkg -l 09:59:55 + grep '^ii' 09:59:55 + '[' -f /tmp/packages_start.txt ']' 09:59:55 + '[' -f /tmp/packages_end.txt ']' 09:59:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:59:55 + '[' /w/workspace/xfoundry_device-modbus-go_PR-547 ']' 09:59:55 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-547/archives/ 09:59:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-547/archives/ [Pipeline] echo 09:59:55 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-547/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:59:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:59:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:59:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:59:56 prd-ubuntu20.04-docker-8c-8g-271 does not seem to be running inside a container 09:59:56 $ 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-547/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-547 -v /w/workspace/xfoundry_device-modbus-go_PR-547:/w/workspace/xfoundry_device-modbus-go_PR-547:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-547@tmp:/w/workspace/xfoundry_device-modbus-go_PR-547@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 09:59:56 $ docker top 075f5fd161c2dd174350a14844a49bbf54e43ad90a54c0e9ca58b35e4b5fb3e0 -eo pid,comm [Pipeline] { [Pipeline] sh 09:59:57 + touch /tmp/pre-build-complete [Pipeline] sh 09:59:57 + mkdir -p /var/log/sysstat [Pipeline] sh 09:59:57 + ls /var/log/sa-host 09:59:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:59:57 provisioning config files... 09:59:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-547@tmp/config11776562190737982506tmp [Pipeline] { [Pipeline] echo 09:59:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:59:58 ---> create-netrc.sh [Pipeline] } 09:59:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:59:58 ---> python-tools-install.sh [Pipeline] echo 09:59:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:59:58 ---> sudo-logs.sh 09:59:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:59:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:59:58 ---> job-cost.sh 09:59:58 lf-activate-venv: SKIPPING 09:59:58 DEBUG: total: 0.2199999988079071 09:59:58 INFO: Retrieving Stack Cost... 09:59:59 INFO: Retrieving Pricing Info for: v3-standard-8 09:59:59 INFO: Archiving Costs [Pipeline] echo 09:59:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:00:00 ---> logs-deploy.sh 10:00:00 lf-activate-venv: SKIPPING 10:00:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-547/4 10:00:00 INFO: archiving workspace using pattern(s): 10:00:01 Archives upload complete. 10:00:01 INFO: archiving logs to Nexus 10:00:01 ---> uname -a: 10:00:01 Linux prd-ubuntu20-04-docker-8c-8g-271 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 10:00:01 10:00:01