Pull request #574 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f074149a866a237d74026a27cb57cee7f0702e73+a3ee41877b048388e7c3cdab8b1927d49f235cab (13e278184b2fe5045527ac8e5a351b8d5940b814) 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-ssh4625741562002696297.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-ssh16754560815377833198.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-574/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-574/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3793894323204473172.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-574/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5083684595795562114.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b5a5e52272fc4198cf3754284eedf36dbf0baa35 # timeout=10 Commit message: "Merge pull request #456 from cherrycl/issue-452-4" > 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-ssh8813950594204676581.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-574/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-574/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh25904619249604565.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-12600 in /w/workspace/xfoundry_device-modbus-go_PR-574 [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-574 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/574/head:refs/remotes/origin/PR-574 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a3ee41877b048388e7c3cdab8b1927d49f235cab into PR head commit f074149a866a237d74026a27cb57cee7f0702e73 Merge succeeded, producing f074149a866a237d74026a27cb57cee7f0702e73 Checking out Revision f074149a866a237d74026a27cb57cee7f0702e73 (PR-574) 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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 > git config core.sparsecheckout # timeout=10 > git checkout -f f074149a866a237d74026a27cb57cee7f0702e73 # 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 a3ee41877b048388e7c3cdab8b1927d49f235cab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f074149a866a237d74026a27cb57cee7f0702e73 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:35:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:35:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:35:44 ========================================================= 05:35:44 EdgeX Global Pipelines Version Info 05:35:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:35:45 ------------------- 05:35:45 stable info: 05:35:45 ------------------- 05:35:45 Commited By: Cherry Wang cherry@iotechsys.com 05:35:45 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 05:35:45 Message: update stable to v1.0.264 05:35:46 ------------------- 05:35:46 experimental info: 05:35:46 ------------------- 05:35:46 Commited By: Cherry Wang cherry@iotechsys.com 05:35:46 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 05:35:46 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:35:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:35:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:35:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:35:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:35:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:35:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 05:35:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:35:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:35:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:35:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:35:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:35:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:35:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:35:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:35:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:35:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:35:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:35:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:35:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:35:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:35:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:35:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:35:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:35:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:35:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:35:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:35:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:35:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-574 [Pipeline] echo 05:35:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-574 [Pipeline] echo 05:35:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-574 [Pipeline] echo 05:35:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f074149a866a237d74026a27cb57cee7f0702e73 [Pipeline] echo 05:35:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f074149 [Pipeline] echo 05:35:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:35:48 provisioning config files... 05:35:48 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-574@tmp/config6627290931655278957tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:35:48 ---> ****-login.sh 05:35:48 nexus3.edgexfoundry.org:10001 05:35:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:35:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:35:49 Configure a credential helper to remove this warning. See 05:35:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:35:49 05:35:49 Login Succeeded 05:35:49 nexus3.edgexfoundry.org:10002 05:35:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:35:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:35:49 Configure a credential helper to remove this warning. See 05:35:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:35:49 05:35:49 Login Succeeded 05:35:49 nexus3.edgexfoundry.org:10003 05:35:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:35:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:35:49 Configure a credential helper to remove this warning. See 05:35:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:35:49 05:35:49 Login Succeeded 05:35:49 nexus3.edgexfoundry.org:10004 05:35:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:35:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:35:49 Configure a credential helper to remove this warning. See 05:35:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:35:49 05:35:49 Login Succeeded 05:35:49 ****.io 05:35:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:35:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:35:49 Configure a credential helper to remove this warning. See 05:35:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:35:49 05:35:49 Login Succeeded 05:35:49 ---> ****-login.sh ends [Pipeline] } 05:35:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:35:50 + git rev-list -1 --merges f074149a866a237d74026a27cb57cee7f0702e73~1..f074149a866a237d74026a27cb57cee7f0702e73 [Pipeline] echo 05:35:50 -----------> git rev-list -1 --merges f074149a866a237d74026a27cb57cee7f0702e73~1..f074149a866a237d74026a27cb57cee7f0702e73 f074149a866a237d74026a27cb57cee7f0702e73 [false] [Pipeline] sh 05:35:51 + git log --format=format:%s -1 f074149a866a237d74026a27cb57cee7f0702e73 [Pipeline] echo 05:35:51 ========================================================= 05:35:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:35:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:35:51 + git log --format=format:%s -1 f074149a866a237d74026a27cb57cee7f0702e73 [Pipeline] echo 05:35:51 [semverPrep] GIT_COMMIT: f074149a866a237d74026a27cb57cee7f0702e73, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:35:51 [semverPrep] This is not a build commit. [Pipeline] sh 05:35:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:35:52 + grep -v github /etc/ssh/ssh_known_hosts 05:35:52 + [ -e /tmp/ssh_known_hosts ] 05:35:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:35:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:35:52 + sudo tee -a /etc/ssh/ssh_known_hosts 05:35:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:35:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:35:52 05:35:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:35:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:35:53 0.1.4: Pulling from edgex-devops/py-git-semver 05:35:53 b85a868b505f: Pulling fs layer 05:35:53 e2be974225ed: Pulling fs layer 05:35:53 339a4e72a1f5: Pulling fs layer 05:35:53 988bab9f4d93: Pulling fs layer 05:35:53 1469e6f7b9e6: Pulling fs layer 05:35:53 eaf3925da568: Pulling fs layer 05:35:53 bab4dde63d76: Pulling fs layer 05:35:53 bde34c3a00c8: Pulling fs layer 05:35:53 b352a97aabf1: Pulling fs layer 05:35:53 4872d77fe225: Pulling fs layer 05:35:53 5851b861e8e6: Pulling fs layer 05:35:53 1469e6f7b9e6: Waiting 05:35:53 eaf3925da568: Waiting 05:35:53 bab4dde63d76: Waiting 05:35:53 bde34c3a00c8: Waiting 05:35:53 988bab9f4d93: Waiting 05:35:53 5851b861e8e6: Waiting 05:35:53 4872d77fe225: Waiting 05:35:53 e2be974225ed: Verifying Checksum 05:35:53 e2be974225ed: Download complete 05:35:53 988bab9f4d93: Download complete 05:35:53 1469e6f7b9e6: Verifying Checksum 05:35:53 1469e6f7b9e6: Download complete 05:35:53 339a4e72a1f5: Verifying Checksum 05:35:53 339a4e72a1f5: Download complete 05:35:53 eaf3925da568: Verifying Checksum 05:35:53 eaf3925da568: Download complete 05:35:53 bde34c3a00c8: Verifying Checksum 05:35:53 bde34c3a00c8: Download complete 05:35:53 b352a97aabf1: Download complete 05:35:53 4872d77fe225: Download complete 05:35:53 5851b861e8e6: Verifying Checksum 05:35:53 5851b861e8e6: Download complete 05:35:53 b85a868b505f: Verifying Checksum 05:35:53 b85a868b505f: Download complete 05:35:53 bab4dde63d76: Verifying Checksum 05:35:53 bab4dde63d76: Download complete 05:35:54 b85a868b505f: Pull complete 05:35:54 e2be974225ed: Pull complete 05:35:55 339a4e72a1f5: Pull complete 05:35:55 988bab9f4d93: Pull complete 05:35:55 1469e6f7b9e6: Pull complete 05:35:55 eaf3925da568: Pull complete 05:35:57 bab4dde63d76: Pull complete 05:35:57 bde34c3a00c8: Pull complete 05:35:57 b352a97aabf1: Pull complete 05:35:57 4872d77fe225: Pull complete 05:35:57 5851b861e8e6: Pull complete 05:35:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:35:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:35:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:35:58 prd-ubuntu20.04-docker-8c-8g-12600 does not seem to be running inside a container 05:35:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-574 -v /w/workspace/xfoundry_device-modbus-go_PR-574:/w/workspace/xfoundry_device-modbus-go_PR-574:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-574@tmp:/w/workspace/xfoundry_device-modbus-go_PR-574@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:36:01 $ docker top bba669e5e126ef786a006f22312b6371e0c515b7c914eabd14bba62832213117 -eo pid,comm 05:36:01 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:36:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:36:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:36:01 [ssh-agent] Looking for ssh-agent implementation... 05:36:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:36:01 $ docker exec bba669e5e126ef786a006f22312b6371e0c515b7c914eabd14bba62832213117 ssh-agent 05:36:01 SSH_AUTH_SOCK=/tmp/ssh-ajmT70toV5Vr/agent.33 05:36:01 SSH_AGENT_PID=39 05:36:01 Running ssh-add (command line suppressed) 05:36:01 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-574@tmp/private_key_14274784089150736195.key (/w/workspace/xfoundry_device-modbus-go_PR-574@tmp/private_key_14274784089150736195.key) 05:36:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:36:02 + git tag --points-at HEAD [Pipeline] } 05:36:02 $ docker exec --env ******** --env ******** bba669e5e126ef786a006f22312b6371e0c515b7c914eabd14bba62832213117 ssh-agent -k 05:36:02 unset SSH_AUTH_SOCK; 05:36:02 unset SSH_AGENT_PID; 05:36:02 echo Agent pid 39 killed; 05:36:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:36:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:36:02 [ssh-agent] Looking for ssh-agent implementation... 05:36:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:36:02 $ docker exec bba669e5e126ef786a006f22312b6371e0c515b7c914eabd14bba62832213117 ssh-agent 05:36:02 SSH_AUTH_SOCK=/tmp/ssh-V59YI3cN0D3a/agent.72 05:36:02 SSH_AGENT_PID=78 05:36:02 Running ssh-add (command line suppressed) 05:36:02 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-574@tmp/private_key_3454424208328954386.key (/w/workspace/xfoundry_device-modbus-go_PR-574@tmp/private_key_3454424208328954386.key) 05:36:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:36:03 + git semver init 05:36:03 2024-10-02 05:36:03,497 [run_init] DEBUG init version:0.0.0 force:False 05:36:03 2024-10-02 05:36:03,498 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-574/.semver 05:36:03 2024-10-02 05:36:03,498 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-574/.semver 05:36:03 2024-10-02 05:36:03,499 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-574/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-574, universal_newlines=False, shell=None, istream=None) 05:36:04 2024-10-02 05:36:04,532 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-574/.git/info/exclude 05:36:04 2024-10-02 05:36:04,532 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-574/.semver/PR-574 with force:False 05:36:04 2024-10-02 05:36:04,533 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-574/.semver/PR-574 05:36:04 2024-10-02 05:36:04,537 [execute] INFO git cat-file --batch-check 05:36:04 2024-10-02 05:36:04,538 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-574/.semver, universal_newlines=False, shell=None, istream=) 05:36:04 2024-10-02 05:36:04,544 [execute] INFO git cat-file --batch 05:36:04 2024-10-02 05:36:04,544 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-574/.semver, universal_newlines=False, shell=None, istream=) 05:36:04 2024-10-02 05:36:04,549 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-574/.semver/PR-574 05:36:04 0.0.0 [Pipeline] } 05:36:04 $ docker exec --env ******** --env ******** bba669e5e126ef786a006f22312b6371e0c515b7c914eabd14bba62832213117 ssh-agent -k 05:36:05 unset SSH_AUTH_SOCK; 05:36:05 unset SSH_AGENT_PID; 05:36:05 echo Agent pid 78 killed; 05:36:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:36:05 + git semver [Pipeline] } 05:36:05 $ docker stop --time=1 bba669e5e126ef786a006f22312b6371e0c515b7c914eabd14bba62832213117 05:36:07 $ docker rm -f --volumes bba669e5e126ef786a006f22312b6371e0c515b7c914eabd14bba62832213117 [Pipeline] // withDockerContainer [Pipeline] sh 05:36:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:36:07 Stashed 1 file(s) [Pipeline] echo 05:36:07 [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:36:08 provisioning config files... 05:36:08 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-574@tmp/config3016080935594002554tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:36:09 ---> ****-login.sh 05:36:09 nexus3.edgexfoundry.org:10001 05:36:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:36:09 Configure a credential helper to remove this warning. See 05:36:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:36:09 05:36:09 Login Succeeded 05:36:09 nexus3.edgexfoundry.org:10002 05:36:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:36:09 Configure a credential helper to remove this warning. See 05:36:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:36:09 05:36:09 Login Succeeded 05:36:09 nexus3.edgexfoundry.org:10003 05:36:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:36:09 Configure a credential helper to remove this warning. See 05:36:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:36:09 05:36:09 Login Succeeded 05:36:09 nexus3.edgexfoundry.org:10004 05:36:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:36:09 Configure a credential helper to remove this warning. See 05:36:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:36:09 05:36:09 Login Succeeded 05:36:09 ****.io 05:36:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:36:09 Configure a credential helper to remove this warning. See 05:36:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:36:09 05:36:09 Login Succeeded 05:36:09 ---> ****-login.sh ends [Pipeline] } 05:36:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:36:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:36:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:36:09 ========================================================= 05:36:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 05:36:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:10 + 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:36:10 Sending build context to Docker daemon 17.92MB 05:36:10 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:36:10 Step 2/10 : FROM ${BASE} AS builder 05:36:10 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 05:36:10 619be1103602: Pulling fs layer 05:36:10 7862e08f4a3e: Pulling fs layer 05:36:10 5df492c9dc93: Pulling fs layer 05:36:10 7629e6793208: Pulling fs layer 05:36:10 4f4fb700ef54: Pulling fs layer 05:36:10 fb5054dd5b73: Pulling fs layer 05:36:10 eeca6798cff9: Pulling fs layer 05:36:10 aa269ceb94a6: Pulling fs layer 05:36:10 ada007ff1a6a: Pulling fs layer 05:36:10 7629e6793208: Waiting 05:36:10 4f4fb700ef54: Waiting 05:36:10 fb5054dd5b73: Waiting 05:36:10 eeca6798cff9: Waiting 05:36:10 aa269ceb94a6: Waiting 05:36:10 ada007ff1a6a: Waiting 05:36:10 7862e08f4a3e: Verifying Checksum 05:36:10 7862e08f4a3e: Download complete 05:36:10 7629e6793208: Download complete 05:36:10 4f4fb700ef54: Download complete 05:36:10 619be1103602: Verifying Checksum 05:36:10 619be1103602: Download complete 05:36:10 fb5054dd5b73: Verifying Checksum 05:36:10 fb5054dd5b73: Download complete 05:36:10 eeca6798cff9: Verifying Checksum 05:36:11 619be1103602: Pull complete 05:36:11 ada007ff1a6a: Verifying Checksum 05:36:11 ada007ff1a6a: Download complete 05:36:11 7862e08f4a3e: Pull complete 05:36:11 5df492c9dc93: Verifying Checksum 05:36:11 5df492c9dc93: Download complete 05:36:11 aa269ceb94a6: Verifying Checksum 05:36:11 aa269ceb94a6: Download complete 05:36:14 5df492c9dc93: Pull complete 05:36:14 7629e6793208: Pull complete 05:36:14 4f4fb700ef54: Pull complete 05:36:14 fb5054dd5b73: Pull complete 05:36:14 eeca6798cff9: Pull complete 05:36:17 aa269ceb94a6: Pull complete 05:36:17 ada007ff1a6a: Pull complete 05:36:17 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 05:36:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 05:36:17 ---> f489d0715acc 05:36:17 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:36:21 ---> Running in 5a77909eedb3 05:36:21 Removing intermediate container 5a77909eedb3 05:36:21 ---> 064ad94bb517 05:36:21 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:36:21 ---> Running in b803216ca54a 05:36:21 Removing intermediate container b803216ca54a 05:36:21 ---> b46fb37c4ad5 05:36:21 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:36:21 ---> Running in b2f264223a0b 05:36:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:36:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:36:22 (1/8) Installing openssh-keygen (9.3_p2-r2) 05:36:22 (2/8) Installing libedit (20221030.3.1-r1) 05:36:22 (3/8) Installing openssh-client-common (9.3_p2-r2) 05:36:22 (4/8) Installing openssh-client-default (9.3_p2-r2) 05:36:22 (5/8) Installing openssh-sftp-server (9.3_p2-r2) 05:36:22 (6/8) Installing openssh-server-common (9.3_p2-r2) 05:36:22 (7/8) Installing openssh-server (9.3_p2-r2) 05:36:22 (8/8) Installing openssh (9.3_p2-r2) 05:36:22 Executing busybox-1.36.1-r5.trigger 05:36:22 OK: 270 MiB in 60 packages 05:36:22 Removing intermediate container b2f264223a0b 05:36:22 ---> f6e9a119a76b 05:36:22 Step 6/10 : WORKDIR /device-modbus-go 05:36:22 ---> Running in 8eb2eca1307b 05:36:22 Removing intermediate container 8eb2eca1307b 05:36:22 ---> 0f0006b825f2 05:36:22 Step 7/10 : COPY go.mod vendor* ./ 05:36:22 ---> 81024b0ad518 05:36:22 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:36:22 ---> Running in 7070f4a5bdb8 05:36:23 Still waiting to schedule task 05:36:23 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:37:09 Removing intermediate container 7070f4a5bdb8 05:37:09 ---> 782de7d6f835 05:37:09 Step 9/10 : COPY . . 05:37:10 ---> e597d4af5962 05:37:10 Step 10/10 : RUN ${MAKE} 05:37:10 ---> Running in 31a87bde17b4 05:37:10 noop 05:37:10 Removing intermediate container 31a87bde17b4 05:37:10 ---> 6b1b6034ab6d 05:37:10 Successfully built 6b1b6034ab6d 05:37:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:37:11 + docker inspect -f . ci-base-image-x86_64 05:37:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:37:11 prd-ubuntu20.04-docker-8c-8g-12600 does not seem to be running inside a container 05:37:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-574 -v /w/workspace/xfoundry_device-modbus-go_PR-574:/w/workspace/xfoundry_device-modbus-go_PR-574:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-574@tmp:/w/workspace/xfoundry_device-modbus-go_PR-574@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:37:11 $ docker top 82092f132d392e748feef849836134c049dc8c28b82e1f4c5d8b4be888890527 -eo pid,comm [Pipeline] { [Pipeline] sh 05:37:12 + go version 05:37:12 go version go1.21.9 linux/amd64 [Pipeline] } 05:37:12 $ docker stop --time=1 82092f132d392e748feef849836134c049dc8c28b82e1f4c5d8b4be888890527 05:37:13 $ docker rm -f --volumes 82092f132d392e748feef849836134c049dc8c28b82e1f4c5d8b4be888890527 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:37:14 + docker inspect -f . ci-base-image-x86_64 05:37:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:37:14 prd-ubuntu20.04-docker-8c-8g-12600 does not seem to be running inside a container 05:37:14 $ 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-574 -v /w/workspace/xfoundry_device-modbus-go_PR-574:/w/workspace/xfoundry_device-modbus-go_PR-574:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-574@tmp:/w/workspace/xfoundry_device-modbus-go_PR-574@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:37:14 $ docker top 9cef55a950b1d3a14c80952b1cd9cf70e07d53c712729c7e64ff228d872bee0a -eo pid,comm [Pipeline] { [Pipeline] sh 05:37:15 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-574 [Pipeline] fileExists [Pipeline] sh 05:37:15 + make test 05:37:15 go test ./... -coverprofile=coverage.out 05:37:17 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:37:35 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:37:35 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.008s coverage: 47.9% of statements 05:37:43 go vet ./... 05:37:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:37:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:37:49 ./bin/test-attribution-txt.sh 05:37:49 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo 05:37:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:37:49 $ docker stop --time=1 9cef55a950b1d3a14c80952b1cd9cf70e07d53c712729c7e64ff228d872bee0a 05:37:53 $ docker rm -f --volumes 9cef55a950b1d3a14c80952b1cd9cf70e07d53c712729c7e64ff228d872bee0a [Pipeline] // withDockerContainer [Pipeline] sh 05:37:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:37:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:37:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:37:55 + ls -al . 05:37:55 total 272 05:37:55 drwxrwxr-x 9 jenkins jenkins 4096 Oct 2 05:37 . 05:37:55 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 05:35 .. 05:37:55 -rw-rw-r-- 1 jenkins jenkins 140 Oct 2 05:35 .dockerignore 05:37:55 drwxrwxr-x 8 jenkins jenkins 4096 Oct 2 05:37 .git 05:37:55 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 05:35 .github 05:37:55 -rw-rw-r-- 1 jenkins jenkins 266 Oct 2 05:35 .gitignore 05:37:55 -rw-rw-r-- 1 jenkins jenkins 41 Oct 2 05:35 .golangci.yml 05:37:55 drwxr-xr-x 3 jenkins jenkins 4096 Oct 2 05:36 .semver 05:37:55 -rw-rw-r-- 1 jenkins jenkins 19432 Oct 2 05:35 Attribution.txt 05:37:55 -rw-rw-r-- 1 jenkins jenkins 16388 Oct 2 05:35 CHANGELOG.md 05:37:55 -rw-rw-r-- 1 jenkins jenkins 1474 Oct 2 05:35 Dockerfile 05:37:55 -rw-rw-r-- 1 jenkins jenkins 677 Oct 2 05:35 GOVERNANCE.md 05:37:55 -rw-rw-r-- 1 jenkins jenkins 658 Oct 2 05:35 Jenkinsfile 05:37:55 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 2 05:35 LICENSE 05:37:55 -rw-rw-r-- 1 jenkins jenkins 1942 Oct 2 05:35 Makefile 05:37:55 -rw-rw-r-- 1 jenkins jenkins 622 Oct 2 05:35 OWNERS.md 05:37:55 -rw-rw-r-- 1 jenkins jenkins 4463 Oct 2 05:35 README.md 05:37:55 -rw-rw-r-- 1 jenkins jenkins 5 Oct 2 05:36 VERSION 05:37:55 drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 05:35 bin 05:37:55 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 05:35 cmd 05:37:55 -rw-r--r-- 1 jenkins jenkins 24601 Oct 2 05:37 coverage.out 05:37:55 -rw-rw-r-- 1 jenkins jenkins 7186 Oct 2 05:35 go.mod 05:37:55 -rw-rw-r-- 1 jenkins jenkins 102017 Oct 2 05:35 go.sum 05:37:55 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 05:35 internal 05:37:55 drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 05:35 simulator 05:37:55 -rw-rw-r-- 1 jenkins jenkins 229 Oct 2 05:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:37:55 + 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=f074149a866a237d74026a27cb57cee7f0702e73 --label arch=amd64 --label version=0.0.0 . 05:37:55 Sending build context to Docker daemon 17.95MB 05:37:55 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 05:37:55 Step 2/23 : FROM ${BASE} AS builder 05:37:55 ---> 6b1b6034ab6d 05:37:55 Step 3/23 : ARG ADD_BUILD_TAGS="" 05:37:55 ---> Running in 5c81a3fc0aa5 05:37:55 Removing intermediate container 5c81a3fc0aa5 05:37:55 ---> eb1cc10f10e1 05:37:55 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:37:55 ---> Running in b7e66c8008d0 05:37:55 Removing intermediate container b7e66c8008d0 05:37:55 ---> 5799b1643a3b 05:37:55 Step 5/23 : RUN apk add --update --no-cache make git openssh 05:37:55 ---> Running in 2d4db63e7976 05:37:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:37:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:37:56 OK: 270 MiB in 60 packages 05:37:57 Removing intermediate container 2d4db63e7976 05:37:57 ---> 3745e3232649 05:37:57 Step 6/23 : WORKDIR /device-modbus-go 05:37:57 ---> Running in 22df2d30d432 05:37:57 Removing intermediate container 22df2d30d432 05:37:57 ---> b14292bf9fd7 05:37:57 Step 7/23 : COPY go.mod vendor* ./ 05:37:57 ---> ea05285277b8 05:37:57 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:37:57 ---> Running in 17f7c01ee68e 05:37:57 Removing intermediate container 17f7c01ee68e 05:37:57 ---> 32faa3621a9b 05:37:57 Step 9/23 : COPY . . 05:37:58 ---> 6261194525c1 05:37:58 Step 10/23 : RUN ${MAKE} 05:37:58 ---> Running in fa108bf1b5cf 05:37:58 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.39" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 05:38:30 Removing intermediate container fa108bf1b5cf 05:38:30 ---> a070011d7d0b 05:38:30 Step 11/23 : FROM alpine:3.18 05:38:30 3.18: Pulling from library/alpine 05:38:30 1cc3d825d8b2: Pulling fs layer 05:38:30 1cc3d825d8b2: Verifying Checksum 05:38:30 1cc3d825d8b2: Download complete 05:38:30 1cc3d825d8b2: Pull complete 05:38:30 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 05:38:30 Status: Downloaded newer image for alpine:3.18 05:38:30 ---> 2c64cf60f6f0 05:38:30 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:38:30 ---> Running in 0f3d06e17797 05:38:30 Removing intermediate container 0f3d06e17797 05:38:30 ---> ca046f2945c8 05:38:30 Step 13/23 : RUN apk add --update --no-cache dumb-init 05:38:30 ---> Running in 69d30952a450 05:38:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:38:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:38:30 (1/1) Installing dumb-init (1.2.5-r2) 05:38:30 Executing busybox-1.36.1-r7.trigger 05:38:30 OK: 7 MiB in 16 packages 05:38:30 Removing intermediate container 69d30952a450 05:38:30 ---> 6d1a0187b9ad 05:38:30 Step 14/23 : RUN apk --no-cache upgrade 05:38:30 ---> Running in 4134ae70b64c 05:38:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:38:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:38:30 OK: 7 MiB in 16 packages 05:38:30 Removing intermediate container 4134ae70b64c 05:38:30 ---> 38783630210f 05:38:30 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:38:30 ---> 721695ade642 05:38:30 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:38:30 ---> 28399ae4d80b 05:38:30 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:38:30 ---> 116e7bfce1fd 05:38:30 Step 18/23 : EXPOSE 59901 05:38:30 ---> Running in b3ef8253adb7 05:38:30 Removing intermediate container b3ef8253adb7 05:38:30 ---> fab62bd91a61 05:38:30 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:38:30 ---> Running in b3e13855f404 05:38:30 Removing intermediate container b3e13855f404 05:38:30 ---> dba7e2d80f2b 05:38:30 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:38:30 ---> Running in 24a147650a88 05:38:30 Removing intermediate container 24a147650a88 05:38:30 ---> 7e3fc5f6c9fa 05:38:30 Step 21/23 : LABEL arch=amd64 05:38:30 ---> Running in d93b9b53dbc1 05:38:30 Removing intermediate container d93b9b53dbc1 05:38:30 ---> 3149764a92c4 05:38:30 Step 22/23 : LABEL git_sha=f074149a866a237d74026a27cb57cee7f0702e73 05:38:30 ---> Running in 5eaaec520195 05:38:30 Removing intermediate container 5eaaec520195 05:38:30 ---> eacc028aa740 05:38:30 Step 23/23 : LABEL version=0.0.0 05:38:30 ---> Running in ee1d484a9a25 05:38:30 Removing intermediate container ee1d484a9a25 05:38:30 ---> c0a8fa67f1dd 05:38:30 [Warning] One or more build-args [ARCH] were not consumed 05:38:30 Successfully built c0a8fa67f1dd 05:38:30 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:38:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:38:31 05:38:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:38:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:38:32 latest: Pulling from edgex-lftools-log-publisher 05:38:32 5eb5b503b376: Pulling fs layer 05:38:32 5c69ac0246d0: Pulling fs layer 05:38:32 ec43610c2a17: Pulling fs layer 05:38:32 3a2ae6a8a46f: Pulling fs layer 05:38:32 33b1e0a273af: Pulling fs layer 05:38:32 5d3b04190fa2: Pulling fs layer 05:38:32 2f39f015ded8: Pulling fs layer 05:38:32 33b1e0a273af: Waiting 05:38:32 5d3b04190fa2: Waiting 05:38:32 2f39f015ded8: Waiting 05:38:32 3a2ae6a8a46f: Waiting 05:38:32 5c69ac0246d0: Verifying Checksum 05:38:32 5c69ac0246d0: Download complete 05:38:32 3a2ae6a8a46f: Verifying Checksum 05:38:32 3a2ae6a8a46f: Download complete 05:38:32 33b1e0a273af: Verifying Checksum 05:38:32 33b1e0a273af: Download complete 05:38:32 ec43610c2a17: Verifying Checksum 05:38:32 ec43610c2a17: Download complete 05:38:32 5d3b04190fa2: Verifying Checksum 05:38:32 5d3b04190fa2: Download complete 05:38:32 5eb5b503b376: Download complete 05:38:33 2f39f015ded8: Download complete 05:38:33 5eb5b503b376: Pull complete 05:38:33 5c69ac0246d0: Pull complete 05:38:34 ec43610c2a17: Pull complete 05:38:34 3a2ae6a8a46f: Pull complete 05:38:34 33b1e0a273af: Pull complete 05:38:34 5d3b04190fa2: Pull complete 05:38:38 2f39f015ded8: Pull complete 05:38:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:38:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:38:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:38:38 prd-ubuntu20.04-docker-8c-8g-12600 does not seem to be running inside a container 05:38: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/xfoundry_device-modbus-go_PR-574 -v /w/workspace/xfoundry_device-modbus-go_PR-574:/w/workspace/xfoundry_device-modbus-go_PR-574:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-574@tmp:/w/workspace/xfoundry_device-modbus-go_PR-574@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:38:43 $ docker top 980fd2cfe2a60a77c0835b069c4f960b52cdc4e1a6d4cc441ae8498bbe4953b7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:38:43 ---> job-cost.sh 05:38:43 lf-activate-venv: SKIPPING 05:38:43 INFO: No Stack... 05:38:43 INFO: Retrieving Pricing Info for: v3-standard-8 05:38:44 INFO: Archiving Costs [Pipeline] sh 05:38:44 + cat /w/workspace/xfoundry_device-modbus-go_PR-574/archives/cost.csv 05:38:44 + cut -d, -f6 [Pipeline] lock 05:38:44 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-574-1-stack-cost] 05:38:44 Resource [jenkins-edgexfoundry-device-modbus-go-PR-574-1-stack-cost] did not exist. Created. 05:38:44 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-574-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:38:45 + echo total: 0.2199999988079071 [Pipeline] stash 05:38:45 Stashed 1 file(s) [Pipeline] } 05:38:45 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-574-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:38:45 $ docker stop --time=1 980fd2cfe2a60a77c0835b069c4f960b52cdc4e1a6d4cc441ae8498bbe4953b7 05:38:46 $ docker rm -f --volumes 980fd2cfe2a60a77c0835b069c4f960b52cdc4e1a6d4cc441ae8498bbe4953b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:41:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12607 in /w/workspace/xfoundry_device-modbus-go_PR-574 [Pipeline] { [Pipeline] ws 05:41:12 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 05:41:15 The recommended git tool is: git 05:41:23 using credential edgex-jenkins-ssh 05:41:23 Cloning the remote Git repository 05:41:23 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:41:23 > git init /w/workspace/device-modbus-go/1 # timeout=10 05:41:24 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:41:24 > git --version # timeout=10 05:41:24 > git --version # 'git version 2.25.1' 05:41:24 using GIT_SSH to set credentials SSH Credentials for GitHub 05:41:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:41:26 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:41:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:41:28 Merging remotes/origin/main commit a3ee41877b048388e7c3cdab8b1927d49f235cab into PR head commit f074149a866a237d74026a27cb57cee7f0702e73 05:41:28 Merge succeeded, producing f074149a866a237d74026a27cb57cee7f0702e73 05:41:28 Checking out Revision f074149a866a237d74026a27cb57cee7f0702e73 (PR-574) 05:41:27 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:41:27 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:41:27 using GIT_SSH to set credentials SSH Credentials for GitHub 05:41:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/574/head:refs/remotes/origin/PR-574 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:41:28 > git config core.sparsecheckout # timeout=10 05:41:28 > git checkout -f f074149a866a237d74026a27cb57cee7f0702e73 # timeout=10 05:41:28 > git remote # timeout=10 05:41:28 > git config --get remote.origin.url # timeout=10 05:41:28 using GIT_SSH to set credentials SSH Credentials for GitHub 05:41:28 > git merge a3ee41877b048388e7c3cdab8b1927d49f235cab # timeout=10 05:41:28 > git rev-parse HEAD^{commit} # timeout=10 05:41:28 > git config core.sparsecheckout # timeout=10 05:41:28 > git checkout -f f074149a866a237d74026a27cb57cee7f0702e73 # timeout=10 05:41:29 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 05:41:29 > git --version # timeout=10 05:41:29 > git --version # 'git version 2.25.1' 05:41:29 fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:41:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:41:34 % Total % Received % Xferd Average Speed Time Time Time Current 05:41:34 Dload Upload Total Spent Left Speed 05:41:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 76357 0 --:--:-- --:--:-- --:--:-- 76357 [Pipeline] sh 05:41:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:41:35 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 05:41:35 /etc/docker/daemon.json 05:41:35 { 05:41:35 "registry-mirrors": [ 05:41:35 "https://nexus3.edgexfoundry.org:10001" 05:41:35 ], 05:41:35 "bip": "10.250.0.254/24", 05:41:35 "hosts": [ 05:41:35 "tcp://0.0.0.0:5555", 05:41:35 "unix:///var/run/docker.sock" 05:41:35 ], 05:41:35 "mtu": 1458, 05:41:35 "selinux-enabled": true, 05:41:35 "seccomp-profile": "/etc/docker/seccomp.json" 05:41:35 } [Pipeline] sh 05:41:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:41:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:41:54 provisioning config files... 05:41:54 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config1835428000668178992tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:41:54 ---> ****-login.sh 05:41:54 nexus3.edgexfoundry.org:10001 05:41:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:41:55 Configure a credential helper to remove this warning. See 05:41:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:41:55 05:41:55 Login Succeeded 05:41:55 nexus3.edgexfoundry.org:10002 05:41:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:41:56 Configure a credential helper to remove this warning. See 05:41:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:41:56 05:41:56 Login Succeeded 05:41:56 nexus3.edgexfoundry.org:10003 05:41:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:41:56 Configure a credential helper to remove this warning. See 05:41:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:41:56 05:41:56 Login Succeeded 05:41:56 nexus3.edgexfoundry.org:10004 05:41:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:41:56 Configure a credential helper to remove this warning. See 05:41:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:41:56 05:41:56 Login Succeeded 05:41:56 ****.io 05:41:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:41:57 Configure a credential helper to remove this warning. See 05:41:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:41:57 05:41:57 Login Succeeded 05:41:57 ---> ****-login.sh ends [Pipeline] } 05:41:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:41:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:41:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:41:57 ========================================================= 05:41:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 05:41:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:41: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:41:58 Sending build context to Docker daemon 9.102MB 05:41:58 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:41:58 Step 2/10 : FROM ${BASE} AS builder 05:41:58 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:41:58 c6b39de5b339: Pulling fs layer 05:41:58 a69c41024577: Pulling fs layer 05:41:58 d6de4b400683: Pulling fs layer 05:41:58 35cb2a7552d0: Pulling fs layer 05:41:58 4f4fb700ef54: Pulling fs layer 05:41:58 464afbd9ba4c: Pulling fs layer 05:41:58 00f215d4a9da: Pulling fs layer 05:41:58 d496ad576159: Pulling fs layer 05:41:58 35cb2a7552d0: Waiting 05:41:58 4f4fb700ef54: Waiting 05:41:58 464afbd9ba4c: Waiting 05:41:58 00f215d4a9da: Waiting 05:41:58 d496ad576159: Waiting 05:41:58 a69c41024577: Verifying Checksum 05:41:58 a69c41024577: Download complete 05:41:59 35cb2a7552d0: Download complete 05:41:59 4f4fb700ef54: Verifying Checksum 05:41:59 4f4fb700ef54: Download complete 05:41:59 464afbd9ba4c: Verifying Checksum 05:41:59 464afbd9ba4c: Download complete 05:41:59 c6b39de5b339: Verifying Checksum 05:41:59 c6b39de5b339: Download complete 05:41:59 d496ad576159: Verifying Checksum 05:41:59 d496ad576159: Download complete 05:41:59 c6b39de5b339: Pull complete 05:42:00 a69c41024577: Pull complete 05:42:00 d6de4b400683: Verifying Checksum 05:42:00 d6de4b400683: Download complete 05:42:02 00f215d4a9da: Verifying Checksum 05:42:02 00f215d4a9da: Download complete 05:42:14 d6de4b400683: Pull complete 05:42:14 35cb2a7552d0: Pull complete 05:42:14 4f4fb700ef54: Pull complete 05:42:14 464afbd9ba4c: Pull complete 05:42:22 00f215d4a9da: Pull complete 05:42:24 d496ad576159: Pull complete 05:42:24 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 05:42:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 05:42:24 ---> f246e2811388 05:42:24 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:42:25 ---> Running in 37b4558a1590 05:42:25 Removing intermediate container 37b4558a1590 05:42:25 ---> d46ecc1c8830 05:42:25 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:42:26 ---> Running in 996352b16faa 05:42:26 Removing intermediate container 996352b16faa 05:42:26 ---> 1cfc9702eb36 05:42:26 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:42:26 ---> Running in 70db64f63620 05:42:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:42:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:42:29 (1/8) Installing openssh-keygen (9.3_p2-r2) 05:42:29 (2/8) Installing libedit (20221030.3.1-r1) 05:42:29 (3/8) Installing openssh-client-common (9.3_p2-r2) 05:42:29 (4/8) Installing openssh-client-default (9.3_p2-r2) 05:42:29 (5/8) Installing openssh-sftp-server (9.3_p2-r2) 05:42:29 (6/8) Installing openssh-server-common (9.3_p2-r2) 05:42:29 (7/8) Installing openssh-server (9.3_p2-r2) 05:42:29 (8/8) Installing openssh (9.3_p2-r2) 05:42:29 Executing busybox-1.36.1-r5.trigger 05:42:29 OK: 272 MiB in 60 packages 05:42:31 Removing intermediate container 70db64f63620 05:42:31 ---> 922ff119bcd6 05:42:31 Step 6/10 : WORKDIR /device-modbus-go 05:42:31 ---> Running in 6882abd6cacf 05:42:32 Removing intermediate container 6882abd6cacf 05:42:32 ---> a2ff95f05611 05:42:32 Step 7/10 : COPY go.mod vendor* ./ 05:42:32 ---> b83d2cba4c20 05:42:32 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:42:32 ---> Running in 2166516076ad 05:44:39 Removing intermediate container 2166516076ad 05:44:39 ---> 1bce0c14fb55 05:44:39 Step 9/10 : COPY . . 05:44:39 ---> 9697c39cace5 05:44:39 Step 10/10 : RUN ${MAKE} 05:44:39 ---> Running in 70115b1e4b93 05:44:39 noop 05:44:39 Removing intermediate container 70115b1e4b93 05:44:39 ---> 6ac92c9b84c6 05:44:39 Successfully built 6ac92c9b84c6 05:44:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:39 + docker inspect -f . ci-base-image-arm64 05:44:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:44:40 prd-ubuntu20.04-docker-arm64-4c-16g-12607 does not seem to be running inside a container 05:44:40 $ 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:44:41 $ docker top 9cb2ecea65a0267f4bc0713e7a08cda965743e48dbe9e02e6ec7f9f64ba673c1 -eo pid,comm [Pipeline] { [Pipeline] sh 05:44:42 + go version 05:44:42 go version go1.21.9 linux/arm64 [Pipeline] } 05:44:42 $ docker stop --time=1 9cb2ecea65a0267f4bc0713e7a08cda965743e48dbe9e02e6ec7f9f64ba673c1 05:44:43 $ docker rm -f --volumes 9cb2ecea65a0267f4bc0713e7a08cda965743e48dbe9e02e6ec7f9f64ba673c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:44 + docker inspect -f . ci-base-image-arm64 05:44:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:44:45 prd-ubuntu20.04-docker-arm64-4c-16g-12607 does not seem to be running inside a container 05:44:45 $ 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:44:46 $ docker top 9d125166cf266041342df8bb84bb6a9916271a6af360d85738b07cc3daa10149 -eo pid,comm [Pipeline] { [Pipeline] sh 05:44:46 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 05:44:47 + make test 05:44:47 go test ./... -coverprofile=coverage.out 05:44:52 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:48:14 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:48:14 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.051s coverage: 47.9% of statements 05:48:14 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:48:14 go vet ./... 05:48:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:48:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:48:53 ./bin/test-attribution-txt.sh 05:48:53 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo 05:48:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:48:54 $ docker stop --time=1 9d125166cf266041342df8bb84bb6a9916271a6af360d85738b07cc3daa10149 05:48:55 $ docker rm -f --volumes 9d125166cf266041342df8bb84bb6a9916271a6af360d85738b07cc3daa10149 [Pipeline] // withDockerContainer [Pipeline] sh 05:48:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:48:57 Warning: overwriting stash ‘coverage-report’ 05:48:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:48:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:48:58 + ls -al . 05:48:58 total 268 05:48:58 drwxrwxr-x 8 jenkins jenkins 4096 Oct 2 05:44 . 05:48:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 05:41 .. 05:48:58 -rw-rw-r-- 1 jenkins jenkins 140 Oct 2 05:41 .dockerignore 05:48:58 drwxrwxr-x 8 jenkins jenkins 4096 Oct 2 05:41 .git 05:48:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 05:41 .github 05:48:58 -rw-rw-r-- 1 jenkins jenkins 266 Oct 2 05:41 .gitignore 05:48:58 -rw-rw-r-- 1 jenkins jenkins 41 Oct 2 05:41 .golangci.yml 05:48:58 -rw-rw-r-- 1 jenkins jenkins 19432 Oct 2 05:41 Attribution.txt 05:48:58 -rw-rw-r-- 1 jenkins jenkins 16388 Oct 2 05:41 CHANGELOG.md 05:48:58 -rw-rw-r-- 1 jenkins jenkins 1474 Oct 2 05:41 Dockerfile 05:48:58 -rw-rw-r-- 1 jenkins jenkins 677 Oct 2 05:41 GOVERNANCE.md 05:48:58 -rw-rw-r-- 1 jenkins jenkins 658 Oct 2 05:41 Jenkinsfile 05:48:58 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 2 05:41 LICENSE 05:48:58 -rw-rw-r-- 1 jenkins jenkins 1942 Oct 2 05:41 Makefile 05:48:58 -rw-rw-r-- 1 jenkins jenkins 622 Oct 2 05:41 OWNERS.md 05:48:58 -rw-rw-r-- 1 jenkins jenkins 4463 Oct 2 05:41 README.md 05:48:58 -rw-rw-r-- 1 jenkins jenkins 5 Oct 2 05:36 VERSION 05:48:58 drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 05:41 bin 05:48:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 05:41 cmd 05:48:58 -rw-r--r-- 1 jenkins jenkins 24601 Oct 2 05:48 coverage.out 05:48:58 -rw-rw-r-- 1 jenkins jenkins 7186 Oct 2 05:41 go.mod 05:48:58 -rw-rw-r-- 1 jenkins jenkins 102017 Oct 2 05:41 go.sum 05:48:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 05:41 internal 05:48:58 drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 05:41 simulator 05:48:58 -rw-rw-r-- 1 jenkins jenkins 229 Oct 2 05:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:48:59 + 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=f074149a866a237d74026a27cb57cee7f0702e73 --label arch=arm64 --label version=0.0.0 . 05:48:59 Sending build context to Docker daemon 9.128MB 05:48:59 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 05:48:59 Step 2/23 : FROM ${BASE} AS builder 05:48:59 ---> 6ac92c9b84c6 05:48:59 Step 3/23 : ARG ADD_BUILD_TAGS="" 05:48:59 ---> Running in 503dcc9bcb6f 05:48:59 Removing intermediate container 503dcc9bcb6f 05:48:59 ---> 5325649dc7aa 05:48:59 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:49:00 ---> Running in fa9be8a7bdeb 05:49:00 Removing intermediate container fa9be8a7bdeb 05:49:00 ---> 23d6d4920352 05:49:00 Step 5/23 : RUN apk add --update --no-cache make git openssh 05:49:00 ---> Running in cded46a05773 05:49:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:49:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:49:02 OK: 272 MiB in 60 packages 05:49:03 Removing intermediate container cded46a05773 05:49:03 ---> 99c691baacf6 05:49:03 Step 6/23 : WORKDIR /device-modbus-go 05:49:03 ---> Running in 616dc20a28d0 05:49:03 Removing intermediate container 616dc20a28d0 05:49:03 ---> 04276804a827 05:49:03 Step 7/23 : COPY go.mod vendor* ./ 05:49:04 ---> 6cd4679e26b1 05:49:04 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:49:04 ---> Running in 4370615041ad 05:49:06 Removing intermediate container 4370615041ad 05:49:06 ---> 4f2d638509f4 05:49:06 Step 9/23 : COPY . . 05:49:07 ---> d6c54e4b1d15 05:49:07 Step 10/23 : RUN ${MAKE} 05:49:07 ---> Running in 7b5cf6822712 05:49:08 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.39" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 05:52:30 Removing intermediate container 7b5cf6822712 05:52:30 ---> 0c7338bd4de8 05:52:30 Step 11/23 : FROM alpine:3.18 05:52:30 3.18: Pulling from library/alpine 05:52:30 720f3032cd11: Pulling fs layer 05:52:30 720f3032cd11: Verifying Checksum 05:52:30 720f3032cd11: Download complete 05:52:30 720f3032cd11: Pull complete 05:52:30 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 05:52:30 Status: Downloaded newer image for alpine:3.18 05:52:30 ---> 3e834921e367 05:52:30 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:52:30 ---> Running in 6ec459e32994 05:52:30 Removing intermediate container 6ec459e32994 05:52:30 ---> b6ebdfc000d2 05:52:30 Step 13/23 : RUN apk add --update --no-cache dumb-init 05:52:30 ---> Running in 81cc1a81c219 05:52:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:52:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:52:30 (1/1) Installing dumb-init (1.2.5-r2) 05:52:30 Executing busybox-1.36.1-r7.trigger 05:52:30 OK: 8 MiB in 16 packages 05:52:30 Removing intermediate container 81cc1a81c219 05:52:30 ---> ae6464fef955 05:52:30 Step 14/23 : RUN apk --no-cache upgrade 05:52:30 ---> Running in 2dacebd068b1 05:52:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:52:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:52:31 OK: 8 MiB in 16 packages 05:52:31 Removing intermediate container 2dacebd068b1 05:52:31 ---> f77a584f5028 05:52:31 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:52:33 ---> 78f925339670 05:52:33 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:52:33 ---> 45f246510a47 05:52:33 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:52:34 ---> 5bdbdb119cb7 05:52:34 Step 18/23 : EXPOSE 59901 05:52:34 ---> Running in 5a2b1968d652 05:52:34 Removing intermediate container 5a2b1968d652 05:52:34 ---> 9879b13a8cd7 05:52:34 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:52:34 ---> Running in 5237b1013b62 05:52:34 Removing intermediate container 5237b1013b62 05:52:34 ---> b5690c1b8a0e 05:52:34 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:52:35 ---> Running in 195f908c3aa9 05:52:35 Removing intermediate container 195f908c3aa9 05:52:35 ---> 353f40e81bc5 05:52:35 Step 21/23 : LABEL arch=arm64 05:52:35 ---> Running in 9ec374d26ffa 05:52:35 Removing intermediate container 9ec374d26ffa 05:52:35 ---> 92a7b9648fd2 05:52:35 Step 22/23 : LABEL git_sha=f074149a866a237d74026a27cb57cee7f0702e73 05:52:35 ---> Running in 27da1bdd578b 05:52:36 Removing intermediate container 27da1bdd578b 05:52:36 ---> d1660abf33db 05:52:36 Step 23/23 : LABEL version=0.0.0 05:52:36 ---> Running in da061a7d74f9 05:52:36 Removing intermediate container da061a7d74f9 05:52:36 ---> 82761f9d08b2 05:52:36 [Warning] One or more build-args [ARCH] were not consumed 05:52:36 Successfully built 82761f9d08b2 05:52:36 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:52:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:52:37 05:52:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:52:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:52:37 arm64: Pulling from edgex-lftools-log-publisher 05:52:37 8998bd30e6a1: Pulling fs layer 05:52:37 04944245beec: Pulling fs layer 05:52:37 699f458cf7ca: Pulling fs layer 05:52:37 765212b225bb: Pulling fs layer 05:52:37 f23df028b6ca: Pulling fs layer 05:52:37 d65c8cfc05b1: Pulling fs layer 05:52:37 2437ff75d9bd: Pulling fs layer 05:52:37 765212b225bb: Waiting 05:52:37 f23df028b6ca: Waiting 05:52:37 d65c8cfc05b1: Waiting 05:52:37 2437ff75d9bd: Waiting 05:52:38 04944245beec: Verifying Checksum 05:52:38 04944245beec: Download complete 05:52:38 765212b225bb: Verifying Checksum 05:52:38 765212b225bb: Download complete 05:52:38 f23df028b6ca: Verifying Checksum 05:52:38 f23df028b6ca: Download complete 05:52:38 d65c8cfc05b1: Verifying Checksum 05:52:38 d65c8cfc05b1: Download complete 05:52:38 699f458cf7ca: Verifying Checksum 05:52:38 699f458cf7ca: Download complete 05:52:38 8998bd30e6a1: Verifying Checksum 05:52:38 8998bd30e6a1: Download complete 05:52:41 2437ff75d9bd: Verifying Checksum 05:52:41 2437ff75d9bd: Download complete 05:52:43 8998bd30e6a1: Pull complete 05:52:44 04944245beec: Pull complete 05:52:45 699f458cf7ca: Pull complete 05:52:45 765212b225bb: Pull complete 05:52:46 f23df028b6ca: Pull complete 05:52:46 d65c8cfc05b1: Pull complete 05:53:05 2437ff75d9bd: Pull complete 05:53:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:53:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:53:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:53:46 prd-ubuntu20.04-docker-arm64-4c-16g-12607 does not seem to be running inside a container 05:53:46 $ 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:47 $ docker top 40c8cab9e84449a64c7e507b7a9d346f500c859a40e67edb5c38b95a0bc30136 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:53:48 ---> job-cost.sh 05:53:49 lf-activate-venv: SKIPPING 05:53:49 INFO: No Stack... 05:53:49 INFO: Retrieving Pricing Info for: v3-standard-4 05:53:50 INFO: Archiving Costs [Pipeline] sh 05:53:50 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 05:53:50 + cut -d, -f6 [Pipeline] lock 05:53:50 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-574-1-stack-cost] 05:53:50 Resource [jenkins-edgexfoundry-device-modbus-go-PR-574-1-stack-cost] did not exist. Created. 05:53:50 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-574-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:53:51 /w/workspace/device-modbus-go/1@tmp/durable-7c172ff7/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:53:51 + echo total: 0.10999999940395355 [Pipeline] stash 05:53:51 Warning: overwriting stash ‘stack-cost’ 05:53:51 Stashed 1 file(s) [Pipeline] } 05:53:51 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-574-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:53:52 $ docker stop --time=1 40c8cab9e84449a64c7e507b7a9d346f500c859a40e67edb5c38b95a0bc30136 05:53:53 $ docker rm -f --volumes 40c8cab9e84449a64c7e507b7a9d346f500c859a40e67edb5c38b95a0bc30136 [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:55 provisioning config files... 05:53:55 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-574@tmp/config13051433834800102953tmp [Pipeline] { [Pipeline] sh 05:53:55 + set +x 05:53:55 + bash -s -- 05:53:55 + curl -s https://codecov.io/bash 05:53:55 05:53:55 _____ _ 05:53:55 / ____| | | 05:53:55 | | ___ __| | ___ ___ _____ __ 05:53:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:53:55 | |___| (_) | (_| | __/ (_| (_) \ V / 05:53:55 \_____\___/ \__,_|\___|\___\___/ \_/ 05:53:55 Bash-1.0.6 05:53:55 05:53:55 05:53:55 ==> git version 2.25.1 found 05:53:55 ==> 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:55 Release-Date: 2020-01-08 05:53:55 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:55 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:53:55 ==> Jenkins CI detected. 05:53:55 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-574 05:53:55 project root: . 05:53:55 --> token set from env 05:53:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:53:55 ==> Running gcov in . (disable via -X gcov) 05:53:55 ==> Python coveragepy not found 05:53:55 ==> Searching for coverage reports in: 05:53:55 + . 05:53:55 -> Found 1 reports 05:53:55 ==> Detecting git/mercurial file structure 05:53:55 ==> Reading reports 05:53:55 + ./coverage.out bytes=24601 05:53:55 ==> Appending adjustments 05:53:55 https://docs.codecov.io/docs/fixing-reports 05:53:55 + Found adjustments 05:53:55 ==> Gzipping contents 05:53:55 4.0K /tmp/codecov.6qQBZi.gz 05:53:55 ==> Uploading reports 05:53:55 url: https://codecov.io 05:53:55 query: branch=PR-574&commit=f074149a866a237d74026a27cb57cee7f0702e73&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-574%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=574&job=&cmd_args= 05:53:55 -> Pinging Codecov 05:53:55 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-574&commit=f074149a866a237d74026a27cb57cee7f0702e73&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-574%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=574&job=&cmd_args= 05:53:56 -> Uploading to 05:53:56 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-modbus-go/f074149a866a237d74026a27cb57cee7f0702e73/03ae7bc4-c085-4ee3-8b61-21452aa2cf9e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241002%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241002T055355Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=6709de0ffe8dd94f3859f893ffb768a457e7e3b2ec1f939b6095847b05994acc 05:53:56 % Total % Received % Xferd Average Speed Time Time Time Current 05:53:56 Dload Upload Total Spent Left Speed 05:53:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 17156 --:--:-- --:--:-- --:--:-- 17156 05:53:56 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/f074149a866a237d74026a27cb57cee7f0702e73 [Pipeline] } 05:53:56 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:58 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-574/archives ] 05:53:58 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-574/archives 05:53:58 total 16 05:53:58 drwxr-xr-x 3 root root 4096 Oct 2 05:38 . 05:53:58 drwxrwxr-x 10 jenkins jenkins 4096 Oct 2 05:38 .. 05:53:58 drwxr-xr-x 2 root root 4096 Oct 2 05:38 cost 05:53:58 -rw-r--r-- 1 root root 88 Oct 2 05:38 cost.csv 05:53:58 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-574/archives 05:53:58 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-574/archives 05:53:58 total 16 05:53:58 drwxr-xr-x 3 jenkins jenkins 4096 Oct 2 05:38 . 05:53:58 drwxrwxr-x 10 jenkins jenkins 4096 Oct 2 05:38 .. 05:53:58 drwxr-xr-x 2 jenkins jenkins 4096 Oct 2 05:38 cost 05:53:58 -rw-r--r-- 1 jenkins jenkins 88 Oct 2 05:38 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:53:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:53:59 ---> package-listing.sh 05:53:59 ++ tr '[:upper:]' '[:lower:]' 05:53:59 ++ facter osfamily 05:53:59 + OS_FAMILY=debian 05:53:59 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-574 05:53:59 + START_PACKAGES=/tmp/packages_start.txt 05:53:59 + END_PACKAGES=/tmp/packages_end.txt 05:53:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:53:59 + PACKAGES=/tmp/packages_start.txt 05:53:59 + '[' /w/workspace/xfoundry_device-modbus-go_PR-574 ']' 05:53:59 + PACKAGES=/tmp/packages_end.txt 05:53:59 + case "${OS_FAMILY}" in 05:53:59 + dpkg -l 05:53:59 + grep '^ii' 05:54:00 + '[' -f /tmp/packages_start.txt ']' 05:54:00 + '[' -f /tmp/packages_end.txt ']' 05:54:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:54:00 + '[' /w/workspace/xfoundry_device-modbus-go_PR-574 ']' 05:54:00 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-574/archives/ 05:54:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-574/archives/ [Pipeline] echo 05:54:00 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-574/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:54:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:54:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:54:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:54:01 prd-ubuntu20.04-docker-8c-8g-12600 does not seem to be running inside a container 05:54:01 $ 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-574/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-574 -v /w/workspace/xfoundry_device-modbus-go_PR-574:/w/workspace/xfoundry_device-modbus-go_PR-574:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-574@tmp:/w/workspace/xfoundry_device-modbus-go_PR-574@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:54:01 $ docker top 82c02508158c3302ed3fe44d766871ad2c32392786ae45fb9c9946cb87057dca -eo pid,comm [Pipeline] { [Pipeline] sh 05:54:02 + touch /tmp/pre-build-complete [Pipeline] sh 05:54:02 + mkdir -p /var/log/sysstat [Pipeline] sh 05:54:02 + ls /var/log/sa-host 05:54:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:54:02 provisioning config files... 05:54:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-574@tmp/config2343786376381066451tmp [Pipeline] { [Pipeline] echo 05:54:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:54:03 ---> create-netrc.sh [Pipeline] } 05:54:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:54:03 ---> python-tools-install.sh [Pipeline] echo 05:54:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:54:04 ---> sudo-logs.sh 05:54:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:54:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:54:04 ---> job-cost.sh 05:54:04 lf-activate-venv: SKIPPING 05:54:04 DEBUG: total: 0.2199999988079071 05:54:04 INFO: Retrieving Stack Cost... 05:54:05 INFO: Retrieving Pricing Info for: v3-standard-8 05:54:05 INFO: Archiving Costs [Pipeline] echo 05:54:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:54:05 ---> logs-deploy.sh 05:54:05 lf-activate-venv: SKIPPING 05:54:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-574/1 05:54:05 INFO: archiving workspace using pattern(s): 05:54:06 Archives upload complete. 05:54:06 INFO: archiving logs to Nexus