Pull request #560 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fc57f0655aff636f34b1179b7d2e09cd7eca0335+bdf5b46fa02d572085513da6d841dbb0eb23469e (f38f59a01407475df7f8ec09f65818aba5066bb6) 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-ssh2215199331983374721.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16051221236895988215.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 590556114a56c6d90cc8043840e039c2f74196dc The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-560/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-560/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17743497449349407386.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-560/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18347198789781476385.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13904040771589936158.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-560/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-560/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15762551537491045621.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-5702 in /w/workspace/xfoundry_device-modbus-go_PR-560 [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-560 # 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 Merging remotes/origin/main commit bdf5b46fa02d572085513da6d841dbb0eb23469e into PR head commit fc57f0655aff636f34b1179b7d2e09cd7eca0335 Merge succeeded, producing fc57f0655aff636f34b1179b7d2e09cd7eca0335 Checking out Revision fc57f0655aff636f34b1179b7d2e09cd7eca0335 (PR-560) > 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/560/head:refs/remotes/origin/PR-560 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fc57f0655aff636f34b1179b7d2e09cd7eca0335 # 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 bdf5b46fa02d572085513da6d841dbb0eb23469e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fc57f0655aff636f34b1179b7d2e09cd7eca0335 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:39:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:39:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:39:54 ========================================================= 05:39:54 EdgeX Global Pipelines Version Info 05:39:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:39:55 ------------------- 05:39:55 stable info: 05:39:55 ------------------- 05:39:55 Commited By: Ginny Guan ginny@iotechsys.com 05:39:55 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 05:39:55 Message: update stable to v1.0.260 05:39:55 ------------------- 05:39:55 experimental info: 05:39:55 ------------------- 05:39:55 Commited By: Ginny Guan ginny@iotechsys.com 05:39:55 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 05:39:55 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:39:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:39:56 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:39:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:39:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:39:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:39:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 05:39:56 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:39:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:39:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:39:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:39:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:39:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:39:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:39:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:39:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:39:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:39:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:39:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:39:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:39:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:39:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:39:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:39:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:39:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:39:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:39:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:39:57 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:39:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-560 [Pipeline] echo 05:39:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-560 [Pipeline] echo 05:39:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-560 [Pipeline] echo 05:39:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fc57f0655aff636f34b1179b7d2e09cd7eca0335 [Pipeline] echo 05:39:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fc57f06 [Pipeline] echo 05:39:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:39:58 provisioning config files... 05:39:58 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-560@tmp/config7341966854536186234tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:39:58 ---> ****-login.sh 05:39:58 nexus3.edgexfoundry.org:10001 05:39:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:39:58 Configure a credential helper to remove this warning. See 05:39:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:39:58 05:39:58 Login Succeeded 05:39:58 nexus3.edgexfoundry.org:10002 05:39:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:39:59 Configure a credential helper to remove this warning. See 05:39:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:39:59 05:39:59 Login Succeeded 05:39:59 nexus3.edgexfoundry.org:10003 05:39:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:39:59 Configure a credential helper to remove this warning. See 05:39:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:39:59 05:39:59 Login Succeeded 05:39:59 nexus3.edgexfoundry.org:10004 05:39:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:39:59 Configure a credential helper to remove this warning. See 05:39:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:39:59 05:39:59 Login Succeeded 05:39:59 ****.io 05:39:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:39:59 Configure a credential helper to remove this warning. See 05:39:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:39:59 05:39:59 Login Succeeded 05:39:59 ---> ****-login.sh ends [Pipeline] } 05:39:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:40:00 + git rev-list -1 --merges fc57f0655aff636f34b1179b7d2e09cd7eca0335~1..fc57f0655aff636f34b1179b7d2e09cd7eca0335 [Pipeline] echo 05:40:00 -----------> git rev-list -1 --merges fc57f0655aff636f34b1179b7d2e09cd7eca0335~1..fc57f0655aff636f34b1179b7d2e09cd7eca0335 fc57f0655aff636f34b1179b7d2e09cd7eca0335 [false] [Pipeline] sh 05:40:00 + git log --format=format:%s -1 fc57f0655aff636f34b1179b7d2e09cd7eca0335 [Pipeline] echo 05:40:00 ========================================================= 05:40:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:40:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:40:01 + git log --format=format:%s -1 fc57f0655aff636f34b1179b7d2e09cd7eca0335 [Pipeline] echo 05:40:01 [semverPrep] GIT_COMMIT: fc57f0655aff636f34b1179b7d2e09cd7eca0335, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:40:01 [semverPrep] This is not a build commit. [Pipeline] sh 05:40:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:40:01 + grep -v github /etc/ssh/ssh_known_hosts 05:40:01 + [ -e /tmp/ssh_known_hosts ] 05:40:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:40:01 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:40:01 + sudo tee -a /etc/ssh/ssh_known_hosts 05:40:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:40:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:40:02 05:40:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:40:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:40:02 0.1.4: Pulling from edgex-devops/py-git-semver 05:40:02 b85a868b505f: Pulling fs layer 05:40:02 e2be974225ed: Pulling fs layer 05:40:02 339a4e72a1f5: Pulling fs layer 05:40:02 988bab9f4d93: Pulling fs layer 05:40:02 1469e6f7b9e6: Pulling fs layer 05:40:02 eaf3925da568: Pulling fs layer 05:40:02 bab4dde63d76: Pulling fs layer 05:40:02 bde34c3a00c8: Pulling fs layer 05:40:02 b352a97aabf1: Pulling fs layer 05:40:02 4872d77fe225: Pulling fs layer 05:40:02 5851b861e8e6: Pulling fs layer 05:40:02 988bab9f4d93: Waiting 05:40:02 1469e6f7b9e6: Waiting 05:40:02 b352a97aabf1: Waiting 05:40:02 eaf3925da568: Waiting 05:40:02 bab4dde63d76: Waiting 05:40:02 bde34c3a00c8: Waiting 05:40:02 5851b861e8e6: Waiting 05:40:02 e2be974225ed: Verifying Checksum 05:40:02 e2be974225ed: Download complete 05:40:02 988bab9f4d93: Verifying Checksum 05:40:02 988bab9f4d93: Download complete 05:40:02 1469e6f7b9e6: Verifying Checksum 05:40:02 1469e6f7b9e6: Download complete 05:40:02 339a4e72a1f5: Verifying Checksum 05:40:02 339a4e72a1f5: Download complete 05:40:02 eaf3925da568: Verifying Checksum 05:40:03 bde34c3a00c8: Download complete 05:40:03 b352a97aabf1: Verifying Checksum 05:40:03 b352a97aabf1: Download complete 05:40:03 4872d77fe225: Verifying Checksum 05:40:03 5851b861e8e6: Verifying Checksum 05:40:03 5851b861e8e6: Download complete 05:40:03 b85a868b505f: Verifying Checksum 05:40:03 b85a868b505f: Download complete 05:40:03 bab4dde63d76: Verifying Checksum 05:40:03 bab4dde63d76: Download complete 05:40:04 b85a868b505f: Pull complete 05:40:04 e2be974225ed: Pull complete 05:40:04 339a4e72a1f5: Pull complete 05:40:05 988bab9f4d93: Pull complete 05:40:05 1469e6f7b9e6: Pull complete 05:40:05 eaf3925da568: Pull complete 05:40:06 bab4dde63d76: Pull complete 05:40:06 bde34c3a00c8: Pull complete 05:40:06 b352a97aabf1: Pull complete 05:40:06 4872d77fe225: Pull complete 05:40:07 5851b861e8e6: Pull complete 05:40:07 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:40:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:40:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:40:07 prd-ubuntu20.04-docker-8c-8g-5702 does not seem to be running inside a container 05:40:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-560 -v /w/workspace/xfoundry_device-modbus-go_PR-560:/w/workspace/xfoundry_device-modbus-go_PR-560:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-560@tmp:/w/workspace/xfoundry_device-modbus-go_PR-560@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:40:09 $ docker top d1ba34a5154b41111e74f63ecee85c8f1484ddf937a16e6f3467e34b882f6405 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:40:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:40:10 [ssh-agent] Looking for ssh-agent implementation... 05:40:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:40:10 $ docker exec d1ba34a5154b41111e74f63ecee85c8f1484ddf937a16e6f3467e34b882f6405 ssh-agent 05:40:10 SSH_AUTH_SOCK=/tmp/ssh-NGEHQMNv5giu/agent.32 05:40:10 SSH_AGENT_PID=38 05:40:10 Running ssh-add (command line suppressed) 05:40:10 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-560@tmp/private_key_16781453303871849302.key (/w/workspace/xfoundry_device-modbus-go_PR-560@tmp/private_key_16781453303871849302.key) 05:40:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:40:10 + git tag --points-at HEAD [Pipeline] } 05:40:10 $ docker exec --env ******** --env ******** d1ba34a5154b41111e74f63ecee85c8f1484ddf937a16e6f3467e34b882f6405 ssh-agent -k 05:40:10 unset SSH_AUTH_SOCK; 05:40:10 unset SSH_AGENT_PID; 05:40:10 echo Agent pid 38 killed; 05:40:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:40:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:40:11 [ssh-agent] Looking for ssh-agent implementation... 05:40:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:40:11 $ docker exec d1ba34a5154b41111e74f63ecee85c8f1484ddf937a16e6f3467e34b882f6405 ssh-agent 05:40:11 SSH_AUTH_SOCK=/tmp/ssh-EGr6mNdkHjVY/agent.71 05:40:11 SSH_AGENT_PID=77 05:40:11 Running ssh-add (command line suppressed) 05:40:11 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-560@tmp/private_key_14516602917066108847.key (/w/workspace/xfoundry_device-modbus-go_PR-560@tmp/private_key_14516602917066108847.key) 05:40:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:40:11 + git semver init 05:40:12 2024-07-16 05:40:11,948 [run_init] DEBUG init version:0.0.0 force:False 05:40:12 2024-07-16 05:40:11,949 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-560/.semver 05:40:12 2024-07-16 05:40:11,950 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-560/.semver 05:40:12 2024-07-16 05:40:11,950 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-560/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-560, universal_newlines=False, shell=None, istream=None) 05:40:12 2024-07-16 05:40:12,912 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-560/.git/info/exclude 05:40:12 2024-07-16 05:40:12,913 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-560/.semver/PR-560 with force:False 05:40:12 2024-07-16 05:40:12,913 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-560/.semver/PR-560 05:40:12 2024-07-16 05:40:12,917 [execute] INFO git cat-file --batch-check 05:40:12 2024-07-16 05:40:12,917 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-560/.semver, universal_newlines=False, shell=None, istream=) 05:40:12 2024-07-16 05:40:12,922 [execute] INFO git cat-file --batch 05:40:12 2024-07-16 05:40:12,922 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-560/.semver, universal_newlines=False, shell=None, istream=) 05:40:12 2024-07-16 05:40:12,927 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-560/.semver/PR-560 05:40:12 0.0.0 [Pipeline] } 05:40:13 $ docker exec --env ******** --env ******** d1ba34a5154b41111e74f63ecee85c8f1484ddf937a16e6f3467e34b882f6405 ssh-agent -k 05:40:13 unset SSH_AUTH_SOCK; 05:40:13 unset SSH_AGENT_PID; 05:40:13 echo Agent pid 77 killed; 05:40:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:40:13 + git semver [Pipeline] } 05:40:13 $ docker stop --time=1 d1ba34a5154b41111e74f63ecee85c8f1484ddf937a16e6f3467e34b882f6405 05:40:15 $ docker rm -f --volumes d1ba34a5154b41111e74f63ecee85c8f1484ddf937a16e6f3467e34b882f6405 [Pipeline] // withDockerContainer [Pipeline] sh 05:40:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:40:15 Stashed 1 file(s) [Pipeline] echo 05:40:15 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:40:16 provisioning config files... 05:40:16 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-560@tmp/config10863527092585626480tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:40:17 ---> ****-login.sh 05:40:17 nexus3.edgexfoundry.org:10001 05:40:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:40:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:40:17 Configure a credential helper to remove this warning. See 05:40:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:40:17 05:40:17 Login Succeeded 05:40:17 nexus3.edgexfoundry.org:10002 05:40:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:40:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:40:17 Configure a credential helper to remove this warning. See 05:40:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:40:17 05:40:17 Login Succeeded 05:40:17 nexus3.edgexfoundry.org:10003 05:40:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:40:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:40:17 Configure a credential helper to remove this warning. See 05:40:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:40:17 05:40:17 Login Succeeded 05:40:17 nexus3.edgexfoundry.org:10004 05:40:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:40:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:40:17 Configure a credential helper to remove this warning. See 05:40:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:40:17 05:40:17 Login Succeeded 05:40:17 ****.io 05:40:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:40:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:40:17 Configure a credential helper to remove this warning. See 05:40:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:40:17 05:40:17 Login Succeeded 05:40:17 ---> ****-login.sh ends [Pipeline] } 05:40:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:40:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:40:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:40:18 ========================================================= 05:40:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 05:40:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:40:18 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 05:40:18 Sending build context to Docker daemon 17.79MB 05:40:18 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:40:18 Step 2/10 : FROM ${BASE} AS builder 05:40:18 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 05:40:18 619be1103602: Pulling fs layer 05:40:18 7862e08f4a3e: Pulling fs layer 05:40:18 5df492c9dc93: Pulling fs layer 05:40:18 7629e6793208: Pulling fs layer 05:40:18 4f4fb700ef54: Pulling fs layer 05:40:18 fb5054dd5b73: Pulling fs layer 05:40:18 eeca6798cff9: Pulling fs layer 05:40:18 aa269ceb94a6: Pulling fs layer 05:40:18 ada007ff1a6a: Pulling fs layer 05:40:18 fb5054dd5b73: Waiting 05:40:18 eeca6798cff9: Waiting 05:40:18 7629e6793208: Waiting 05:40:18 aa269ceb94a6: Waiting 05:40:18 4f4fb700ef54: Waiting 05:40:18 ada007ff1a6a: Waiting 05:40:18 7862e08f4a3e: Download complete 05:40:18 7629e6793208: Verifying Checksum 05:40:18 7629e6793208: Download complete 05:40:18 4f4fb700ef54: Download complete 05:40:18 fb5054dd5b73: Verifying Checksum 05:40:18 fb5054dd5b73: Download complete 05:40:18 619be1103602: Verifying Checksum 05:40:18 619be1103602: Download complete 05:40:18 eeca6798cff9: Verifying Checksum 05:40:18 eeca6798cff9: Download complete 05:40:19 619be1103602: Pull complete 05:40:19 ada007ff1a6a: Verifying Checksum 05:40:19 ada007ff1a6a: Download complete 05:40:19 7862e08f4a3e: Pull complete 05:40:19 5df492c9dc93: Verifying Checksum 05:40:19 5df492c9dc93: Download complete 05:40:19 aa269ceb94a6: Verifying Checksum 05:40:19 aa269ceb94a6: Download complete 05:40:22 5df492c9dc93: Pull complete 05:40:22 7629e6793208: Pull complete 05:40:22 4f4fb700ef54: Pull complete 05:40:22 fb5054dd5b73: Pull complete 05:40:22 eeca6798cff9: Pull complete 05:40:24 aa269ceb94a6: Pull complete 05:40:25 ada007ff1a6a: Pull complete 05:40:25 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 05:40:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 05:40:25 ---> f489d0715acc 05:40:25 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:40:28 ---> Running in 33a6338eddc6 05:40:28 Removing intermediate container 33a6338eddc6 05:40:28 ---> 18075be7d427 05:40:28 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:40:28 ---> Running in 61c0eb3640d7 05:40:28 Removing intermediate container 61c0eb3640d7 05:40:28 ---> 1aecc788a88a 05:40:28 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:40:28 ---> Running in 5bc1b7a805d4 05:40:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:40:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:40:29 (1/8) Installing openssh-keygen (9.3_p2-r2) 05:40:29 (2/8) Installing libedit (20221030.3.1-r1) 05:40:29 (3/8) Installing openssh-client-common (9.3_p2-r2) 05:40:29 (4/8) Installing openssh-client-default (9.3_p2-r2) 05:40:29 (5/8) Installing openssh-sftp-server (9.3_p2-r2) 05:40:29 (6/8) Installing openssh-server-common (9.3_p2-r2) 05:40:29 (7/8) Installing openssh-server (9.3_p2-r2) 05:40:29 (8/8) Installing openssh (9.3_p2-r2) 05:40:29 Executing busybox-1.36.1-r5.trigger 05:40:29 OK: 270 MiB in 60 packages 05:40:29 Removing intermediate container 5bc1b7a805d4 05:40:29 ---> edb4e3540e4c 05:40:29 Step 6/10 : WORKDIR /device-modbus-go 05:40:29 ---> Running in ae8596f92953 05:40:29 Removing intermediate container ae8596f92953 05:40:29 ---> 580ff94c1a08 05:40:29 Step 7/10 : COPY go.mod vendor* ./ 05:40:30 ---> 88970b422179 05:40:30 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:40:30 ---> Running in 900effc9477c 05:40:31 Still waiting to schedule task 05:40:31 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:41:26 Removing intermediate container 900effc9477c 05:41:26 ---> 64e7e8d210ec 05:41:26 Step 9/10 : COPY . . 05:41:26 ---> 0eeeb6cad81d 05:41:26 Step 10/10 : RUN ${MAKE} 05:41:26 ---> Running in d6fb5950b4e8 05:41:26 noop 05:41:26 Removing intermediate container d6fb5950b4e8 05:41:26 ---> 156668afb2be 05:41:26 Successfully built 156668afb2be 05:41:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:41:26 + docker inspect -f . ci-base-image-x86_64 05:41:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:41:26 prd-ubuntu20.04-docker-8c-8g-5702 does not seem to be running inside a container 05:41:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-560 -v /w/workspace/xfoundry_device-modbus-go_PR-560:/w/workspace/xfoundry_device-modbus-go_PR-560:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-560@tmp:/w/workspace/xfoundry_device-modbus-go_PR-560@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:41:27 $ docker top f19b1bd37611717cff3aae327fa3c02fca47d0ff40646405c394818ab9d7ca15 -eo pid,comm [Pipeline] { [Pipeline] sh 05:41:27 + go version 05:41:27 go version go1.21.9 linux/amd64 [Pipeline] } 05:41:27 $ docker stop --time=1 f19b1bd37611717cff3aae327fa3c02fca47d0ff40646405c394818ab9d7ca15 05:41:29 $ docker rm -f --volumes f19b1bd37611717cff3aae327fa3c02fca47d0ff40646405c394818ab9d7ca15 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:41:29 + docker inspect -f . ci-base-image-x86_64 05:41:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:41:30 prd-ubuntu20.04-docker-8c-8g-5702 does not seem to be running inside a container 05:41:30 $ 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-560 -v /w/workspace/xfoundry_device-modbus-go_PR-560:/w/workspace/xfoundry_device-modbus-go_PR-560:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-560@tmp:/w/workspace/xfoundry_device-modbus-go_PR-560@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:41:30 $ docker top b71256ffb863edfa385ada8b669c874725ed79be4163949a6e0e4e61f49aab59 -eo pid,comm [Pipeline] { [Pipeline] sh 05:41:30 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-560 [Pipeline] fileExists [Pipeline] sh 05:41:31 + make test 05:41:31 go test ./... -coverprofile=coverage.out 05:41:32 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:41:50 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:41:50 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.007s coverage: 47.9% of statements 05:42:02 go vet ./... 05:42:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:42:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:42:07 ./bin/test-attribution-txt.sh 05:42:07 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo 05:42:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:42:07 $ docker stop --time=1 b71256ffb863edfa385ada8b669c874725ed79be4163949a6e0e4e61f49aab59 05:42:12 $ docker rm -f --volumes b71256ffb863edfa385ada8b669c874725ed79be4163949a6e0e4e61f49aab59 [Pipeline] // withDockerContainer [Pipeline] sh 05:42:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:42:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 05:42:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5711 in /w/workspace/xfoundry_device-modbus-go_PR-560 [Pipeline] sh [Pipeline] { [Pipeline] ws 05:42:13 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 05:42:13 + sudo chown -R jenkins:jenkins . 05:42:16 The recommended git tool is: git [Pipeline] sh 05:42:16 + ls -al . 05:42:16 total 272 05:42:16 drwxrwxr-x 9 jenkins jenkins 4096 Jul 16 05:41 . 05:42:16 drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 05:39 .. 05:42:16 -rw-rw-r-- 1 jenkins jenkins 140 Jul 16 05:39 .dockerignore 05:42:16 drwxrwxr-x 8 jenkins jenkins 4096 Jul 16 05:41 .git 05:42:16 drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 05:39 .github 05:42:16 -rw-rw-r-- 1 jenkins jenkins 266 Jul 16 05:39 .gitignore 05:42:16 -rw-rw-r-- 1 jenkins jenkins 41 Jul 16 05:39 .golangci.yml 05:42:16 drwxr-xr-x 3 jenkins jenkins 4096 Jul 16 05:40 .semver 05:42:16 -rw-rw-r-- 1 jenkins jenkins 19432 Jul 16 05:39 Attribution.txt 05:42:16 -rw-rw-r-- 1 jenkins jenkins 16388 Jul 16 05:39 CHANGELOG.md 05:42:16 -rw-rw-r-- 1 jenkins jenkins 1474 Jul 16 05:39 Dockerfile 05:42:16 -rw-rw-r-- 1 jenkins jenkins 677 Jul 16 05:39 GOVERNANCE.md 05:42:16 -rw-rw-r-- 1 jenkins jenkins 658 Jul 16 05:39 Jenkinsfile 05:42:16 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 16 05:39 LICENSE 05:42:16 -rw-rw-r-- 1 jenkins jenkins 1942 Jul 16 05:39 Makefile 05:42:16 -rw-rw-r-- 1 jenkins jenkins 622 Jul 16 05:39 OWNERS.md 05:42:16 -rw-rw-r-- 1 jenkins jenkins 4463 Jul 16 05:39 README.md 05:42:16 -rw-rw-r-- 1 jenkins jenkins 5 Jul 16 05:40 VERSION 05:42:16 drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 05:39 bin 05:42:16 drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 05:39 cmd 05:42:16 -rw-r--r-- 1 jenkins jenkins 24601 Jul 16 05:41 coverage.out 05:42:16 -rw-rw-r-- 1 jenkins jenkins 7184 Jul 16 05:39 go.mod 05:42:16 -rw-rw-r-- 1 jenkins jenkins 102270 Jul 16 05:39 go.sum 05:42:16 drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 05:39 internal 05:42:16 drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 05:39 simulator 05:42:16 -rw-rw-r-- 1 jenkins jenkins 229 Jul 16 05:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:42:17 + 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=fc57f0655aff636f34b1179b7d2e09cd7eca0335 --label arch=amd64 --label version=0.0.0 . 05:42:17 Sending build context to Docker daemon 17.81MB 05:42:17 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 05:42:17 Step 2/23 : FROM ${BASE} AS builder 05:42:17 ---> 156668afb2be 05:42:17 Step 3/23 : ARG ADD_BUILD_TAGS="" 05:42:17 ---> Running in 16db5864d62c 05:42:17 Removing intermediate container 16db5864d62c 05:42:17 ---> 302246b9b1a4 05:42:17 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:42:17 ---> Running in f1b6e2e4838f 05:42:17 Removing intermediate container f1b6e2e4838f 05:42:17 ---> d450821869b5 05:42:17 Step 5/23 : RUN apk add --update --no-cache make git openssh 05:42:17 ---> Running in 4b0c3e374a49 05:42:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:42:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:42:18 OK: 270 MiB in 60 packages 05:42:18 Removing intermediate container 4b0c3e374a49 05:42:18 ---> 50d0d9ac18b8 05:42:18 Step 6/23 : WORKDIR /device-modbus-go 05:42:18 ---> Running in f3639a3f5e17 05:42:18 Removing intermediate container f3639a3f5e17 05:42:18 ---> a22e1266708c 05:42:18 Step 7/23 : COPY go.mod vendor* ./ 05:42:19 ---> 274360a81991 05:42:19 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:42:19 ---> Running in 8a318d4c821a 05:42:19 Removing intermediate container 8a318d4c821a 05:42:19 ---> b5700105988f 05:42:19 Step 9/23 : COPY . . 05:42:20 ---> ccd0e9e9a076 05:42:20 Step 10/23 : RUN ${MAKE} 05:42:20 ---> Running in ba5c1ff358fc 05:42:20 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.24" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 05:42:24 using credential edgex-jenkins-ssh 05:42:24 Cloning the remote Git repository 05:42:24 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:42:24 > git init /w/workspace/device-modbus-go/1 # timeout=10 05:42:24 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:42:24 > git --version # timeout=10 05:42:24 > git --version # 'git version 2.25.1' 05:42:24 using GIT_SSH to set credentials SSH Credentials for GitHub 05:42:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:42:26 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:42:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:42:27 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:42:28 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:42:28 using GIT_SSH to set credentials SSH Credentials for GitHub 05:42:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/560/head:refs/remotes/origin/PR-560 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:42:28 Merging remotes/origin/main commit bdf5b46fa02d572085513da6d841dbb0eb23469e into PR head commit fc57f0655aff636f34b1179b7d2e09cd7eca0335 05:42:29 Merge succeeded, producing fc57f0655aff636f34b1179b7d2e09cd7eca0335 05:42:29 Checking out Revision fc57f0655aff636f34b1179b7d2e09cd7eca0335 (PR-560) 05:42:28 > git config core.sparsecheckout # timeout=10 05:42:28 > git checkout -f fc57f0655aff636f34b1179b7d2e09cd7eca0335 # timeout=10 05:42:28 > git remote # timeout=10 05:42:29 > git config --get remote.origin.url # timeout=10 05:42:29 using GIT_SSH to set credentials SSH Credentials for GitHub 05:42:29 > git merge bdf5b46fa02d572085513da6d841dbb0eb23469e # timeout=10 05:42:29 > git rev-parse HEAD^{commit} # timeout=10 05:42:29 > git config core.sparsecheckout # timeout=10 05:42:29 > git checkout -f fc57f0655aff636f34b1179b7d2e09cd7eca0335 # timeout=10 05:42:29 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 05:42:29 > git --version # timeout=10 05:42:29 > git --version # 'git version 2.25.1' 05:42:29 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:42:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:42:34 % Total % Received % Xferd Average Speed Time Time Time Current 05:42:34 Dload Upload Total Spent Left Speed 05:42:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 121k 0 --:--:-- --:--:-- --:--:-- 121k [Pipeline] sh 05:42:35 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:42:35 + sudo tee /etc/docker/daemon.new 05:42:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:42:35 { 05:42:35 "registry-mirrors": [ 05:42:35 "https://nexus3.edgexfoundry.org:10001" 05:42:35 ], 05:42:35 "bip": "10.250.0.254/24", 05:42:35 "hosts": [ 05:42:35 "tcp://0.0.0.0:5555", 05:42:35 "unix:///var/run/docker.sock" 05:42:35 ], 05:42:35 "mtu": 1458, 05:42:35 "selinux-enabled": true, 05:42:35 "seccomp-profile": "/etc/docker/seccomp.json" 05:42:35 } [Pipeline] sh 05:42:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:42:36 + sudo service docker restart 05:42:53 Removing intermediate container ba5c1ff358fc 05:42:53 ---> 31b3fd88a0dd 05:42:53 Step 11/23 : FROM alpine:3.18 05:42:53 3.18: Pulling from library/alpine 05:42:53 73baa7ef167e: Pulling fs layer 05:42:53 73baa7ef167e: Download complete 05:42:53 73baa7ef167e: Pull complete 05:42:53 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 05:42:53 Status: Downloaded newer image for alpine:3.18 05:42:53 ---> 8fd7cac70a4a 05:42:53 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:42:53 ---> Running in f3ba36a189d5 05:42:53 Removing intermediate container f3ba36a189d5 05:42:53 ---> 63addeeca3e3 05:42:53 Step 13/23 : RUN apk add --update --no-cache dumb-init 05:42:53 ---> Running in 396c2e845145 05:42:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:42:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:42:53 (1/1) Installing dumb-init (1.2.5-r2) 05:42:53 Executing busybox-1.36.1-r7.trigger 05:42:53 OK: 7 MiB in 16 packages 05:42:53 Removing intermediate container 396c2e845145 05:42:53 ---> e85324464972 05:42:53 Step 14/23 : RUN apk --no-cache upgrade 05:42:53 ---> Running in 5e467f0985f4 05:42:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:42:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:42:53 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 05:42:53 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 05:42:53 OK: 7 MiB in 16 packages 05:42:54 Removing intermediate container 5e467f0985f4 05:42:54 ---> 095bb1216378 05:42:54 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:42:54 provisioning config files... 05:42:54 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config17117202402740249135tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:42:55 ---> ****-login.sh 05:42:55 nexus3.edgexfoundry.org:10001 05:42:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:42:55 ---> 3e099b541119 05:42:55 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:42:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:42:55 Configure a credential helper to remove this warning. See 05:42:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:42:55 05:42:55 Login Succeeded 05:42:55 nexus3.edgexfoundry.org:10002 05:42:55 ---> b2b700180da2 05:42:55 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:42:55 ---> fe96423d431d 05:42:55 Step 18/23 : EXPOSE 59901 05:42:55 ---> Running in d97f31e3b76b 05:42:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:42:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:42:55 Configure a credential helper to remove this warning. See 05:42:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:42:55 05:42:55 Login Succeeded 05:42:55 nexus3.edgexfoundry.org:10003 05:42:55 Removing intermediate container d97f31e3b76b 05:42:55 ---> f2f81777a355 05:42:55 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:42:55 ---> Running in 7fa1fb0c80fe 05:42:55 Removing intermediate container 7fa1fb0c80fe 05:42:55 ---> f5d2620d1b8b 05:42:55 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:42:55 ---> Running in 7afb15150bd8 05:42:55 Removing intermediate container 7afb15150bd8 05:42:55 ---> eef7b7fa89ea 05:42:55 Step 21/23 : LABEL arch=amd64 05:42:55 ---> Running in 3331761cead5 05:42:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:42:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:42:56 Configure a credential helper to remove this warning. See 05:42:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:42:56 05:42:56 Login Succeeded 05:42:56 nexus3.edgexfoundry.org:10004 05:42:56 Removing intermediate container 3331761cead5 05:42:56 ---> 154fc6878524 05:42:56 Step 22/23 : LABEL git_sha=fc57f0655aff636f34b1179b7d2e09cd7eca0335 05:42:56 ---> Running in ab60753d1f71 05:42:56 Removing intermediate container ab60753d1f71 05:42:56 ---> d747bdb7611e 05:42:56 Step 23/23 : LABEL version=0.0.0 05:42:56 ---> Running in 0d99a9673068 05:42:56 Removing intermediate container 0d99a9673068 05:42:56 ---> 7f9af1258f07 05:42:56 [Warning] One or more build-args [ARCH] were not consumed 05:42:56 Successfully built 7f9af1258f07 05:42:56 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 05:42:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 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] } 05:42:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:42:56 Configure a credential helper to remove this warning. See 05:42:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:42:56 05:42:56 Login Succeeded 05:42:56 ****.io 05:42:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:42:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:42:57 Configure a credential helper to remove this warning. See 05:42:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:42:57 05:42:57 Login Succeeded 05:42:57 ---> ****-login.sh ends [Pipeline] } 05:42:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 05:42:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:42:57 05:42:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] echo 05:42:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:42:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:42:57 ========================================================= 05:42:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 05:42:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists 05:42:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:42:57 latest: Pulling from edgex-lftools-log-publisher 05:42:57 5eb5b503b376: Pulling fs layer 05:42:57 5c69ac0246d0: Pulling fs layer 05:42:57 ec43610c2a17: Pulling fs layer 05:42:57 3a2ae6a8a46f: Pulling fs layer 05:42:57 33b1e0a273af: Pulling fs layer 05:42:57 5d3b04190fa2: Pulling fs layer 05:42:57 2f39f015ded8: Pulling fs layer 05:42:57 3a2ae6a8a46f: Waiting 05:42:57 33b1e0a273af: Waiting 05:42:57 5d3b04190fa2: Waiting 05:42:57 2f39f015ded8: Waiting 05:42:57 5c69ac0246d0: Verifying Checksum 05:42:57 5c69ac0246d0: Download complete 05:42:57 3a2ae6a8a46f: Download complete 05:42:57 33b1e0a273af: Verifying Checksum 05:42:57 33b1e0a273af: Download complete 05:42:57 ec43610c2a17: Verifying Checksum 05:42:57 ec43610c2a17: Download complete 05:42:57 5d3b04190fa2: Verifying Checksum 05:42:57 5d3b04190fa2: Download complete [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:42:57 5eb5b503b376: Verifying Checksum 05:42:57 5eb5b503b376: Download complete 05:42:58 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 05:42:58 Sending build context to Docker daemon 9.031MB 05:42:58 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:42:58 Step 2/10 : FROM ${BASE} AS builder 05:42:58 2f39f015ded8: Download complete 05:42:58 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:42:58 c6b39de5b339: Pulling fs layer 05:42:58 a69c41024577: Pulling fs layer 05:42:58 d6de4b400683: Pulling fs layer 05:42:58 35cb2a7552d0: Pulling fs layer 05:42:58 4f4fb700ef54: Pulling fs layer 05:42:58 464afbd9ba4c: Pulling fs layer 05:42:58 00f215d4a9da: Pulling fs layer 05:42:58 d496ad576159: Pulling fs layer 05:42:58 4f4fb700ef54: Waiting 05:42:58 464afbd9ba4c: Waiting 05:42:58 00f215d4a9da: Waiting 05:42:58 d496ad576159: Waiting 05:42:58 35cb2a7552d0: Waiting 05:42:58 a69c41024577: Verifying Checksum 05:42:58 a69c41024577: Download complete 05:42:58 35cb2a7552d0: Verifying Checksum 05:42:58 35cb2a7552d0: Download complete 05:42:58 4f4fb700ef54: Verifying Checksum 05:42:58 4f4fb700ef54: Download complete 05:42:58 464afbd9ba4c: Verifying Checksum 05:42:58 464afbd9ba4c: Download complete 05:42:58 c6b39de5b339: Download complete 05:42:59 5eb5b503b376: Pull complete 05:42:59 d496ad576159: Verifying Checksum 05:42:59 d496ad576159: Download complete 05:42:59 5c69ac0246d0: Pull complete 05:42:59 c6b39de5b339: Pull complete 05:42:59 ec43610c2a17: Pull complete 05:42:59 3a2ae6a8a46f: Pull complete 05:42:59 33b1e0a273af: Pull complete 05:43:00 5d3b04190fa2: Pull complete 05:43:00 a69c41024577: Pull complete 05:43:00 d6de4b400683: Verifying Checksum 05:43:00 d6de4b400683: Download complete 05:43:01 00f215d4a9da: Verifying Checksum 05:43:01 00f215d4a9da: Download complete 05:43:04 2f39f015ded8: Pull complete 05:43:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:43:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:43:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:43:04 prd-ubuntu20.04-docker-8c-8g-5702 does not seem to be running inside a container 05:43:04 $ 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-560 -v /w/workspace/xfoundry_device-modbus-go_PR-560:/w/workspace/xfoundry_device-modbus-go_PR-560:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-560@tmp:/w/workspace/xfoundry_device-modbus-go_PR-560@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:43:10 $ docker top e9ce18bf5cb7b5d8059e7b81e4ae16ff75d52fa29a77bb52d9a5542546797e39 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:43:11 ---> job-cost.sh 05:43:11 lf-activate-venv: SKIPPING 05:43:11 INFO: No Stack... 05:43:11 INFO: Retrieving Pricing Info for: v3-standard-8 05:43:12 INFO: Archiving Costs [Pipeline] sh 05:43:12 + cat /w/workspace/xfoundry_device-modbus-go_PR-560/archives/cost.csv 05:43:12 + cut -d, -f6 [Pipeline] lock 05:43:12 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-560-1-stack-cost] 05:43:12 Resource [jenkins-edgexfoundry-device-modbus-go-PR-560-1-stack-cost] did not exist. Created. 05:43:12 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-560-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:43:13 + echo total: 0.4399999976158142 [Pipeline] stash 05:43:13 Stashed 1 file(s) [Pipeline] } 05:43:13 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-560-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:43:13 $ docker stop --time=1 e9ce18bf5cb7b5d8059e7b81e4ae16ff75d52fa29a77bb52d9a5542546797e39 05:43:14 d6de4b400683: Pull complete 05:43:14 35cb2a7552d0: Pull complete 05:43:14 4f4fb700ef54: Pull complete 05:43:14 464afbd9ba4c: Pull complete 05:43:14 $ docker rm -f --volumes e9ce18bf5cb7b5d8059e7b81e4ae16ff75d52fa29a77bb52d9a5542546797e39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:43:22 00f215d4a9da: Pull complete 05:43:24 d496ad576159: Pull complete 05:43:24 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 05:43:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 05:43:24 ---> f246e2811388 05:43:24 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:43:25 ---> Running in 0c9ecb83c67a 05:43:25 Removing intermediate container 0c9ecb83c67a 05:43:25 ---> cde4a981f022 05:43:25 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:43:25 ---> Running in 3aa07d0c0dec 05:43:25 Removing intermediate container 3aa07d0c0dec 05:43:25 ---> ad95c806823d 05:43:25 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:43:25 ---> Running in ce81301018a1 05:43:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:43:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:43:28 (1/8) Installing openssh-keygen (9.3_p2-r2) 05:43:28 (2/8) Installing libedit (20221030.3.1-r1) 05:43:28 (3/8) Installing openssh-client-common (9.3_p2-r2) 05:43:28 (4/8) Installing openssh-client-default (9.3_p2-r2) 05:43:28 (5/8) Installing openssh-sftp-server (9.3_p2-r2) 05:43:28 (6/8) Installing openssh-server-common (9.3_p2-r2) 05:43:28 (7/8) Installing openssh-server (9.3_p2-r2) 05:43:28 (8/8) Installing openssh (9.3_p2-r2) 05:43:28 Executing busybox-1.36.1-r5.trigger 05:43:28 OK: 272 MiB in 60 packages 05:43:29 Removing intermediate container ce81301018a1 05:43:29 ---> 42814439b8a7 05:43:29 Step 6/10 : WORKDIR /device-modbus-go 05:43:29 ---> Running in 407f76493d42 05:43:29 Removing intermediate container 407f76493d42 05:43:29 ---> 482bc82a23b2 05:43:29 Step 7/10 : COPY go.mod vendor* ./ 05:43:30 ---> 20a74783fe32 05:43:30 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:43:30 ---> Running in b5d7ef47db3a 05:45:22 Removing intermediate container b5d7ef47db3a 05:45:22 ---> 2f8f94fd590d 05:45:22 Step 9/10 : COPY . . 05:45:22 ---> 43ea4ffe52be 05:45:22 Step 10/10 : RUN ${MAKE} 05:45:22 ---> Running in 4fb1d9cab13e 05:45:22 noop 05:45:22 Removing intermediate container 4fb1d9cab13e 05:45:22 ---> 6119fd1e0934 05:45:22 Successfully built 6119fd1e0934 05:45:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:22 + docker inspect -f . ci-base-image-arm64 05:45:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:23 prd-ubuntu20.04-docker-arm64-4c-16g-5711 does not seem to be running inside a container 05:45:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:45:24 $ docker top 7b136172665e7f153b7bbe87b15df1300da869bbf4077fd575e4c2b8f09c205e -eo pid,comm [Pipeline] { [Pipeline] sh 05:45:25 + go version 05:45:25 go version go1.21.9 linux/arm64 [Pipeline] } 05:45:25 $ docker stop --time=1 7b136172665e7f153b7bbe87b15df1300da869bbf4077fd575e4c2b8f09c205e 05:45:26 $ docker rm -f --volumes 7b136172665e7f153b7bbe87b15df1300da869bbf4077fd575e4c2b8f09c205e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:27 + docker inspect -f . ci-base-image-arm64 05:45:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:28 prd-ubuntu20.04-docker-arm64-4c-16g-5711 does not seem to be running inside a container 05:45:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:45:29 $ docker top fbe05f940fed5295fd688dad262f8863cac8fe80c44def61734d58b861dce493 -eo pid,comm [Pipeline] { [Pipeline] sh 05:45:29 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 05:45:30 + make test 05:45:30 go test ./... -coverprofile=coverage.out 05:45:35 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:48:42 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:48:43 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.050s coverage: 47.9% of statements 05:48:44 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:48:44 go vet ./... 05:49:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:49:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:49:31 ./bin/test-attribution-txt.sh 05:49:31 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo 05:49:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:49:31 $ docker stop --time=1 fbe05f940fed5295fd688dad262f8863cac8fe80c44def61734d58b861dce493 05:49:33 $ docker rm -f --volumes fbe05f940fed5295fd688dad262f8863cac8fe80c44def61734d58b861dce493 [Pipeline] // withDockerContainer [Pipeline] sh 05:49:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:49:34 Warning: overwriting stash ‘coverage-report’ 05:49:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:49:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:49:36 + ls -al . 05:49:36 total 268 05:49:36 drwxrwxr-x 8 jenkins jenkins 4096 Jul 16 05:45 . 05:49:36 drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 05:42 .. 05:49:36 -rw-rw-r-- 1 jenkins jenkins 140 Jul 16 05:42 .dockerignore 05:49:36 drwxrwxr-x 8 jenkins jenkins 4096 Jul 16 05:42 .git 05:49:36 drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 05:42 .github 05:49:36 -rw-rw-r-- 1 jenkins jenkins 266 Jul 16 05:42 .gitignore 05:49:36 -rw-rw-r-- 1 jenkins jenkins 41 Jul 16 05:42 .golangci.yml 05:49:36 -rw-rw-r-- 1 jenkins jenkins 19432 Jul 16 05:42 Attribution.txt 05:49:36 -rw-rw-r-- 1 jenkins jenkins 16388 Jul 16 05:42 CHANGELOG.md 05:49:36 -rw-rw-r-- 1 jenkins jenkins 1474 Jul 16 05:42 Dockerfile 05:49:36 -rw-rw-r-- 1 jenkins jenkins 677 Jul 16 05:42 GOVERNANCE.md 05:49:36 -rw-rw-r-- 1 jenkins jenkins 658 Jul 16 05:42 Jenkinsfile 05:49:36 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 16 05:42 LICENSE 05:49:36 -rw-rw-r-- 1 jenkins jenkins 1942 Jul 16 05:42 Makefile 05:49:36 -rw-rw-r-- 1 jenkins jenkins 622 Jul 16 05:42 OWNERS.md 05:49:36 -rw-rw-r-- 1 jenkins jenkins 4463 Jul 16 05:42 README.md 05:49:36 -rw-rw-r-- 1 jenkins jenkins 5 Jul 16 05:40 VERSION 05:49:36 drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 05:42 bin 05:49:36 drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 05:42 cmd 05:49:36 -rw-r--r-- 1 jenkins jenkins 24601 Jul 16 05:48 coverage.out 05:49:36 -rw-rw-r-- 1 jenkins jenkins 7184 Jul 16 05:42 go.mod 05:49:36 -rw-rw-r-- 1 jenkins jenkins 102270 Jul 16 05:42 go.sum 05:49:36 drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 05:42 internal 05:49:36 drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 05:42 simulator 05:49:36 -rw-rw-r-- 1 jenkins jenkins 229 Jul 16 05:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:49:36 + 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=fc57f0655aff636f34b1179b7d2e09cd7eca0335 --label arch=arm64 --label version=0.0.0 . 05:49:37 Sending build context to Docker daemon 9.056MB 05:49:37 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 05:49:37 Step 2/23 : FROM ${BASE} AS builder 05:49:37 ---> 6119fd1e0934 05:49:37 Step 3/23 : ARG ADD_BUILD_TAGS="" 05:49:37 ---> Running in 921f2e90d82b 05:49:37 Removing intermediate container 921f2e90d82b 05:49:37 ---> ca5c3fc6b0f2 05:49:37 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:49:37 ---> Running in bd7f97b63a42 05:49:37 Removing intermediate container bd7f97b63a42 05:49:37 ---> 83a471a03a89 05:49:37 Step 5/23 : RUN apk add --update --no-cache make git openssh 05:49:38 ---> Running in 03d44c809cf2 05:49:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:49:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:49:40 OK: 272 MiB in 60 packages 05:49:40 Removing intermediate container 03d44c809cf2 05:49:40 ---> 3954bc1161b4 05:49:40 Step 6/23 : WORKDIR /device-modbus-go 05:49:41 ---> Running in 1b1f9b5430a4 05:49:41 Removing intermediate container 1b1f9b5430a4 05:49:41 ---> aac51e42d59a 05:49:41 Step 7/23 : COPY go.mod vendor* ./ 05:49:41 ---> 0d2ad15e2ddb 05:49:41 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:49:42 ---> Running in d58651404751 05:49:44 Removing intermediate container d58651404751 05:49:44 ---> 8421f3ef3aa8 05:49:44 Step 9/23 : COPY . . 05:49:45 ---> 5971f3dfb0c0 05:49:45 Step 10/23 : RUN ${MAKE} 05:49:45 ---> Running in f7d8518149b2 05:49:46 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.24" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 05:53:07 Removing intermediate container f7d8518149b2 05:53:07 ---> b551e8a61707 05:53:07 Step 11/23 : FROM alpine:3.18 05:53:07 3.18: Pulling from library/alpine 05:53:07 5c905c7ebe2f: Pulling fs layer 05:53:07 5c905c7ebe2f: Verifying Checksum 05:53:07 5c905c7ebe2f: Download complete 05:53:07 5c905c7ebe2f: Pull complete 05:53:07 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 05:53:07 Status: Downloaded newer image for alpine:3.18 05:53:07 ---> dec292d02e07 05:53:07 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:53:07 ---> Running in c493eccf5d40 05:53:07 Removing intermediate container c493eccf5d40 05:53:07 ---> ab8715a45756 05:53:07 Step 13/23 : RUN apk add --update --no-cache dumb-init 05:53:07 ---> Running in feaa85c0394c 05:53:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:53:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:53:07 (1/1) Installing dumb-init (1.2.5-r2) 05:53:07 Executing busybox-1.36.1-r7.trigger 05:53:07 OK: 8 MiB in 16 packages 05:53:07 Removing intermediate container feaa85c0394c 05:53:07 ---> 8a89a4904195 05:53:07 Step 14/23 : RUN apk --no-cache upgrade 05:53:07 ---> Running in 687e023f461a 05:53:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:53:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:53:07 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 05:53:07 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 05:53:07 OK: 8 MiB in 16 packages 05:53:07 Removing intermediate container 687e023f461a 05:53:07 ---> 67f5d4706f49 05:53:07 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:53:07 ---> ce85dc97f5d5 05:53:07 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:53:08 ---> 079430e69d0e 05:53:08 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:53:08 ---> 96b64ba8a715 05:53:08 Step 18/23 : EXPOSE 59901 05:53:08 ---> Running in 6e781e476c14 05:53:08 Removing intermediate container 6e781e476c14 05:53:08 ---> dec4fc39a9f6 05:53:08 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:53:08 ---> Running in 3da52ec62cc7 05:53:09 Removing intermediate container 3da52ec62cc7 05:53:09 ---> d7401daa940e 05:53:09 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:53:09 ---> Running in a9bacc05be10 05:53:09 Removing intermediate container a9bacc05be10 05:53:09 ---> 48e1b8281d1c 05:53:09 Step 21/23 : LABEL arch=arm64 05:53:09 ---> Running in 0b7968949987 05:53:09 Removing intermediate container 0b7968949987 05:53:09 ---> 0bed896414f7 05:53:09 Step 22/23 : LABEL git_sha=fc57f0655aff636f34b1179b7d2e09cd7eca0335 05:53:09 ---> Running in ce32590e97a7 05:53:10 Removing intermediate container ce32590e97a7 05:53:10 ---> f3938ad223e7 05:53:10 Step 23/23 : LABEL version=0.0.0 05:53:10 ---> Running in 70d66fdc376d 05:53:10 Removing intermediate container 70d66fdc376d 05:53:10 ---> 26539ab83649 05:53:10 [Warning] One or more build-args [ARCH] were not consumed 05:53:10 Successfully built 26539ab83649 05:53:10 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:53:11 05:53:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:53:12 arm64: Pulling from edgex-lftools-log-publisher 05:53:12 8998bd30e6a1: Pulling fs layer 05:53:12 04944245beec: Pulling fs layer 05:53:12 699f458cf7ca: Pulling fs layer 05:53:12 765212b225bb: Pulling fs layer 05:53:12 f23df028b6ca: Pulling fs layer 05:53:12 d65c8cfc05b1: Pulling fs layer 05:53:12 2437ff75d9bd: Pulling fs layer 05:53:12 765212b225bb: Waiting 05:53:12 f23df028b6ca: Waiting 05:53:12 d65c8cfc05b1: Waiting 05:53:12 2437ff75d9bd: Waiting 05:53:12 04944245beec: Verifying Checksum 05:53:12 04944245beec: Download complete 05:53:12 765212b225bb: Verifying Checksum 05:53:12 765212b225bb: Download complete 05:53:12 f23df028b6ca: Verifying Checksum 05:53:12 f23df028b6ca: Download complete 05:53:12 d65c8cfc05b1: Download complete 05:53:12 699f458cf7ca: Verifying Checksum 05:53:12 699f458cf7ca: Download complete 05:53:12 8998bd30e6a1: Verifying Checksum 05:53:12 8998bd30e6a1: Download complete 05:53:15 2437ff75d9bd: Verifying Checksum 05:53:15 2437ff75d9bd: Download complete 05:53:17 8998bd30e6a1: Pull complete 05:53:18 04944245beec: Pull complete 05:53:19 699f458cf7ca: Pull complete 05:53:19 765212b225bb: Pull complete 05:53:20 f23df028b6ca: Pull complete 05:53:20 d65c8cfc05b1: Pull complete 05:53:38 2437ff75d9bd: Pull complete 05:53:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:53:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:53:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:53:39 prd-ubuntu20.04-docker-arm64-4c-16g-5711 does not seem to be running inside a container 05:53:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:53:41 $ docker top 3d1e661a8cdfcd149d270b9bf60e3179b0955ae6936339aa8db3912140b86dc3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:53:42 ---> job-cost.sh 05:53:42 lf-activate-venv: SKIPPING 05:53:42 INFO: No Stack... 05:53:43 INFO: Retrieving Pricing Info for: v3-standard-4 05:53:44 INFO: Archiving Costs [Pipeline] sh 05:53:44 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 05:53:44 + cut -d, -f6 [Pipeline] lock 05:53:44 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-560-1-stack-cost] 05:53:44 Resource [jenkins-edgexfoundry-device-modbus-go-PR-560-1-stack-cost] did not exist. Created. 05:53:44 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-560-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:53:45 /w/workspace/device-modbus-go/1@tmp/durable-e5b5b56e/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:53:46 + echo total: 0.10999999940395355 [Pipeline] stash 05:53:46 Warning: overwriting stash ‘stack-cost’ 05:53:46 Stashed 1 file(s) [Pipeline] } 05:53:46 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-560-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:53:46 $ docker stop --time=1 3d1e661a8cdfcd149d270b9bf60e3179b0955ae6936339aa8db3912140b86dc3 05:53:47 $ docker rm -f --volumes 3d1e661a8cdfcd149d270b9bf60e3179b0955ae6936339aa8db3912140b86dc3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:53:49 provisioning config files... 05:53:49 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-560@tmp/config6242615236511304434tmp [Pipeline] { [Pipeline] sh 05:53:49 + set +x 05:53:49 + curl -s https://codecov.io/bash 05:53:49 + bash -s -- 05:53:52 05:53:52 _____ _ 05:53:52 / ____| | | 05:53:52 | | ___ __| | ___ ___ _____ __ 05:53:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:53:52 | |___| (_) | (_| | __/ (_| (_) \ V / 05:53:52 \_____\___/ \__,_|\___|\___\___/ \_/ 05:53:52 Bash-1.0.6 05:53:52 05:53:52 05:53:52 ==> git version 2.25.1 found 05:53: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 05:53:52 Release-Date: 2020-01-08 05:53: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 05:53:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:53:52 ==> Jenkins CI detected. 05:53:52 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-560 05:53:52 project root: . 05:53:52 --> token set from env 05:53:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:53:52 ==> Running gcov in . (disable via -X gcov) 05:53:52 ==> Python coveragepy not found 05:53:52 ==> Searching for coverage reports in: 05:53:52 + . 05:53:52 -> Found 1 reports 05:53:52 ==> Detecting git/mercurial file structure 05:53:52 ==> Reading reports 05:53:52 + ./coverage.out bytes=24601 05:53:52 ==> Appending adjustments 05:53:52 https://docs.codecov.io/docs/fixing-reports 05:53:52 + Found adjustments 05:53:52 ==> Gzipping contents 05:53:52 4.0K /tmp/codecov.wWZFuJ.gz 05:53:52 ==> Uploading reports 05:53:52 url: https://codecov.io 05:53:52 query: branch=PR-560&commit=fc57f0655aff636f34b1179b7d2e09cd7eca0335&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-560%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=560&job=&cmd_args= 05:53:52 -> Pinging Codecov 05:53:52 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-560&commit=fc57f0655aff636f34b1179b7d2e09cd7eca0335&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-560%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=560&job=&cmd_args= 05:53:52 -> Uploading to 05:53:52 https://storage.googleapis.com/codecov/v4/raw/2024-07-16/55DBCA73C666E3227836607328DD7E49/fc57f0655aff636f34b1179b7d2e09cd7eca0335/cac754b8-1204-4113-9f7e-c44084e65f96.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240716%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240716T055351Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8522e84505af2b9a409e72256e9008787a7cda5e33e674f8192528469530ab0e 05:53:52 % Total % Received % Xferd Average Speed Time Time Time Current 05:53:52 Dload Upload Total Spent Left Speed 05:53:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 16636 --:--:-- --:--:-- --:--:-- 16636 05:53:52 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/fc57f0655aff636f34b1179b7d2e09cd7eca0335 [Pipeline] } 05:53:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:53:54 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-560/archives ] 05:53:54 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-560/archives 05:53:54 total 16 05:53:54 drwxr-xr-x 3 root root 4096 Jul 16 05:43 . 05:53:54 drwxrwxr-x 10 jenkins jenkins 4096 Jul 16 05:43 .. 05:53:54 drwxr-xr-x 2 root root 4096 Jul 16 05:43 cost 05:53:54 -rw-r--r-- 1 root root 89 Jul 16 05:43 cost.csv 05:53:54 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-560/archives 05:53:54 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-560/archives 05:53:54 total 16 05:53:54 drwxr-xr-x 3 jenkins jenkins 4096 Jul 16 05:43 . 05:53:54 drwxrwxr-x 10 jenkins jenkins 4096 Jul 16 05:43 .. 05:53:54 drwxr-xr-x 2 jenkins jenkins 4096 Jul 16 05:43 cost 05:53:54 -rw-r--r-- 1 jenkins jenkins 89 Jul 16 05:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:53:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:53:55 ---> package-listing.sh 05:53:55 ++ tr '[:upper:]' '[:lower:]' 05:53:55 ++ facter osfamily 05:53:56 + OS_FAMILY=debian 05:53:56 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-560 05:53:56 + START_PACKAGES=/tmp/packages_start.txt 05:53:56 + END_PACKAGES=/tmp/packages_end.txt 05:53:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:53:56 + PACKAGES=/tmp/packages_start.txt 05:53:56 + '[' /w/workspace/xfoundry_device-modbus-go_PR-560 ']' 05:53:56 + PACKAGES=/tmp/packages_end.txt 05:53:56 + case "${OS_FAMILY}" in 05:53:56 + dpkg -l 05:53:56 + grep '^ii' 05:53:56 + '[' -f /tmp/packages_start.txt ']' 05:53:56 + '[' -f /tmp/packages_end.txt ']' 05:53:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:53:56 + '[' /w/workspace/xfoundry_device-modbus-go_PR-560 ']' 05:53:56 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-560/archives/ 05:53:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-560/archives/ [Pipeline] echo 05:53:56 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-560/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:53:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:53:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:53:57 prd-ubuntu20.04-docker-8c-8g-5702 does not seem to be running inside a container 05:53:57 $ 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-560/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-560 -v /w/workspace/xfoundry_device-modbus-go_PR-560:/w/workspace/xfoundry_device-modbus-go_PR-560:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-560@tmp:/w/workspace/xfoundry_device-modbus-go_PR-560@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:53:57 $ docker top 187aa095ce3cd07b815844c34a160a4a9bb047d7d1a082d2fafb432b5832aa9b -eo pid,comm [Pipeline] { [Pipeline] sh 05:53:57 + touch /tmp/pre-build-complete [Pipeline] sh 05:53:58 + mkdir -p /var/log/sysstat [Pipeline] sh 05:53:58 + ls /var/log/sa-host 05:53:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:53:58 provisioning config files... 05:53:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-560@tmp/config10230995497369242278tmp [Pipeline] { [Pipeline] echo 05:53:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:53:59 ---> create-netrc.sh [Pipeline] } 05:53:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:53:59 ---> python-tools-install.sh [Pipeline] echo 05:53:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:53:59 ---> sudo-logs.sh 05:53:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:54:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:54:00 ---> job-cost.sh 05:54:00 lf-activate-venv: SKIPPING 05:54:00 DEBUG: total: 0.4399999976158142 05:54:00 INFO: Retrieving Stack Cost... 05:54:00 INFO: Retrieving Pricing Info for: v3-standard-8 05:54:01 INFO: Archiving Costs [Pipeline] echo 05:54:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:54:01 ---> logs-deploy.sh 05:54:01 lf-activate-venv: SKIPPING 05:54:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-560/1 05:54:01 INFO: archiving workspace using pattern(s): 05:54:02 Archives upload complete. 05:54:02 INFO: archiving logs to Nexus