Pull request #543 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7a16a30981256d43cd88b2659f57216273c2bcdc+6a31340a17bb85717be07a58e1963d28cb67ceec (3dee4e785fc9c2c7b0d9f6e4109468ccb270de4d) 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-ssh14099453492941102441.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12492859711472820237.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh 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-543/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-543/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14770575556602106482.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-543/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12674217468476872743.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh14813825672877927204.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-543/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-543/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7899092027216511180.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5421 in /w/workspace/xfoundry_device-modbus-go_PR-543 [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-543 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 6a31340a17bb85717be07a58e1963d28cb67ceec into PR head commit 7a16a30981256d43cd88b2659f57216273c2bcdc Merge succeeded, producing 7a16a30981256d43cd88b2659f57216273c2bcdc Checking out Revision 7a16a30981256d43cd88b2659f57216273c2bcdc (PR-543) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } > 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/543/head:refs/remotes/origin/PR-543 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7a16a30981256d43cd88b2659f57216273c2bcdc # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6a31340a17bb85717be07a58e1963d28cb67ceec # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7a16a30981256d43cd88b2659f57216273c2bcdc # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:11:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:11:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:11:49 ========================================================= 05:11:49 EdgeX Global Pipelines Version Info 05:11:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:11:50 ------------------- 05:11:50 stable info: 05:11:50 ------------------- 05:11:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:11:50 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 05:11:50 Message: update stable to v1.0.258 05:11:51 ------------------- 05:11:51 experimental info: 05:11:51 ------------------- 05:11:51 Commited By: **** collab-it+edgex@linuxfoundation.org 05:11:51 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 05:11:51 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:11:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:11:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:11:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:11:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:11:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:11:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 05:11:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:11:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:11:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:11:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:11:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:11:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:11:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:11:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:11:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:11:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:11:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:11:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:11:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:11:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:11:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:11:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:11:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:11:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:11:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:11:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:11:53 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:11:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-543 [Pipeline] echo 05:11:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-543 [Pipeline] echo 05:11:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-543 [Pipeline] echo 05:11:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7a16a30981256d43cd88b2659f57216273c2bcdc [Pipeline] echo 05:11:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7a16a30 [Pipeline] echo 05:11:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:11:53 provisioning config files... 05:11:53 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-543@tmp/config1645182778764299679tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:11:54 ---> ****-login.sh 05:11:54 nexus3.edgexfoundry.org:10001 05:11:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:11:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:11:54 Configure a credential helper to remove this warning. See 05:11:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:11:54 05:11:54 Login Succeeded 05:11:54 nexus3.edgexfoundry.org:10002 05:11:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:11:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:11:54 Configure a credential helper to remove this warning. See 05:11:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:11:54 05:11:54 Login Succeeded 05:11:54 nexus3.edgexfoundry.org:10003 05:11:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:11:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:11:54 Configure a credential helper to remove this warning. See 05:11:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:11:54 05:11:54 Login Succeeded 05:11:54 nexus3.edgexfoundry.org:10004 05:11:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:11:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:11:55 Configure a credential helper to remove this warning. See 05:11:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:11:55 05:11:55 Login Succeeded 05:11:55 ****.io 05:11:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:11:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:11:55 Configure a credential helper to remove this warning. See 05:11:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:11:55 05:11:55 Login Succeeded 05:11:55 ---> ****-login.sh ends [Pipeline] } 05:11:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:11:56 + git rev-list -1 --merges 7a16a30981256d43cd88b2659f57216273c2bcdc~1..7a16a30981256d43cd88b2659f57216273c2bcdc [Pipeline] echo 05:11:56 -----------> git rev-list -1 --merges 7a16a30981256d43cd88b2659f57216273c2bcdc~1..7a16a30981256d43cd88b2659f57216273c2bcdc 7a16a30981256d43cd88b2659f57216273c2bcdc [false] [Pipeline] sh 05:11:56 + git log --format=format:%s -1 7a16a30981256d43cd88b2659f57216273c2bcdc [Pipeline] echo 05:11:56 ========================================================= 05:11:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:11:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:11:57 + git log --format=format:%s -1 7a16a30981256d43cd88b2659f57216273c2bcdc [Pipeline] echo 05:11:57 [semverPrep] GIT_COMMIT: 7a16a30981256d43cd88b2659f57216273c2bcdc, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:11:57 [semverPrep] This is not a build commit. [Pipeline] sh 05:11:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:11:57 + grep -v github /etc/ssh/ssh_known_hosts 05:11:57 + [ -e /tmp/ssh_known_hosts ] 05:11:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:11:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:11:57 + sudo tee -a /etc/ssh/ssh_known_hosts 05:11:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:11:58 05:11:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:11:58 0.1.4: Pulling from edgex-devops/py-git-semver 05:11:58 b85a868b505f: Pulling fs layer 05:11:58 e2be974225ed: Pulling fs layer 05:11:58 339a4e72a1f5: Pulling fs layer 05:11:58 988bab9f4d93: Pulling fs layer 05:11:58 1469e6f7b9e6: Pulling fs layer 05:11:58 eaf3925da568: Pulling fs layer 05:11:58 bab4dde63d76: Pulling fs layer 05:11:58 bde34c3a00c8: Pulling fs layer 05:11:58 b352a97aabf1: Pulling fs layer 05:11:58 4872d77fe225: Pulling fs layer 05:11:58 5851b861e8e6: Pulling fs layer 05:11:58 eaf3925da568: Waiting 05:11:58 bab4dde63d76: Waiting 05:11:58 988bab9f4d93: Waiting 05:11:58 1469e6f7b9e6: Waiting 05:11:58 b352a97aabf1: Waiting 05:11:58 4872d77fe225: Waiting 05:11:58 bde34c3a00c8: Waiting 05:11:58 e2be974225ed: Verifying Checksum 05:11:58 e2be974225ed: Download complete 05:11:58 988bab9f4d93: Download complete 05:11:58 1469e6f7b9e6: Verifying Checksum 05:11:58 1469e6f7b9e6: Download complete 05:11:58 eaf3925da568: Verifying Checksum 05:11:58 eaf3925da568: Download complete 05:11:59 339a4e72a1f5: Verifying Checksum 05:11:59 339a4e72a1f5: Download complete 05:11:59 bde34c3a00c8: Download complete 05:11:59 b352a97aabf1: Download complete 05:11:59 4872d77fe225: Download complete 05:11:59 5851b861e8e6: Download complete 05:11:59 b85a868b505f: Verifying Checksum 05:11:59 b85a868b505f: Download complete 05:11:59 bab4dde63d76: Verifying Checksum 05:11:59 bab4dde63d76: Download complete 05:12:00 b85a868b505f: Pull complete 05:12:00 e2be974225ed: Pull complete 05:12:00 339a4e72a1f5: Pull complete 05:12:01 988bab9f4d93: Pull complete 05:12:01 1469e6f7b9e6: Pull complete 05:12:01 eaf3925da568: Pull complete 05:12:03 bab4dde63d76: Pull complete 05:12:03 bde34c3a00c8: Pull complete 05:12:03 b352a97aabf1: Pull complete 05:12:03 4872d77fe225: Pull complete 05:12:03 5851b861e8e6: Pull complete 05:12:03 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:12:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:12:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:12:03 prd-ubuntu20.04-docker-8c-8g-5421 does not seem to be running inside a container 05:12:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-543 -v /w/workspace/xfoundry_device-modbus-go_PR-543:/w/workspace/xfoundry_device-modbus-go_PR-543:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-543@tmp:/w/workspace/xfoundry_device-modbus-go_PR-543@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:12:07 $ docker top de321bb13d1f9278a9f4bb3f3a9d959a611177674b438ed76395c110cf2974c4 -eo pid,comm 05:12:07 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:12:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:12:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:12:07 [ssh-agent] Looking for ssh-agent implementation... 05:12:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:12:07 $ docker exec de321bb13d1f9278a9f4bb3f3a9d959a611177674b438ed76395c110cf2974c4 ssh-agent 05:12:07 SSH_AUTH_SOCK=/tmp/ssh-zq4avUohHGcL/agent.31 05:12:07 SSH_AGENT_PID=38 05:12:07 Running ssh-add (command line suppressed) 05:12:08 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-543@tmp/private_key_7013131994202135186.key (/w/workspace/xfoundry_device-modbus-go_PR-543@tmp/private_key_7013131994202135186.key) 05:12:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:12:08 + git tag --points-at HEAD [Pipeline] } 05:12:08 $ docker exec --env ******** --env ******** de321bb13d1f9278a9f4bb3f3a9d959a611177674b438ed76395c110cf2974c4 ssh-agent -k 05:12:08 unset SSH_AUTH_SOCK; 05:12:08 unset SSH_AGENT_PID; 05:12:08 echo Agent pid 38 killed; 05:12:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:12:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:12:08 [ssh-agent] Looking for ssh-agent implementation... 05:12:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:12:08 $ docker exec de321bb13d1f9278a9f4bb3f3a9d959a611177674b438ed76395c110cf2974c4 ssh-agent 05:12:09 SSH_AUTH_SOCK=/tmp/ssh-0F2e1eUrvOJ0/agent.70 05:12:09 SSH_AGENT_PID=76 05:12:09 Running ssh-add (command line suppressed) 05:12:09 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-543@tmp/private_key_16733830717714125029.key (/w/workspace/xfoundry_device-modbus-go_PR-543@tmp/private_key_16733830717714125029.key) 05:12:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:12:09 + git semver init 05:12:09 2024-03-11 05:12:09,708 [run_init] DEBUG init version:0.0.0 force:False 05:12:09 2024-03-11 05:12:09,709 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-543/.semver 05:12:09 2024-03-11 05:12:09,709 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-543/.semver 05:12:09 2024-03-11 05:12:09,710 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-543/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-543, universal_newlines=False, shell=None, istream=None) 05:12:11 2024-03-11 05:12:10,872 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-543/.git/info/exclude 05:12:11 2024-03-11 05:12:10,873 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-543/.semver/PR-543 with force:False 05:12:11 2024-03-11 05:12:10,873 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-543/.semver/PR-543 05:12:11 2024-03-11 05:12:10,878 [execute] INFO git cat-file --batch-check 05:12:11 2024-03-11 05:12:10,878 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-543/.semver, universal_newlines=False, shell=None, istream=) 05:12:11 2024-03-11 05:12:10,884 [execute] INFO git cat-file --batch 05:12:11 2024-03-11 05:12:10,884 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-543/.semver, universal_newlines=False, shell=None, istream=) 05:12:11 2024-03-11 05:12:10,889 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-543/.semver/PR-543 05:12:11 0.0.0 [Pipeline] } 05:12:11 $ docker exec --env ******** --env ******** de321bb13d1f9278a9f4bb3f3a9d959a611177674b438ed76395c110cf2974c4 ssh-agent -k 05:12:11 unset SSH_AUTH_SOCK; 05:12:11 unset SSH_AGENT_PID; 05:12:11 echo Agent pid 76 killed; 05:12:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:12:11 + git semver [Pipeline] } 05:12:12 $ docker stop --time=1 de321bb13d1f9278a9f4bb3f3a9d959a611177674b438ed76395c110cf2974c4 05:12:13 $ docker rm -f --volumes de321bb13d1f9278a9f4bb3f3a9d959a611177674b438ed76395c110cf2974c4 [Pipeline] // withDockerContainer [Pipeline] sh 05:12:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:12:14 Stashed 1 file(s) [Pipeline] echo 05:12:14 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:12:15 provisioning config files... 05:12:15 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-543@tmp/config10246391845679311362tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:12:15 ---> ****-login.sh 05:12:15 nexus3.edgexfoundry.org:10001 05:12:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:12:15 Configure a credential helper to remove this warning. See 05:12:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:12:15 05:12:15 Login Succeeded 05:12:15 nexus3.edgexfoundry.org:10002 05:12:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:12:15 Configure a credential helper to remove this warning. See 05:12:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:12:15 05:12:15 Login Succeeded 05:12:15 nexus3.edgexfoundry.org:10003 05:12:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:12:15 Configure a credential helper to remove this warning. See 05:12:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:12:15 05:12:15 Login Succeeded 05:12:15 nexus3.edgexfoundry.org:10004 05:12:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:12:15 Configure a credential helper to remove this warning. See 05:12:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:12:15 05:12:15 Login Succeeded 05:12:15 ****.io 05:12:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:12:16 Configure a credential helper to remove this warning. See 05:12:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:12:16 05:12:16 Login Succeeded 05:12:16 ---> ****-login.sh ends [Pipeline] } 05:12:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:12:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:12:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:12:16 ========================================================= 05:12:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 05:12:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:17 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 05:12:17 Sending build context to Docker daemon 17.3MB 05:12:17 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:12:17 Step 2/10 : FROM ${BASE} AS builder 05:12:17 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 05:12:17 7264a8db6415: Pulling fs layer 05:12:17 c4d48a809fc2: Pulling fs layer 05:12:17 4f1c88b9dad5: Pulling fs layer 05:12:17 ad3a456e5733: Pulling fs layer 05:12:17 69c7f0334f64: Pulling fs layer 05:12:17 1f1c1a5573a3: Pulling fs layer 05:12:17 ce7588e14bc9: Pulling fs layer 05:12:17 b5e4710f87ac: Pulling fs layer 05:12:17 1f1c1a5573a3: Waiting 05:12:17 ce7588e14bc9: Waiting 05:12:17 ad3a456e5733: Waiting 05:12:17 b5e4710f87ac: Waiting 05:12:17 69c7f0334f64: Waiting 05:12:17 c4d48a809fc2: Verifying Checksum 05:12:17 c4d48a809fc2: Download complete 05:12:17 ad3a456e5733: Download complete 05:12:17 69c7f0334f64: Verifying Checksum 05:12:17 69c7f0334f64: Download complete 05:12:17 7264a8db6415: Download complete 05:12:17 1f1c1a5573a3: Verifying Checksum 05:12:17 1f1c1a5573a3: Download complete 05:12:18 b5e4710f87ac: Verifying Checksum 05:12:18 b5e4710f87ac: Download complete 05:12:18 7264a8db6415: Pull complete 05:12:18 4f1c88b9dad5: Verifying Checksum 05:12:18 4f1c88b9dad5: Download complete 05:12:18 c4d48a809fc2: Pull complete 05:12:18 ce7588e14bc9: Verifying Checksum 05:12:18 ce7588e14bc9: Download complete 05:12:22 4f1c88b9dad5: Pull complete 05:12:22 ad3a456e5733: Pull complete 05:12:22 69c7f0334f64: Pull complete 05:12:22 1f1c1a5573a3: Pull complete 05:12:24 ce7588e14bc9: Pull complete 05:12:25 b5e4710f87ac: Pull complete 05:12:25 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 05:12:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 05:12:25 ---> 88b5674ff536 05:12:25 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:12:29 Still waiting to schedule task 05:12:29 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:12:30 ---> Running in 62dd8d576f16 05:12:30 Removing intermediate container 62dd8d576f16 05:12:30 ---> 0ab85780c06f 05:12:30 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:12:30 ---> Running in 7d1f29111e80 05:12:30 Removing intermediate container 7d1f29111e80 05:12:30 ---> ce71fffaf406 05:12:30 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:12:30 ---> Running in e21501a03cf0 05:12:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:12:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:12:30 (1/8) Installing openssh-keygen (9.3_p2-r1) 05:12:30 (2/8) Installing libedit (20221030.3.1-r1) 05:12:30 (3/8) Installing openssh-client-common (9.3_p2-r1) 05:12:30 (4/8) Installing openssh-client-default (9.3_p2-r1) 05:12:30 (5/8) Installing openssh-sftp-server (9.3_p2-r1) 05:12:30 (6/8) Installing openssh-server-common (9.3_p2-r1) 05:12:30 (7/8) Installing openssh-server (9.3_p2-r1) 05:12:30 (8/8) Installing openssh (9.3_p2-r1) 05:12:30 Executing busybox-1.36.1-r5.trigger 05:12:30 OK: 270 MiB in 60 packages 05:12:31 Removing intermediate container e21501a03cf0 05:12:31 ---> b161a6fe0c48 05:12:31 Step 6/10 : WORKDIR /device-modbus-go 05:12:31 ---> Running in 1637e35dda4d 05:12:31 Removing intermediate container 1637e35dda4d 05:12:31 ---> 5e2b9e680d7c 05:12:31 Step 7/10 : COPY go.mod vendor* ./ 05:12:31 ---> c10335e9cbe3 05:12:31 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:12:31 ---> Running in ce40b28d30b1 05:13:10 Removing intermediate container ce40b28d30b1 05:13:10 ---> 8cea1d4c7c35 05:13:10 Step 9/10 : COPY . . 05:13:10 ---> 051205dc78c9 05:13:10 Step 10/10 : RUN ${MAKE} 05:13:10 ---> Running in 4ad091d77c80 05:13:10 noop 05:13:10 Removing intermediate container 4ad091d77c80 05:13:10 ---> f9bc13bbfb9c 05:13:10 Successfully built f9bc13bbfb9c 05:13:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:10 + docker inspect -f . ci-base-image-x86_64 05:13:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:13:10 prd-ubuntu20.04-docker-8c-8g-5421 does not seem to be running inside a container 05:13:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-543 -v /w/workspace/xfoundry_device-modbus-go_PR-543:/w/workspace/xfoundry_device-modbus-go_PR-543:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-543@tmp:/w/workspace/xfoundry_device-modbus-go_PR-543@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:13:11 $ docker top d695ebdb090a67e95e290a8c5c184a3f9731f4f7f1a5e08a26d91ff582cdaeff -eo pid,comm [Pipeline] { [Pipeline] sh 05:13:11 + go version 05:13:11 go version go1.21.0 linux/amd64 [Pipeline] } 05:13:11 $ docker stop --time=1 d695ebdb090a67e95e290a8c5c184a3f9731f4f7f1a5e08a26d91ff582cdaeff 05:13:13 $ docker rm -f --volumes d695ebdb090a67e95e290a8c5c184a3f9731f4f7f1a5e08a26d91ff582cdaeff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:14 + docker inspect -f . ci-base-image-x86_64 05:13:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:13:14 prd-ubuntu20.04-docker-8c-8g-5421 does not seem to be running inside a container 05:13:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-543 -v /w/workspace/xfoundry_device-modbus-go_PR-543:/w/workspace/xfoundry_device-modbus-go_PR-543:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-543@tmp:/w/workspace/xfoundry_device-modbus-go_PR-543@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:13:14 $ docker top 35826b81b48b7b132ef8030b7a295d13c822b6aedbb8938a602489a7f9785aa2 -eo pid,comm [Pipeline] { [Pipeline] sh 05:13:15 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-543 [Pipeline] fileExists [Pipeline] sh 05:13:15 + make test 05:13:15 go test ./... -coverprofile=coverage.out 05:13:17 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:13:27 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:13:27 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.009s coverage: 47.9% of statements 05:13:33 go vet ./... 05:13:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:13:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:13:37 ./bin/test-attribution-txt.sh 05:13:37 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 05:13:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:13:37 $ docker stop --time=1 35826b81b48b7b132ef8030b7a295d13c822b6aedbb8938a602489a7f9785aa2 05:13:41 $ docker rm -f --volumes 35826b81b48b7b132ef8030b7a295d13c822b6aedbb8938a602489a7f9785aa2 [Pipeline] // withDockerContainer [Pipeline] sh 05:13:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:13:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:13:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:13:42 + ls -al . 05:13:42 total 192 05:13:42 drwxrwxr-x 9 jenkins jenkins 4096 Mar 11 05:13 . 05:13:42 drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 05:11 .. 05:13:42 -rw-rw-r-- 1 jenkins jenkins 140 Mar 11 05:11 .dockerignore 05:13:42 drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 05:13 .git 05:13:42 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 05:11 .github 05:13:42 -rw-rw-r-- 1 jenkins jenkins 266 Mar 11 05:11 .gitignore 05:13:42 -rw-rw-r-- 1 jenkins jenkins 41 Mar 11 05:11 .golangci.yml 05:13:42 drwxr-xr-x 3 jenkins jenkins 4096 Mar 11 05:12 .semver 05:13:42 -rw-rw-r-- 1 jenkins jenkins 11101 Mar 11 05:11 Attribution.txt 05:13:42 -rw-rw-r-- 1 jenkins jenkins 16388 Mar 11 05:11 CHANGELOG.md 05:13:42 -rw-rw-r-- 1 jenkins jenkins 1474 Mar 11 05:11 Dockerfile 05:13:42 -rw-rw-r-- 1 jenkins jenkins 677 Mar 11 05:11 GOVERNANCE.md 05:13:42 -rw-rw-r-- 1 jenkins jenkins 658 Mar 11 05:11 Jenkinsfile 05:13:42 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 11 05:11 LICENSE 05:13:42 -rw-rw-r-- 1 jenkins jenkins 1942 Mar 11 05:11 Makefile 05:13:42 -rw-rw-r-- 1 jenkins jenkins 622 Mar 11 05:11 OWNERS.md 05:13:42 -rw-rw-r-- 1 jenkins jenkins 4463 Mar 11 05:11 README.md 05:13:42 -rw-rw-r-- 1 jenkins jenkins 5 Mar 11 05:12 VERSION 05:13:42 drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 05:11 bin 05:13:42 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 05:11 cmd 05:13:42 -rw-r--r-- 1 jenkins jenkins 24334 Mar 11 05:13 coverage.out 05:13:42 -rw-rw-r-- 1 jenkins jenkins 3987 Mar 11 05:11 go.mod 05:13:42 -rw-rw-r-- 1 jenkins jenkins 36558 Mar 11 05:11 go.sum 05:13:42 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 05:11 internal 05:13:42 drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 05:11 simulator 05:13:42 -rw-rw-r-- 1 jenkins jenkins 229 Mar 11 05:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:43 + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=7a16a30981256d43cd88b2659f57216273c2bcdc --label arch=amd64 --label version=0.0.0 . 05:13:43 Sending build context to Docker daemon 17.33MB 05:13:43 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 05:13:43 Step 2/23 : FROM ${BASE} AS builder 05:13:43 ---> f9bc13bbfb9c 05:13:43 Step 3/23 : ARG ADD_BUILD_TAGS="" 05:13:43 ---> Running in 94b2357b0955 05:13:43 Removing intermediate container 94b2357b0955 05:13:43 ---> 1bdce614a2e5 05:13:43 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:13:43 ---> Running in ed529ac02d47 05:13:43 Removing intermediate container ed529ac02d47 05:13:43 ---> 2e6be1aeae2b 05:13:43 Step 5/23 : RUN apk add --update --no-cache make git openssh 05:13:43 ---> Running in 817ad9736d9b 05:13:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:13:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:13:44 OK: 270 MiB in 60 packages 05:13:44 Removing intermediate container 817ad9736d9b 05:13:44 ---> a707c019781a 05:13:44 Step 6/23 : WORKDIR /device-modbus-go 05:13:45 ---> Running in 3f9ff2a1e180 05:13:45 Removing intermediate container 3f9ff2a1e180 05:13:45 ---> 093ea807c732 05:13:45 Step 7/23 : COPY go.mod vendor* ./ 05:13:45 ---> 504a37b5f1e0 05:13:45 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:13:45 ---> Running in 543931f22f21 05:13:46 Removing intermediate container 543931f22f21 05:13:46 ---> cf40e6d5590f 05:13:46 Step 9/23 : COPY . . 05:13:46 ---> fceb7279989a 05:13:46 Step 10/23 : RUN ${MAKE} 05:13:46 ---> Running in 88a711733e53 05:13:47 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.10" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 05:13:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5422 in /w/workspace/xfoundry_device-modbus-go_PR-543 [Pipeline] { [Pipeline] ws 05:14:00 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 05:14:00 Selected Git installation does not exist. Using Default 05:14:00 The recommended git tool is: NONE 05:14:05 using credential edgex-jenkins-ssh 05:14:05 Cloning the remote Git repository 05:14:05 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:14:05 > git init /w/workspace/device-modbus-go/1 # timeout=10 05:14:05 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:14:05 > git --version # timeout=10 05:14:05 > git --version # 'git version 2.25.1' 05:14:05 using GIT_SSH to set credentials SSH Credentials for GitHub 05:14:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:14:08 Removing intermediate container 88a711733e53 05:14:08 ---> 2388e65cd837 05:14:08 Step 11/23 : FROM alpine:3.18 05:14:08 3.18: Pulling from library/alpine 05:14:08 619be1103602: Pulling fs layer 05:14:08 619be1103602: Verifying Checksum 05:14:08 619be1103602: Download complete 05:14:08 619be1103602: Pull complete 05:14:08 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 05:14:08 Status: Downloaded newer image for alpine:3.18 05:14:08 ---> d3782b16ccc9 05:14:08 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:14:08 ---> Running in 35508454a536 05:14:08 Removing intermediate container 35508454a536 05:14:08 ---> 2d6eff2b1e9a 05:14:08 Step 13/23 : RUN apk add --update --no-cache dumb-init 05:14:08 ---> Running in b864f819582e 05:14:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:14:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:14:08 (1/1) Installing dumb-init (1.2.5-r2) 05:14:08 Executing busybox-1.36.1-r5.trigger 05:14:08 OK: 7 MiB in 16 packages 05:14:08 Removing intermediate container b864f819582e 05:14:08 ---> c7e093864a52 05:14:08 Step 14/23 : RUN apk --no-cache upgrade 05:14:08 ---> Running in 60263980ea98 05:14:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:14:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:14:08 OK: 7 MiB in 16 packages 05:14:07 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:14:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:14:08 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:14:08 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:14:08 using GIT_SSH to set credentials SSH Credentials for GitHub 05:14:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/543/head:refs/remotes/origin/PR-543 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:14:09 Removing intermediate container 60263980ea98 05:14:09 ---> 77cd566fe508 05:14:09 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:14:09 Merging remotes/origin/main commit 6a31340a17bb85717be07a58e1963d28cb67ceec into PR head commit 7a16a30981256d43cd88b2659f57216273c2bcdc 05:14:09 Merge succeeded, producing 7a16a30981256d43cd88b2659f57216273c2bcdc 05:14:09 Checking out Revision 7a16a30981256d43cd88b2659f57216273c2bcdc (PR-543) 05:14:09 ---> c3d2d0648c6c 05:14:09 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:14:10 ---> da8164190ce5 05:14:10 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:14:10 ---> 05507e1c36f0 05:14:10 Step 18/23 : EXPOSE 59901 05:14:10 ---> Running in c20d76857fb0 05:14:10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 05:14:10 > git --version # timeout=10 05:14:10 > git --version # 'git version 2.25.1' 05:14:10 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 05:14:10 Removing intermediate container c20d76857fb0 05:14:10 ---> 1caf17af04be 05:14:10 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:14:10 ---> Running in 91a5af482035 05:14:10 Removing intermediate container 91a5af482035 05:14:10 ---> 8939d8bc4f54 05:14:10 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:14:10 ---> Running in a17e82db647b 05:14:10 Removing intermediate container a17e82db647b 05:14:10 ---> d3a0960e0545 05:14:10 Step 21/23 : LABEL arch=amd64 05:14:10 ---> Running in a995c780b7d2 05:14:09 > git config core.sparsecheckout # timeout=10 05:14:09 > git checkout -f 7a16a30981256d43cd88b2659f57216273c2bcdc # timeout=10 05:14:09 > git remote # timeout=10 05:14:09 > git config --get remote.origin.url # timeout=10 05:14:09 using GIT_SSH to set credentials SSH Credentials for GitHub 05:14:09 > git merge 6a31340a17bb85717be07a58e1963d28cb67ceec # timeout=10 05:14:09 > git rev-parse HEAD^{commit} # timeout=10 05:14:09 > git config core.sparsecheckout # timeout=10 05:14:09 > git checkout -f 7a16a30981256d43cd88b2659f57216273c2bcdc # timeout=10 05:14:10 Removing intermediate container a995c780b7d2 05:14:10 ---> f57496b16ef4 05:14:10 Step 22/23 : LABEL git_sha=7a16a30981256d43cd88b2659f57216273c2bcdc 05:14:10 ---> Running in 61c83b302fa2 05:14:10 Removing intermediate container 61c83b302fa2 05:14:10 ---> b216174092b2 05:14:10 Step 23/23 : LABEL version=0.0.0 05:14:10 ---> Running in c2282a721e75 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 05:14:10 Removing intermediate container c2282a721e75 05:14:10 ---> ec6f84bc8f20 05:14:10 [Warning] One or more build-args [ARCH] were not consumed 05:14:10 Successfully built ec6f84bc8f20 05:14:10 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] sh Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional 05:14:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:14:11 % Total % Received % Xferd Average Speed Time Time Time Current 05:14:11 Dload Upload Total Spent Left Speed 05:14:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] } [Pipeline] // stage Post stage [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:14:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:14:12 05:14:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:12 + sudo tee /etc/docker/daemon.new 05:14:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:14:12 { 05:14:12 "registry-mirrors": [ 05:14:12 "https://nexus3.edgexfoundry.org:10001" 05:14:12 ], 05:14:12 "bip": "10.250.0.254/24", 05:14:12 "hosts": [ 05:14:12 "tcp://0.0.0.0:5555", 05:14:12 "unix:///var/run/docker.sock" 05:14:12 ], 05:14:12 "mtu": 1458, 05:14:12 "selinux-enabled": true, 05:14:12 "seccomp-profile": "/etc/docker/seccomp.json" 05:14:12 } [Pipeline] sh 05:14:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:14:12 latest: Pulling from edgex-lftools-log-publisher 05:14:12 5eb5b503b376: Pulling fs layer 05:14:12 5c69ac0246d0: Pulling fs layer 05:14:12 ec43610c2a17: Pulling fs layer 05:14:12 3a2ae6a8a46f: Pulling fs layer 05:14:12 33b1e0a273af: Pulling fs layer 05:14:12 5d3b04190fa2: Pulling fs layer 05:14:12 2f39f015ded8: Pulling fs layer 05:14:12 3a2ae6a8a46f: Waiting 05:14:12 33b1e0a273af: Waiting 05:14:12 5d3b04190fa2: Waiting 05:14:12 2f39f015ded8: Waiting 05:14:12 5c69ac0246d0: Verifying Checksum 05:14:12 5c69ac0246d0: Download complete 05:14:12 3a2ae6a8a46f: Verifying Checksum 05:14:12 3a2ae6a8a46f: Download complete 05:14:12 33b1e0a273af: Verifying Checksum 05:14:12 33b1e0a273af: Download complete 05:14:12 5d3b04190fa2: Verifying Checksum 05:14:12 5d3b04190fa2: Download complete 05:14:12 ec43610c2a17: Download complete 05:14:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:14:13 5eb5b503b376: Verifying Checksum 05:14:13 5eb5b503b376: Download complete 05:14:13 + sudo service docker restart 05:14:13 2f39f015ded8: Download complete 05:14:14 5eb5b503b376: Pull complete 05:14:14 5c69ac0246d0: Pull complete 05:14:14 ec43610c2a17: Pull complete 05:14:14 3a2ae6a8a46f: Pull complete 05:14:15 33b1e0a273af: Pull complete 05:14:15 5d3b04190fa2: Pull complete 05:14:19 2f39f015ded8: Pull complete 05:14:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:14:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:14:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:14:19 prd-ubuntu20.04-docker-8c-8g-5421 does not seem to be running inside a container 05:14:19 $ 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-543 -v /w/workspace/xfoundry_device-modbus-go_PR-543:/w/workspace/xfoundry_device-modbus-go_PR-543:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-543@tmp:/w/workspace/xfoundry_device-modbus-go_PR-543@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:14:24 $ docker top e652ff53c3d6f6b8009f7a74eb7312a359da6e474fee6d253973e22f9cec8c7e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:14:24 ---> job-cost.sh 05:14:24 lf-activate-venv: SKIPPING 05:14:24 INFO: No Stack... 05:14:25 INFO: Retrieving Pricing Info for: v3-standard-8 05:14:25 INFO: Archiving Costs [Pipeline] sh 05:14:25 + cat /w/workspace/xfoundry_device-modbus-go_PR-543/archives/cost.csv 05:14:25 + cut -d, -f6 [Pipeline] lock 05:14:25 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-543-1-stack-cost] 05:14:25 Resource [jenkins-edgexfoundry-device-modbus-go-PR-543-1-stack-cost] did not exist. Created. 05:14:25 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-543-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:14:26 + echo total: 0.2199999988079071 [Pipeline] stash 05:14:26 Stashed 1 file(s) [Pipeline] } 05:14:26 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-543-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:14:26 $ docker stop --time=1 e652ff53c3d6f6b8009f7a74eb7312a359da6e474fee6d253973e22f9cec8c7e 05:14:27 $ docker rm -f --volumes e652ff53c3d6f6b8009f7a74eb7312a359da6e474fee6d253973e22f9cec8c7e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:14:31 provisioning config files... 05:14:31 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config18032458711285956053tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:14:32 ---> ****-login.sh 05:14:32 nexus3.edgexfoundry.org:10001 05:14:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:14:32 Configure a credential helper to remove this warning. See 05:14:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:14:32 05:14:32 Login Succeeded 05:14:32 nexus3.edgexfoundry.org:10002 05:14:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:14:33 Configure a credential helper to remove this warning. See 05:14:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:14:33 05:14:33 Login Succeeded 05:14:33 nexus3.edgexfoundry.org:10003 05:14:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:14:33 Configure a credential helper to remove this warning. See 05:14:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:14:33 05:14:33 Login Succeeded 05:14:33 nexus3.edgexfoundry.org:10004 05:14:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:14:33 Configure a credential helper to remove this warning. See 05:14:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:14:33 05:14:33 Login Succeeded 05:14:33 ****.io 05:14:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:14:34 Configure a credential helper to remove this warning. See 05:14:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:14:34 05:14:34 Login Succeeded 05:14:34 ---> ****-login.sh ends [Pipeline] } 05:14:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:14:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:14:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:14:35 ========================================================= 05:14:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 05:14:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:35 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 05:14:36 Sending build context to Docker daemon 8.78MB 05:14:36 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:14:36 Step 2/10 : FROM ${BASE} AS builder 05:14:36 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:14:36 9fda8d8052c6: Pulling fs layer 05:14:36 5d54e960e981: Pulling fs layer 05:14:36 c4a7e357bf2a: Pulling fs layer 05:14:36 f0e02332f6b5: Pulling fs layer 05:14:36 872ee5b61b7b: Pulling fs layer 05:14:36 0c6a40ed1a82: Pulling fs layer 05:14:36 94ae7d8d031c: Pulling fs layer 05:14:36 f0e02332f6b5: Waiting 05:14:36 872ee5b61b7b: Waiting 05:14:36 0c6a40ed1a82: Waiting 05:14:36 94ae7d8d031c: Waiting 05:14:36 5d54e960e981: Verifying Checksum 05:14:36 5d54e960e981: Download complete 05:14:36 f0e02332f6b5: Verifying Checksum 05:14:36 f0e02332f6b5: Download complete 05:14:36 872ee5b61b7b: Verifying Checksum 05:14:36 872ee5b61b7b: Download complete 05:14:36 9fda8d8052c6: Verifying Checksum 05:14:36 9fda8d8052c6: Download complete 05:14:37 94ae7d8d031c: Verifying Checksum 05:14:37 94ae7d8d031c: Download complete 05:14:37 9fda8d8052c6: Pull complete 05:14:38 5d54e960e981: Pull complete 05:14:38 c4a7e357bf2a: Verifying Checksum 05:14:38 c4a7e357bf2a: Download complete 05:14:39 0c6a40ed1a82: Verifying Checksum 05:14:39 0c6a40ed1a82: Download complete 05:14:52 c4a7e357bf2a: Pull complete 05:14:52 f0e02332f6b5: Pull complete 05:14:52 872ee5b61b7b: Pull complete 05:15:00 0c6a40ed1a82: Pull complete 05:15:01 94ae7d8d031c: Pull complete 05:15:01 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 05:15:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 05:15:01 ---> 86de565de09d 05:15:01 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:15:03 ---> Running in 1b207eab1e0e 05:15:03 Removing intermediate container 1b207eab1e0e 05:15:03 ---> 2a8c43099fcb 05:15:03 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:15:03 ---> Running in a98097a741d4 05:15:03 Removing intermediate container a98097a741d4 05:15:03 ---> 27284d6f7876 05:15:03 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:15:04 ---> Running in 06d2165c04b7 05:15:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:15:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:15:06 (1/8) Installing openssh-keygen (9.3_p2-r1) 05:15:06 (2/8) Installing libedit (20221030.3.1-r1) 05:15:06 (3/8) Installing openssh-client-common (9.3_p2-r1) 05:15:06 (4/8) Installing openssh-client-default (9.3_p2-r1) 05:15:06 (5/8) Installing openssh-sftp-server (9.3_p2-r1) 05:15:06 (6/8) Installing openssh-server-common (9.3_p2-r1) 05:15:06 (7/8) Installing openssh-server (9.3_p2-r1) 05:15:06 (8/8) Installing openssh (9.3_p2-r1) 05:15:06 Executing busybox-1.36.1-r5.trigger 05:15:06 OK: 272 MiB in 60 packages 05:15:07 Removing intermediate container 06d2165c04b7 05:15:07 ---> 25493e799fc9 05:15:07 Step 6/10 : WORKDIR /device-modbus-go 05:15:07 ---> Running in 062173d3e94e 05:15:08 Removing intermediate container 062173d3e94e 05:15:08 ---> 418a2e8bdd80 05:15:08 Step 7/10 : COPY go.mod vendor* ./ 05:15:08 ---> 21688e57c163 05:15:08 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:15:08 ---> Running in d91f0eb45416 05:16:05 Removing intermediate container d91f0eb45416 05:16:05 ---> f951bd4e7de2 05:16:05 Step 9/10 : COPY . . 05:16:06 ---> 36befa7f9b87 05:16:06 Step 10/10 : RUN ${MAKE} 05:16:06 ---> Running in fdce8c6d8e0c 05:16:07 noop 05:16:07 Removing intermediate container fdce8c6d8e0c 05:16:07 ---> 9ea6546f73ef 05:16:07 Successfully built 9ea6546f73ef 05:16:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:16:08 + docker inspect -f . ci-base-image-arm64 05:16:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:16:08 prd-ubuntu20.04-docker-arm64-4c-16g-5422 does not seem to be running inside a container 05:16:08 $ 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 ******** ci-base-image-arm64 cat 05:16:09 $ docker top 4b640510619e79435b2acd089871d2147961109e12e0eb5eeef15a6cd2e49bf2 -eo pid,comm [Pipeline] { [Pipeline] sh 05:16:10 + go version 05:16:10 go version go1.21.0 linux/arm64 [Pipeline] } 05:16:10 $ docker stop --time=1 4b640510619e79435b2acd089871d2147961109e12e0eb5eeef15a6cd2e49bf2 05:16:12 $ docker rm -f --volumes 4b640510619e79435b2acd089871d2147961109e12e0eb5eeef15a6cd2e49bf2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:16:13 + docker inspect -f . ci-base-image-arm64 05:16:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:16:14 prd-ubuntu20.04-docker-arm64-4c-16g-5422 does not seem to be running inside a container 05:16:14 $ 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 ******** ci-base-image-arm64 cat 05:16:15 $ docker top 864c38d9c45eeca088b3a2c368d675ea3e8f34f81c9acba1752d4bd723eae114 -eo pid,comm [Pipeline] { [Pipeline] sh 05:16:16 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 05:16:16 + make test 05:16:16 go test ./... -coverprofile=coverage.out 05:16:20 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:17:56 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:17:56 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.059s coverage: 47.9% of statements 05:17:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:17:56 go vet ./... 05:18:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:18:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:18:05 ./bin/test-attribution-txt.sh 05:18:05 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 05:18:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:18:05 $ docker stop --time=1 864c38d9c45eeca088b3a2c368d675ea3e8f34f81c9acba1752d4bd723eae114 05:18:07 $ docker rm -f --volumes 864c38d9c45eeca088b3a2c368d675ea3e8f34f81c9acba1752d4bd723eae114 [Pipeline] // withDockerContainer [Pipeline] sh 05:18:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:18:08 Warning: overwriting stash ‘coverage-report’ 05:18:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:18:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:18:10 + ls -al . 05:18:10 total 188 05:18:10 drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 05:16 . 05:18:10 drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 05:14 .. 05:18:10 -rw-rw-r-- 1 jenkins jenkins 140 Mar 11 05:14 .dockerignore 05:18:10 drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 05:14 .git 05:18:10 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 05:14 .github 05:18:10 -rw-rw-r-- 1 jenkins jenkins 266 Mar 11 05:14 .gitignore 05:18:10 -rw-rw-r-- 1 jenkins jenkins 41 Mar 11 05:14 .golangci.yml 05:18:10 -rw-rw-r-- 1 jenkins jenkins 11101 Mar 11 05:14 Attribution.txt 05:18:10 -rw-rw-r-- 1 jenkins jenkins 16388 Mar 11 05:14 CHANGELOG.md 05:18:10 -rw-rw-r-- 1 jenkins jenkins 1474 Mar 11 05:14 Dockerfile 05:18:10 -rw-rw-r-- 1 jenkins jenkins 677 Mar 11 05:14 GOVERNANCE.md 05:18:10 -rw-rw-r-- 1 jenkins jenkins 658 Mar 11 05:14 Jenkinsfile 05:18:10 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 11 05:14 LICENSE 05:18:10 -rw-rw-r-- 1 jenkins jenkins 1942 Mar 11 05:14 Makefile 05:18:10 -rw-rw-r-- 1 jenkins jenkins 622 Mar 11 05:14 OWNERS.md 05:18:10 -rw-rw-r-- 1 jenkins jenkins 4463 Mar 11 05:14 README.md 05:18:10 -rw-rw-r-- 1 jenkins jenkins 5 Mar 11 05:12 VERSION 05:18:10 drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 05:14 bin 05:18:10 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 05:14 cmd 05:18:10 -rw-r--r-- 1 jenkins jenkins 24334 Mar 11 05:17 coverage.out 05:18:10 -rw-rw-r-- 1 jenkins jenkins 3987 Mar 11 05:14 go.mod 05:18:10 -rw-rw-r-- 1 jenkins jenkins 36558 Mar 11 05:14 go.sum 05:18:10 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 05:14 internal 05:18:10 drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 05:14 simulator 05:18:10 -rw-rw-r-- 1 jenkins jenkins 229 Mar 11 05:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:10 + 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=7a16a30981256d43cd88b2659f57216273c2bcdc --label arch=arm64 --label version=0.0.0 . 05:18:11 Sending build context to Docker daemon 8.805MB 05:18:11 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 05:18:11 Step 2/23 : FROM ${BASE} AS builder 05:18:11 ---> 9ea6546f73ef 05:18:11 Step 3/23 : ARG ADD_BUILD_TAGS="" 05:18:11 ---> Running in 76b9af9b340a 05:18:11 Removing intermediate container 76b9af9b340a 05:18:11 ---> 3e20650552cf 05:18:11 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:18:11 ---> Running in fd52238f9ac3 05:18:11 Removing intermediate container fd52238f9ac3 05:18:11 ---> 6dad03b74133 05:18:11 Step 5/23 : RUN apk add --update --no-cache make git openssh 05:18:12 ---> Running in 89e18f6b3b7e 05:18:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:18:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:18:14 OK: 272 MiB in 60 packages 05:18:15 Removing intermediate container 89e18f6b3b7e 05:18:15 ---> e5dd37a2c17f 05:18:15 Step 6/23 : WORKDIR /device-modbus-go 05:18:15 ---> Running in 2b1d2d5d7a02 05:18:15 Removing intermediate container 2b1d2d5d7a02 05:18:15 ---> 350bf121b537 05:18:15 Step 7/23 : COPY go.mod vendor* ./ 05:18:16 ---> 18417237ed65 05:18:16 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:18:16 ---> Running in ff45f02b6802 05:18:18 Removing intermediate container ff45f02b6802 05:18:18 ---> 3ba2a5feb673 05:18:18 Step 9/23 : COPY . . 05:18:19 ---> 47eaf4d21eb3 05:18:19 Step 10/23 : RUN ${MAKE} 05:18:19 ---> Running in 183b7e9f3e8f 05:18:20 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.10" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 05:20:11 Removing intermediate container 183b7e9f3e8f 05:20:11 ---> f244f9fd0991 05:20:11 Step 11/23 : FROM alpine:3.18 05:20:11 3.18: Pulling from library/alpine 05:20:11 c6b39de5b339: Pulling fs layer 05:20:11 c6b39de5b339: Verifying Checksum 05:20:11 c6b39de5b339: Download complete 05:20:11 c6b39de5b339: Pull complete 05:20:11 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 05:20:11 Status: Downloaded newer image for alpine:3.18 05:20:11 ---> 33abbf032149 05:20:11 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:20:11 ---> Running in bb6f1699f5e6 05:20:11 Removing intermediate container bb6f1699f5e6 05:20:11 ---> 564c5abe2dfa 05:20:11 Step 13/23 : RUN apk add --update --no-cache dumb-init 05:20:11 ---> Running in 85545666517b 05:20:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:20:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:20:11 (1/1) Installing dumb-init (1.2.5-r2) 05:20:11 Executing busybox-1.36.1-r5.trigger 05:20:11 OK: 8 MiB in 16 packages 05:20:12 Removing intermediate container 85545666517b 05:20:12 ---> 343e72040098 05:20:12 Step 14/23 : RUN apk --no-cache upgrade 05:20:12 ---> Running in 993893858a52 05:20:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:20:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:20:14 OK: 8 MiB in 16 packages 05:20:15 Removing intermediate container 993893858a52 05:20:15 ---> fce824675bdf 05:20:15 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:20:16 ---> b7676ad5c9c6 05:20:16 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:20:17 ---> b191fad55525 05:20:17 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:20:17 ---> fe8c6b9eb597 05:20:17 Step 18/23 : EXPOSE 59901 05:20:17 ---> Running in 33396b340ce7 05:20:17 Removing intermediate container 33396b340ce7 05:20:17 ---> 8ece348ac693 05:20:17 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:20:18 ---> Running in a0cdb8b6051e 05:20:18 Removing intermediate container a0cdb8b6051e 05:20:18 ---> 0cf6be4ab665 05:20:18 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:20:18 ---> Running in 6d6209d66350 05:20:18 Removing intermediate container 6d6209d66350 05:20:18 ---> bfd90ad6ecb2 05:20:18 Step 21/23 : LABEL arch=arm64 05:20:18 ---> Running in 449a84cbeaf8 05:20:18 Removing intermediate container 449a84cbeaf8 05:20:18 ---> fc5d3888d341 05:20:18 Step 22/23 : LABEL git_sha=7a16a30981256d43cd88b2659f57216273c2bcdc 05:20:19 ---> Running in 9ee276650304 05:20:19 Removing intermediate container 9ee276650304 05:20:19 ---> 4f559ab11c27 05:20:19 Step 23/23 : LABEL version=0.0.0 05:20:19 ---> Running in f8cc778797e0 05:20:19 Removing intermediate container f8cc778797e0 05:20:19 ---> b3ec539374f0 05:20:19 [Warning] One or more build-args [ARCH] were not consumed 05:20:19 Successfully built b3ec539374f0 05:20:19 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 05:20:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:20:20 05:20:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:20:21 arm64: Pulling from edgex-lftools-log-publisher 05:20:21 8998bd30e6a1: Pulling fs layer 05:20:21 04944245beec: Pulling fs layer 05:20:21 699f458cf7ca: Pulling fs layer 05:20:21 765212b225bb: Pulling fs layer 05:20:21 f23df028b6ca: Pulling fs layer 05:20:21 765212b225bb: Waiting 05:20:21 d65c8cfc05b1: Pulling fs layer 05:20:21 f23df028b6ca: Waiting 05:20:21 d65c8cfc05b1: Waiting 05:20:21 2437ff75d9bd: Pulling fs layer 05:20:21 2437ff75d9bd: Waiting 05:20:21 04944245beec: Verifying Checksum 05:20:21 04944245beec: Download complete 05:20:21 765212b225bb: Verifying Checksum 05:20:21 765212b225bb: Download complete 05:20:21 f23df028b6ca: Verifying Checksum 05:20:21 f23df028b6ca: Download complete 05:20:21 d65c8cfc05b1: Verifying Checksum 05:20:21 d65c8cfc05b1: Download complete 05:20:21 699f458cf7ca: Verifying Checksum 05:20:21 699f458cf7ca: Download complete 05:20:22 8998bd30e6a1: Verifying Checksum 05:20:22 8998bd30e6a1: Download complete 05:20:24 2437ff75d9bd: Verifying Checksum 05:20:24 2437ff75d9bd: Download complete 05:20:26 8998bd30e6a1: Pull complete 05:20:27 04944245beec: Pull complete 05:20:28 699f458cf7ca: Pull complete 05:20:28 765212b225bb: Pull complete 05:20:29 f23df028b6ca: Pull complete 05:20:29 d65c8cfc05b1: Pull complete 05:20:47 2437ff75d9bd: Pull complete 05:20:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:20:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:20:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:20:48 prd-ubuntu20.04-docker-arm64-4c-16g-5422 does not seem to be running inside a container 05:20:48 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:20:50 $ docker top cd5557fe76d82db4e1c7668571c31ae2e2113f66282b5f31be1f25c2738132bf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:20:51 ---> job-cost.sh 05:20:51 lf-activate-venv: SKIPPING 05:20:51 INFO: No Stack... 05:20:52 INFO: Retrieving Pricing Info for: v3-standard-4 05:20:53 INFO: Archiving Costs [Pipeline] sh 05:20:53 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 05:20:53 + cut -d, -f6 [Pipeline] lock 05:20:53 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-543-1-stack-cost] 05:20:53 Resource [jenkins-edgexfoundry-device-modbus-go-PR-543-1-stack-cost] did not exist. Created. 05:20:53 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-543-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:20:54 /w/workspace/device-modbus-go/1@tmp/durable-39c81130/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:20:54 + echo total: 0.10999999940395355 [Pipeline] stash 05:20:54 Warning: overwriting stash ‘stack-cost’ 05:20:54 Stashed 1 file(s) [Pipeline] } 05:20:54 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-543-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:20:55 $ docker stop --time=1 cd5557fe76d82db4e1c7668571c31ae2e2113f66282b5f31be1f25c2738132bf 05:20:56 $ docker rm -f --volumes cd5557fe76d82db4e1c7668571c31ae2e2113f66282b5f31be1f25c2738132bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:20:58 provisioning config files... 05:20:58 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-543@tmp/config13702713461192927490tmp [Pipeline] { [Pipeline] sh 05:20:59 + set +x 05:20:59 + curl -s https://codecov.io/bash 05:20:59 + bash -s -- 05:20:59 05:20:59 _____ _ 05:20:59 / ____| | | 05:20:59 | | ___ __| | ___ ___ _____ __ 05:20:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:20:59 | |___| (_) | (_| | __/ (_| (_) \ V / 05:20:59 \_____\___/ \__,_|\___|\___\___/ \_/ 05:20:59 Bash-1.0.6 05:20:59 05:20:59 05:20:59 ==> git version 2.25.1 found 05:20:59 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:20:59 Release-Date: 2020-01-08 05:20:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:20:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:20:59 ==> Jenkins CI detected. 05:20:59 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-543 05:20:59 project root: . 05:20:59 --> token set from env 05:20:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:20:59 ==> Running gcov in . (disable via -X gcov) 05:20:59 ==> Python coveragepy not found 05:20:59 ==> Searching for coverage reports in: 05:20:59 + . 05:20:59 -> Found 1 reports 05:20:59 ==> Detecting git/mercurial file structure 05:20:59 ==> Reading reports 05:20:59 + ./coverage.out bytes=24334 05:20:59 ==> Appending adjustments 05:20:59 https://docs.codecov.io/docs/fixing-reports 05:20:59 + Found adjustments 05:20:59 ==> Gzipping contents 05:20:59 4.0K /tmp/codecov.UK2C98.gz 05:20:59 ==> Uploading reports 05:20:59 url: https://codecov.io 05:20:59 query: branch=PR-543&commit=7a16a30981256d43cd88b2659f57216273c2bcdc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-543%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=543&job=&cmd_args= 05:20:59 -> Pinging Codecov 05:20:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-543&commit=7a16a30981256d43cd88b2659f57216273c2bcdc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-543%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=543&job=&cmd_args= 05:20:59 -> Uploading to 05:20:59 https://storage.googleapis.com/codecov/v4/raw/2024-03-11/55DBCA73C666E3227836607328DD7E49/7a16a30981256d43cd88b2659f57216273c2bcdc/52677954-3ab3-49eb-8869-aef7f396b7f0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240311%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240311T052059Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e905182b80794e22bcb671542af1a8a6a45d40c8dd42493e0825a5455c62c186 05:20:59 % Total % Received % Xferd Average Speed Time Time Time Current 05:20:59 Dload Upload Total Spent Left Speed 05:20:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3806 0 0 100 3806 0 14751 --:--:-- --:--:-- --:--:-- 14694 05:20:59 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/7a16a30981256d43cd88b2659f57216273c2bcdc [Pipeline] } 05:20:59 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 05:21:03 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-543/archives ] 05:21:03 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-543/archives 05:21:03 total 16 05:21:03 drwxr-xr-x 3 root root 4096 Mar 11 05:14 . 05:21:03 drwxrwxr-x 10 jenkins jenkins 4096 Mar 11 05:14 .. 05:21:03 drwxr-xr-x 2 root root 4096 Mar 11 05:14 cost 05:21:03 -rw-r--r-- 1 root root 88 Mar 11 05:14 cost.csv 05:21:03 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-543/archives 05:21:03 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-543/archives 05:21:03 total 16 05:21:03 drwxr-xr-x 3 jenkins jenkins 4096 Mar 11 05:14 . 05:21:03 drwxrwxr-x 10 jenkins jenkins 4096 Mar 11 05:14 .. 05:21:03 drwxr-xr-x 2 jenkins jenkins 4096 Mar 11 05:14 cost 05:21:03 -rw-r--r-- 1 jenkins jenkins 88 Mar 11 05:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:21:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:21:04 ---> package-listing.sh 05:21:04 ++ facter osfamily 05:21:04 ++ tr '[:upper:]' '[:lower:]' 05:21:04 + OS_FAMILY=debian 05:21:04 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-543 05:21:04 + START_PACKAGES=/tmp/packages_start.txt 05:21:04 + END_PACKAGES=/tmp/packages_end.txt 05:21:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:21:04 + PACKAGES=/tmp/packages_start.txt 05:21:04 + '[' /w/workspace/xfoundry_device-modbus-go_PR-543 ']' 05:21:04 + PACKAGES=/tmp/packages_end.txt 05:21:04 + case "${OS_FAMILY}" in 05:21:04 + dpkg -l 05:21:04 + grep '^ii' 05:21:04 + '[' -f /tmp/packages_start.txt ']' 05:21:04 + '[' -f /tmp/packages_end.txt ']' 05:21:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:21:04 + '[' /w/workspace/xfoundry_device-modbus-go_PR-543 ']' 05:21:04 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-543/archives/ 05:21:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-543/archives/ [Pipeline] echo 05:21:04 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-543/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:21:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:21:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:21:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:21:06 prd-ubuntu20.04-docker-8c-8g-5421 does not seem to be running inside a container 05:21:06 $ 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-543/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-543 -v /w/workspace/xfoundry_device-modbus-go_PR-543:/w/workspace/xfoundry_device-modbus-go_PR-543:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-543@tmp:/w/workspace/xfoundry_device-modbus-go_PR-543@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:21:06 $ docker top 460006ab32031bb79e4bd18feffd4bc69f4879f0a863adf125c712ab44a4dc86 -eo pid,comm [Pipeline] { [Pipeline] sh 05:21:06 + touch /tmp/pre-build-complete [Pipeline] sh 05:21:07 + mkdir -p /var/log/sysstat [Pipeline] sh 05:21:07 + ls /var/log/sa-host 05:21:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:21:07 provisioning config files... 05:21:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-543@tmp/config3186343216491398083tmp [Pipeline] { [Pipeline] echo 05:21:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:21:08 ---> create-netrc.sh [Pipeline] } 05:21:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:21:08 ---> python-tools-install.sh [Pipeline] echo 05:21:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:21:09 ---> sudo-logs.sh 05:21:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:21:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:21:09 ---> job-cost.sh 05:21:09 lf-activate-venv: SKIPPING 05:21:09 DEBUG: total: 0.2199999988079071 05:21:09 INFO: Retrieving Stack Cost... 05:21:10 INFO: Retrieving Pricing Info for: v3-standard-8 05:21:10 INFO: Archiving Costs [Pipeline] echo 05:21:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:21:10 ---> logs-deploy.sh 05:21:10 lf-activate-venv: SKIPPING 05:21:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-543/1 05:21:10 INFO: archiving workspace using pattern(s): 05:21:11 Archives upload complete. 05:21:11 INFO: archiving logs to Nexus