Pull request #397 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of marcpfuller for edgexfoundry/device-modbus-go Loading trusted files from base branch main at b747fdb0f46d56fab49edbd998369f5c6173beb1 rather than 5c778906de6ba481e4089c32075684d12eab5fb4 Obtained Jenkinsfile from b747fdb0f46d56fab49edbd998369f5c6173beb1 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-ssh17602625792625508922.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-ssh6865587484652512772.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-397/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-397/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2036213715359403590.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-397/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17912905814270170662.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-ssh11971561110888898849.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-397/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-397/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12647737463907644034.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-1646 in /w/workspace/xfoundry_device-modbus-go_PR-397 [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-397 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/397/head:refs/remotes/origin/PR-397 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b747fdb0f46d56fab49edbd998369f5c6173beb1 into PR head commit 5c778906de6ba481e4089c32075684d12eab5fb4 Merge succeeded, producing 5c778906de6ba481e4089c32075684d12eab5fb4 Checking out Revision 5c778906de6ba481e4089c32075684d12eab5fb4 (PR-397) > git config core.sparsecheckout # timeout=10 > git checkout -f 5c778906de6ba481e4089c32075684d12eab5fb4 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b747fdb0f46d56fab49edbd998369f5c6173beb1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5c778906de6ba481e4089c32075684d12eab5fb4 # timeout=10 Commit message: "feat!: Remove ZeroMQ MessageBus capability" 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 20:05:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:05:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:05:25 ========================================================= 20:05:25 EdgeX Global Pipelines Version Info 20:05:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:05:26 ------------------- 20:05:26 stable info: 20:05:26 ------------------- 20:05:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:05:26 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 20:05:26 Message: update stable to v1.0.244 20:05:26 ------------------- 20:05:26 experimental info: 20:05:26 ------------------- 20:05:26 Commited By: **** collab-it+edgex@linuxfoundation.org 20:05:26 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 20:05:26 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:05:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 20:05:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 20:05:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:05:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:05:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:05:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:05:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:05:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:05:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:05:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:05:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:05:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 20:05:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:05:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:05:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:05:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:05:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:05:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:05:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:05:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:05:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:05:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:05:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:05:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:05:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:05:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:05:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:05:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-397 [Pipeline] echo 20:05:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-397 [Pipeline] echo 20:05:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-397 [Pipeline] echo 20:05:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5c778906de6ba481e4089c32075684d12eab5fb4 [Pipeline] echo 20:05:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5c77890 [Pipeline] echo 20:05:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:05:28 provisioning config files... 20:05:28 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-397@tmp/config8464903626542425272tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:05:29 ---> docker-login.sh 20:05:29 nexus3.edgexfoundry.org:10001 20:05:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:29 Configure a credential helper to remove this warning. See 20:05:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:29 20:05:29 Login Succeeded 20:05:29 nexus3.edgexfoundry.org:10002 20:05:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:29 Configure a credential helper to remove this warning. See 20:05:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:29 20:05:29 Login Succeeded 20:05:29 nexus3.edgexfoundry.org:10003 20:05:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:29 Configure a credential helper to remove this warning. See 20:05:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:29 20:05:29 Login Succeeded 20:05:29 nexus3.edgexfoundry.org:10004 20:05:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:29 Configure a credential helper to remove this warning. See 20:05:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:29 20:05:29 Login Succeeded 20:05:29 docker.io 20:05:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:30 Configure a credential helper to remove this warning. See 20:05:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:30 20:05:30 Login Succeeded 20:05:30 ---> docker-login.sh ends [Pipeline] } 20:05:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:05:30 + git rev-list -1 --merges 5c778906de6ba481e4089c32075684d12eab5fb4~1..5c778906de6ba481e4089c32075684d12eab5fb4 [Pipeline] echo 20:05:31 -----------> git rev-list -1 --merges 5c778906de6ba481e4089c32075684d12eab5fb4~1..5c778906de6ba481e4089c32075684d12eab5fb4 5c778906de6ba481e4089c32075684d12eab5fb4 [false] [Pipeline] sh 20:05:31 + git log --format=format:%s -1 5c778906de6ba481e4089c32075684d12eab5fb4 [Pipeline] echo 20:05:31 ========================================================= 20:05:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:05:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:05:31 + git log --format=format:%s -1 5c778906de6ba481e4089c32075684d12eab5fb4 [Pipeline] echo 20:05:31 [semverPrep] GIT_COMMIT: 5c778906de6ba481e4089c32075684d12eab5fb4, Commit Message: feat!: Remove ZeroMQ MessageBus capability [Pipeline] echo 20:05:31 [semverPrep] This is not a build commit. [Pipeline] sh 20:05:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:05:32 + grep -v github /etc/ssh/ssh_known_hosts 20:05:32 + [ -e /tmp/ssh_known_hosts ] 20:05:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:05:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:05:32 + sudo tee -a /etc/ssh/ssh_known_hosts 20:05:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:05:32 20:05:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:05:33 0.1.4: Pulling from edgex-devops/py-git-semver 20:05:33 b85a868b505f: Pulling fs layer 20:05:33 e2be974225ed: Pulling fs layer 20:05:33 339a4e72a1f5: Pulling fs layer 20:05:33 988bab9f4d93: Pulling fs layer 20:05:33 1469e6f7b9e6: Pulling fs layer 20:05:33 eaf3925da568: Pulling fs layer 20:05:33 bab4dde63d76: Pulling fs layer 20:05:33 bde34c3a00c8: Pulling fs layer 20:05:33 b352a97aabf1: Pulling fs layer 20:05:33 4872d77fe225: Pulling fs layer 20:05:33 5851b861e8e6: Pulling fs layer 20:05:33 1469e6f7b9e6: Waiting 20:05:33 b352a97aabf1: Waiting 20:05:33 5851b861e8e6: Waiting 20:05:33 eaf3925da568: Waiting 20:05:33 bde34c3a00c8: Waiting 20:05:33 988bab9f4d93: Waiting 20:05:33 4872d77fe225: Waiting 20:05:33 e2be974225ed: Download complete 20:05:33 988bab9f4d93: Download complete 20:05:33 339a4e72a1f5: Verifying Checksum 20:05:33 339a4e72a1f5: Download complete 20:05:33 eaf3925da568: Verifying Checksum 20:05:33 eaf3925da568: Download complete 20:05:33 1469e6f7b9e6: Verifying Checksum 20:05:33 1469e6f7b9e6: Download complete 20:05:33 bde34c3a00c8: Verifying Checksum 20:05:33 bde34c3a00c8: Download complete 20:05:33 b352a97aabf1: Verifying Checksum 20:05:33 b352a97aabf1: Download complete 20:05:33 4872d77fe225: Verifying Checksum 20:05:33 4872d77fe225: Download complete 20:05:33 5851b861e8e6: Verifying Checksum 20:05:33 5851b861e8e6: Download complete 20:05:33 b85a868b505f: Verifying Checksum 20:05:33 b85a868b505f: Download complete 20:05:33 bab4dde63d76: Verifying Checksum 20:05:33 bab4dde63d76: Download complete 20:05:34 b85a868b505f: Pull complete 20:05:34 e2be974225ed: Pull complete 20:05:35 339a4e72a1f5: Pull complete 20:05:35 988bab9f4d93: Pull complete 20:05:35 1469e6f7b9e6: Pull complete 20:05:36 eaf3925da568: Pull complete 20:05:37 bab4dde63d76: Pull complete 20:05:37 bde34c3a00c8: Pull complete 20:05:37 b352a97aabf1: Pull complete 20:05:37 4872d77fe225: Pull complete 20:05:38 5851b861e8e6: Pull complete 20:05:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:05:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:05:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:05:38 prd-ubuntu20.04-docker-8c-8g-1646 does not seem to be running inside a container 20:05:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-397 -v /w/workspace/xfoundry_device-modbus-go_PR-397:/w/workspace/xfoundry_device-modbus-go_PR-397:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-397@tmp:/w/workspace/xfoundry_device-modbus-go_PR-397@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:05:39 $ docker top f163a87369a83462b2ac9caf2c8cea6d22d993d7a866fe6a3ea43b4c67339634 -eo pid,comm 20:05:39 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). 20:05:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:05:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:05:39 [ssh-agent] Looking for ssh-agent implementation... 20:05:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:05:39 $ docker exec f163a87369a83462b2ac9caf2c8cea6d22d993d7a866fe6a3ea43b4c67339634 ssh-agent 20:05:40 SSH_AUTH_SOCK=/tmp/ssh-XIVRGqo0QuUY/agent.32 20:05:40 SSH_AGENT_PID=38 20:05:40 Running ssh-add (command line suppressed) 20:05:40 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-397@tmp/private_key_9851524859434601728.key (/w/workspace/xfoundry_device-modbus-go_PR-397@tmp/private_key_9851524859434601728.key) 20:05:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:05:40 + git tag --points-at HEAD [Pipeline] } 20:05:40 $ docker exec --env ******** --env ******** f163a87369a83462b2ac9caf2c8cea6d22d993d7a866fe6a3ea43b4c67339634 ssh-agent -k 20:05:40 unset SSH_AUTH_SOCK; 20:05:40 unset SSH_AGENT_PID; 20:05:40 echo Agent pid 38 killed; 20:05:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:05:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:05:40 [ssh-agent] Looking for ssh-agent implementation... 20:05:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:05:40 $ docker exec f163a87369a83462b2ac9caf2c8cea6d22d993d7a866fe6a3ea43b4c67339634 ssh-agent 20:05:41 SSH_AUTH_SOCK=/tmp/ssh-QtWA1O66zpZu/agent.70 20:05:41 SSH_AGENT_PID=76 20:05:41 Running ssh-add (command line suppressed) 20:05:41 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-397@tmp/private_key_15193595125717634430.key (/w/workspace/xfoundry_device-modbus-go_PR-397@tmp/private_key_15193595125717634430.key) 20:05:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:05:41 + git semver init 20:05:41 2023-01-10 20:05:41,708 [run_init] DEBUG init version:0.0.0 force:False 20:05:41 2023-01-10 20:05:41,709 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-397/.semver 20:05:41 2023-01-10 20:05:41,709 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-397/.semver 20:05:41 2023-01-10 20:05:41,709 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-397/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-397, universal_newlines=False, shell=None, istream=None) 20:05:42 2023-01-10 20:05:42,552 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-397/.git/info/exclude 20:05:42 2023-01-10 20:05:42,552 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-397/.semver/PR-397 with force:False 20:05:42 2023-01-10 20:05:42,553 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-397/.semver/PR-397 20:05:42 2023-01-10 20:05:42,557 [execute] INFO git cat-file --batch-check 20:05:42 2023-01-10 20:05:42,558 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-397/.semver, universal_newlines=False, shell=None, istream=) 20:05:42 2023-01-10 20:05:42,565 [execute] INFO git cat-file --batch 20:05:42 2023-01-10 20:05:42,565 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-397/.semver, universal_newlines=False, shell=None, istream=) 20:05:42 2023-01-10 20:05:42,570 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-397/.semver/PR-397 20:05:42 0.0.0 [Pipeline] } 20:05:42 $ docker exec --env ******** --env ******** f163a87369a83462b2ac9caf2c8cea6d22d993d7a866fe6a3ea43b4c67339634 ssh-agent -k 20:05:42 unset SSH_AUTH_SOCK; 20:05:42 unset SSH_AGENT_PID; 20:05:42 echo Agent pid 76 killed; 20:05:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:05:43 + git semver [Pipeline] } 20:05:43 $ docker stop --time=1 f163a87369a83462b2ac9caf2c8cea6d22d993d7a866fe6a3ea43b4c67339634 20:05:44 $ docker rm -f --volumes f163a87369a83462b2ac9caf2c8cea6d22d993d7a866fe6a3ea43b4c67339634 [Pipeline] // withDockerContainer [Pipeline] sh 20:05:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:05:45 Stashed 1 file(s) [Pipeline] echo 20:05:45 [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 20:05:46 provisioning config files... 20:05:46 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-397@tmp/config12853381831362703736tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:05:46 ---> docker-login.sh 20:05:46 nexus3.edgexfoundry.org:10001 20:05:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:46 Configure a credential helper to remove this warning. See 20:05:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:46 20:05:46 Login Succeeded 20:05:46 nexus3.edgexfoundry.org:10002 20:05:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:46 Configure a credential helper to remove this warning. See 20:05:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:46 20:05:46 Login Succeeded 20:05:46 nexus3.edgexfoundry.org:10003 20:05:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:46 Configure a credential helper to remove this warning. See 20:05:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:46 20:05:46 Login Succeeded 20:05:46 nexus3.edgexfoundry.org:10004 20:05:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:46 Configure a credential helper to remove this warning. See 20:05:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:46 20:05:46 Login Succeeded 20:05:46 docker.io 20:05:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:46 Configure a credential helper to remove this warning. See 20:05:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:46 20:05:46 Login Succeeded 20:05:46 ---> docker-login.sh ends [Pipeline] } 20:05:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:05:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:05:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:05:47 ========================================================= 20:05:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:05:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:47 + 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 . 20:05:47 Sending build context to Docker daemon 6.366MB 20:05:47 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 20:05:47 Step 2/10 : FROM ${BASE} AS builder 20:05:47 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:05:47 213ec9aee27d: Pulling fs layer 20:05:47 4583459ba037: Pulling fs layer 20:05:47 93c1e223e6f2: Pulling fs layer 20:05:47 53926ce57604: Pulling fs layer 20:05:47 21b2b0c7a3f4: Pulling fs layer 20:05:47 22ff95d597cd: Pulling fs layer 20:05:47 12d6caf4c0d1: Pulling fs layer 20:05:47 96b7cbca73a9: Pulling fs layer 20:05:47 a7acece74701: Pulling fs layer 20:05:47 12d6caf4c0d1: Waiting 20:05:47 53926ce57604: Waiting 20:05:47 a7acece74701: Waiting 20:05:47 21b2b0c7a3f4: Waiting 20:05:47 22ff95d597cd: Waiting 20:05:47 96b7cbca73a9: Waiting 20:05:47 93c1e223e6f2: Verifying Checksum 20:05:47 93c1e223e6f2: Download complete 20:05:47 4583459ba037: Download complete 20:05:47 21b2b0c7a3f4: Download complete 20:05:47 22ff95d597cd: Verifying Checksum 20:05:47 22ff95d597cd: Download complete 20:05:48 213ec9aee27d: Verifying Checksum 20:05:48 12d6caf4c0d1: Verifying Checksum 20:05:48 12d6caf4c0d1: Download complete 20:05:48 213ec9aee27d: Pull complete 20:05:48 4583459ba037: Pull complete 20:05:48 93c1e223e6f2: Pull complete 20:05:48 a7acece74701: Verifying Checksum 20:05:48 a7acece74701: Download complete 20:05:48 53926ce57604: Verifying Checksum 20:05:48 53926ce57604: Download complete 20:05:48 96b7cbca73a9: Verifying Checksum 20:05:48 96b7cbca73a9: Download complete 20:05:53 53926ce57604: Pull complete 20:05:53 21b2b0c7a3f4: Pull complete 20:05:53 22ff95d597cd: Pull complete 20:05:53 12d6caf4c0d1: Pull complete 20:05:54 96b7cbca73a9: Pull complete 20:05:55 a7acece74701: Pull complete 20:05:55 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 20:05:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:05:55 ---> db6d94c90886 20:05:55 Step 3/10 : ARG ADD_BUILD_TAGS="" 20:05:57 ---> Running in c5206c094aa4 20:05:57 Removing intermediate container c5206c094aa4 20:05:57 ---> df37183f3ecf 20:05:57 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:05:57 ---> Running in 42fae6e07abb 20:05:57 Removing intermediate container 42fae6e07abb 20:05:57 ---> 9ac42a398c01 20:05:57 Step 5/10 : RUN apk add --update --no-cache make git openssh 20:05:57 ---> Running in 7f30b44efc51 20:05:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:05:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:05:58 (1/8) Installing openssh-keygen (9.0_p1-r2) 20:05:58 (2/8) Installing libedit (20210910.3.1-r0) 20:05:58 (3/8) Installing openssh-client-common (9.0_p1-r2) 20:05:58 (4/8) Installing openssh-client-default (9.0_p1-r2) 20:05:58 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 20:05:58 (6/8) Installing openssh-server-common (9.0_p1-r2) 20:05:58 (7/8) Installing openssh-server (9.0_p1-r2) 20:05:58 (8/8) Installing openssh (9.0_p1-r2) 20:05:58 Executing busybox-1.35.0-r17.trigger 20:05:58 OK: 217 MiB in 59 packages 20:05:59 Removing intermediate container 7f30b44efc51 20:05:59 ---> 24692a296865 20:05:59 Step 6/10 : WORKDIR /device-modbus-go 20:05:59 ---> Running in 82ecfb8a81cf 20:05:59 Removing intermediate container 82ecfb8a81cf 20:05:59 ---> 714855a15ce5 20:05:59 Step 7/10 : COPY go.mod vendor* ./ 20:05:59 ---> 9a84b3732b24 20:05:59 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:05:59 ---> Running in 5e7f29d00adb 20:06:00 Still waiting to schedule task 20:06:00 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:06:25 Removing intermediate container 5e7f29d00adb 20:06:25 ---> 4ace94d09d29 20:06:25 Step 9/10 : COPY . . 20:06:25 ---> a178f1561bb9 20:06:25 Step 10/10 : RUN ${MAKE} 20:06:25 ---> Running in d21c2f3fcff0 20:06:25 noop 20:06:25 Removing intermediate container d21c2f3fcff0 20:06:25 ---> 885d91273d42 20:06:25 Successfully built 885d91273d42 20:06:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:26 + docker inspect -f . ci-base-image-x86_64 20:06:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:06:26 prd-ubuntu20.04-docker-8c-8g-1646 does not seem to be running inside a container 20:06:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-397 -v /w/workspace/xfoundry_device-modbus-go_PR-397:/w/workspace/xfoundry_device-modbus-go_PR-397:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-397@tmp:/w/workspace/xfoundry_device-modbus-go_PR-397@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:06:27 $ docker top 608113bf9633b574cdc0a1bddfe3de5a1146c5adf903ee25d167f7c3127f3d65 -eo pid,comm [Pipeline] { [Pipeline] sh 20:06:27 + go version 20:06:27 go version go1.18.7 linux/amd64 [Pipeline] } 20:06:27 $ docker stop --time=1 608113bf9633b574cdc0a1bddfe3de5a1146c5adf903ee25d167f7c3127f3d65 20:06:28 $ docker rm -f --volumes 608113bf9633b574cdc0a1bddfe3de5a1146c5adf903ee25d167f7c3127f3d65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:29 + docker inspect -f . ci-base-image-x86_64 20:06:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:06:29 prd-ubuntu20.04-docker-8c-8g-1646 does not seem to be running inside a container 20:06:29 $ 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-397 -v /w/workspace/xfoundry_device-modbus-go_PR-397:/w/workspace/xfoundry_device-modbus-go_PR-397:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-397@tmp:/w/workspace/xfoundry_device-modbus-go_PR-397@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:06:29 $ docker top 9bcefc7d834fe55c8b6d68750ab05b9abf59d0a04d75e7469b9a52a30a526df4 -eo pid,comm [Pipeline] { [Pipeline] sh 20:06:30 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-397 [Pipeline] fileExists [Pipeline] sh 20:06:30 + make test 20:06:30 CGO_ENABLED=0 go test ./... -coverprofile=coverage.out 20:06:30 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:06:41 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:06:41 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.7% of statements 20:06:56 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." 20:06:56 CGO_ENABLED=0 go vet ./... 20:06:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:06:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:06:57 ./bin/test-attribution-txt.sh [Pipeline] echo 20:06:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:06:57 $ docker stop --time=1 9bcefc7d834fe55c8b6d68750ab05b9abf59d0a04d75e7469b9a52a30a526df4 20:06:59 $ docker rm -f --volumes 9bcefc7d834fe55c8b6d68750ab05b9abf59d0a04d75e7469b9a52a30a526df4 [Pipeline] // withDockerContainer [Pipeline] sh 20:07:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:07:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:07:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:07:01 + ls -al . 20:07:01 total 196 20:07:01 drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 20:06 . 20:07:01 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 20:05 .. 20:07:01 -rw-rw-r-- 1 jenkins jenkins 140 Jan 10 20:05 .dockerignore 20:07:01 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 20:06 .git 20:07:01 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 20:05 .github 20:07:01 -rw-rw-r-- 1 jenkins jenkins 331 Jan 10 20:05 .gitignore 20:07:01 -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 20:05 .golangci.yml 20:07:01 drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 20:05 .semver 20:07:01 -rw-rw-r-- 1 jenkins jenkins 10017 Jan 10 20:05 Attribution.txt 20:07:01 -rw-rw-r-- 1 jenkins jenkins 11576 Jan 10 20:05 CHANGELOG.md 20:07:01 -rw-rw-r-- 1 jenkins jenkins 1365 Jan 10 20:05 Dockerfile 20:07:01 -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 20:05 GOVERNANCE.md 20:07:01 -rw-rw-r-- 1 jenkins jenkins 680 Jan 10 20:05 Jenkinsfile 20:07:01 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 20:05 LICENSE 20:07:01 -rw-rw-r-- 1 jenkins jenkins 1675 Jan 10 20:05 Makefile 20:07:01 -rw-rw-r-- 1 jenkins jenkins 622 Jan 10 20:05 OWNERS.md 20:07:01 -rw-rw-r-- 1 jenkins jenkins 4061 Jan 10 20:05 README.md 20:07:01 -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 20:05 VERSION 20:07:01 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 20:05 bin 20:07:01 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 20:05 cmd 20:07:01 -rw-r--r-- 1 jenkins jenkins 23241 Jan 10 20:06 coverage.out 20:07:01 -rw-rw-r-- 1 jenkins jenkins 3584 Jan 10 20:05 go.mod 20:07:01 -rw-rw-r-- 1 jenkins jenkins 45355 Jan 10 20:05 go.sum 20:07:01 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 20:05 internal 20:07:01 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 20:05 simulator 20:07:01 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 20:05 snap 20:07:01 -rw-rw-r-- 1 jenkins jenkins 229 Jan 10 20:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:07:01 + 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=5c778906de6ba481e4089c32075684d12eab5fb4 --label arch=amd64 --label version=0.0.0 . 20:07:01 Sending build context to Docker daemon 6.39MB 20:07:01 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 20:07:01 Step 2/22 : FROM ${BASE} AS builder 20:07:01 ---> 885d91273d42 20:07:01 Step 3/22 : ARG ADD_BUILD_TAGS="" 20:07:01 ---> Running in 00a669018798 20:07:01 Removing intermediate container 00a669018798 20:07:01 ---> f489bf57726b 20:07:01 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:07:02 ---> Running in 62a8a1b9c3e6 20:07:02 Removing intermediate container 62a8a1b9c3e6 20:07:02 ---> c4636787e68f 20:07:02 Step 5/22 : RUN apk add --update --no-cache make git openssh 20:07:02 ---> Running in 35954c6f0e5f 20:07:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:07:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:07:02 OK: 217 MiB in 59 packages 20:07:03 Removing intermediate container 35954c6f0e5f 20:07:03 ---> c85a1da26c79 20:07:03 Step 6/22 : WORKDIR /device-modbus-go 20:07:03 ---> Running in a4f58ad08001 20:07:03 Removing intermediate container a4f58ad08001 20:07:03 ---> 22e1843dfd96 20:07:03 Step 7/22 : COPY go.mod vendor* ./ 20:07:03 ---> 6041dd597c6b 20:07:03 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:07:03 ---> Running in 4b2290253057 20:07:04 Removing intermediate container 4b2290253057 20:07:04 ---> 03116db8bb61 20:07:04 Step 9/22 : COPY . . 20:07:04 ---> 7a19566e3670 20:07:04 Step 10/22 : RUN ${MAKE} 20:07:04 ---> Running in 309bc7145b39 20:07:04 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 20:07:26 Removing intermediate container 309bc7145b39 20:07:26 ---> 1bd6794045f5 20:07:26 Step 11/22 : FROM alpine:3.14 20:07:26 3.14: Pulling from library/alpine 20:07:26 c7ed990a2339: Pulling fs layer 20:07:26 c7ed990a2339: Verifying Checksum 20:07:26 c7ed990a2339: Pull complete 20:07:26 Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a 20:07:26 Status: Downloaded newer image for alpine:3.14 20:07:26 ---> dd53f409bf0b 20:07:26 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 20:07:26 ---> Running in aa325fbb5461 20:07:26 Removing intermediate container aa325fbb5461 20:07:26 ---> 5e4fd243417d 20:07:26 Step 13/22 : RUN apk add --update --no-cache dumb-init 20:07:26 ---> Running in 61fe9c9afa3a 20:07:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:07:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:07:26 (1/1) Installing dumb-init (1.2.5-r1) 20:07:26 Executing busybox-1.33.1-r8.trigger 20:07:26 OK: 6 MiB in 15 packages 20:07:26 Removing intermediate container 61fe9c9afa3a 20:07:26 ---> e240f0c92240 20:07:26 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 20:07:26 ---> 76fefef686e4 20:07:26 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 20:07:26 ---> 34d03eb8d67b 20:07:26 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 20:07:26 ---> 072b9b16435c 20:07:26 Step 17/22 : EXPOSE 59901 20:07:26 ---> Running in 5e326bea527a 20:07:26 Removing intermediate container 5e326bea527a 20:07:26 ---> d52530ecf0fc 20:07:26 Step 18/22 : ENTRYPOINT ["/device-modbus"] 20:07:26 ---> Running in bc2da8b6bf9c 20:07:26 Removing intermediate container bc2da8b6bf9c 20:07:26 ---> f97e1b280c37 20:07:26 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:07:26 ---> Running in a0d7a0702e1f 20:07:26 Removing intermediate container a0d7a0702e1f 20:07:26 ---> 94295594f203 20:07:26 Step 20/22 : LABEL arch=amd64 20:07:27 ---> Running in 91f32b9f7434 20:07:27 Removing intermediate container 91f32b9f7434 20:07:27 ---> fb5862be30b5 20:07:27 Step 21/22 : LABEL git_sha=5c778906de6ba481e4089c32075684d12eab5fb4 20:07:27 ---> Running in 59a00b359ecc 20:07:27 Removing intermediate container 59a00b359ecc 20:07:27 ---> 193638367c05 20:07:27 Step 22/22 : LABEL version=0.0.0 20:07:27 ---> Running in 9be9e4b5681f 20:07:27 Removing intermediate container 9be9e4b5681f 20:07:27 ---> 08889168de83 20:07:27 [Warning] One or more build-args [ARCH] were not consumed 20:07:27 Successfully built 08889168de83 20:07:27 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 20:07:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:07:28 20:07:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:07:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:07:28 latest: Pulling from edgex-lftools-log-publisher 20:07:28 5eb5b503b376: Pulling fs layer 20:07:28 5c69ac0246d0: Pulling fs layer 20:07:28 ec43610c2a17: Pulling fs layer 20:07:28 3a2ae6a8a46f: Pulling fs layer 20:07:28 33b1e0a273af: Pulling fs layer 20:07:28 5d3b04190fa2: Pulling fs layer 20:07:28 2f39f015ded8: Pulling fs layer 20:07:28 33b1e0a273af: Waiting 20:07:28 2f39f015ded8: Waiting 20:07:28 5d3b04190fa2: Waiting 20:07:28 3a2ae6a8a46f: Waiting 20:07:28 5c69ac0246d0: Download complete 20:07:28 3a2ae6a8a46f: Verifying Checksum 20:07:28 3a2ae6a8a46f: Download complete 20:07:28 33b1e0a273af: Verifying Checksum 20:07:28 33b1e0a273af: Download complete 20:07:28 5d3b04190fa2: Verifying Checksum 20:07:28 5d3b04190fa2: Download complete 20:07:28 ec43610c2a17: Verifying Checksum 20:07:28 ec43610c2a17: Download complete 20:07:28 5eb5b503b376: Download complete 20:07:29 2f39f015ded8: Download complete 20:07:30 5eb5b503b376: Pull complete 20:07:30 5c69ac0246d0: Pull complete 20:07:30 ec43610c2a17: Pull complete 20:07:30 3a2ae6a8a46f: Pull complete 20:07:30 33b1e0a273af: Pull complete 20:07:30 5d3b04190fa2: Pull complete 20:07:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1647 in /w/workspace/xfoundry_device-modbus-go_PR-397 [Pipeline] { [Pipeline] ws 20:07:33 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 20:07:33 Selected Git installation does not exist. Using Default 20:07:33 The recommended git tool is: NONE 20:07:36 2f39f015ded8: Pull complete 20:07:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:07:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:07:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:07:36 prd-ubuntu20.04-docker-8c-8g-1646 does not seem to be running inside a container 20:07:36 $ 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-397 -v /w/workspace/xfoundry_device-modbus-go_PR-397:/w/workspace/xfoundry_device-modbus-go_PR-397:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-397@tmp:/w/workspace/xfoundry_device-modbus-go_PR-397@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:07:38 using credential edgex-jenkins-ssh 20:07:38 Cloning the remote Git repository 20:07:38 $ docker top 5c37ab48d82b3f18813975b93cc6500464d12b6dd97396879ff3a0973abfa65d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:07:38 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 20:07:38 > git init /w/workspace/device-modbus-go/1 # timeout=10 20:07:38 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:07:38 > git --version # timeout=10 20:07:38 ---> job-cost.sh 20:07:38 lf-activate-venv: SKIPPING 20:07:38 INFO: No Stack... 20:07:39 INFO: Retrieving Pricing Info for: v3-standard-8 20:07:39 INFO: Archiving Costs [Pipeline] sh 20:07:39 + cat /w/workspace/xfoundry_device-modbus-go_PR-397/archives/cost.csv 20:07:39 + cut -d, -f6 [Pipeline] lock 20:07:39 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-397-1-stack-cost] 20:07:39 Resource [jenkins-edgexfoundry-device-modbus-go-PR-397-1-stack-cost] did not exist. Created. 20:07:39 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-397-1-stack-cost] [Pipeline] { [Pipeline] unstash 20:07:38 > git --version # 'git version 2.25.1' 20:07:38 using GIT_SSH to set credentials SSH Credentials for GitHub 20:07:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:07:39 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [Pipeline] sh 20:07:40 + echo total: 0.2199999988079071 [Pipeline] stash 20:07:40 Stashed 1 file(s) [Pipeline] } 20:07:40 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-397-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:07:40 $ docker stop --time=1 5c37ab48d82b3f18813975b93cc6500464d12b6dd97396879ff3a0973abfa65d 20:07:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:07:40 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:07:40 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:07:40 using GIT_SSH to set credentials SSH Credentials for GitHub 20:07:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/397/head:refs/remotes/origin/PR-397 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:07:41 Merging remotes/origin/main commit b747fdb0f46d56fab49edbd998369f5c6173beb1 into PR head commit 5c778906de6ba481e4089c32075684d12eab5fb4 20:07:41 $ docker rm -f --volumes 5c37ab48d82b3f18813975b93cc6500464d12b6dd97396879ff3a0973abfa65d 20:07:41 Merge succeeded, producing 5c778906de6ba481e4089c32075684d12eab5fb4 20:07:41 Checking out Revision 5c778906de6ba481e4089c32075684d12eab5fb4 (PR-397) [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:07:41 > git config core.sparsecheckout # timeout=10 20:07:41 > git checkout -f 5c778906de6ba481e4089c32075684d12eab5fb4 # timeout=10 20:07:41 > git remote # timeout=10 20:07:41 > git config --get remote.origin.url # timeout=10 20:07:41 using GIT_SSH to set credentials SSH Credentials for GitHub 20:07:41 > git merge b747fdb0f46d56fab49edbd998369f5c6173beb1 # timeout=10 20:07:41 > git rev-parse HEAD^{commit} # timeout=10 20:07:41 > git config core.sparsecheckout # timeout=10 20:07:41 > git checkout -f 5c778906de6ba481e4089c32075684d12eab5fb4 # timeout=10 20:07:45 Commit message: "feat!: Remove ZeroMQ MessageBus capability" 20:07:45 > git --version # timeout=10 20:07:45 > git --version # 'git version 2.25.1' 20:07:45 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:07:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:07:46 % Total % Received % Xferd Average Speed Time Time Time Current 20:07:46 Dload Upload Total Spent Left Speed 20:07:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95872 0 --:--:-- --:--:-- --:--:-- 95872 [Pipeline] sh 20:07:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:07:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:07:47 + sudo tee /etc/docker/daemon.new 20:07:47 { 20:07:47 "registry-mirrors": [ 20:07:47 "https://nexus3.edgexfoundry.org:10001" 20:07:47 ], 20:07:47 "bip": "10.250.0.254/24", 20:07:47 "hosts": [ 20:07:47 "tcp://0.0.0.0:5555", 20:07:47 "unix:///var/run/docker.sock" 20:07:47 ], 20:07:47 "mtu": 1458, 20:07:47 "selinux-enabled": true, 20:07:47 "seccomp-profile": "/etc/docker/seccomp.json" 20:07:47 } [Pipeline] sh 20:07:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:07:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:08:06 provisioning config files... 20:08:06 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config11925757176353052204tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:08:06 ---> docker-login.sh 20:08:06 nexus3.edgexfoundry.org:10001 20:08:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:07 Configure a credential helper to remove this warning. See 20:08:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:07 20:08:07 Login Succeeded 20:08:07 nexus3.edgexfoundry.org:10002 20:08:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:07 Configure a credential helper to remove this warning. See 20:08:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:07 20:08:07 Login Succeeded 20:08:07 nexus3.edgexfoundry.org:10003 20:08:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:08 Configure a credential helper to remove this warning. See 20:08:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:08 20:08:08 Login Succeeded 20:08:08 nexus3.edgexfoundry.org:10004 20:08:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:08 Configure a credential helper to remove this warning. See 20:08:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:08 20:08:08 Login Succeeded 20:08:08 docker.io 20:08:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:08 Configure a credential helper to remove this warning. See 20:08:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:08 20:08:08 Login Succeeded 20:08:08 ---> docker-login.sh ends [Pipeline] } 20:08:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:08:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:08:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:08:09 ========================================================= 20:08:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:08:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:08:09 + 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 . 20:08:10 Sending build context to Docker daemon 3.323MB 20:08:10 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 20:08:10 Step 2/10 : FROM ${BASE} AS builder 20:08:11 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:08:11 9b18e9b68314: Pulling fs layer 20:08:11 35d82f9e3411: Pulling fs layer 20:08:11 e16973657156: Pulling fs layer 20:08:11 fc693d55d65f: Pulling fs layer 20:08:11 7e9fc2657dce: Pulling fs layer 20:08:11 dda99020689f: Pulling fs layer 20:08:11 db1c61fa0a46: Pulling fs layer 20:08:11 891c053d2c06: Pulling fs layer 20:08:11 fc693d55d65f: Waiting 20:08:11 7e9fc2657dce: Waiting 20:08:11 dda99020689f: Waiting 20:08:11 db1c61fa0a46: Waiting 20:08:11 891c053d2c06: Waiting 20:08:11 e16973657156: Verifying Checksum 20:08:11 e16973657156: Download complete 20:08:11 35d82f9e3411: Verifying Checksum 20:08:11 35d82f9e3411: Download complete 20:08:11 7e9fc2657dce: Download complete 20:08:11 dda99020689f: Verifying Checksum 20:08:11 dda99020689f: Download complete 20:08:11 9b18e9b68314: Verifying Checksum 20:08:12 9b18e9b68314: Pull complete 20:08:12 891c053d2c06: Verifying Checksum 20:08:12 891c053d2c06: Download complete 20:08:12 35d82f9e3411: Pull complete 20:08:13 e16973657156: Pull complete 20:08:13 db1c61fa0a46: Verifying Checksum 20:08:13 db1c61fa0a46: Download complete 20:08:14 fc693d55d65f: Verifying Checksum 20:08:14 fc693d55d65f: Download complete 20:08:24 fc693d55d65f: Pull complete 20:08:24 7e9fc2657dce: Pull complete 20:08:24 dda99020689f: Pull complete 20:08:31 db1c61fa0a46: Pull complete 20:08:32 891c053d2c06: Pull complete 20:08:32 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 20:08:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:08:32 ---> f96f9c87975a 20:08:32 Step 3/10 : ARG ADD_BUILD_TAGS="" 20:08:34 ---> Running in 732acfde6e9b 20:08:34 Removing intermediate container 732acfde6e9b 20:08:34 ---> 0a5b6383f066 20:08:34 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:08:34 ---> Running in e95f4a02e9ed 20:08:34 Removing intermediate container e95f4a02e9ed 20:08:34 ---> 20e370accede 20:08:34 Step 5/10 : RUN apk add --update --no-cache make git openssh 20:08:34 ---> Running in 3f0a6382bd0c 20:08:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:08:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:08:37 (1/8) Installing openssh-keygen (9.0_p1-r2) 20:08:37 (2/8) Installing libedit (20210910.3.1-r0) 20:08:37 (3/8) Installing openssh-client-common (9.0_p1-r2) 20:08:37 (4/8) Installing openssh-client-default (9.0_p1-r2) 20:08:37 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 20:08:37 (6/8) Installing openssh-server-common (9.0_p1-r2) 20:08:37 (7/8) Installing openssh-server (9.0_p1-r2) 20:08:37 (8/8) Installing openssh (9.0_p1-r2) 20:08:37 Executing busybox-1.35.0-r17.trigger 20:08:37 OK: 228 MiB in 59 packages 20:08:38 Removing intermediate container 3f0a6382bd0c 20:08:38 ---> 4b22974b7e0a 20:08:38 Step 6/10 : WORKDIR /device-modbus-go 20:08:38 ---> Running in 77ceaab0d280 20:08:38 Removing intermediate container 77ceaab0d280 20:08:38 ---> 0df9e52f7fe3 20:08:38 Step 7/10 : COPY go.mod vendor* ./ 20:08:39 ---> c0daf599607e 20:08:39 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:08:39 ---> Running in c52531dde836 20:09:35 Removing intermediate container c52531dde836 20:09:35 ---> 5e1c21034d70 20:09:35 Step 9/10 : COPY . . 20:09:35 ---> e6efb097db68 20:09:35 Step 10/10 : RUN ${MAKE} 20:09:35 ---> Running in a2427d00650e 20:09:35 noop 20:09:35 Removing intermediate container a2427d00650e 20:09:35 ---> c979a85c623f 20:09:35 Successfully built c979a85c623f 20:09:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:09:36 + docker inspect -f . ci-base-image-arm64 20:09:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:09:36 prd-ubuntu20.04-docker-arm64-4c-16g-1647 does not seem to be running inside a container 20:09:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:09:37 $ docker top f525dea61787cca24ebe80ba8d968fc67dd9127e6ce52ed6f36f456b7ff70ef0 -eo pid,comm [Pipeline] { [Pipeline] sh 20:09:38 + go version 20:09:38 go version go1.18.7 linux/arm64 [Pipeline] } 20:09:38 $ docker stop --time=1 f525dea61787cca24ebe80ba8d968fc67dd9127e6ce52ed6f36f456b7ff70ef0 20:09:40 $ docker rm -f --volumes f525dea61787cca24ebe80ba8d968fc67dd9127e6ce52ed6f36f456b7ff70ef0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:09:41 + docker inspect -f . ci-base-image-arm64 20:09:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:09:41 prd-ubuntu20.04-docker-arm64-4c-16g-1647 does not seem to be running inside a container 20:09:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:09:42 $ docker top cb8d53e33bc0ba4c2ffe5b135fe84360da66963f7ac78dc41311e8b83ab9522d -eo pid,comm [Pipeline] { [Pipeline] sh 20:09:43 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 20:09:44 + make test 20:09:44 CGO_ENABLED=0 go test ./... -coverprofile=coverage.out 20:09:45 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:11:22 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:11:22 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.063s coverage: 47.7% of statements 20:11:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:11:22 CGO_ENABLED=0 go vet ./... 20:11:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:11:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:11:30 ./bin/test-attribution-txt.sh [Pipeline] echo 20:11:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:11:30 $ docker stop --time=1 cb8d53e33bc0ba4c2ffe5b135fe84360da66963f7ac78dc41311e8b83ab9522d 20:11:32 $ docker rm -f --volumes cb8d53e33bc0ba4c2ffe5b135fe84360da66963f7ac78dc41311e8b83ab9522d [Pipeline] // withDockerContainer [Pipeline] sh 20:11:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:11:33 Warning: overwriting stash ‘coverage-report’ 20:11:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:11:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:11:34 + ls -al . 20:11:34 total 192 20:11:34 drwxrwxr-x 9 jenkins jenkins 4096 Jan 10 20:09 . 20:11:34 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 20:07 .. 20:11:34 -rw-rw-r-- 1 jenkins jenkins 140 Jan 10 20:07 .dockerignore 20:11:34 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 20:07 .git 20:11:34 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 20:07 .github 20:11:34 -rw-rw-r-- 1 jenkins jenkins 331 Jan 10 20:07 .gitignore 20:11:34 -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 20:07 .golangci.yml 20:11:34 -rw-rw-r-- 1 jenkins jenkins 10017 Jan 10 20:07 Attribution.txt 20:11:34 -rw-rw-r-- 1 jenkins jenkins 11576 Jan 10 20:07 CHANGELOG.md 20:11:34 -rw-rw-r-- 1 jenkins jenkins 1365 Jan 10 20:07 Dockerfile 20:11:34 -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 20:07 GOVERNANCE.md 20:11:34 -rw-rw-r-- 1 jenkins jenkins 680 Jan 10 20:07 Jenkinsfile 20:11:34 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 20:07 LICENSE 20:11:34 -rw-rw-r-- 1 jenkins jenkins 1675 Jan 10 20:07 Makefile 20:11:34 -rw-rw-r-- 1 jenkins jenkins 622 Jan 10 20:07 OWNERS.md 20:11:34 -rw-rw-r-- 1 jenkins jenkins 4061 Jan 10 20:07 README.md 20:11:34 -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 20:05 VERSION 20:11:34 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 20:07 bin 20:11:34 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 20:07 cmd 20:11:34 -rw-r--r-- 1 jenkins jenkins 23241 Jan 10 20:11 coverage.out 20:11:34 -rw-rw-r-- 1 jenkins jenkins 3584 Jan 10 20:07 go.mod 20:11:34 -rw-rw-r-- 1 jenkins jenkins 45355 Jan 10 20:07 go.sum 20:11:34 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 20:07 internal 20:11:34 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 20:07 simulator 20:11:34 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 20:07 snap 20:11:34 -rw-rw-r-- 1 jenkins jenkins 229 Jan 10 20:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:11:35 + 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=5c778906de6ba481e4089c32075684d12eab5fb4 --label arch=arm64 --label version=0.0.0 . 20:11:35 Sending build context to Docker daemon 3.347MB 20:11:35 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 20:11:35 Step 2/22 : FROM ${BASE} AS builder 20:11:35 ---> c979a85c623f 20:11:35 Step 3/22 : ARG ADD_BUILD_TAGS="" 20:11:35 ---> Running in 09f9cd5e9f9d 20:11:35 Removing intermediate container 09f9cd5e9f9d 20:11:35 ---> 569c7cc94971 20:11:35 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:11:35 ---> Running in f60925bb69fa 20:11:36 Removing intermediate container f60925bb69fa 20:11:36 ---> 3bef11b1d414 20:11:36 Step 5/22 : RUN apk add --update --no-cache make git openssh 20:11:36 ---> Running in e2f7d1ed9fee 20:11:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:11:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:11:38 OK: 228 MiB in 59 packages 20:11:41 Removing intermediate container e2f7d1ed9fee 20:11:41 ---> 97e566de2af5 20:11:41 Step 6/22 : WORKDIR /device-modbus-go 20:11:41 ---> Running in 8b341124d35f 20:11:41 Removing intermediate container 8b341124d35f 20:11:41 ---> a176fb46e8a5 20:11:41 Step 7/22 : COPY go.mod vendor* ./ 20:11:42 ---> c63d1ab64c46 20:11:42 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:11:42 ---> Running in 4f0581630fb8 20:11:43 Removing intermediate container 4f0581630fb8 20:11:43 ---> be5122f99362 20:11:43 Step 9/22 : COPY . . 20:11:44 ---> a4c2251c00be 20:11:44 Step 10/22 : RUN ${MAKE} 20:11:44 ---> Running in 360db4c0176d 20:11:45 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 20:13:52 Removing intermediate container 360db4c0176d 20:13:52 ---> 773a0509d5c5 20:13:52 Step 11/22 : FROM alpine:3.14 20:13:52 3.14: Pulling from library/alpine 20:13:52 90cda3b7c325: Pulling fs layer 20:13:52 90cda3b7c325: Verifying Checksum 20:13:52 90cda3b7c325: Download complete 20:13:52 90cda3b7c325: Pull complete 20:13:52 Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a 20:13:52 Status: Downloaded newer image for alpine:3.14 20:13:52 ---> 275902a1839d 20:13:52 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 20:13:52 ---> Running in af39c0ef99c9 20:13:52 Removing intermediate container af39c0ef99c9 20:13:52 ---> 54aa48663c49 20:13:52 Step 13/22 : RUN apk add --update --no-cache dumb-init 20:13:52 ---> Running in 880b51d9d507 20:13:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 20:13:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 20:13:52 (1/1) Installing dumb-init (1.2.5-r1) 20:13:52 Executing busybox-1.33.1-r8.trigger 20:13:52 OK: 6 MiB in 15 packages 20:13:52 Removing intermediate container 880b51d9d507 20:13:52 ---> 7dbe570e177f 20:13:52 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 20:13:52 ---> fa525ae848ae 20:13:52 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 20:13:52 ---> 352fb2ce45a5 20:13:52 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 20:13:52 ---> dfe31b8b7ee0 20:13:52 Step 17/22 : EXPOSE 59901 20:13:52 ---> Running in b89042806489 20:13:52 Removing intermediate container b89042806489 20:13:52 ---> 714511069708 20:13:52 Step 18/22 : ENTRYPOINT ["/device-modbus"] 20:13:52 ---> Running in da6490cc6dc7 20:13:52 Removing intermediate container da6490cc6dc7 20:13:52 ---> d8596fa61697 20:13:52 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:13:52 ---> Running in 5363e7df65b3 20:13:52 Removing intermediate container 5363e7df65b3 20:13:52 ---> 3ddf612d0e5b 20:13:52 Step 20/22 : LABEL arch=arm64 20:13:52 ---> Running in 7f625354fd5f 20:13:53 Removing intermediate container 7f625354fd5f 20:13:53 ---> 62e468a45e09 20:13:53 Step 21/22 : LABEL git_sha=5c778906de6ba481e4089c32075684d12eab5fb4 20:13:53 ---> Running in 0a3819e34424 20:13:53 Removing intermediate container 0a3819e34424 20:13:53 ---> edc94d286b44 20:13:53 Step 22/22 : LABEL version=0.0.0 20:13:53 ---> Running in 4c5287c1e554 20:13:53 Removing intermediate container 4c5287c1e554 20:13:53 ---> 7965e1455ba0 20:13:53 [Warning] One or more build-args [ARCH] were not consumed 20:13:53 Successfully built 7965e1455ba0 20:13:53 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 20:13:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:13:54 20:13:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:13:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:13:55 arm64: Pulling from edgex-lftools-log-publisher 20:13:55 8998bd30e6a1: Pulling fs layer 20:13:55 04944245beec: Pulling fs layer 20:13:55 699f458cf7ca: Pulling fs layer 20:13:55 765212b225bb: Pulling fs layer 20:13:55 f23df028b6ca: Pulling fs layer 20:13:55 d65c8cfc05b1: Pulling fs layer 20:13:55 2437ff75d9bd: Pulling fs layer 20:13:55 f23df028b6ca: Waiting 20:13:55 d65c8cfc05b1: Waiting 20:13:55 2437ff75d9bd: Waiting 20:13:55 765212b225bb: Waiting 20:13:55 04944245beec: Verifying Checksum 20:13:55 04944245beec: Download complete 20:13:55 765212b225bb: Verifying Checksum 20:13:55 765212b225bb: Download complete 20:13:55 f23df028b6ca: Verifying Checksum 20:13:55 f23df028b6ca: Download complete 20:13:55 d65c8cfc05b1: Verifying Checksum 20:13:55 d65c8cfc05b1: Download complete 20:13:55 699f458cf7ca: Verifying Checksum 20:13:55 699f458cf7ca: Download complete 20:13:55 8998bd30e6a1: Download complete 20:13:58 2437ff75d9bd: Verifying Checksum 20:13:58 2437ff75d9bd: Download complete 20:14:00 8998bd30e6a1: Pull complete 20:14:00 04944245beec: Pull complete 20:14:02 699f458cf7ca: Pull complete 20:14:02 765212b225bb: Pull complete 20:14:02 f23df028b6ca: Pull complete 20:14:03 d65c8cfc05b1: Pull complete 20:14:18 2437ff75d9bd: Pull complete 20:14:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:14:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:14:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:14:18 prd-ubuntu20.04-docker-arm64-4c-16g-1647 does not seem to be running inside a container 20:14:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:14:21 $ docker top bc5592df3e4f8143e053952d0e05e832bc1dae94a61a1c998896436fb219fb2b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:14:22 ---> job-cost.sh 20:14:22 lf-activate-venv: SKIPPING 20:14:22 INFO: No Stack... 20:14:22 INFO: Retrieving Pricing Info for: v3-standard-4 20:14:23 INFO: Archiving Costs [Pipeline] sh 20:14:24 + + catcut -d, -f6 20:14:24 /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock 20:14:24 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-397-1-stack-cost] 20:14:24 Resource [jenkins-edgexfoundry-device-modbus-go-PR-397-1-stack-cost] did not exist. Created. 20:14:24 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-397-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:14:24 /w/workspace/device-modbus-go/1@tmp/durable-bdbeec1b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:14:25 + echo total: 0.10999999940395355 [Pipeline] stash 20:14:25 Warning: overwriting stash ‘stack-cost’ 20:14:25 Stashed 1 file(s) [Pipeline] } 20:14:25 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-397-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:14:25 $ docker stop --time=1 bc5592df3e4f8143e053952d0e05e832bc1dae94a61a1c998896436fb219fb2b 20:14:26 $ docker rm -f --volumes bc5592df3e4f8143e053952d0e05e832bc1dae94a61a1c998896436fb219fb2b [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 20:14:27 provisioning config files... 20:14:27 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-397@tmp/config1149867325128379029tmp [Pipeline] { [Pipeline] sh 20:14:28 + set +x 20:14:28 + + bash -s -- 20:14:28 curl -s https://codecov.io/bash 20:14:28 20:14:28 _____ _ 20:14:28 / ____| | | 20:14:28 | | ___ __| | ___ ___ _____ __ 20:14:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:14:28 | |___| (_) | (_| | __/ (_| (_) \ V / 20:14:28 \_____\___/ \__,_|\___|\___\___/ \_/ 20:14:28 Bash-1.0.6 20:14:28 20:14:28 20:14:28 ==> git version 2.25.1 found 20:14:28 ==> 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 20:14:28 Release-Date: 2020-01-08 20:14:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:14:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:14:28 ==> Jenkins CI detected. 20:14:28 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-397 20:14:28 project root: . 20:14:28 --> token set from env 20:14:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:14:28 ==> Running gcov in . (disable via -X gcov) 20:14:28 ==> Python coveragepy not found 20:14:28 ==> Searching for coverage reports in: 20:14:28 + . 20:14:28 -> Found 1 reports 20:14:28 ==> Detecting git/mercurial file structure 20:14:28 ==> Reading reports 20:14:28 + ./coverage.out bytes=23241 20:14:28 ==> Appending adjustments 20:14:28 https://docs.codecov.io/docs/fixing-reports 20:14:28 + Found adjustments 20:14:28 ==> Gzipping contents 20:14:28 4.0K /tmp/codecov.B6rkLb.gz 20:14:28 ==> Uploading reports 20:14:28 url: https://codecov.io 20:14:28 query: branch=PR-397&commit=5c778906de6ba481e4089c32075684d12eab5fb4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-397%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=397&job=&cmd_args= 20:14:28 -> Pinging Codecov 20:14:28 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-397&commit=5c778906de6ba481e4089c32075684d12eab5fb4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-397%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=397&job=&cmd_args= 20:14:28 -> Uploading to 20:14:28 https://storage.googleapis.com/codecov/v4/raw/2023-01-10/55DBCA73C666E3227836607328DD7E49/5c778906de6ba481e4089c32075684d12eab5fb4/59c30a3d-28d7-40d6-a24f-e1c51042e7e7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230110T201428Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=64d41300cdafad964aae673a260210c4cdbcd42f5178ee028b21e794a4e236fc 20:14:28 % Total % Received % Xferd Average Speed Time Time Time Current 20:14:28 Dload Upload Total Spent Left Speed 20:14:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3907 0 0 100 3907 0 13472 --:--:-- --:--:-- --:--:-- 13472 20:14:29 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/5c778906de6ba481e4089c32075684d12eab5fb4 [Pipeline] } 20:14:29 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 20:14:31 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-397/archives ] 20:14:31 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-397/archives 20:14:31 total 16 20:14:31 drwxr-xr-x 3 root root 4096 Jan 10 20:07 . 20:14:31 drwxrwxr-x 11 jenkins jenkins 4096 Jan 10 20:07 .. 20:14:31 drwxr-xr-x 2 root root 4096 Jan 10 20:07 cost 20:14:31 -rw-r--r-- 1 root root 88 Jan 10 20:07 cost.csv 20:14:31 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-397/archives 20:14:31 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-397/archives 20:14:31 total 16 20:14:31 drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 20:07 . 20:14:31 drwxrwxr-x 11 jenkins jenkins 4096 Jan 10 20:07 .. 20:14:31 drwxr-xr-x 2 jenkins jenkins 4096 Jan 10 20:07 cost 20:14:31 -rw-r--r-- 1 jenkins jenkins 88 Jan 10 20:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:14:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:14:32 ---> package-listing.sh 20:14:32 ++ facter osfamily 20:14:32 ++ tr '[:upper:]' '[:lower:]' 20:14:32 + OS_FAMILY=debian 20:14:32 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-397 20:14:32 + START_PACKAGES=/tmp/packages_start.txt 20:14:32 + END_PACKAGES=/tmp/packages_end.txt 20:14:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:14:32 + PACKAGES=/tmp/packages_start.txt 20:14:32 + '[' /w/workspace/xfoundry_device-modbus-go_PR-397 ']' 20:14:32 + PACKAGES=/tmp/packages_end.txt 20:14:32 + case "${OS_FAMILY}" in 20:14:32 + dpkg -l 20:14:32 + grep '^ii' 20:14:32 + '[' -f /tmp/packages_start.txt ']' 20:14:32 + '[' -f /tmp/packages_end.txt ']' 20:14:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:14:32 + '[' /w/workspace/xfoundry_device-modbus-go_PR-397 ']' 20:14:32 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-397/archives/ 20:14:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-397/archives/ [Pipeline] echo 20:14:32 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-397/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:14:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:14:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:14:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:14:33 prd-ubuntu20.04-docker-8c-8g-1646 does not seem to be running inside a container 20:14:33 $ 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-397/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-397 -v /w/workspace/xfoundry_device-modbus-go_PR-397:/w/workspace/xfoundry_device-modbus-go_PR-397:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-397@tmp:/w/workspace/xfoundry_device-modbus-go_PR-397@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:14:33 $ docker top 7799d73b3983922ce5e0bbe263b1a2ffb890b43d1f7ece4673bd8205bccfbeb3 -eo pid,comm [Pipeline] { [Pipeline] sh 20:14:34 + touch /tmp/pre-build-complete [Pipeline] sh 20:14:34 + mkdir -p /var/log/sysstat [Pipeline] sh 20:14:34 + ls /var/log/sa-host 20:14:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:14:35 provisioning config files... 20:14:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-397@tmp/config1829893931939909765tmp [Pipeline] { [Pipeline] echo 20:14:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:14:35 ---> create-netrc.sh [Pipeline] } 20:14:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:14:35 ---> python-tools-install.sh [Pipeline] echo 20:14:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:14:36 ---> sudo-logs.sh 20:14:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:14:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:14:36 ---> job-cost.sh 20:14:36 lf-activate-venv: SKIPPING 20:14:36 DEBUG: total: 0.2199999988079071 20:14:36 INFO: Retrieving Stack Cost... 20:14:36 INFO: Retrieving Pricing Info for: v3-standard-8 20:14:37 INFO: Archiving Costs [Pipeline] echo 20:14:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:14:37 ---> logs-deploy.sh 20:14:37 lf-activate-venv: SKIPPING 20:14:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-397/1 20:14:37 INFO: archiving workspace using pattern(s): 20:14:38 Archives upload complete. 20:14:39 INFO: archiving logs to Nexus