Pull request #418 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ccca3f43176ae16e2d736a855a59f49edddbc224+e3fb6b6c893123b5784ccc2dd10ff9f0848293eb (7f3ac7d4901887edd5ef9b3e901742f0f816f2f5) 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-ssh13858867015321598474.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh10855395443417820469.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-418/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-418/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11755021899290236691.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-418/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16507236199143061862.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh9101712679002874694.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-418/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-418/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh187671985311926517.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 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-7536 in /w/workspace/xfoundry_device-modbus-go_PR-418 [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-418 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit e3fb6b6c893123b5784ccc2dd10ff9f0848293eb into PR head commit ccca3f43176ae16e2d736a855a59f49edddbc224 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/418/head:refs/remotes/origin/PR-418 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ccca3f43176ae16e2d736a855a59f49edddbc224 # timeout=10 Merge succeeded, producing ccca3f43176ae16e2d736a855a59f49edddbc224 Checking out Revision ccca3f43176ae16e2d736a855a59f49edddbc224 (PR-418) 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:58:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:58:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge e3fb6b6c893123b5784ccc2dd10ff9f0848293eb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ccca3f43176ae16e2d736a855a59f49edddbc224 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:58:22 ========================================================= 05:58:22 EdgeX Global Pipelines Version Info 05:58:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:58:23 ------------------- 05:58:23 stable info: 05:58:23 ------------------- 05:58:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:58:23 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 05:58:23 Message: update stable to v1.0.244 05:58:24 ------------------- 05:58:24 experimental info: 05:58:24 ------------------- 05:58:24 Commited By: **** collab-it+edgex@linuxfoundation.org 05:58:24 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 05:58:24 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:58:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:58:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:58:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:58:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:58:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:58:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:58:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:58:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:58:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:58:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:58:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:58:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:58:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:58:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:58:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:58:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:58:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:58:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:58:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:58:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:58:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:58:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:58:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:58:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:58:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:58:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:58:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:58:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-418 [Pipeline] echo 05:58:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-418 [Pipeline] echo 05:58:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-418 [Pipeline] echo 05:58:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ccca3f43176ae16e2d736a855a59f49edddbc224 [Pipeline] echo 05:58:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ccca3f4 [Pipeline] echo 05:58:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:58:25 provisioning config files... 05:58:25 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-418@tmp/config16020165638625604669tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:58:26 ---> docker-login.sh 05:58:26 nexus3.edgexfoundry.org:10001 05:58:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:26 Configure a credential helper to remove this warning. See 05:58:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:26 05:58:26 Login Succeeded 05:58:26 nexus3.edgexfoundry.org:10002 05:58:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:26 Configure a credential helper to remove this warning. See 05:58:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:26 05:58:26 Login Succeeded 05:58:26 nexus3.edgexfoundry.org:10003 05:58:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:26 Configure a credential helper to remove this warning. See 05:58:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:26 05:58:26 Login Succeeded 05:58:26 nexus3.edgexfoundry.org:10004 05:58:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:27 Configure a credential helper to remove this warning. See 05:58:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:27 05:58:27 Login Succeeded 05:58:27 docker.io 05:58:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:27 Configure a credential helper to remove this warning. See 05:58:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:27 05:58:27 Login Succeeded 05:58:27 ---> docker-login.sh ends [Pipeline] } 05:58:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:58:27 + git rev-list -1 --merges ccca3f43176ae16e2d736a855a59f49edddbc224~1..ccca3f43176ae16e2d736a855a59f49edddbc224 [Pipeline] echo 05:58:28 -----------> git rev-list -1 --merges ccca3f43176ae16e2d736a855a59f49edddbc224~1..ccca3f43176ae16e2d736a855a59f49edddbc224 ccca3f43176ae16e2d736a855a59f49edddbc224 [false] [Pipeline] sh 05:58:28 + git log --format=format:%s -1 ccca3f43176ae16e2d736a855a59f49edddbc224 [Pipeline] echo 05:58:28 ========================================================= 05:58:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:58:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:58:28 + git log --format=format:%s -1 ccca3f43176ae16e2d736a855a59f49edddbc224 [Pipeline] echo 05:58:28 [semverPrep] GIT_COMMIT: ccca3f43176ae16e2d736a855a59f49edddbc224, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:58:28 [semverPrep] This is not a build commit. [Pipeline] sh 05:58:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:58:29 + grep -v github /etc/ssh/ssh_known_hosts 05:58:29 + [ -e /tmp/ssh_known_hosts ] 05:58:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:58:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:58:29 + sudo tee -a /etc/ssh/ssh_known_hosts 05:58:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:58:29 05:58:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:58:30 0.1.4: Pulling from edgex-devops/py-git-semver 05:58:30 b85a868b505f: Pulling fs layer 05:58:30 e2be974225ed: Pulling fs layer 05:58:30 339a4e72a1f5: Pulling fs layer 05:58:30 988bab9f4d93: Pulling fs layer 05:58:30 1469e6f7b9e6: Pulling fs layer 05:58:30 eaf3925da568: Pulling fs layer 05:58:30 bab4dde63d76: Pulling fs layer 05:58:30 bde34c3a00c8: Pulling fs layer 05:58:30 b352a97aabf1: Pulling fs layer 05:58:30 4872d77fe225: Pulling fs layer 05:58:30 5851b861e8e6: Pulling fs layer 05:58:30 988bab9f4d93: Waiting 05:58:30 4872d77fe225: Waiting 05:58:30 bde34c3a00c8: Waiting 05:58:30 b352a97aabf1: Waiting 05:58:30 5851b861e8e6: Waiting 05:58:30 1469e6f7b9e6: Waiting 05:58:30 bab4dde63d76: Waiting 05:58:30 eaf3925da568: Waiting 05:58:30 e2be974225ed: Verifying Checksum 05:58:30 e2be974225ed: Download complete 05:58:30 988bab9f4d93: Download complete 05:58:30 1469e6f7b9e6: Verifying Checksum 05:58:30 1469e6f7b9e6: Download complete 05:58:30 339a4e72a1f5: Verifying Checksum 05:58:30 339a4e72a1f5: Download complete 05:58:30 eaf3925da568: Verifying Checksum 05:58:30 eaf3925da568: Download complete 05:58:30 bde34c3a00c8: Download complete 05:58:30 b352a97aabf1: Download complete 05:58:30 4872d77fe225: Download complete 05:58:30 5851b861e8e6: Download complete 05:58:30 b85a868b505f: Verifying Checksum 05:58:30 b85a868b505f: Download complete 05:58:30 bab4dde63d76: Verifying Checksum 05:58:30 bab4dde63d76: Download complete 05:58:31 b85a868b505f: Pull complete 05:58:31 e2be974225ed: Pull complete 05:58:32 339a4e72a1f5: Pull complete 05:58:32 988bab9f4d93: Pull complete 05:58:32 1469e6f7b9e6: Pull complete 05:58:32 eaf3925da568: Pull complete 05:58:34 bab4dde63d76: Pull complete 05:58:34 bde34c3a00c8: Pull complete 05:58:34 b352a97aabf1: Pull complete 05:58:35 4872d77fe225: Pull complete 05:58:35 5851b861e8e6: Pull complete 05:58:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:58:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:58:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:58:35 prd-ubuntu20.04-docker-8c-8g-7536 does not seem to be running inside a container 05:58:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-418 -v /w/workspace/xfoundry_device-modbus-go_PR-418:/w/workspace/xfoundry_device-modbus-go_PR-418:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-418@tmp:/w/workspace/xfoundry_device-modbus-go_PR-418@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:58:36 $ docker top c205560712829780417a8b74df1f78eeb1adae10bf8dbb0c061f253c739f179d -eo pid,comm 05:58:36 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:58:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:58:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:58:36 [ssh-agent] Looking for ssh-agent implementation... 05:58:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:58:36 $ docker exec c205560712829780417a8b74df1f78eeb1adae10bf8dbb0c061f253c739f179d ssh-agent 05:58:37 SSH_AUTH_SOCK=/tmp/ssh-J6wOi1PYBsyN/agent.32 05:58:37 SSH_AGENT_PID=38 05:58:37 Running ssh-add (command line suppressed) 05:58:37 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-418@tmp/private_key_8919414361400234071.key (/w/workspace/xfoundry_device-modbus-go_PR-418@tmp/private_key_8919414361400234071.key) 05:58:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:58:37 + git tag --points-at HEAD [Pipeline] } 05:58:37 $ docker exec --env ******** --env ******** c205560712829780417a8b74df1f78eeb1adae10bf8dbb0c061f253c739f179d ssh-agent -k 05:58:37 unset SSH_AUTH_SOCK; 05:58:37 unset SSH_AGENT_PID; 05:58:37 echo Agent pid 38 killed; 05:58:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:58:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:58:37 [ssh-agent] Looking for ssh-agent implementation... 05:58:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:58:37 $ docker exec c205560712829780417a8b74df1f78eeb1adae10bf8dbb0c061f253c739f179d ssh-agent 05:58:38 SSH_AUTH_SOCK=/tmp/ssh-UjEIFTAUyXPl/agent.71 05:58:38 SSH_AGENT_PID=78 05:58:38 Running ssh-add (command line suppressed) 05:58:38 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-418@tmp/private_key_6546633486595241525.key (/w/workspace/xfoundry_device-modbus-go_PR-418@tmp/private_key_6546633486595241525.key) 05:58:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:58:38 + git semver init 05:58:38 2023-02-27 05:58:38,743 [run_init] DEBUG init version:0.0.0 force:False 05:58:38 2023-02-27 05:58:38,743 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-418/.semver 05:58:38 2023-02-27 05:58:38,744 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-418/.semver 05:58:38 2023-02-27 05:58:38,744 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-418/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-418, universal_newlines=False, shell=None, istream=None) 05:58:40 2023-02-27 05:58:39,742 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-418/.git/info/exclude 05:58:40 2023-02-27 05:58:39,743 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-418/.semver/PR-418 with force:False 05:58:40 2023-02-27 05:58:39,743 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-418/.semver/PR-418 05:58:40 2023-02-27 05:58:39,747 [execute] INFO git cat-file --batch-check 05:58:40 2023-02-27 05:58:39,748 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-418/.semver, universal_newlines=False, shell=None, istream=) 05:58:40 2023-02-27 05:58:39,754 [execute] INFO git cat-file --batch 05:58:40 2023-02-27 05:58:39,754 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-418/.semver, universal_newlines=False, shell=None, istream=) 05:58:40 2023-02-27 05:58:39,760 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-418/.semver/PR-418 05:58:40 0.0.0 [Pipeline] } 05:58:40 $ docker exec --env ******** --env ******** c205560712829780417a8b74df1f78eeb1adae10bf8dbb0c061f253c739f179d ssh-agent -k 05:58:40 unset SSH_AUTH_SOCK; 05:58:40 unset SSH_AGENT_PID; 05:58:40 echo Agent pid 78 killed; 05:58:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:58:40 + git semver [Pipeline] } 05:58:41 $ docker stop --time=1 c205560712829780417a8b74df1f78eeb1adae10bf8dbb0c061f253c739f179d 05:58:42 $ docker rm -f --volumes c205560712829780417a8b74df1f78eeb1adae10bf8dbb0c061f253c739f179d [Pipeline] // withDockerContainer [Pipeline] sh 05:58:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:58:43 Stashed 1 file(s) [Pipeline] echo 05:58:43 [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:58:43 provisioning config files... 05:58:43 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-418@tmp/config5048892905689302963tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:58:44 ---> docker-login.sh 05:58:44 nexus3.edgexfoundry.org:10001 05:58:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:44 Configure a credential helper to remove this warning. See 05:58:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:44 05:58:44 Login Succeeded 05:58:44 nexus3.edgexfoundry.org:10002 05:58:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:45 Configure a credential helper to remove this warning. See 05:58:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:45 05:58:45 Login Succeeded 05:58:45 nexus3.edgexfoundry.org:10003 05:58:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:45 Configure a credential helper to remove this warning. See 05:58:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:45 05:58:45 Login Succeeded 05:58:45 nexus3.edgexfoundry.org:10004 05:58:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:45 Configure a credential helper to remove this warning. See 05:58:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:45 05:58:45 Login Succeeded 05:58:45 docker.io 05:58:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:45 Configure a credential helper to remove this warning. See 05:58:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:45 05:58:45 Login Succeeded 05:58:45 ---> docker-login.sh ends [Pipeline] } 05:58:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:58:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:58:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:58:46 ========================================================= 05:58:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:58:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:46 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 05:58:46 Sending build context to Docker daemon 6.416MB 05:58:46 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 05:58:46 Step 2/10 : FROM ${BASE} AS builder 05:58:46 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:58:46 213ec9aee27d: Pulling fs layer 05:58:46 4583459ba037: Pulling fs layer 05:58:46 93c1e223e6f2: Pulling fs layer 05:58:46 53926ce57604: Pulling fs layer 05:58:46 21b2b0c7a3f4: Pulling fs layer 05:58:46 22ff95d597cd: Pulling fs layer 05:58:46 12d6caf4c0d1: Pulling fs layer 05:58:46 96b7cbca73a9: Pulling fs layer 05:58:46 a7acece74701: Pulling fs layer 05:58:46 53926ce57604: Waiting 05:58:46 21b2b0c7a3f4: Waiting 05:58:46 22ff95d597cd: Waiting 05:58:46 12d6caf4c0d1: Waiting 05:58:46 96b7cbca73a9: Waiting 05:58:46 a7acece74701: Waiting 05:58:46 93c1e223e6f2: Verifying Checksum 05:58:46 4583459ba037: Download complete 05:58:46 21b2b0c7a3f4: Download complete 05:58:46 22ff95d597cd: Verifying Checksum 05:58:46 22ff95d597cd: Download complete 05:58:46 213ec9aee27d: Download complete 05:58:46 12d6caf4c0d1: Verifying Checksum 05:58:46 12d6caf4c0d1: Download complete 05:58:46 213ec9aee27d: Pull complete 05:58:47 4583459ba037: Pull complete 05:58:47 93c1e223e6f2: Pull complete 05:58:47 a7acece74701: Verifying Checksum 05:58:47 a7acece74701: Download complete 05:58:47 53926ce57604: Verifying Checksum 05:58:47 53926ce57604: Download complete 05:58:47 96b7cbca73a9: Verifying Checksum 05:58:47 96b7cbca73a9: Download complete 05:58:51 53926ce57604: Pull complete 05:58:51 21b2b0c7a3f4: Pull complete 05:58:51 22ff95d597cd: Pull complete 05:58:52 12d6caf4c0d1: Pull complete 05:58:53 96b7cbca73a9: Pull complete 05:58:54 a7acece74701: Pull complete 05:58:54 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 05:58:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:58:54 ---> db6d94c90886 05:58:54 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:58:56 ---> Running in 76ec4b73132c 05:58:56 Removing intermediate container 76ec4b73132c 05:58:56 ---> 2217f2d5734b 05:58:56 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:58:56 ---> Running in bd490d4c17d8 05:58:56 Removing intermediate container bd490d4c17d8 05:58:56 ---> d362c640586e 05:58:56 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:58:56 ---> Running in 907beebe0c74 05:58:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:58:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:58:57 (1/8) Installing openssh-keygen (9.0_p1-r2) 05:58:57 (2/8) Installing libedit (20210910.3.1-r0) 05:58:57 (3/8) Installing openssh-client-common (9.0_p1-r2) 05:58:57 (4/8) Installing openssh-client-default (9.0_p1-r2) 05:58:57 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 05:58:57 (6/8) Installing openssh-server-common (9.0_p1-r2) 05:58:57 (7/8) Installing openssh-server (9.0_p1-r2) 05:58:57 (8/8) Installing openssh (9.0_p1-r2) 05:58:57 Executing busybox-1.35.0-r17.trigger 05:58:57 OK: 217 MiB in 59 packages 05:58:57 Removing intermediate container 907beebe0c74 05:58:57 ---> cc68309aa8a8 05:58:57 Step 6/10 : WORKDIR /device-modbus-go 05:58:57 ---> Running in ed26081b21ea 05:58:57 Removing intermediate container ed26081b21ea 05:58:57 ---> 4294acfffd65 05:58:57 Step 7/10 : COPY go.mod vendor* ./ 05:58:58 ---> 1f9944ea2e38 05:58:58 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:58:58 ---> Running in c50dc0e28ee0 05:58:58 Still waiting to schedule task 05:58:58 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:59:44 Removing intermediate container c50dc0e28ee0 05:59:44 ---> 4abfe2abf6e8 05:59:44 Step 9/10 : COPY . . 05:59:44 ---> 7415015b0f17 05:59:44 Step 10/10 : RUN ${MAKE} 05:59:44 ---> Running in e69bd561c1ea 05:59:44 noop 05:59:44 Removing intermediate container e69bd561c1ea 05:59:44 ---> 5f62a848ac4e 05:59:44 Successfully built 5f62a848ac4e 05:59:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:45 + docker inspect -f . ci-base-image-x86_64 05:59:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:59:45 prd-ubuntu20.04-docker-8c-8g-7536 does not seem to be running inside a container 05:59:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-418 -v /w/workspace/xfoundry_device-modbus-go_PR-418:/w/workspace/xfoundry_device-modbus-go_PR-418:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-418@tmp:/w/workspace/xfoundry_device-modbus-go_PR-418@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:59:45 $ docker top 11c35db8f30ee9534a7b452ad8cb65ae4d8536b540326b467aa9b80ab3e45d79 -eo pid,comm [Pipeline] { [Pipeline] sh 05:59:46 + go version 05:59:46 go version go1.18.7 linux/amd64 [Pipeline] } 05:59:46 $ docker stop --time=1 11c35db8f30ee9534a7b452ad8cb65ae4d8536b540326b467aa9b80ab3e45d79 05:59:47 $ docker rm -f --volumes 11c35db8f30ee9534a7b452ad8cb65ae4d8536b540326b467aa9b80ab3e45d79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:48 + docker inspect -f . ci-base-image-x86_64 05:59:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:59:48 prd-ubuntu20.04-docker-8c-8g-7536 does not seem to be running inside a container 05:59:48 $ 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-418 -v /w/workspace/xfoundry_device-modbus-go_PR-418:/w/workspace/xfoundry_device-modbus-go_PR-418:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-418@tmp:/w/workspace/xfoundry_device-modbus-go_PR-418@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:59:48 $ docker top ed5eaac9eef66137c0574c622b4440e5021a908a8b5d49fb62beae46d03360a3 -eo pid,comm [Pipeline] { [Pipeline] sh 05:59:49 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-418 [Pipeline] fileExists [Pipeline] sh 05:59:49 + make test 05:59:49 go test ./... -coverprofile=coverage.out 05:59:50 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:00:00 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:00:00 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 47.7% of statements 06:00:06 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 06:00:06 go vet ./... 06:00:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:00:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:00:10 ./bin/test-attribution-txt.sh [Pipeline] echo 06:00:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:00:10 $ docker stop --time=1 ed5eaac9eef66137c0574c622b4440e5021a908a8b5d49fb62beae46d03360a3 06:00:11 $ docker rm -f --volumes ed5eaac9eef66137c0574c622b4440e5021a908a8b5d49fb62beae46d03360a3 [Pipeline] // withDockerContainer [Pipeline] sh 06:00:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:00:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:00:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:00:13 + ls -al . 06:00:13 total 184 06:00:13 drwxrwxr-x 10 jenkins jenkins 4096 Feb 27 05:59 . 06:00:13 drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 05:58 .. 06:00:13 -rw-rw-r-- 1 jenkins jenkins 140 Feb 27 05:58 .dockerignore 06:00:13 drwxrwxr-x 8 jenkins jenkins 4096 Feb 27 06:00 .git 06:00:13 drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 05:58 .github 06:00:13 -rw-rw-r-- 1 jenkins jenkins 331 Feb 27 05:58 .gitignore 06:00:13 -rw-rw-r-- 1 jenkins jenkins 41 Feb 27 05:58 .golangci.yml 06:00:13 drwxr-xr-x 3 jenkins jenkins 4096 Feb 27 05:58 .semver 06:00:13 -rw-rw-r-- 1 jenkins jenkins 10236 Feb 27 05:58 Attribution.txt 06:00:13 -rw-rw-r-- 1 jenkins jenkins 11576 Feb 27 05:58 CHANGELOG.md 06:00:13 -rw-rw-r-- 1 jenkins jenkins 1365 Feb 27 05:58 Dockerfile 06:00:13 -rw-rw-r-- 1 jenkins jenkins 677 Feb 27 05:58 GOVERNANCE.md 06:00:13 -rw-rw-r-- 1 jenkins jenkins 680 Feb 27 05:58 Jenkinsfile 06:00:13 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 27 05:58 LICENSE 06:00:13 -rw-rw-r-- 1 jenkins jenkins 1670 Feb 27 05:58 Makefile 06:00:13 -rw-rw-r-- 1 jenkins jenkins 622 Feb 27 05:58 OWNERS.md 06:00:13 -rw-rw-r-- 1 jenkins jenkins 4061 Feb 27 05:58 README.md 06:00:13 -rw-rw-r-- 1 jenkins jenkins 5 Feb 27 05:58 VERSION 06:00:13 drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 05:58 bin 06:00:13 drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 05:58 cmd 06:00:13 -rw-r--r-- 1 jenkins jenkins 23241 Feb 27 05:59 coverage.out 06:00:13 -rw-rw-r-- 1 jenkins jenkins 3497 Feb 27 05:58 go.mod 06:00:13 -rw-rw-r-- 1 jenkins jenkins 33596 Feb 27 05:58 go.sum 06:00:13 drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 05:58 internal 06:00:13 drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 05:58 simulator 06:00:13 drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 05:58 snap 06:00:13 -rw-rw-r-- 1 jenkins jenkins 229 Feb 27 05:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:13 + 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=ccca3f43176ae16e2d736a855a59f49edddbc224 --label arch=amd64 --label version=0.0.0 . 06:00:13 Sending build context to Docker daemon 6.44MB 06:00:13 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 06:00:13 Step 2/22 : FROM ${BASE} AS builder 06:00:13 ---> 5f62a848ac4e 06:00:13 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:00:13 ---> Running in f0055495817e 06:00:13 Removing intermediate container f0055495817e 06:00:13 ---> 875681e728bb 06:00:13 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:00:14 ---> Running in d503ab4e69fd 06:00:14 Removing intermediate container d503ab4e69fd 06:00:14 ---> e3436d82373f 06:00:14 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:00:14 ---> Running in 27afa9cc65fa 06:00:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:00:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:00:14 OK: 217 MiB in 59 packages 06:00:15 Removing intermediate container 27afa9cc65fa 06:00:15 ---> 1277ff200454 06:00:15 Step 6/22 : WORKDIR /device-modbus-go 06:00:15 ---> Running in 6740b20c0987 06:00:15 Removing intermediate container 6740b20c0987 06:00:15 ---> 6d56c19ea8c4 06:00:15 Step 7/22 : COPY go.mod vendor* ./ 06:00:15 ---> 8d7580bba358 06:00:15 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:00:15 ---> Running in f804601274ca 06:00:16 Removing intermediate container f804601274ca 06:00:16 ---> 5d3b9d096123 06:00:16 Step 9/22 : COPY . . 06:00:16 ---> 8db2b1b1dace 06:00:16 Step 10/22 : RUN ${MAKE} 06:00:16 ---> Running in eeb6b12e2909 06:00:16 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 06:00:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7541 in /w/workspace/xfoundry_device-modbus-go_PR-418 [Pipeline] { [Pipeline] ws 06:00:33 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 06:00:33 Selected Git installation does not exist. Using Default 06:00:33 The recommended git tool is: NONE 06:00:35 Removing intermediate container eeb6b12e2909 06:00:35 ---> 2932a7c2e7aa 06:00:35 Step 11/22 : FROM alpine:3.14 06:00:35 3.14: Pulling from library/alpine 06:00:35 d261077062b2: Pulling fs layer 06:00:35 d261077062b2: Verifying Checksum 06:00:35 d261077062b2: Download complete 06:00:35 d261077062b2: Pull complete 06:00:35 Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 06:00:35 Status: Downloaded newer image for alpine:3.14 06:00:35 ---> 6dff1269bc79 06:00:35 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:00:35 ---> Running in 527bed5fe539 06:00:35 Removing intermediate container 527bed5fe539 06:00:35 ---> 091b73383a23 06:00:35 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:00:35 ---> Running in 8bb2f5eb9e77 06:00:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 06:00:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 06:00:36 (1/1) Installing dumb-init (1.2.5-r1) 06:00:36 Executing busybox-1.33.1-r8.trigger 06:00:36 OK: 6 MiB in 15 packages 06:00:36 Removing intermediate container 8bb2f5eb9e77 06:00:36 ---> c190a57c772c 06:00:36 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:00:36 ---> 5c9045d94fc5 06:00:36 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:00:37 ---> 0c1b07da1dc7 06:00:37 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:00:37 ---> ff63923611b5 06:00:37 Step 17/22 : EXPOSE 59901 06:00:37 ---> Running in b9f6c1063884 06:00:37 Removing intermediate container b9f6c1063884 06:00:37 ---> 18309a8eca18 06:00:37 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:00:37 ---> Running in 4e27451ba02b 06:00:37 Removing intermediate container 4e27451ba02b 06:00:37 ---> 4932788f7a8a 06:00:37 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:00:37 ---> Running in 89109af62a40 06:00:37 Removing intermediate container 89109af62a40 06:00:37 ---> aed2b3f955bb 06:00:37 Step 20/22 : LABEL arch=amd64 06:00:37 ---> Running in 48d2832cd331 06:00:37 Removing intermediate container 48d2832cd331 06:00:37 ---> 15e911184f92 06:00:37 Step 21/22 : LABEL git_sha=ccca3f43176ae16e2d736a855a59f49edddbc224 06:00:37 ---> Running in bf295f79256c 06:00:37 Removing intermediate container bf295f79256c 06:00:37 ---> 837dc653770b 06:00:37 Step 22/22 : LABEL version=0.0.0 06:00:37 ---> Running in 231a58f0a6ed 06:00:37 Removing intermediate container 231a58f0a6ed 06:00:37 ---> ae5f382f00bb 06:00:37 [Warning] One or more build-args [ARCH] were not consumed 06:00:37 Successfully built ae5f382f00bb 06:00:37 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:38 using credential edgex-jenkins-ssh 06:00:38 Cloning the remote Git repository 06:00:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:00:38 06:00:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:00:39 latest: Pulling from edgex-lftools-log-publisher 06:00:39 5eb5b503b376: Pulling fs layer 06:00:39 5c69ac0246d0: Pulling fs layer 06:00:39 ec43610c2a17: Pulling fs layer 06:00:39 3a2ae6a8a46f: Pulling fs layer 06:00:39 33b1e0a273af: Pulling fs layer 06:00:39 5d3b04190fa2: Pulling fs layer 06:00:39 2f39f015ded8: Pulling fs layer 06:00:39 3a2ae6a8a46f: Waiting 06:00:39 33b1e0a273af: Waiting 06:00:39 5d3b04190fa2: Waiting 06:00:39 2f39f015ded8: Waiting 06:00:39 5c69ac0246d0: Download complete 06:00:39 3a2ae6a8a46f: Verifying Checksum 06:00:39 3a2ae6a8a46f: Download complete 06:00:39 33b1e0a273af: Verifying Checksum 06:00:39 33b1e0a273af: Download complete 06:00:39 5d3b04190fa2: Verifying Checksum 06:00:39 5d3b04190fa2: Download complete 06:00:39 ec43610c2a17: Verifying Checksum 06:00:39 ec43610c2a17: Download complete 06:00:39 5eb5b503b376: Verifying Checksum 06:00:39 5eb5b503b376: Download complete 06:00:38 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:00:38 > git init /w/workspace/device-modbus-go/1 # timeout=10 06:00:38 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:00:38 > git --version # timeout=10 06:00:38 > git --version # 'git version 2.25.1' 06:00:38 using GIT_SSH to set credentials SSH Credentials for GitHub 06:00:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:00:39 2f39f015ded8: Download complete 06:00:40 5eb5b503b376: Pull complete 06:00:40 5c69ac0246d0: Pull complete 06:00:40 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:00:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:00:41 ec43610c2a17: Pull complete 06:00:41 3a2ae6a8a46f: Pull complete 06:00:41 33b1e0a273af: Pull complete 06:00:41 5d3b04190fa2: Pull complete 06:00:41 Merging remotes/origin/main commit e3fb6b6c893123b5784ccc2dd10ff9f0848293eb into PR head commit ccca3f43176ae16e2d736a855a59f49edddbc224 06:00:42 Merge succeeded, producing ccca3f43176ae16e2d736a855a59f49edddbc224 06:00:42 Checking out Revision ccca3f43176ae16e2d736a855a59f49edddbc224 (PR-418) 06:00:41 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:00:41 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:00:41 using GIT_SSH to set credentials SSH Credentials for GitHub 06:00:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/418/head:refs/remotes/origin/PR-418 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:00:41 > git config core.sparsecheckout # timeout=10 06:00:41 > git checkout -f ccca3f43176ae16e2d736a855a59f49edddbc224 # timeout=10 06:00:41 > git remote # timeout=10 06:00:41 > git config --get remote.origin.url # timeout=10 06:00:41 using GIT_SSH to set credentials SSH Credentials for GitHub 06:00:41 > git merge e3fb6b6c893123b5784ccc2dd10ff9f0848293eb # timeout=10 06:00:42 > git rev-parse HEAD^{commit} # timeout=10 06:00:42 > git config core.sparsecheckout # timeout=10 06:00:42 > git checkout -f ccca3f43176ae16e2d736a855a59f49edddbc224 # timeout=10 06:00:42 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 06:00:42 > git --version # timeout=10 06:00:42 > git --version # 'git version 2.25.1' 06:00:42 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 06:00:42 06:00:42 GitHub has been notified of this commit’s build result 06:00:42 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:00:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:00:43 % Total % Received % Xferd Average Speed Time Time Time Current 06:00:43 Dload Upload Total Spent Left Speed 06:00:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98084 0 --:--:-- --:--:-- --:--:-- 98844 [Pipeline] sh 06:00:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:00:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:00:44 + sudo tee /etc/docker/daemon.new 06:00:44 { 06:00:44 "registry-mirrors": [ 06:00:44 "https://nexus3.edgexfoundry.org:10001" 06:00:44 ], 06:00:44 "bip": "10.250.0.254/24", 06:00:44 "hosts": [ 06:00:44 "tcp://0.0.0.0:5555", 06:00:44 "unix:///var/run/docker.sock" 06:00:44 ], 06:00:44 "mtu": 1458, 06:00:44 "selinux-enabled": true, 06:00:44 "seccomp-profile": "/etc/docker/seccomp.json" 06:00:44 } [Pipeline] sh 06:00:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:00:45 + sudo service docker restart 06:00:45 2f39f015ded8: Pull complete 06:00:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:00:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:00:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:45 prd-ubuntu20.04-docker-8c-8g-7536 does not seem to be running inside a container 06:00:45 $ 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-418 -v /w/workspace/xfoundry_device-modbus-go_PR-418:/w/workspace/xfoundry_device-modbus-go_PR-418:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-418@tmp:/w/workspace/xfoundry_device-modbus-go_PR-418@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:00:47 $ docker top e195b329570fd768fa7df7ff75898f579a4d39cfcfca15ef4a74a2b9610c7380 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:47 ---> job-cost.sh 06:00:47 lf-activate-venv: SKIPPING 06:00:47 INFO: No Stack... 06:00:47 INFO: Retrieving Pricing Info for: v3-standard-8 06:00:48 INFO: Archiving Costs [Pipeline] sh 06:00:48 + cat /w/workspace/xfoundry_device-modbus-go_PR-418/archives/cost.csv 06:00:48 + cut -d, -f6 [Pipeline] lock 06:00:48 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-418-1-stack-cost] 06:00:48 Resource [jenkins-edgexfoundry-device-modbus-go-PR-418-1-stack-cost] did not exist. Created. 06:00:48 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-418-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:00:48 + echo total: 0.2199999988079071 [Pipeline] stash 06:00:48 Stashed 1 file(s) [Pipeline] } 06:00:48 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-418-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:00:49 $ docker stop --time=1 e195b329570fd768fa7df7ff75898f579a4d39cfcfca15ef4a74a2b9610c7380 06:00:50 $ docker rm -f --volumes e195b329570fd768fa7df7ff75898f579a4d39cfcfca15ef4a74a2b9610c7380 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:01:03 provisioning config files... 06:01:03 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config12185562718140601900tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:01:04 ---> docker-login.sh 06:01:04 nexus3.edgexfoundry.org:10001 06:01:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:04 Configure a credential helper to remove this warning. See 06:01:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:04 06:01:04 Login Succeeded 06:01:04 nexus3.edgexfoundry.org:10002 06:01:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:05 Configure a credential helper to remove this warning. See 06:01:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:05 06:01:05 Login Succeeded 06:01:05 nexus3.edgexfoundry.org:10003 06:01:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:05 Configure a credential helper to remove this warning. See 06:01:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:05 06:01:05 Login Succeeded 06:01:05 nexus3.edgexfoundry.org:10004 06:01:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:05 Configure a credential helper to remove this warning. See 06:01:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:05 06:01:05 Login Succeeded 06:01:05 docker.io 06:01:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:06 Configure a credential helper to remove this warning. See 06:01:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:06 06:01:06 Login Succeeded 06:01:06 ---> docker-login.sh ends [Pipeline] } 06:01:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:01:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:01:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:01:06 ========================================================= 06:01:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 06:01:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:07 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 06:01:07 Sending build context to Docker daemon 3.346MB 06:01:07 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 06:01:07 Step 2/10 : FROM ${BASE} AS builder 06:01:07 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:01:07 9b18e9b68314: Pulling fs layer 06:01:07 35d82f9e3411: Pulling fs layer 06:01:07 e16973657156: Pulling fs layer 06:01:07 fc693d55d65f: Pulling fs layer 06:01:07 7e9fc2657dce: Pulling fs layer 06:01:07 dda99020689f: Pulling fs layer 06:01:07 db1c61fa0a46: Pulling fs layer 06:01:07 891c053d2c06: Pulling fs layer 06:01:07 dda99020689f: Waiting 06:01:07 db1c61fa0a46: Waiting 06:01:07 891c053d2c06: Waiting 06:01:07 fc693d55d65f: Waiting 06:01:07 7e9fc2657dce: Waiting 06:01:07 e16973657156: Download complete 06:01:07 35d82f9e3411: Verifying Checksum 06:01:07 35d82f9e3411: Download complete 06:01:07 7e9fc2657dce: Verifying Checksum 06:01:07 7e9fc2657dce: Download complete 06:01:08 dda99020689f: Verifying Checksum 06:01:08 dda99020689f: Download complete 06:01:08 9b18e9b68314: Verifying Checksum 06:01:08 9b18e9b68314: Download complete 06:01:09 9b18e9b68314: Pull complete 06:01:09 891c053d2c06: Verifying Checksum 06:01:09 891c053d2c06: Download complete 06:01:09 35d82f9e3411: Pull complete 06:01:09 e16973657156: Pull complete 06:01:10 db1c61fa0a46: Download complete 06:01:10 fc693d55d65f: Verifying Checksum 06:01:10 fc693d55d65f: Download complete 06:01:23 fc693d55d65f: Pull complete 06:01:23 7e9fc2657dce: Pull complete 06:01:23 dda99020689f: Pull complete 06:01:30 db1c61fa0a46: Pull complete 06:01:34 891c053d2c06: Pull complete 06:01:34 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 06:01:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 06:01:34 ---> f96f9c87975a 06:01:34 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:01:36 ---> Running in 670655e204da 06:01:36 Removing intermediate container 670655e204da 06:01:36 ---> f2baebcab832 06:01:36 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:01:36 ---> Running in 02b5f5d0f514 06:01:36 Removing intermediate container 02b5f5d0f514 06:01:36 ---> f6e35353d140 06:01:36 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:01:36 ---> Running in 8a237c3f4834 06:01:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:01:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:01:39 (1/8) Installing openssh-keygen (9.0_p1-r2) 06:01:39 (2/8) Installing libedit (20210910.3.1-r0) 06:01:39 (3/8) Installing openssh-client-common (9.0_p1-r2) 06:01:39 (4/8) Installing openssh-client-default (9.0_p1-r2) 06:01:39 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 06:01:39 (6/8) Installing openssh-server-common (9.0_p1-r2) 06:01:39 (7/8) Installing openssh-server (9.0_p1-r2) 06:01:39 (8/8) Installing openssh (9.0_p1-r2) 06:01:39 Executing busybox-1.35.0-r17.trigger 06:01:39 OK: 228 MiB in 59 packages 06:01:40 Removing intermediate container 8a237c3f4834 06:01:40 ---> c477abbe6204 06:01:40 Step 6/10 : WORKDIR /device-modbus-go 06:01:40 ---> Running in a1306500a557 06:01:40 Removing intermediate container a1306500a557 06:01:40 ---> 96f816e86988 06:01:40 Step 7/10 : COPY go.mod vendor* ./ 06:01:41 ---> ad712c16071d 06:01:41 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:01:41 ---> Running in 8afe358e0eca 06:02:49 Removing intermediate container 8afe358e0eca 06:02:49 ---> a48551266b7d 06:02:49 Step 9/10 : COPY . . 06:02:49 ---> ef12d47a8f35 06:02:49 Step 10/10 : RUN ${MAKE} 06:02:49 ---> Running in 16ef93eaedf3 06:02:49 noop 06:02:50 Removing intermediate container 16ef93eaedf3 06:02:50 ---> 8ed8a1d90236 06:02:50 Successfully built 8ed8a1d90236 06:02:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:50 + docker inspect -f . ci-base-image-arm64 06:02:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:02:50 prd-ubuntu20.04-docker-arm64-4c-16g-7541 does not seem to be running inside a container 06:02:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:02:52 $ docker top fc62ecfdf5f3ca6dd9a2be3fde664578d3fc1b51eff8927891a215d0af4d7d2a -eo pid,comm [Pipeline] { [Pipeline] sh 06:02:52 + go version 06:02:53 go version go1.18.7 linux/arm64 [Pipeline] } 06:02:53 $ docker stop --time=1 fc62ecfdf5f3ca6dd9a2be3fde664578d3fc1b51eff8927891a215d0af4d7d2a 06:02:54 $ docker rm -f --volumes fc62ecfdf5f3ca6dd9a2be3fde664578d3fc1b51eff8927891a215d0af4d7d2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:55 + docker inspect -f . ci-base-image-arm64 06:02:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:02:56 prd-ubuntu20.04-docker-arm64-4c-16g-7541 does not seem to be running inside a container 06:02:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:02:57 $ docker top 659966c958a53502828513e2fbd20dcb92a8f11d9a677fe18aa60ee1668d3c30 -eo pid,comm [Pipeline] { [Pipeline] sh 06:02:58 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 06:02:59 + make test 06:02:59 go test ./... -coverprofile=coverage.out 06:03:01 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:04:37 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:04:37 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.064s coverage: 47.7% of statements 06:04:37 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:04:37 go vet ./... 06:04:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:04:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:04:59 ./bin/test-attribution-txt.sh [Pipeline] echo 06:04:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:04:59 $ docker stop --time=1 659966c958a53502828513e2fbd20dcb92a8f11d9a677fe18aa60ee1668d3c30 06:05:01 $ docker rm -f --volumes 659966c958a53502828513e2fbd20dcb92a8f11d9a677fe18aa60ee1668d3c30 [Pipeline] // withDockerContainer [Pipeline] sh 06:05:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:05:02 Warning: overwriting stash ‘coverage-report’ 06:05:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:05:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:05:04 + ls -al . 06:05:04 total 180 06:05:04 drwxrwxr-x 9 jenkins jenkins 4096 Feb 27 06:03 . 06:05:04 drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 06:00 .. 06:05:04 -rw-rw-r-- 1 jenkins jenkins 140 Feb 27 06:00 .dockerignore 06:05:04 drwxrwxr-x 8 jenkins jenkins 4096 Feb 27 06:00 .git 06:05:04 drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 06:00 .github 06:05:04 -rw-rw-r-- 1 jenkins jenkins 331 Feb 27 06:00 .gitignore 06:05:04 -rw-rw-r-- 1 jenkins jenkins 41 Feb 27 06:00 .golangci.yml 06:05:04 -rw-rw-r-- 1 jenkins jenkins 10236 Feb 27 06:00 Attribution.txt 06:05:04 -rw-rw-r-- 1 jenkins jenkins 11576 Feb 27 06:00 CHANGELOG.md 06:05:04 -rw-rw-r-- 1 jenkins jenkins 1365 Feb 27 06:00 Dockerfile 06:05:04 -rw-rw-r-- 1 jenkins jenkins 677 Feb 27 06:00 GOVERNANCE.md 06:05:04 -rw-rw-r-- 1 jenkins jenkins 680 Feb 27 06:00 Jenkinsfile 06:05:04 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 27 06:00 LICENSE 06:05:04 -rw-rw-r-- 1 jenkins jenkins 1670 Feb 27 06:00 Makefile 06:05:04 -rw-rw-r-- 1 jenkins jenkins 622 Feb 27 06:00 OWNERS.md 06:05:04 -rw-rw-r-- 1 jenkins jenkins 4061 Feb 27 06:00 README.md 06:05:04 -rw-rw-r-- 1 jenkins jenkins 5 Feb 27 05:58 VERSION 06:05:04 drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 06:00 bin 06:05:04 drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 06:00 cmd 06:05:04 -rw-r--r-- 1 jenkins jenkins 23241 Feb 27 06:04 coverage.out 06:05:04 -rw-rw-r-- 1 jenkins jenkins 3497 Feb 27 06:00 go.mod 06:05:04 -rw-rw-r-- 1 jenkins jenkins 33596 Feb 27 06:00 go.sum 06:05:04 drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 06:00 internal 06:05:04 drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 06:00 simulator 06:05:04 drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 06:00 snap 06:05:04 -rw-rw-r-- 1 jenkins jenkins 229 Feb 27 06:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:04 + 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=ccca3f43176ae16e2d736a855a59f49edddbc224 --label arch=arm64 --label version=0.0.0 . 06:05:05 Sending build context to Docker daemon 3.37MB 06:05:05 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 06:05:05 Step 2/22 : FROM ${BASE} AS builder 06:05:05 ---> 8ed8a1d90236 06:05:05 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:05:05 ---> Running in b1845e781851 06:05:05 Removing intermediate container b1845e781851 06:05:05 ---> 048bf935f47f 06:05:05 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:05:05 ---> Running in 2f7286e9f888 06:05:06 Removing intermediate container 2f7286e9f888 06:05:06 ---> 3c3c450f1dc8 06:05:06 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:05:06 ---> Running in 5ce731dfd799 06:05:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:05:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:05:08 OK: 228 MiB in 59 packages 06:05:09 Removing intermediate container 5ce731dfd799 06:05:09 ---> 12d651f6464d 06:05:09 Step 6/22 : WORKDIR /device-modbus-go 06:05:10 ---> Running in 6a2d79385781 06:05:10 Removing intermediate container 6a2d79385781 06:05:10 ---> 6839d485ec92 06:05:10 Step 7/22 : COPY go.mod vendor* ./ 06:05:12 ---> 6bcac179920b 06:05:12 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:05:12 ---> Running in 2e949720f847 06:05:16 Removing intermediate container 2e949720f847 06:05:16 ---> 193a1f8ae614 06:05:16 Step 9/22 : COPY . . 06:05:17 ---> 521224378db3 06:05:17 Step 10/22 : RUN ${MAKE} 06:05:17 ---> Running in e1638f5f36a7 06:05:18 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 06:07:55 Removing intermediate container e1638f5f36a7 06:07:55 ---> 23fa1eff74e1 06:07:55 Step 11/22 : FROM alpine:3.14 06:07:55 3.14: Pulling from library/alpine 06:07:55 6f0e733d82e2: Pulling fs layer 06:07:55 6f0e733d82e2: Verifying Checksum 06:07:55 6f0e733d82e2: Download complete 06:07:55 6f0e733d82e2: Pull complete 06:07:55 Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 06:07:55 Status: Downloaded newer image for alpine:3.14 06:07:55 ---> bf97f6347a60 06:07:55 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:07:55 ---> Running in 83cebb9050f5 06:07:55 Removing intermediate container 83cebb9050f5 06:07:55 ---> ad3664d2425f 06:07:55 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:07:55 ---> Running in 466ac64ffde5 06:07:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 06:07:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 06:07:55 (1/1) Installing dumb-init (1.2.5-r1) 06:07:55 Executing busybox-1.33.1-r8.trigger 06:07:55 OK: 6 MiB in 15 packages 06:07:56 Removing intermediate container 466ac64ffde5 06:07:56 ---> 1e34e09ada97 06:07:56 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:07:58 ---> 21670ded67cd 06:07:58 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:07:58 ---> d47b50a6373a 06:07:58 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:07:58 ---> 36f2f3c75f22 06:07:58 Step 17/22 : EXPOSE 59901 06:07:59 ---> Running in a77238b8af7a 06:07:59 Removing intermediate container a77238b8af7a 06:07:59 ---> a5a6cd2589db 06:07:59 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:07:59 ---> Running in 2d387d4a24a2 06:07:59 Removing intermediate container 2d387d4a24a2 06:07:59 ---> 8936bbc75d01 06:07:59 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:07:59 ---> Running in f98af6685bad 06:08:00 Removing intermediate container f98af6685bad 06:08:00 ---> cc686246d6c7 06:08:00 Step 20/22 : LABEL arch=arm64 06:08:00 ---> Running in 298b599290f9 06:08:00 Removing intermediate container 298b599290f9 06:08:00 ---> b0b0e3049767 06:08:00 Step 21/22 : LABEL git_sha=ccca3f43176ae16e2d736a855a59f49edddbc224 06:08:00 ---> Running in 1dece4038fd6 06:08:01 Removing intermediate container 1dece4038fd6 06:08:01 ---> 2680e3d6d7e3 06:08:01 Step 22/22 : LABEL version=0.0.0 06:08:01 ---> Running in 95e0ed174aa5 06:08:01 Removing intermediate container 95e0ed174aa5 06:08:01 ---> bdc9939c697e 06:08:01 [Warning] One or more build-args [ARCH] were not consumed 06:08:01 Successfully built bdc9939c697e 06:08:01 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 06:08:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:08:02 06:08:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:08:02 arm64: Pulling from edgex-lftools-log-publisher 06:08:02 8998bd30e6a1: Pulling fs layer 06:08:02 04944245beec: Pulling fs layer 06:08:02 699f458cf7ca: Pulling fs layer 06:08:02 765212b225bb: Pulling fs layer 06:08:02 f23df028b6ca: Pulling fs layer 06:08:02 765212b225bb: Waiting 06:08:02 d65c8cfc05b1: Pulling fs layer 06:08:02 f23df028b6ca: Waiting 06:08:02 2437ff75d9bd: Pulling fs layer 06:08:02 d65c8cfc05b1: Waiting 06:08:02 2437ff75d9bd: Waiting 06:08:03 04944245beec: Verifying Checksum 06:08:03 04944245beec: Download complete 06:08:03 765212b225bb: Verifying Checksum 06:08:03 765212b225bb: Download complete 06:08:03 f23df028b6ca: Download complete 06:08:03 d65c8cfc05b1: Verifying Checksum 06:08:03 d65c8cfc05b1: Download complete 06:08:03 699f458cf7ca: Verifying Checksum 06:08:03 699f458cf7ca: Download complete 06:08:03 8998bd30e6a1: Verifying Checksum 06:08:03 8998bd30e6a1: Download complete 06:08:06 2437ff75d9bd: Verifying Checksum 06:08:06 2437ff75d9bd: Download complete 06:08:08 8998bd30e6a1: Pull complete 06:08:08 04944245beec: Pull complete 06:08:10 699f458cf7ca: Pull complete 06:08:10 765212b225bb: Pull complete 06:08:11 f23df028b6ca: Pull complete 06:08:11 d65c8cfc05b1: Pull complete 06:08:29 2437ff75d9bd: Pull complete 06:08:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:08:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:08:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:08:30 prd-ubuntu20.04-docker-arm64-4c-16g-7541 does not seem to be running inside a container 06:08:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:08:32 $ docker top 157a3b756363c6ff4ee6661dde861234e57d138f1c2f4ee90a1f631f658fb686 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:08:34 ---> job-cost.sh 06:08:34 lf-activate-venv: SKIPPING 06:08:34 INFO: No Stack... 06:08:34 INFO: Retrieving Pricing Info for: v3-standard-4 06:08:35 INFO: Archiving Costs [Pipeline] sh 06:08:35 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 06:08:35 + cut -d, -f6 [Pipeline] lock 06:08:36 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-418-1-stack-cost] 06:08:36 Resource [jenkins-edgexfoundry-device-modbus-go-PR-418-1-stack-cost] did not exist. Created. 06:08:36 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-418-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:08:36 /w/workspace/device-modbus-go/1@tmp/durable-232a084a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:08:37 + echo total: 0.10999999940395355 [Pipeline] stash 06:08:37 Warning: overwriting stash ‘stack-cost’ 06:08:37 Stashed 1 file(s) [Pipeline] } 06:08:37 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-418-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:08:37 $ docker stop --time=1 157a3b756363c6ff4ee6661dde861234e57d138f1c2f4ee90a1f631f658fb686 06:08:39 $ docker rm -f --volumes 157a3b756363c6ff4ee6661dde861234e57d138f1c2f4ee90a1f631f658fb686 [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 06:08:40 provisioning config files... 06:08:40 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-418@tmp/config7443770367316022298tmp [Pipeline] { [Pipeline] sh 06:08:40 + set +x 06:08:40 + + curl -s https://codecov.io/bash 06:08:40 bash -s -- 06:08:40 06:08:40 _____ _ 06:08:40 / ____| | | 06:08:40 | | ___ __| | ___ ___ _____ __ 06:08:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:08:40 | |___| (_) | (_| | __/ (_| (_) \ V / 06:08:40 \_____\___/ \__,_|\___|\___\___/ \_/ 06:08:40 Bash-1.0.6 06:08:40 06:08:40 06:08:40 ==> git version 2.25.1 found 06:08:40 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 06:08:40 Release-Date: 2020-01-08 06:08:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:08:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:08:40 ==> Jenkins CI detected. 06:08:40 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-418 06:08:40 project root: . 06:08:40 --> token set from env 06:08:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:08:40 ==> Running gcov in . (disable via -X gcov) 06:08:40 ==> Python coveragepy not found 06:08:40 ==> Searching for coverage reports in: 06:08:40 + . 06:08:40 -> Found 1 reports 06:08:40 ==> Detecting git/mercurial file structure 06:08:40 ==> Reading reports 06:08:40 + ./coverage.out bytes=23241 06:08:40 ==> Appending adjustments 06:08:40 https://docs.codecov.io/docs/fixing-reports 06:08:40 + Found adjustments 06:08:40 ==> Gzipping contents 06:08:40 4.0K /tmp/codecov.lw0Hcx.gz 06:08:40 ==> Uploading reports 06:08:40 url: https://codecov.io 06:08:40 query: branch=PR-418&commit=ccca3f43176ae16e2d736a855a59f49edddbc224&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-418%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=418&job=&cmd_args= 06:08:40 -> Pinging Codecov 06:08:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-418&commit=ccca3f43176ae16e2d736a855a59f49edddbc224&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-418%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=418&job=&cmd_args= 06:08:40 -> Uploading to 06:08:40 https://storage.googleapis.com/codecov/v4/raw/2023-02-27/55DBCA73C666E3227836607328DD7E49/ccca3f43176ae16e2d736a855a59f49edddbc224/28ed94e0-5e73-42ea-9a46-49cf37e3cb15.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230227%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230227T060840Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e5219dbbe32f86e28439ed96b813c98e2601cc53f716d080da43eed6f8ec8b33 06:08:40 % Total % Received % Xferd Average Speed Time Time Time Current 06:08:40 Dload Upload Total Spent Left Speed 06:08:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3898 0 0 100 3898 0 16729 --:--:-- --:--:-- --:--:-- 16801 06:08:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/ccca3f43176ae16e2d736a855a59f49edddbc224 [Pipeline] } 06:08:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:08:42 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-418/archives ] 06:08:42 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-418/archives 06:08:42 total 16 06:08:42 drwxr-xr-x 3 root root 4096 Feb 27 06:00 . 06:08:42 drwxrwxr-x 11 jenkins jenkins 4096 Feb 27 06:00 .. 06:08:42 drwxr-xr-x 2 root root 4096 Feb 27 06:00 cost 06:08:42 -rw-r--r-- 1 root root 88 Feb 27 06:00 cost.csv 06:08:42 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-418/archives 06:08:42 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-418/archives 06:08:42 total 16 06:08:42 drwxr-xr-x 3 jenkins jenkins 4096 Feb 27 06:00 . 06:08:42 drwxrwxr-x 11 jenkins jenkins 4096 Feb 27 06:00 .. 06:08:42 drwxr-xr-x 2 jenkins jenkins 4096 Feb 27 06:00 cost 06:08:42 -rw-r--r-- 1 jenkins jenkins 88 Feb 27 06:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:08:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:08:44 ---> package-listing.sh 06:08:44 ++ facter osfamily 06:08:44 ++ tr '[:upper:]' '[:lower:]' 06:08:44 + OS_FAMILY=debian 06:08:44 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-418 06:08:44 + START_PACKAGES=/tmp/packages_start.txt 06:08:44 + END_PACKAGES=/tmp/packages_end.txt 06:08:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:08:44 + PACKAGES=/tmp/packages_start.txt 06:08:44 + '[' /w/workspace/xfoundry_device-modbus-go_PR-418 ']' 06:08:44 + PACKAGES=/tmp/packages_end.txt 06:08:44 + case "${OS_FAMILY}" in 06:08:44 + dpkg -l 06:08:44 + grep '^ii' 06:08:44 + '[' -f /tmp/packages_start.txt ']' 06:08:44 + '[' -f /tmp/packages_end.txt ']' 06:08:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:08:44 + '[' /w/workspace/xfoundry_device-modbus-go_PR-418 ']' 06:08:44 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-418/archives/ 06:08:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-418/archives/ [Pipeline] echo 06:08:44 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-418/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:08:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:08:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:08:45 prd-ubuntu20.04-docker-8c-8g-7536 does not seem to be running inside a container 06:08:45 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-418/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-418 -v /w/workspace/xfoundry_device-modbus-go_PR-418:/w/workspace/xfoundry_device-modbus-go_PR-418:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-418@tmp:/w/workspace/xfoundry_device-modbus-go_PR-418@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 06:08:45 $ docker top e03cb55246250bc22172ea2891426162219c7de473c7ff6c0d72c8b1641347b1 -eo pid,comm [Pipeline] { [Pipeline] sh 06:08:46 + touch /tmp/pre-build-complete [Pipeline] sh 06:08:46 + mkdir -p /var/log/sysstat [Pipeline] sh 06:08:46 + ls /var/log/sa-host 06:08:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:08:46 provisioning config files... 06:08:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-418@tmp/config9647628686692888057tmp [Pipeline] { [Pipeline] echo 06:08:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:08:47 ---> create-netrc.sh [Pipeline] } 06:08:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:08:47 ---> python-tools-install.sh [Pipeline] echo 06:08:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:08:48 ---> sudo-logs.sh 06:08:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:08:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:08:48 ---> job-cost.sh 06:08:48 lf-activate-venv: SKIPPING 06:08:48 DEBUG: total: 0.2199999988079071 06:08:48 INFO: Retrieving Stack Cost... 06:08:48 INFO: Retrieving Pricing Info for: v3-standard-8 06:08:49 INFO: Archiving Costs [Pipeline] echo 06:08:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:08:49 ---> logs-deploy.sh 06:08:49 lf-activate-venv: SKIPPING 06:08:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-418/1 06:08:49 INFO: archiving workspace using pattern(s): 06:08:50 Archives upload complete. 06:08:50 INFO: archiving logs to Nexus