Pull request #445 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of vli11 for edgexfoundry/device-modbus-go Loading trusted files from base branch main at 9bc48e746bb510c782b9593f55beae1b8e3bd068 rather than cd78ed9c9a4a113d2a57620e61604bed81f56a33 Obtained Jenkinsfile from 9bc48e746bb510c782b9593f55beae1b8e3bd068 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-ssh653841598800405577.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh5317016790302884734.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-445/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-445/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12219878626454622762.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-445/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16942377271155019761.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh11973865240452303558.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-445/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-445/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3904933478533406674.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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, buildSnap:false] ========================================================= [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.20 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-5720 in /w/workspace/xfoundry_device-modbus-go_PR-445 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-445 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 9bc48e746bb510c782b9593f55beae1b8e3bd068 into PR head commit cd78ed9c9a4a113d2a57620e61604bed81f56a33 > 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/445/head:refs/remotes/origin/PR-445 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cd78ed9c9a4a113d2a57620e61604bed81f56a33 # timeout=10 Merge succeeded, producing cd78ed9c9a4a113d2a57620e61604bed81f56a33 Checking out Revision cd78ed9c9a4a113d2a57620e61604bed81f56a33 (PR-445) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9bc48e746bb510c782b9593f55beae1b8e3bd068 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cd78ed9c9a4a113d2a57620e61604bed81f56a33 # timeout=10 Commit message: "refactor!: Change configuration and devices files format to YAML" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:35:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:35:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:35:59 ========================================================= 17:35:59 EdgeX Global Pipelines Version Info 17:35:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:36:00 ------------------- 17:36:00 stable info: 17:36:00 ------------------- 17:36:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:36:00 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 17:36:00 Message: update stable to v1.0.245 17:36:01 ------------------- 17:36:01 experimental info: 17:36:01 ------------------- 17:36:01 Commited By: **** collab-it+edgex@linuxfoundation.org 17:36:01 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 17:36:01 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:36:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 17:36:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 17:36:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:36:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:36:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:36:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 17:36:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:36:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:36:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:36:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:36:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:36:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 17:36:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:36:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:36:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:36:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:36:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:36:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:36:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:36:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:36:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:36:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:36:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:36:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:36:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:36:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:36:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:36:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-445 [Pipeline] echo 17:36:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-445 [Pipeline] echo 17:36:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-445 [Pipeline] echo 17:36:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cd78ed9c9a4a113d2a57620e61604bed81f56a33 [Pipeline] echo 17:36:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cd78ed9 [Pipeline] echo 17:36:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:36:02 provisioning config files... 17:36:02 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-445@tmp/config5537137026735652062tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:36:03 ---> docker-login.sh 17:36:03 nexus3.edgexfoundry.org:10001 17:36:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:03 Configure a credential helper to remove this warning. See 17:36:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:03 17:36:03 Login Succeeded 17:36:03 nexus3.edgexfoundry.org:10002 17:36:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:03 Configure a credential helper to remove this warning. See 17:36:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:03 17:36:03 Login Succeeded 17:36:03 nexus3.edgexfoundry.org:10003 17:36:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:03 Configure a credential helper to remove this warning. See 17:36:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:03 17:36:03 Login Succeeded 17:36:03 nexus3.edgexfoundry.org:10004 17:36:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:04 Configure a credential helper to remove this warning. See 17:36:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:04 17:36:04 Login Succeeded 17:36:04 docker.io 17:36:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:04 Configure a credential helper to remove this warning. See 17:36:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:04 17:36:04 Login Succeeded 17:36:04 ---> docker-login.sh ends [Pipeline] } 17:36:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:36:05 + git rev-list -1 --merges cd78ed9c9a4a113d2a57620e61604bed81f56a33~1..cd78ed9c9a4a113d2a57620e61604bed81f56a33 [Pipeline] echo 17:36:05 -----------> git rev-list -1 --merges cd78ed9c9a4a113d2a57620e61604bed81f56a33~1..cd78ed9c9a4a113d2a57620e61604bed81f56a33 cd78ed9c9a4a113d2a57620e61604bed81f56a33 [false] [Pipeline] sh 17:36:05 + git log --format=format:%s -1 cd78ed9c9a4a113d2a57620e61604bed81f56a33 [Pipeline] echo 17:36:05 ========================================================= 17:36:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:36:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:36:05 + git log --format=format:%s -1 cd78ed9c9a4a113d2a57620e61604bed81f56a33 [Pipeline] echo 17:36:05 [semverPrep] GIT_COMMIT: cd78ed9c9a4a113d2a57620e61604bed81f56a33, Commit Message: refactor!: Change configuration and devices files format to YAML [Pipeline] echo 17:36:05 [semverPrep] This is not a build commit. [Pipeline] sh 17:36:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:36:06 + grep -v github /etc/ssh/ssh_known_hosts 17:36:06 + [ -e /tmp/ssh_known_hosts ] 17:36:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:36:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:36:06 + sudo tee -a /etc/ssh/ssh_known_hosts 17:36:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:36:06 17:36:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:36:07 0.1.4: Pulling from edgex-devops/py-git-semver 17:36:07 b85a868b505f: Pulling fs layer 17:36:07 e2be974225ed: Pulling fs layer 17:36:07 339a4e72a1f5: Pulling fs layer 17:36:07 988bab9f4d93: Pulling fs layer 17:36:07 1469e6f7b9e6: Pulling fs layer 17:36:07 eaf3925da568: Pulling fs layer 17:36:07 bab4dde63d76: Pulling fs layer 17:36:07 bde34c3a00c8: Pulling fs layer 17:36:07 b352a97aabf1: Pulling fs layer 17:36:07 4872d77fe225: Pulling fs layer 17:36:07 5851b861e8e6: Pulling fs layer 17:36:07 988bab9f4d93: Waiting 17:36:07 5851b861e8e6: Waiting 17:36:07 1469e6f7b9e6: Waiting 17:36:07 bab4dde63d76: Waiting 17:36:07 eaf3925da568: Waiting 17:36:07 4872d77fe225: Waiting 17:36:07 b352a97aabf1: Waiting 17:36:07 bde34c3a00c8: Waiting 17:36:07 e2be974225ed: Verifying Checksum 17:36:07 e2be974225ed: Download complete 17:36:07 988bab9f4d93: Verifying Checksum 17:36:07 988bab9f4d93: Download complete 17:36:07 1469e6f7b9e6: Verifying Checksum 17:36:07 1469e6f7b9e6: Download complete 17:36:07 eaf3925da568: Verifying Checksum 17:36:07 eaf3925da568: Download complete 17:36:07 339a4e72a1f5: Verifying Checksum 17:36:07 339a4e72a1f5: Download complete 17:36:07 bde34c3a00c8: Download complete 17:36:07 b352a97aabf1: Download complete 17:36:07 4872d77fe225: Verifying Checksum 17:36:07 4872d77fe225: Download complete 17:36:07 5851b861e8e6: Verifying Checksum 17:36:07 5851b861e8e6: Download complete 17:36:07 b85a868b505f: Verifying Checksum 17:36:07 b85a868b505f: Download complete 17:36:07 bab4dde63d76: Verifying Checksum 17:36:07 bab4dde63d76: Download complete 17:36:09 b85a868b505f: Pull complete 17:36:09 e2be974225ed: Pull complete 17:36:09 339a4e72a1f5: Pull complete 17:36:09 988bab9f4d93: Pull complete 17:36:09 1469e6f7b9e6: Pull complete 17:36:09 eaf3925da568: Pull complete 17:36:11 bab4dde63d76: Pull complete 17:36:11 bde34c3a00c8: Pull complete 17:36:12 b352a97aabf1: Pull complete 17:36:12 4872d77fe225: Pull complete 17:36:12 5851b861e8e6: Pull complete 17:36:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:36:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:36:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:36:12 prd-ubuntu20.04-docker-8c-8g-5720 does not seem to be running inside a container 17:36:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-445 -v /w/workspace/xfoundry_device-modbus-go_PR-445:/w/workspace/xfoundry_device-modbus-go_PR-445:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-445@tmp:/w/workspace/xfoundry_device-modbus-go_PR-445@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-devops/py-git-semver:0.1.4 cat 17:36:16 $ docker top 929eab10bb75d0bae67d73eaeb3ed8253131bb5fe64a0d384ace227c51476440 -eo pid,comm 17:36:16 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). 17:36:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:36:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:36:16 [ssh-agent] Looking for ssh-agent implementation... 17:36:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:36:16 $ docker exec 929eab10bb75d0bae67d73eaeb3ed8253131bb5fe64a0d384ace227c51476440 ssh-agent 17:36:16 SSH_AUTH_SOCK=/tmp/ssh-7ZluEEM7wIxW/agent.32 17:36:16 SSH_AGENT_PID=38 17:36:16 Running ssh-add (command line suppressed) 17:36:17 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-445@tmp/private_key_17845160237517452597.key (/w/workspace/xfoundry_device-modbus-go_PR-445@tmp/private_key_17845160237517452597.key) 17:36:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:36:17 + git tag --points-at HEAD [Pipeline] } 17:36:17 $ docker exec --env ******** --env ******** 929eab10bb75d0bae67d73eaeb3ed8253131bb5fe64a0d384ace227c51476440 ssh-agent -k 17:36:17 unset SSH_AUTH_SOCK; 17:36:17 unset SSH_AGENT_PID; 17:36:17 echo Agent pid 38 killed; 17:36:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:36:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:36:17 [ssh-agent] Looking for ssh-agent implementation... 17:36:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:36:17 $ docker exec 929eab10bb75d0bae67d73eaeb3ed8253131bb5fe64a0d384ace227c51476440 ssh-agent 17:36:17 SSH_AUTH_SOCK=/tmp/ssh-IPQOnRgnliZU/agent.71 17:36:17 SSH_AGENT_PID=77 17:36:17 Running ssh-add (command line suppressed) 17:36:18 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-445@tmp/private_key_15235964387612138885.key (/w/workspace/xfoundry_device-modbus-go_PR-445@tmp/private_key_15235964387612138885.key) 17:36:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:36:18 + git semver init 17:36:18 2023-03-24 17:36:18,595 [run_init] DEBUG init version:0.0.0 force:False 17:36:18 2023-03-24 17:36:18,596 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-445/.semver 17:36:18 2023-03-24 17:36:18,597 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-445/.semver 17:36:18 2023-03-24 17:36:18,597 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-445/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-445, universal_newlines=False, shell=None, istream=None) 17:36:19 2023-03-24 17:36:19,375 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-445/.git/info/exclude 17:36:19 2023-03-24 17:36:19,375 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-445/.semver/PR-445 with force:False 17:36:19 2023-03-24 17:36:19,375 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-445/.semver/PR-445 17:36:19 2023-03-24 17:36:19,380 [execute] INFO git cat-file --batch-check 17:36:19 2023-03-24 17:36:19,381 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-445/.semver, universal_newlines=False, shell=None, istream=) 17:36:19 2023-03-24 17:36:19,388 [execute] INFO git cat-file --batch 17:36:19 2023-03-24 17:36:19,388 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-445/.semver, universal_newlines=False, shell=None, istream=) 17:36:19 2023-03-24 17:36:19,393 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-445/.semver/PR-445 17:36:19 0.0.0 [Pipeline] } 17:36:19 $ docker exec --env ******** --env ******** 929eab10bb75d0bae67d73eaeb3ed8253131bb5fe64a0d384ace227c51476440 ssh-agent -k 17:36:19 unset SSH_AUTH_SOCK; 17:36:19 unset SSH_AGENT_PID; 17:36:19 echo Agent pid 77 killed; 17:36:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:36:20 + git semver [Pipeline] } 17:36:20 $ docker stop --time=1 929eab10bb75d0bae67d73eaeb3ed8253131bb5fe64a0d384ace227c51476440 17:36:22 $ docker rm -f --volumes 929eab10bb75d0bae67d73eaeb3ed8253131bb5fe64a0d384ace227c51476440 [Pipeline] // withDockerContainer [Pipeline] sh 17:36:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:36:22 Stashed 1 file(s) [Pipeline] echo 17:36:22 [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 17:36:23 provisioning config files... 17:36:23 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-445@tmp/config3313524944198221310tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:36:23 ---> docker-login.sh 17:36:23 nexus3.edgexfoundry.org:10001 17:36:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:23 Configure a credential helper to remove this warning. See 17:36:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:23 17:36:23 Login Succeeded 17:36:23 nexus3.edgexfoundry.org:10002 17:36:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:23 Configure a credential helper to remove this warning. See 17:36:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:23 17:36:23 Login Succeeded 17:36:23 nexus3.edgexfoundry.org:10003 17:36:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:23 Configure a credential helper to remove this warning. See 17:36:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:23 17:36:23 Login Succeeded 17:36:23 nexus3.edgexfoundry.org:10004 17:36:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:23 Configure a credential helper to remove this warning. See 17:36:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:23 17:36:23 Login Succeeded 17:36:23 docker.io 17:36:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:24 Configure a credential helper to remove this warning. See 17:36:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:24 17:36:24 Login Succeeded 17:36:24 ---> docker-login.sh ends [Pipeline] } 17:36:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:36:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:36:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:36:24 ========================================================= 17:36:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 17:36:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:25 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 17:36:25 Sending build context to Docker daemon 6.425MB 17:36:25 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 17:36:25 Step 2/10 : FROM ${BASE} AS builder 17:36:25 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 17:36:25 63b65145d645: Pulling fs layer 17:36:25 a2d21d5440eb: Pulling fs layer 17:36:25 935e6c44a52c: Pulling fs layer 17:36:25 94cc34f8dd06: Pulling fs layer 17:36:25 30dea6a524f1: Pulling fs layer 17:36:25 a2aff8979fd8: Pulling fs layer 17:36:25 6808be2612f2: Pulling fs layer 17:36:25 f25807f1079a: Pulling fs layer 17:36:25 94cc34f8dd06: Waiting 17:36:25 30dea6a524f1: Waiting 17:36:25 6808be2612f2: Waiting 17:36:25 f25807f1079a: Waiting 17:36:25 a2aff8979fd8: Waiting 17:36:25 a2d21d5440eb: Verifying Checksum 17:36:25 a2d21d5440eb: Download complete 17:36:25 94cc34f8dd06: Verifying Checksum 17:36:25 94cc34f8dd06: Download complete 17:36:25 30dea6a524f1: Verifying Checksum 17:36:25 30dea6a524f1: Download complete 17:36:25 63b65145d645: Verifying Checksum 17:36:25 63b65145d645: Download complete 17:36:25 a2aff8979fd8: Verifying Checksum 17:36:25 a2aff8979fd8: Download complete 17:36:25 63b65145d645: Pull complete 17:36:25 a2d21d5440eb: Pull complete 17:36:26 f25807f1079a: Verifying Checksum 17:36:26 f25807f1079a: Download complete 17:36:26 935e6c44a52c: Verifying Checksum 17:36:26 935e6c44a52c: Download complete 17:36:26 6808be2612f2: Verifying Checksum 17:36:26 6808be2612f2: Download complete 17:36:29 935e6c44a52c: Pull complete 17:36:29 94cc34f8dd06: Pull complete 17:36:30 30dea6a524f1: Pull complete 17:36:30 a2aff8979fd8: Pull complete 17:36:32 6808be2612f2: Pull complete 17:36:33 f25807f1079a: Pull complete 17:36:33 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 17:36:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 17:36:33 ---> 3b553350e43f 17:36:33 Step 3/10 : ARG ADD_BUILD_TAGS="" 17:36:38 Still waiting to schedule task 17:36:38 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:36:39 ---> Running in 20dfa7ec5c3a 17:36:39 Removing intermediate container 20dfa7ec5c3a 17:36:39 ---> 4f40364bf3f2 17:36:39 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:36:39 ---> Running in 36013e4e64f1 17:36:39 Removing intermediate container 36013e4e64f1 17:36:39 ---> 46a6aa372ade 17:36:39 Step 5/10 : RUN apk add --update --no-cache make git openssh 17:36:39 ---> Running in 431dd8adc784 17:36:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:36:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:36:39 (1/8) Installing openssh-keygen (9.1_p1-r2) 17:36:39 (2/8) Installing libedit (20221030.3.1-r0) 17:36:39 (3/8) Installing openssh-client-common (9.1_p1-r2) 17:36:39 (4/8) Installing openssh-client-default (9.1_p1-r2) 17:36:39 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 17:36:39 (6/8) Installing openssh-server-common (9.1_p1-r2) 17:36:39 (7/8) Installing openssh-server (9.1_p1-r2) 17:36:39 (8/8) Installing openssh (9.1_p1-r2) 17:36:39 Executing busybox-1.35.0-r29.trigger 17:36:39 OK: 270 MiB in 61 packages 17:36:40 Removing intermediate container 431dd8adc784 17:36:40 ---> 4ab6a2cde0f8 17:36:40 Step 6/10 : WORKDIR /device-modbus-go 17:36:40 ---> Running in 2e2a6416f495 17:36:40 Removing intermediate container 2e2a6416f495 17:36:40 ---> 4e961d9b6594 17:36:40 Step 7/10 : COPY go.mod vendor* ./ 17:36:40 ---> 9f55d74ab19d 17:36:40 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:36:40 ---> Running in f9ffe8de1bcf 17:37:19 Removing intermediate container f9ffe8de1bcf 17:37:19 ---> bf5a36d99797 17:37:19 Step 9/10 : COPY . . 17:37:19 ---> 37be7d89e4a0 17:37:19 Step 10/10 : RUN ${MAKE} 17:37:19 ---> Running in f36f191533e2 17:37:19 noop 17:37:19 Removing intermediate container f36f191533e2 17:37:19 ---> f3537bc6ec76 17:37:19 Successfully built f3537bc6ec76 17:37:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:37:19 + docker inspect -f . ci-base-image-x86_64 17:37:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:37:19 prd-ubuntu20.04-docker-8c-8g-5720 does not seem to be running inside a container 17:37:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-445 -v /w/workspace/xfoundry_device-modbus-go_PR-445:/w/workspace/xfoundry_device-modbus-go_PR-445:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-445@tmp:/w/workspace/xfoundry_device-modbus-go_PR-445@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:37:20 $ docker top 5d767f8cf176bd80c29802280728ecfa2e6bd8b7e233902954d2a539992e8c2a -eo pid,comm [Pipeline] { [Pipeline] sh 17:37:20 + go version 17:37:20 go version go1.20.2 linux/amd64 [Pipeline] } 17:37:20 $ docker stop --time=1 5d767f8cf176bd80c29802280728ecfa2e6bd8b7e233902954d2a539992e8c2a 17:37:22 $ docker rm -f --volumes 5d767f8cf176bd80c29802280728ecfa2e6bd8b7e233902954d2a539992e8c2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:37:22 + docker inspect -f . ci-base-image-x86_64 17:37:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:37:22 prd-ubuntu20.04-docker-8c-8g-5720 does not seem to be running inside a container 17:37:22 $ 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-445 -v /w/workspace/xfoundry_device-modbus-go_PR-445:/w/workspace/xfoundry_device-modbus-go_PR-445:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-445@tmp:/w/workspace/xfoundry_device-modbus-go_PR-445@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:37:23 $ docker top f196c7c03690481cf133040bb50b6f65c4a3883238234a6224773e5372bbf016 -eo pid,comm [Pipeline] { [Pipeline] sh 17:37:23 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-445 [Pipeline] fileExists [Pipeline] sh 17:37:23 + make test 17:37:23 go test ./... -coverprofile=coverage.out 17:37:29 ? github.com/edgexfoundry/device-modbus-go [no test files] 17:37:39 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 17:37:39 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 48.0% of statements 17:37:47 go vet ./... 17:37:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:37:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:37:50 ./bin/test-attribution-txt.sh [Pipeline] echo 17:37:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:37:50 $ docker stop --time=1 f196c7c03690481cf133040bb50b6f65c4a3883238234a6224773e5372bbf016 17:37:53 $ docker rm -f --volumes f196c7c03690481cf133040bb50b6f65c4a3883238234a6224773e5372bbf016 [Pipeline] // withDockerContainer [Pipeline] sh 17:37:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:37:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:37:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:37:54 + ls -al . 17:37:54 total 180 17:37:54 drwxrwxr-x 10 jenkins jenkins 4096 Mar 24 17:37 . 17:37:54 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 17:35 .. 17:37:54 -rw-rw-r-- 1 jenkins jenkins 140 Mar 24 17:35 .dockerignore 17:37:54 drwxrwxr-x 8 jenkins jenkins 4096 Mar 24 17:36 .git 17:37:54 drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 17:35 .github 17:37:54 -rw-rw-r-- 1 jenkins jenkins 331 Mar 24 17:35 .gitignore 17:37:54 -rw-rw-r-- 1 jenkins jenkins 41 Mar 24 17:35 .golangci.yml 17:37:54 drwxr-xr-x 3 jenkins jenkins 4096 Mar 24 17:36 .semver 17:37:54 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 24 17:35 Attribution.txt 17:37:54 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 24 17:35 CHANGELOG.md 17:37:54 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 24 17:35 Dockerfile 17:37:54 -rw-rw-r-- 1 jenkins jenkins 677 Mar 24 17:35 GOVERNANCE.md 17:37:54 -rw-rw-r-- 1 jenkins jenkins 680 Mar 24 17:35 Jenkinsfile 17:37:54 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 24 17:35 LICENSE 17:37:54 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 24 17:35 Makefile 17:37:54 -rw-rw-r-- 1 jenkins jenkins 622 Mar 24 17:35 OWNERS.md 17:37:54 -rw-rw-r-- 1 jenkins jenkins 4045 Mar 24 17:35 README.md 17:37:54 -rw-rw-r-- 1 jenkins jenkins 5 Mar 24 17:36 VERSION 17:37:54 drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 17:35 bin 17:37:54 drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 17:35 cmd 17:37:54 -rw-r--r-- 1 jenkins jenkins 23736 Mar 24 17:37 coverage.out 17:37:54 -rw-rw-r-- 1 jenkins jenkins 3498 Mar 24 17:35 go.mod 17:37:54 -rw-rw-r-- 1 jenkins jenkins 31643 Mar 24 17:35 go.sum 17:37:54 drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 17:35 internal 17:37:54 drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 17:35 simulator 17:37:54 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 17:35 snap 17:37:54 -rw-rw-r-- 1 jenkins jenkins 229 Mar 24 17:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17: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=cd78ed9c9a4a113d2a57620e61604bed81f56a33 --label arch=amd64 --label version=0.0.0 . 17:37:55 Sending build context to Docker daemon 6.449MB 17:37:55 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 17:37:55 Step 2/22 : FROM ${BASE} AS builder 17:37:55 ---> f3537bc6ec76 17:37:55 Step 3/22 : ARG ADD_BUILD_TAGS="" 17:37:55 ---> Running in 8ee5204d6a21 17:37:55 Removing intermediate container 8ee5204d6a21 17:37:55 ---> a417162a2e59 17:37:55 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:37:55 ---> Running in 8c2de9ce9597 17:37:55 Removing intermediate container 8c2de9ce9597 17:37:55 ---> 2b1cbc797abe 17:37:55 Step 5/22 : RUN apk add --update --no-cache make git openssh 17:37:55 ---> Running in 113542e317de 17:37:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:37:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:37:55 OK: 270 MiB in 61 packages 17:37:56 Removing intermediate container 113542e317de 17:37:56 ---> 6729f94ad1c6 17:37:56 Step 6/22 : WORKDIR /device-modbus-go 17:37:56 ---> Running in 3ec04514a292 17:37:56 Removing intermediate container 3ec04514a292 17:37:56 ---> 3e88afd61a35 17:37:56 Step 7/22 : COPY go.mod vendor* ./ 17:37:56 ---> b718da9909ab 17:37:56 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:37:56 ---> Running in 8b22240aa98d 17:37:57 Removing intermediate container 8b22240aa98d 17:37:57 ---> b5640a0c7cda 17:37:57 Step 9/22 : COPY . . 17:37:57 ---> 82aaacaf450f 17:37:57 Step 10/22 : RUN ${MAKE} 17:37:57 ---> Running in e20d0a873df3 17:37:57 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 17:38:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5721 in /w/workspace/xfoundry_device-modbus-go_PR-445 [Pipeline] { [Pipeline] ws 17:38:12 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 17:38:12 Selected Git installation does not exist. Using Default 17:38:12 The recommended git tool is: NONE 17:38:16 Removing intermediate container e20d0a873df3 17:38:16 ---> 7868bf6b916a 17:38:16 Step 11/22 : FROM alpine:3.17 17:38:16 3.17: Pulling from library/alpine 17:38:16 63b65145d645: Already exists 17:38:16 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 17:38:16 Status: Downloaded newer image for alpine:3.17 17:38:16 ---> b2aa39c304c2 17:38:16 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 17:38:16 ---> Running in fb1697f689cf 17:38:16 Removing intermediate container fb1697f689cf 17:38:16 ---> 9b40969eb05a 17:38:16 Step 13/22 : RUN apk add --update --no-cache dumb-init 17:38:16 ---> Running in 0eb334ef9d18 17:38:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:38:17 using credential edgex-jenkins-ssh 17:38:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:38:17 Cloning the remote Git repository 17:38:17 (1/1) Installing dumb-init (1.2.5-r2) 17:38:17 Executing busybox-1.35.0-r29.trigger 17:38:17 OK: 7 MiB in 16 packages 17:38:18 Removing intermediate container 0eb334ef9d18 17:38:18 ---> 49da4d64cafa 17:38:18 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 17:38:17 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 17:38:17 > git init /w/workspace/device-modbus-go/1 # timeout=10 17:38:17 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 17:38:17 > git --version # timeout=10 17:38:17 > git --version # 'git version 2.25.1' 17:38:17 using GIT_SSH to set credentials SSH Credentials for GitHub 17:38:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:38:18 ---> 9604611e96a3 17:38:18 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 17:38:18 ---> 8c70a9b20d1f 17:38:18 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 17:38:19 ---> 9b9e60989d4c 17:38:19 Step 17/22 : EXPOSE 59901 17:38:19 ---> Running in d7b657755391 17:38:19 Removing intermediate container d7b657755391 17:38:19 ---> c3f8820e900d 17:38:19 Step 18/22 : ENTRYPOINT ["/device-modbus"] 17:38:19 ---> Running in 093b81f23aba 17:38:19 Removing intermediate container 093b81f23aba 17:38:19 ---> 971415c52825 17:38:19 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 17:38:19 ---> Running in e4861de70e23 17:38:19 Removing intermediate container e4861de70e23 17:38:19 ---> 641791948618 17:38:19 Step 20/22 : LABEL arch=amd64 17:38:19 ---> Running in f4b415cb8346 17:38:19 Removing intermediate container f4b415cb8346 17:38:19 ---> 48380d01c6cf 17:38:19 Step 21/22 : LABEL git_sha=cd78ed9c9a4a113d2a57620e61604bed81f56a33 17:38:19 ---> Running in a6eebb80916e 17:38:19 Removing intermediate container a6eebb80916e 17:38:19 ---> 46109d21b898 17:38:19 Step 22/22 : LABEL version=0.0.0 17:38:19 ---> Running in 8ccbef232e9d 17:38:19 Removing intermediate container 8ccbef232e9d 17:38:19 ---> 1359f79a9694 17:38:19 [Warning] One or more build-args [ARCH] were not consumed 17:38:19 Successfully built 1359f79a9694 17:38:19 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] } 17:38:18 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 17:38:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:38:19 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 17:38:19 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 17:38:19 using GIT_SSH to set credentials SSH Credentials for GitHub 17:38:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/445/head:refs/remotes/origin/PR-445 +refs/heads/main:refs/remotes/origin/main # timeout=10 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:20 Merging remotes/origin/main commit 9bc48e746bb510c782b9593f55beae1b8e3bd068 into PR head commit cd78ed9c9a4a113d2a57620e61604bed81f56a33 17:38:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:38:20 17:38:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:20 Merge succeeded, producing cd78ed9c9a4a113d2a57620e61604bed81f56a33 17:38:20 Checking out Revision cd78ed9c9a4a113d2a57620e61604bed81f56a33 (PR-445) 17:38:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:38:20 latest: Pulling from edgex-lftools-log-publisher 17:38:20 5eb5b503b376: Pulling fs layer 17:38:20 5c69ac0246d0: Pulling fs layer 17:38:20 ec43610c2a17: Pulling fs layer 17:38:20 3a2ae6a8a46f: Pulling fs layer 17:38:20 33b1e0a273af: Pulling fs layer 17:38:20 5d3b04190fa2: Pulling fs layer 17:38:20 2f39f015ded8: Pulling fs layer 17:38:20 3a2ae6a8a46f: Waiting 17:38:20 33b1e0a273af: Waiting 17:38:20 5d3b04190fa2: Waiting 17:38:20 2f39f015ded8: Waiting 17:38:20 5c69ac0246d0: Verifying Checksum 17:38:20 5c69ac0246d0: Download complete 17:38:20 3a2ae6a8a46f: Verifying Checksum 17:38:20 3a2ae6a8a46f: Download complete 17:38:21 33b1e0a273af: Verifying Checksum 17:38:21 33b1e0a273af: Download complete 17:38:21 5d3b04190fa2: Verifying Checksum 17:38:21 5d3b04190fa2: Download complete 17:38:21 ec43610c2a17: Verifying Checksum 17:38:21 ec43610c2a17: Download complete 17:38:21 5eb5b503b376: Verifying Checksum 17:38:21 5eb5b503b376: Download complete 17:38:20 > git config core.sparsecheckout # timeout=10 17:38:20 > git checkout -f cd78ed9c9a4a113d2a57620e61604bed81f56a33 # timeout=10 17:38:20 > git remote # timeout=10 17:38:20 > git config --get remote.origin.url # timeout=10 17:38:20 using GIT_SSH to set credentials SSH Credentials for GitHub 17:38:20 > git merge 9bc48e746bb510c782b9593f55beae1b8e3bd068 # timeout=10 17:38:20 > git rev-parse HEAD^{commit} # timeout=10 17:38:20 > git config core.sparsecheckout # timeout=10 17:38:20 > git checkout -f cd78ed9c9a4a113d2a57620e61604bed81f56a33 # timeout=10 17:38:21 2f39f015ded8: Verifying Checksum 17:38:21 2f39f015ded8: Download complete 17:38:22 5eb5b503b376: Pull complete 17:38:22 5c69ac0246d0: Pull complete 17:38:23 ec43610c2a17: Pull complete 17:38:23 3a2ae6a8a46f: Pull complete 17:38:23 33b1e0a273af: Pull complete 17:38:23 5d3b04190fa2: Pull complete 17:38:24 Commit message: "refactor!: Change configuration and devices files format to YAML" 17:38:24 > git --version # timeout=10 17:38:24 > git --version # 'git version 2.25.1' 17:38:24 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 17:38:24 17:38:24 GitHub has been notified of this commit’s build result 17:38:24 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:38:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:38:25 % Total % Received % Xferd Average Speed Time Time Time Current 17:38:25 Dload Upload Total Spent Left Speed 17:38:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 17:38:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:38:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:38:26 + sudo tee /etc/docker/daemon.new 17:38:26 { 17:38:26 "registry-mirrors": [ 17:38:26 "https://nexus3.edgexfoundry.org:10001" 17:38:26 ], 17:38:26 "bip": "10.250.0.254/24", 17:38:26 "hosts": [ 17:38:26 "tcp://0.0.0.0:5555", 17:38:26 "unix:///var/run/docker.sock" 17:38:26 ], 17:38:26 "mtu": 1458, 17:38:26 "selinux-enabled": true, 17:38:26 "seccomp-profile": "/etc/docker/seccomp.json" 17:38:26 } [Pipeline] sh 17:38:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:38:27 + sudo service docker restart 17:38:27 2f39f015ded8: Pull complete 17:38:27 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:38:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:38:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:38:27 prd-ubuntu20.04-docker-8c-8g-5720 does not seem to be running inside a container 17:38:27 $ 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-445 -v /w/workspace/xfoundry_device-modbus-go_PR-445:/w/workspace/xfoundry_device-modbus-go_PR-445:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-445@tmp:/w/workspace/xfoundry_device-modbus-go_PR-445@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:38:31 $ docker top e63ffcd9aa86d8fb750971a560dad7832a0d2f29e42c4c2348d9fd0af2f7867c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:38:31 ---> job-cost.sh 17:38:31 lf-activate-venv: SKIPPING 17:38:31 INFO: No Stack... 17:38:32 INFO: Retrieving Pricing Info for: v3-standard-8 17:38:32 INFO: Archiving Costs [Pipeline] sh 17:38:32 + + cat /w/workspace/xfoundry_device-modbus-go_PR-445/archives/cost.csv 17:38:32 cut -d, -f6 [Pipeline] lock 17:38:32 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-445-1-stack-cost] 17:38:32 Resource [jenkins-edgexfoundry-device-modbus-go-PR-445-1-stack-cost] did not exist. Created. 17:38:32 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-445-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:38:33 + echo total: 0.2199999988079071 [Pipeline] stash 17:38:33 Stashed 1 file(s) [Pipeline] } 17:38:33 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-445-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:38:33 $ docker stop --time=1 e63ffcd9aa86d8fb750971a560dad7832a0d2f29e42c4c2348d9fd0af2f7867c 17:38:34 $ docker rm -f --volumes e63ffcd9aa86d8fb750971a560dad7832a0d2f29e42c4c2348d9fd0af2f7867c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:38:45 provisioning config files... 17:38:45 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config7456778437740335144tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:38:46 ---> docker-login.sh 17:38:46 nexus3.edgexfoundry.org:10001 17:38:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:46 Configure a credential helper to remove this warning. See 17:38:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:46 17:38:46 Login Succeeded 17:38:46 nexus3.edgexfoundry.org:10002 17:38:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:47 Configure a credential helper to remove this warning. See 17:38:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:47 17:38:47 Login Succeeded 17:38:47 nexus3.edgexfoundry.org:10003 17:38:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:47 Configure a credential helper to remove this warning. See 17:38:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:47 17:38:47 Login Succeeded 17:38:47 nexus3.edgexfoundry.org:10004 17:38:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:47 Configure a credential helper to remove this warning. See 17:38:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:47 17:38:47 Login Succeeded 17:38:47 docker.io 17:38:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:48 Configure a credential helper to remove this warning. See 17:38:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:48 17:38:48 Login Succeeded 17:38:48 ---> docker-login.sh ends [Pipeline] } 17:38:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:38:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:38:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:38:48 ========================================================= 17:38:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 17:38:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:49 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 17:38:51 Sending build context to Docker daemon 3.376MB 17:38:51 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 17:38:51 Step 2/10 : FROM ${BASE} AS builder 17:38:51 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:38:51 af6eaf76a39c: Pulling fs layer 17:38:51 55522c791124: Pulling fs layer 17:38:51 ce5c4a1c91eb: Pulling fs layer 17:38:51 169dfbe0d373: Pulling fs layer 17:38:51 e1ff8fa3b103: Pulling fs layer 17:38:51 52ebb69f0ebf: Pulling fs layer 17:38:51 5abe8eddf0d5: Pulling fs layer 17:38:51 169dfbe0d373: Waiting 17:38:51 e1ff8fa3b103: Waiting 17:38:51 52ebb69f0ebf: Waiting 17:38:51 5abe8eddf0d5: Waiting 17:38:51 55522c791124: Verifying Checksum 17:38:51 55522c791124: Download complete 17:38:51 169dfbe0d373: Verifying Checksum 17:38:51 169dfbe0d373: Download complete 17:38:51 e1ff8fa3b103: Verifying Checksum 17:38:51 e1ff8fa3b103: Download complete 17:38:51 af6eaf76a39c: Verifying Checksum 17:38:51 af6eaf76a39c: Download complete 17:38:52 5abe8eddf0d5: Verifying Checksum 17:38:52 5abe8eddf0d5: Download complete 17:38:52 af6eaf76a39c: Pull complete 17:38:53 55522c791124: Pull complete 17:38:54 52ebb69f0ebf: Download complete 17:38:54 ce5c4a1c91eb: Verifying Checksum 17:38:54 ce5c4a1c91eb: Download complete 17:39:06 ce5c4a1c91eb: Pull complete 17:39:06 169dfbe0d373: Pull complete 17:39:06 e1ff8fa3b103: Pull complete 17:39:13 52ebb69f0ebf: Pull complete 17:39:14 5abe8eddf0d5: Pull complete 17:39:14 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 17:39:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 17:39:14 ---> 6cb57ee374ae 17:39:14 Step 3/10 : ARG ADD_BUILD_TAGS="" 17:39:15 ---> Running in 7192118946a2 17:39:16 Removing intermediate container 7192118946a2 17:39:16 ---> 751bc6299aa1 17:39:16 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:39:16 ---> Running in 6c8f98c74f29 17:39:16 Removing intermediate container 6c8f98c74f29 17:39:16 ---> 289d5c0a72a4 17:39:16 Step 5/10 : RUN apk add --update --no-cache make git openssh 17:39:16 ---> Running in e8575d66707d 17:39:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:39:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:39:19 (1/8) Installing openssh-keygen (9.1_p1-r2) 17:39:19 (2/8) Installing libedit (20221030.3.1-r0) 17:39:19 (3/8) Installing openssh-client-common (9.1_p1-r2) 17:39:19 (4/8) Installing openssh-client-default (9.1_p1-r2) 17:39:19 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 17:39:19 (6/8) Installing openssh-server-common (9.1_p1-r2) 17:39:19 (7/8) Installing openssh-server (9.1_p1-r2) 17:39:19 (8/8) Installing openssh (9.1_p1-r2) 17:39:19 Executing busybox-1.35.0-r29.trigger 17:39:19 OK: 270 MiB in 61 packages 17:39:20 Removing intermediate container e8575d66707d 17:39:20 ---> 1b32ad205856 17:39:20 Step 6/10 : WORKDIR /device-modbus-go 17:39:20 ---> Running in 3d26b34defdd 17:39:20 Removing intermediate container 3d26b34defdd 17:39:20 ---> b852c2989645 17:39:20 Step 7/10 : COPY go.mod vendor* ./ 17:39:21 ---> 3af542e257a7 17:39:21 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:39:21 ---> Running in 837067c1605a 17:40:29 Removing intermediate container 837067c1605a 17:40:29 ---> 694c98a5bbbb 17:40:29 Step 9/10 : COPY . . 17:40:29 ---> 0f0e7af61e69 17:40:29 Step 10/10 : RUN ${MAKE} 17:40:29 ---> Running in 15caa6e8b4f1 17:40:29 noop 17:40:29 Removing intermediate container 15caa6e8b4f1 17:40:29 ---> 777a83616ae5 17:40:29 Successfully built 777a83616ae5 17:40:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:29 + docker inspect -f . ci-base-image-arm64 17:40:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:40:29 prd-ubuntu20.04-docker-arm64-4c-16g-5721 does not seem to be running inside a container 17:40:29 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:40:31 $ docker top 06c776933312e66ee565cf06da7ce2a7913a3f076b3445fd7645f74f618595e4 -eo pid,comm [Pipeline] { [Pipeline] sh 17:40:32 + go version 17:40:32 go version go1.20.2 linux/arm64 [Pipeline] } 17:40:32 $ docker stop --time=1 06c776933312e66ee565cf06da7ce2a7913a3f076b3445fd7645f74f618595e4 17:40:35 $ docker rm -f --volumes 06c776933312e66ee565cf06da7ce2a7913a3f076b3445fd7645f74f618595e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:36 + docker inspect -f . ci-base-image-arm64 17:40:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:40:37 prd-ubuntu20.04-docker-arm64-4c-16g-5721 does not seem to be running inside a container 17:40:37 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:40:38 $ docker top 2756d9384e5259151faf91078b366cfe2439449311965fa00264ac2780e2ae73 -eo pid,comm [Pipeline] { [Pipeline] sh 17:40:38 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 17:40:39 + make test 17:40:39 go test ./... -coverprofile=coverage.out 17:41:12 ? github.com/edgexfoundry/device-modbus-go [no test files] 17:43:18 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 17:43:18 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.084s coverage: 48.0% of statements 17:43:18 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:43:18 go vet ./... 17:43:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:43:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:43:45 ./bin/test-attribution-txt.sh [Pipeline] echo 17:43:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:43:45 $ docker stop --time=1 2756d9384e5259151faf91078b366cfe2439449311965fa00264ac2780e2ae73 17:43:47 $ docker rm -f --volumes 2756d9384e5259151faf91078b366cfe2439449311965fa00264ac2780e2ae73 [Pipeline] // withDockerContainer [Pipeline] sh 17:43:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:43:48 Warning: overwriting stash ‘coverage-report’ 17:43:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:43:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:43:50 + ls -al . 17:43:50 total 176 17:43:50 drwxrwxr-x 9 jenkins jenkins 4096 Mar 24 17:40 . 17:43:50 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 17:38 .. 17:43:50 -rw-rw-r-- 1 jenkins jenkins 140 Mar 24 17:38 .dockerignore 17:43:50 drwxrwxr-x 8 jenkins jenkins 4096 Mar 24 17:38 .git 17:43:50 drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 17:38 .github 17:43:50 -rw-rw-r-- 1 jenkins jenkins 331 Mar 24 17:38 .gitignore 17:43:50 -rw-rw-r-- 1 jenkins jenkins 41 Mar 24 17:38 .golangci.yml 17:43:50 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 24 17:38 Attribution.txt 17:43:50 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 24 17:38 CHANGELOG.md 17:43:50 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 24 17:38 Dockerfile 17:43:50 -rw-rw-r-- 1 jenkins jenkins 677 Mar 24 17:38 GOVERNANCE.md 17:43:50 -rw-rw-r-- 1 jenkins jenkins 680 Mar 24 17:38 Jenkinsfile 17:43:50 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 24 17:38 LICENSE 17:43:50 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 24 17:38 Makefile 17:43:50 -rw-rw-r-- 1 jenkins jenkins 622 Mar 24 17:38 OWNERS.md 17:43:50 -rw-rw-r-- 1 jenkins jenkins 4045 Mar 24 17:38 README.md 17:43:50 -rw-rw-r-- 1 jenkins jenkins 5 Mar 24 17:36 VERSION 17:43:50 drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 17:38 bin 17:43:50 drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 17:38 cmd 17:43:50 -rw-r--r-- 1 jenkins jenkins 23736 Mar 24 17:43 coverage.out 17:43:50 -rw-rw-r-- 1 jenkins jenkins 3498 Mar 24 17:38 go.mod 17:43:50 -rw-rw-r-- 1 jenkins jenkins 31643 Mar 24 17:38 go.sum 17:43:50 drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 17:38 internal 17:43:50 drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 17:38 simulator 17:43:50 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 17:38 snap 17:43:50 -rw-rw-r-- 1 jenkins jenkins 229 Mar 24 17:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:50 + 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=cd78ed9c9a4a113d2a57620e61604bed81f56a33 --label arch=arm64 --label version=0.0.0 . 17:43:50 Sending build context to Docker daemon 3.401MB 17:43:50 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 17:43:50 Step 2/22 : FROM ${BASE} AS builder 17:43:50 ---> 777a83616ae5 17:43:50 Step 3/22 : ARG ADD_BUILD_TAGS="" 17:43:53 ---> Running in 5d3f26fcac86 17:43:53 Removing intermediate container 5d3f26fcac86 17:43:53 ---> d7394fba5a1e 17:43:53 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:43:53 ---> Running in 9c05537ed7f5 17:43:53 Removing intermediate container 9c05537ed7f5 17:43:53 ---> 0d38a0a23884 17:43:53 Step 5/22 : RUN apk add --update --no-cache make git openssh 17:43:53 ---> Running in 9dd49b698911 17:43:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:43:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:43:56 OK: 270 MiB in 61 packages 17:43:57 Removing intermediate container 9dd49b698911 17:43:57 ---> d5224a1ca4e7 17:43:57 Step 6/22 : WORKDIR /device-modbus-go 17:43:57 ---> Running in e600dcdf68a6 17:43:57 Removing intermediate container e600dcdf68a6 17:43:57 ---> a67ca75b9f32 17:43:57 Step 7/22 : COPY go.mod vendor* ./ 17:43:58 ---> 46a04e58ec34 17:43:58 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:43:58 ---> Running in 91372a8aa0bd 17:44:00 Removing intermediate container 91372a8aa0bd 17:44:00 ---> 44b7fc515047 17:44:00 Step 9/22 : COPY . . 17:44:01 ---> bf7784f4d8e7 17:44:01 Step 10/22 : RUN ${MAKE} 17:44:01 ---> Running in 6c6112636143 17:44:02 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 17:46:09 Removing intermediate container 6c6112636143 17:46:09 ---> 557bb2c244d3 17:46:09 Step 11/22 : FROM alpine:3.17 17:46:09 3.17: Pulling from library/alpine 17:46:09 af6eaf76a39c: Already exists 17:46:09 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 17:46:09 Status: Downloaded newer image for alpine:3.17 17:46:09 ---> d74e625d9115 17:46:09 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 17:46:09 ---> Running in 7973171f2052 17:46:09 Removing intermediate container 7973171f2052 17:46:09 ---> 8011bdf7bea1 17:46:09 Step 13/22 : RUN apk add --update --no-cache dumb-init 17:46:09 ---> Running in d54a5292cd9f 17:46:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:46:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:46:09 (1/1) Installing dumb-init (1.2.5-r2) 17:46:09 Executing busybox-1.35.0-r29.trigger 17:46:09 OK: 8 MiB in 16 packages 17:46:09 Removing intermediate container d54a5292cd9f 17:46:09 ---> 7eef2c08ca14 17:46:09 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 17:46:09 ---> 9c4697cc5f8a 17:46:09 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 17:46:09 ---> 5b3f20ccfefc 17:46:09 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 17:46:09 ---> 86d079896678 17:46:09 Step 17/22 : EXPOSE 59901 17:46:09 ---> Running in 1f7a658ab62c 17:46:09 Removing intermediate container 1f7a658ab62c 17:46:09 ---> 31f7be070ab7 17:46:09 Step 18/22 : ENTRYPOINT ["/device-modbus"] 17:46:09 ---> Running in 998e3a500d87 17:46:10 Removing intermediate container 998e3a500d87 17:46:10 ---> d9a25f487145 17:46:10 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 17:46:10 ---> Running in e6b18bba72da 17:46:10 Removing intermediate container e6b18bba72da 17:46:10 ---> db8b4f220268 17:46:10 Step 20/22 : LABEL arch=arm64 17:46:10 ---> Running in ae708c00bdd0 17:46:10 Removing intermediate container ae708c00bdd0 17:46:10 ---> 242e16819db3 17:46:10 Step 21/22 : LABEL git_sha=cd78ed9c9a4a113d2a57620e61604bed81f56a33 17:46:11 ---> Running in cf811b333d1e 17:46:11 Removing intermediate container cf811b333d1e 17:46:11 ---> cf1a99444c3d 17:46:11 Step 22/22 : LABEL version=0.0.0 17:46:11 ---> Running in 5e146d5c23ef 17:46:11 Removing intermediate container 5e146d5c23ef 17:46:11 ---> 319bf32410dd 17:46:11 [Warning] One or more build-args [ARCH] were not consumed 17:46:11 Successfully built 319bf32410dd 17:46:11 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:46:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:46:12 17:46:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:46:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:46:12 arm64: Pulling from edgex-lftools-log-publisher 17:46:12 8998bd30e6a1: Pulling fs layer 17:46:12 04944245beec: Pulling fs layer 17:46:12 699f458cf7ca: Pulling fs layer 17:46:12 765212b225bb: Pulling fs layer 17:46:12 f23df028b6ca: Pulling fs layer 17:46:12 d65c8cfc05b1: Pulling fs layer 17:46:12 2437ff75d9bd: Pulling fs layer 17:46:12 f23df028b6ca: Waiting 17:46:12 d65c8cfc05b1: Waiting 17:46:12 765212b225bb: Waiting 17:46:12 2437ff75d9bd: Waiting 17:46:12 04944245beec: Verifying Checksum 17:46:12 04944245beec: Download complete 17:46:12 765212b225bb: Verifying Checksum 17:46:12 765212b225bb: Download complete 17:46:12 f23df028b6ca: Download complete 17:46:12 d65c8cfc05b1: Verifying Checksum 17:46:12 d65c8cfc05b1: Download complete 17:46:12 699f458cf7ca: Verifying Checksum 17:46:13 8998bd30e6a1: Verifying Checksum 17:46:13 8998bd30e6a1: Download complete 17:46:15 2437ff75d9bd: Verifying Checksum 17:46:15 2437ff75d9bd: Download complete 17:46:16 8998bd30e6a1: Pull complete 17:46:17 04944245beec: Pull complete 17:46:18 699f458cf7ca: Pull complete 17:46:18 765212b225bb: Pull complete 17:46:19 f23df028b6ca: Pull complete 17:46:19 d65c8cfc05b1: Pull complete 17:46:31 2437ff75d9bd: Pull complete 17:46:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:46:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:46:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:46:32 prd-ubuntu20.04-docker-arm64-4c-16g-5721 does not seem to be running inside a container 17:46:32 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:46:34 $ docker top fe629ce6b1de903e3f0bdd14c680558254411981f4ee66f2cbaf48836ffa218c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:46:35 ---> job-cost.sh 17:46:35 lf-activate-venv: SKIPPING 17:46:35 INFO: No Stack... 17:46:35 INFO: Retrieving Pricing Info for: v3-standard-4 17:46:36 INFO: Archiving Costs [Pipeline] sh 17:46:36 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 17:46:36 + cut -d, -f6 [Pipeline] lock 17:46:36 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-445-1-stack-cost] 17:46:37 Resource [jenkins-edgexfoundry-device-modbus-go-PR-445-1-stack-cost] did not exist. Created. 17:46:37 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-445-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:46:37 /w/workspace/device-modbus-go/1@tmp/durable-ad2cb28b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:46:37 + echo total: 0.10999999940395355 [Pipeline] stash 17:46:37 Warning: overwriting stash ‘stack-cost’ 17:46:37 Stashed 1 file(s) [Pipeline] } 17:46:37 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-445-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:46:37 $ docker stop --time=1 fe629ce6b1de903e3f0bdd14c680558254411981f4ee66f2cbaf48836ffa218c 17:46:39 $ docker rm -f --volumes fe629ce6b1de903e3f0bdd14c680558254411981f4ee66f2cbaf48836ffa218c [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 17:46:40 provisioning config files... 17:46:40 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-445@tmp/config7618607372951558193tmp [Pipeline] { [Pipeline] sh 17:46:40 + set +x 17:46:40 + bash -s -- 17:46:40 + curl -s https://codecov.io/bash 17:46:40 17:46:40 _____ _ 17:46:40 / ____| | | 17:46:40 | | ___ __| | ___ ___ _____ __ 17:46:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:46:40 | |___| (_) | (_| | __/ (_| (_) \ V / 17:46:40 \_____\___/ \__,_|\___|\___\___/ \_/ 17:46:40 Bash-1.0.6 17:46:40 17:46:40 17:46:40 ==> git version 2.25.1 found 17:46:40 ==> 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 17:46:40 Release-Date: 2020-01-08 17:46:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:46:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:46:40 ==> Jenkins CI detected. 17:46:40 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-445 17:46:40 project root: . 17:46:40 --> token set from env 17:46:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:46:40 ==> Running gcov in . (disable via -X gcov) 17:46:40 ==> Python coveragepy not found 17:46:40 ==> Searching for coverage reports in: 17:46:40 + . 17:46:40 -> Found 1 reports 17:46:40 ==> Detecting git/mercurial file structure 17:46:40 ==> Reading reports 17:46:40 + ./coverage.out bytes=23736 17:46:40 ==> Appending adjustments 17:46:40 https://docs.codecov.io/docs/fixing-reports 17:46:40 + Found adjustments 17:46:40 ==> Gzipping contents 17:46:40 4.0K /tmp/codecov.czYxKx.gz 17:46:40 ==> Uploading reports 17:46:40 url: https://codecov.io 17:46:40 query: branch=PR-445&commit=cd78ed9c9a4a113d2a57620e61604bed81f56a33&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-445%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=445&job=&cmd_args= 17:46:40 -> Pinging Codecov 17:46:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-445&commit=cd78ed9c9a4a113d2a57620e61604bed81f56a33&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-445%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=445&job=&cmd_args= 17:46:41 -> Uploading to 17:46:41 https://storage.googleapis.com/codecov/v4/raw/2023-03-24/55DBCA73C666E3227836607328DD7E49/cd78ed9c9a4a113d2a57620e61604bed81f56a33/74ac7f08-ad2e-4c7e-b0a6-7a6e8394f79d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230324%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230324T174641Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e7291bab62154633a3c70994414e73d21965cd30c59f35e89ba51fe5d14ed24c 17:46:41 % Total % Received % Xferd Average Speed Time Time Time Current 17:46:41 Dload Upload Total Spent Left Speed 17:46:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3886 0 0 100 3886 0 17583 --:--:-- --:--:-- --:--:-- 17504 100 3886 0 0 100 3886 0 15359 --:--:-- --:--:-- --:--:-- 15359 17:46:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/cd78ed9c9a4a113d2a57620e61604bed81f56a33 [Pipeline] } 17:46:41 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:46:43 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-445/archives ] 17:46:43 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-445/archives 17:46:43 total 16 17:46:43 drwxr-xr-x 3 root root 4096 Mar 24 17:38 . 17:46:43 drwxrwxr-x 11 jenkins jenkins 4096 Mar 24 17:38 .. 17:46:43 drwxr-xr-x 2 root root 4096 Mar 24 17:38 cost 17:46:43 -rw-r--r-- 1 root root 88 Mar 24 17:38 cost.csv 17:46:43 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-445/archives 17:46:43 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-445/archives 17:46:43 total 16 17:46:43 drwxr-xr-x 3 jenkins jenkins 4096 Mar 24 17:38 . 17:46:43 drwxrwxr-x 11 jenkins jenkins 4096 Mar 24 17:38 .. 17:46:43 drwxr-xr-x 2 jenkins jenkins 4096 Mar 24 17:38 cost 17:46:43 -rw-r--r-- 1 jenkins jenkins 88 Mar 24 17:38 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:46:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:46:44 ---> package-listing.sh 17:46:44 ++ facter osfamily 17:46:44 ++ tr '[:upper:]' '[:lower:]' 17:46:44 + OS_FAMILY=debian 17:46:44 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-445 17:46:44 + START_PACKAGES=/tmp/packages_start.txt 17:46:44 + END_PACKAGES=/tmp/packages_end.txt 17:46:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:46:44 + PACKAGES=/tmp/packages_start.txt 17:46:44 + '[' /w/workspace/xfoundry_device-modbus-go_PR-445 ']' 17:46:44 + PACKAGES=/tmp/packages_end.txt 17:46:44 + case "${OS_FAMILY}" in 17:46:44 + dpkg -l 17:46:44 + grep '^ii' 17:46:44 + '[' -f /tmp/packages_start.txt ']' 17:46:44 + '[' -f /tmp/packages_end.txt ']' 17:46:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:46:44 + '[' /w/workspace/xfoundry_device-modbus-go_PR-445 ']' 17:46:44 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-445/archives/ 17:46:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-445/archives/ [Pipeline] echo 17:46:44 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-445/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:46:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:46:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:46:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:46:45 prd-ubuntu20.04-docker-8c-8g-5720 does not seem to be running inside a container 17:46:45 $ 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-445/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-445 -v /w/workspace/xfoundry_device-modbus-go_PR-445:/w/workspace/xfoundry_device-modbus-go_PR-445:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-445@tmp:/w/workspace/xfoundry_device-modbus-go_PR-445@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:46:46 $ docker top 8e0986f4735d510928eea20e3041e01dc5e9738d5b313c08289450fc42482b4b -eo pid,comm [Pipeline] { [Pipeline] sh 17:46:46 + touch /tmp/pre-build-complete [Pipeline] sh 17:46:46 + mkdir -p /var/log/sysstat [Pipeline] sh 17:46:47 + ls /var/log/sa-host 17:46:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:46:47 provisioning config files... 17:46:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-445@tmp/config6082015983798333270tmp [Pipeline] { [Pipeline] echo 17:46:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:46:47 ---> create-netrc.sh [Pipeline] } 17:46:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:46:48 ---> python-tools-install.sh [Pipeline] echo 17:46:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:46:48 ---> sudo-logs.sh 17:46:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:46:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:46:48 ---> job-cost.sh 17:46:48 lf-activate-venv: SKIPPING 17:46:48 DEBUG: total: 0.2199999988079071 17:46:48 INFO: Retrieving Stack Cost... 17:46:49 INFO: Retrieving Pricing Info for: v3-standard-8 17:46:49 INFO: Archiving Costs [Pipeline] echo 17:46:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:46:50 ---> logs-deploy.sh 17:46:50 lf-activate-venv: SKIPPING 17:46:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-445/1 17:46:50 INFO: archiving workspace using pattern(s): 17:46:50 Archives upload complete. 17:46:50 INFO: archiving logs to Nexus