Pull request #377 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a944992d1712af23156153d3e21f45f8a7ce1c14+53d947db5a4f9528d63bb92e74d3c6e84cd7a675 (bd1c15f9b356abc3df45d1839e021f57d590203d) 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-ssh318630871673786195.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh14858564309607151610.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-377/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-377/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3512960176991496987.key Verifying host key using known hosts file > 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-377/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2335459048467280804.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh15001857674444125649.key Verifying host key using known hosts file > 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-377/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-377/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4882926628999718891.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-1126 in /w/workspace/xfoundry_device-modbus-go_PR-377 [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-377 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/377/head:refs/remotes/origin/PR-377 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 53d947db5a4f9528d63bb92e74d3c6e84cd7a675 into PR head commit a944992d1712af23156153d3e21f45f8a7ce1c14 Merge succeeded, producing a944992d1712af23156153d3e21f45f8a7ce1c14 Checking out Revision a944992d1712af23156153d3e21f45f8a7ce1c14 (PR-377) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:04:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:04:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:04:33 ========================================================= 05:04:33 EdgeX Global Pipelines Version Info 05:04:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f a944992d1712af23156153d3e21f45f8a7ce1c14 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 53d947db5a4f9528d63bb92e74d3c6e84cd7a675 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a944992d1712af23156153d3e21f45f8a7ce1c14 # timeout=10 05:04:33 ------------------- 05:04:33 stable info: 05:04:33 ------------------- 05:04:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:04:33 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 05:04:33 Message: update stable to v1.0.239 05:04:34 ------------------- 05:04:34 experimental info: 05:04:34 ------------------- 05:04:34 Commited By: **** collab-it+edgex@linuxfoundation.org 05:04:34 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 05:04:34 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:04:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:04:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:04:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:04:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:04:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:04:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:04:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:04:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:04:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:04:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:04:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:04:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:04:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:04:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:04:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:04:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:04:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:04:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:04:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:04:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:04:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:04:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:04:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:04:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:04:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:04:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:04:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:04:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-377 [Pipeline] echo 05:04:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-377 [Pipeline] echo 05:04:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-377 [Pipeline] echo 05:04:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a944992d1712af23156153d3e21f45f8a7ce1c14 [Pipeline] echo 05:04:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a944992 [Pipeline] echo 05:04:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:04:36 provisioning config files... 05:04:36 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-377@tmp/config9673312478396259402tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:36 ---> docker-login.sh 05:04:36 nexus3.edgexfoundry.org:10001 05:04:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:36 Configure a credential helper to remove this warning. See 05:04:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:36 05:04:36 Login Succeeded 05:04:36 nexus3.edgexfoundry.org:10002 05:04:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:36 Configure a credential helper to remove this warning. See 05:04:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:36 05:04:36 Login Succeeded 05:04:36 nexus3.edgexfoundry.org:10003 05:04:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:37 Configure a credential helper to remove this warning. See 05:04:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:37 05:04:37 Login Succeeded 05:04:37 nexus3.edgexfoundry.org:10004 05:04:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:37 Configure a credential helper to remove this warning. See 05:04:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:37 05:04:37 Login Succeeded 05:04:37 docker.io 05:04:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:37 Configure a credential helper to remove this warning. See 05:04:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:37 05:04:37 Login Succeeded 05:04:37 ---> docker-login.sh ends [Pipeline] } 05:04:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:04:38 + git rev-list -1 --merges a944992d1712af23156153d3e21f45f8a7ce1c14~1..a944992d1712af23156153d3e21f45f8a7ce1c14 [Pipeline] echo 05:04:38 -----------> git rev-list -1 --merges a944992d1712af23156153d3e21f45f8a7ce1c14~1..a944992d1712af23156153d3e21f45f8a7ce1c14 a944992d1712af23156153d3e21f45f8a7ce1c14 [false] [Pipeline] sh 05:04:38 + git log --format=format:%s -1 a944992d1712af23156153d3e21f45f8a7ce1c14 [Pipeline] echo 05:04:38 ========================================================= 05:04:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:04:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:04:39 + git log --format=format:%s -1 a944992d1712af23156153d3e21f45f8a7ce1c14 [Pipeline] echo 05:04:39 [semverPrep] GIT_COMMIT: a944992d1712af23156153d3e21f45f8a7ce1c14, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 05:04:39 [semverPrep] This is not a build commit. [Pipeline] sh 05:04:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:04:39 + grep -v github /etc/ssh/ssh_known_hosts 05:04:39 + [ -e /tmp/ssh_known_hosts ] 05:04:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:04:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:04:39 + sudo tee -a /etc/ssh/ssh_known_hosts 05:04:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:04:39 05:04:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:04:40 0.1.4: Pulling from edgex-devops/py-git-semver 05:04:40 b85a868b505f: Pulling fs layer 05:04:40 e2be974225ed: Pulling fs layer 05:04:40 339a4e72a1f5: Pulling fs layer 05:04:40 988bab9f4d93: Pulling fs layer 05:04:40 1469e6f7b9e6: Pulling fs layer 05:04:40 eaf3925da568: Pulling fs layer 05:04:40 bab4dde63d76: Pulling fs layer 05:04:40 bde34c3a00c8: Pulling fs layer 05:04:40 b352a97aabf1: Pulling fs layer 05:04:40 4872d77fe225: Pulling fs layer 05:04:40 5851b861e8e6: Pulling fs layer 05:04:40 eaf3925da568: Waiting 05:04:40 bab4dde63d76: Waiting 05:04:40 bde34c3a00c8: Waiting 05:04:40 b352a97aabf1: Waiting 05:04:40 4872d77fe225: Waiting 05:04:40 5851b861e8e6: Waiting 05:04:40 988bab9f4d93: Waiting 05:04:40 1469e6f7b9e6: Waiting 05:04:40 e2be974225ed: Verifying Checksum 05:04:40 e2be974225ed: Download complete 05:04:40 988bab9f4d93: Download complete 05:04:40 1469e6f7b9e6: Verifying Checksum 05:04:40 1469e6f7b9e6: Download complete 05:04:40 eaf3925da568: Verifying Checksum 05:04:40 eaf3925da568: Download complete 05:04:40 339a4e72a1f5: Verifying Checksum 05:04:40 339a4e72a1f5: Download complete 05:04:40 bde34c3a00c8: Verifying Checksum 05:04:40 bde34c3a00c8: Download complete 05:04:40 b352a97aabf1: Verifying Checksum 05:04:40 b352a97aabf1: Download complete 05:04:40 4872d77fe225: Verifying Checksum 05:04:40 4872d77fe225: Download complete 05:04:40 5851b861e8e6: Verifying Checksum 05:04:40 5851b861e8e6: Download complete 05:04:40 b85a868b505f: Verifying Checksum 05:04:40 b85a868b505f: Download complete 05:04:40 bab4dde63d76: Verifying Checksum 05:04:40 bab4dde63d76: Download complete 05:04:41 b85a868b505f: Pull complete 05:04:42 e2be974225ed: Pull complete 05:04:42 339a4e72a1f5: Pull complete 05:04:42 988bab9f4d93: Pull complete 05:04:42 1469e6f7b9e6: Pull complete 05:04:42 eaf3925da568: Pull complete 05:04:44 bab4dde63d76: Pull complete 05:04:44 bde34c3a00c8: Pull complete 05:04:44 b352a97aabf1: Pull complete 05:04:44 4872d77fe225: Pull complete 05:04:44 5851b861e8e6: Pull complete 05:04:44 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:04:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:04:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:45 prd-ubuntu20.04-docker-8c-8g-1126 does not seem to be running inside a container 05:04:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-377 -v /w/workspace/xfoundry_device-modbus-go_PR-377:/w/workspace/xfoundry_device-modbus-go_PR-377:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-377@tmp:/w/workspace/xfoundry_device-modbus-go_PR-377@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:04:47 $ docker top fe52cd775935aeaab9f16b32b8b8a92cfa4833f7beb5ca1abcf6e2bb91611dff -eo pid,comm 05:04:47 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:04:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:04:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:04:47 [ssh-agent] Looking for ssh-agent implementation... 05:04:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:47 $ docker exec fe52cd775935aeaab9f16b32b8b8a92cfa4833f7beb5ca1abcf6e2bb91611dff ssh-agent 05:04:47 SSH_AUTH_SOCK=/tmp/ssh-ReniJNrw1e0X/agent.32 05:04:47 SSH_AGENT_PID=38 05:04:47 Running ssh-add (command line suppressed) 05:04:47 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-377@tmp/private_key_14309206283045989405.key (/w/workspace/xfoundry_device-modbus-go_PR-377@tmp/private_key_14309206283045989405.key) 05:04:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:47 + git tag --points-at HEAD [Pipeline] } 05:04:48 $ docker exec --env ******** --env ******** fe52cd775935aeaab9f16b32b8b8a92cfa4833f7beb5ca1abcf6e2bb91611dff ssh-agent -k 05:04:48 unset SSH_AUTH_SOCK; 05:04:48 unset SSH_AGENT_PID; 05:04:48 echo Agent pid 38 killed; 05:04:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:04:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:04:48 [ssh-agent] Looking for ssh-agent implementation... 05:04:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:48 $ docker exec fe52cd775935aeaab9f16b32b8b8a92cfa4833f7beb5ca1abcf6e2bb91611dff ssh-agent 05:04:48 SSH_AUTH_SOCK=/tmp/ssh-TL5KyppLws6A/agent.70 05:04:48 SSH_AGENT_PID=76 05:04:48 Running ssh-add (command line suppressed) 05:04:48 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-377@tmp/private_key_17419463956955559690.key (/w/workspace/xfoundry_device-modbus-go_PR-377@tmp/private_key_17419463956955559690.key) 05:04:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:48 + git semver init 05:04:49 2022-09-26 05:04:49,079 [run_init] DEBUG init version:0.0.0 force:False 05:04:49 2022-09-26 05:04:49,080 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-377/.semver 05:04:49 2022-09-26 05:04:49,080 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-377/.semver 05:04:49 2022-09-26 05:04:49,080 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-377/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-377, universal_newlines=False, shell=None, istream=None) 05:04:50 2022-09-26 05:04:49,943 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-377/.git/info/exclude 05:04:50 2022-09-26 05:04:49,945 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-377/.semver/PR-377 with force:False 05:04:50 2022-09-26 05:04:49,945 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-377/.semver/PR-377 05:04:50 2022-09-26 05:04:49,951 [execute] INFO git cat-file --batch-check 05:04:50 2022-09-26 05:04:49,952 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-377/.semver, universal_newlines=False, shell=None, istream=) 05:04:50 2022-09-26 05:04:49,957 [execute] INFO git cat-file --batch 05:04:50 2022-09-26 05:04:49,957 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-377/.semver, universal_newlines=False, shell=None, istream=) 05:04:50 2022-09-26 05:04:49,961 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-377/.semver/PR-377 05:04:50 0.0.0 [Pipeline] } 05:04:50 $ docker exec --env ******** --env ******** fe52cd775935aeaab9f16b32b8b8a92cfa4833f7beb5ca1abcf6e2bb91611dff ssh-agent -k 05:04:50 unset SSH_AUTH_SOCK; 05:04:50 unset SSH_AGENT_PID; 05:04:50 echo Agent pid 76 killed; 05:04:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:04:50 + git semver [Pipeline] } 05:04:50 $ docker stop --time=1 fe52cd775935aeaab9f16b32b8b8a92cfa4833f7beb5ca1abcf6e2bb91611dff 05:04:52 $ docker rm -f fe52cd775935aeaab9f16b32b8b8a92cfa4833f7beb5ca1abcf6e2bb91611dff [Pipeline] // withDockerContainer [Pipeline] sh 05:04:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:04:52 Stashed 1 file(s) [Pipeline] echo 05:04:52 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:04:53 provisioning config files... 05:04:53 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-377@tmp/config13531373596729340288tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:53 ---> docker-login.sh 05:04:53 nexus3.edgexfoundry.org:10001 05:04:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:53 Configure a credential helper to remove this warning. See 05:04:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:53 05:04:53 Login Succeeded 05:04:53 nexus3.edgexfoundry.org:10002 05:04:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:53 Configure a credential helper to remove this warning. See 05:04:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:53 05:04:53 Login Succeeded 05:04:53 nexus3.edgexfoundry.org:10003 05:04:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:54 Configure a credential helper to remove this warning. See 05:04:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:54 05:04:54 Login Succeeded 05:04:54 nexus3.edgexfoundry.org:10004 05:04:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:54 Configure a credential helper to remove this warning. See 05:04:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:54 05:04:54 Login Succeeded 05:04:54 docker.io 05:04:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:54 Configure a credential helper to remove this warning. See 05:04:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:54 05:04:54 Login Succeeded 05:04:54 ---> docker-login.sh ends [Pipeline] } 05:04:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:04:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:04:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:04:54 ========================================================= 05:04:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:04:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:55 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 05:04:55 Sending build context to Docker daemon 6.141MB 05:04:55 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 05:04:55 Step 2/10 : FROM ${BASE} AS builder 05:04:55 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:04:55 2408cc74d12b: Pulling fs layer 05:04:55 ea60b727a1ce: Pulling fs layer 05:04:55 30c4a7721957: Pulling fs layer 05:04:55 370296b7ddb6: Pulling fs layer 05:04:55 7c6cee850709: Pulling fs layer 05:04:55 370296b7ddb6: Waiting 05:04:55 39a5fcdaea64: Pulling fs layer 05:04:55 d94ebbe4e438: Pulling fs layer 05:04:55 bcfd1f05c69d: Pulling fs layer 05:04:55 39a5fcdaea64: Waiting 05:04:55 d94ebbe4e438: Waiting 05:04:55 bcfd1f05c69d: Waiting 05:04:55 59ccb84bbe0f: Pulling fs layer 05:04:55 59ccb84bbe0f: Waiting 05:04:55 30c4a7721957: Download complete 05:04:55 ea60b727a1ce: Download complete 05:04:55 7c6cee850709: Download complete 05:04:55 39a5fcdaea64: Verifying Checksum 05:04:55 39a5fcdaea64: Download complete 05:04:55 2408cc74d12b: Verifying Checksum 05:04:55 d94ebbe4e438: Verifying Checksum 05:04:55 d94ebbe4e438: Download complete 05:04:55 2408cc74d12b: Pull complete 05:04:55 ea60b727a1ce: Pull complete 05:04:55 30c4a7721957: Pull complete 05:04:55 59ccb84bbe0f: Download complete 05:04:56 bcfd1f05c69d: Verifying Checksum 05:04:56 bcfd1f05c69d: Download complete 05:04:56 370296b7ddb6: Verifying Checksum 05:04:56 370296b7ddb6: Download complete 05:05:00 370296b7ddb6: Pull complete 05:05:00 7c6cee850709: Pull complete 05:05:00 39a5fcdaea64: Pull complete 05:05:00 d94ebbe4e438: Pull complete 05:05:02 bcfd1f05c69d: Pull complete 05:05:03 59ccb84bbe0f: Pull complete 05:05:03 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 05:05:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:05:03 ---> a4fb48ad2a94 05:05:03 Step 3/10 : ARG MAKE='make build' 05:05:06 ---> Running in b417244aab73 05:05:06 Removing intermediate container b417244aab73 05:05:06 ---> 7e10dae5d165 05:05:06 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:05:06 ---> Running in d123d3ba146b 05:05:06 Removing intermediate container d123d3ba146b 05:05:06 ---> 70befd16cc83 05:05:06 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:05:06 ---> Running in 3ad3ed0e9e8c 05:05:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:05:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:05:08 (1/8) Installing openssh-keygen (9.0_p1-r2) 05:05:08 (2/8) Installing libedit (20210910.3.1-r0) 05:05:08 (3/8) Installing openssh-client-common (9.0_p1-r2) 05:05:08 Still waiting to schedule task 05:05:08 ‘prd-ubuntu20.04-docker-arm64-4c-16g-1127’ is offline 05:05:08 (4/8) Installing openssh-client-default (9.0_p1-r2) 05:05:08 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 05:05:08 (6/8) Installing openssh-server-common (9.0_p1-r2) 05:05:08 (7/8) Installing openssh-server (9.0_p1-r2) 05:05:08 (8/8) Installing openssh (9.0_p1-r2) 05:05:08 Executing busybox-1.35.0-r13.trigger 05:05:08 OK: 217 MiB in 59 packages 05:05:09 Removing intermediate container 3ad3ed0e9e8c 05:05:09 ---> b62bffafce10 05:05:09 Step 6/10 : WORKDIR /device-modbus-go 05:05:09 ---> Running in 011104bb7445 05:05:09 Removing intermediate container 011104bb7445 05:05:09 ---> 24e12e1e6ddf 05:05:09 Step 7/10 : COPY go.mod vendor* ./ 05:05:09 ---> 051302aaa72f 05:05:09 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:05:09 ---> Running in 75bb97567fb8 05:05:27 Removing intermediate container 75bb97567fb8 05:05:27 ---> 8cf37d9dacd0 05:05:27 Step 9/10 : COPY . . 05:05:27 ---> b6732032bbe0 05:05:27 Step 10/10 : RUN ${MAKE} 05:05:27 ---> Running in d9a5bc99d552 05:05:27 noop 05:05:27 Removing intermediate container d9a5bc99d552 05:05:27 ---> 316c3becf1d2 05:05:27 Successfully built 316c3becf1d2 05:05:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:27 + docker inspect -f . ci-base-image-x86_64 05:05:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:28 prd-ubuntu20.04-docker-8c-8g-1126 does not seem to be running inside a container 05:05:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-377 -v /w/workspace/xfoundry_device-modbus-go_PR-377:/w/workspace/xfoundry_device-modbus-go_PR-377:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-377@tmp:/w/workspace/xfoundry_device-modbus-go_PR-377@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:05:28 $ docker top f38dd3d33aa5b0478cd101a2a41c49a822a5bc0d847803052842f4211309c69f -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:28 + go version 05:05:28 go version go1.18.3 linux/amd64 [Pipeline] } 05:05:28 $ docker stop --time=1 f38dd3d33aa5b0478cd101a2a41c49a822a5bc0d847803052842f4211309c69f 05:05:30 $ docker rm -f f38dd3d33aa5b0478cd101a2a41c49a822a5bc0d847803052842f4211309c69f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:30 + docker inspect -f . ci-base-image-x86_64 05:05:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:31 prd-ubuntu20.04-docker-8c-8g-1126 does not seem to be running inside a container 05:05:31 $ 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-377 -v /w/workspace/xfoundry_device-modbus-go_PR-377:/w/workspace/xfoundry_device-modbus-go_PR-377:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-377@tmp:/w/workspace/xfoundry_device-modbus-go_PR-377@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:05:31 $ docker top dd9d67ae9ace342ae15a65e06b8602da10fc21edb19c8703247cebe2d2110807 -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:31 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-377 [Pipeline] fileExists [Pipeline] sh 05:05:32 + make test 05:05:32 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:05:32 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:05:42 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:05:42 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.009s coverage: 47.7% of statements 05:05:50 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." 05:05:50 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:05:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:05:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:05:53 ./bin/test-attribution-txt.sh 05:05:53 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 05:05:53 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 05:05:53 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 05:05:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:05:53 $ docker stop --time=1 dd9d67ae9ace342ae15a65e06b8602da10fc21edb19c8703247cebe2d2110807 05:05:56 $ docker rm -f dd9d67ae9ace342ae15a65e06b8602da10fc21edb19c8703247cebe2d2110807 [Pipeline] // withDockerContainer [Pipeline] sh 05:05:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:05:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:05:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:05:57 + ls -al . 05:05:57 total 188 05:05:57 drwxrwxr-x 10 jenkins jenkins 4096 Sep 26 05:05 . 05:05:57 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 05:04 .. 05:05:57 -rw-rw-r-- 1 jenkins jenkins 140 Sep 26 05:04 .dockerignore 05:05:57 drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 05:05 .git 05:05:57 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 05:04 .github 05:05:57 -rw-rw-r-- 1 jenkins jenkins 331 Sep 26 05:04 .gitignore 05:05:57 -rw-rw-r-- 1 jenkins jenkins 41 Sep 26 05:04 .golangci.yml 05:05:57 drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 05:04 .semver 05:05:57 -rw-rw-r-- 1 jenkins jenkins 9744 Sep 26 05:04 Attribution.txt 05:05:57 -rw-rw-r-- 1 jenkins jenkins 10001 Sep 26 05:04 CHANGELOG.md 05:05:57 -rw-rw-r-- 1 jenkins jenkins 1550 Sep 26 05:04 Dockerfile 05:05:57 -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 05:04 GOVERNANCE.md 05:05:57 -rw-rw-r-- 1 jenkins jenkins 680 Sep 26 05:04 Jenkinsfile 05:05:57 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 26 05:04 LICENSE 05:05:57 -rw-rw-r-- 1 jenkins jenkins 1892 Sep 26 05:04 Makefile 05:05:57 -rw-rw-r-- 1 jenkins jenkins 622 Sep 26 05:04 OWNERS.md 05:05:57 -rw-rw-r-- 1 jenkins jenkins 3397 Sep 26 05:04 README.md 05:05:57 -rw-rw-r-- 1 jenkins jenkins 5 Sep 26 05:04 VERSION 05:05:57 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 05:04 bin 05:05:57 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 05:04 cmd 05:05:57 -rw-r--r-- 1 jenkins jenkins 23241 Sep 26 05:05 coverage.out 05:05:57 -rw-rw-r-- 1 jenkins jenkins 3643 Sep 26 05:04 go.mod 05:05:57 -rw-rw-r-- 1 jenkins jenkins 38287 Sep 26 05:04 go.sum 05:05:57 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 05:04 internal 05:05:57 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 05:04 simulator 05:05:57 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 05:04 snap 05:05:57 -rw-rw-r-- 1 jenkins jenkins 229 Sep 26 05:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:57 + 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=a944992d1712af23156153d3e21f45f8a7ce1c14 --label arch=amd64 --label version=0.0.0 . 05:05:57 Sending build context to Docker daemon 6.166MB 05:05:57 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 05:05:57 Step 2/23 : FROM ${BASE} AS builder 05:05:57 ---> 316c3becf1d2 05:05:57 Step 3/23 : ARG MAKE='make build' 05:05:58 ---> Running in 68da56c29b1c 05:05:58 Removing intermediate container 68da56c29b1c 05:05:58 ---> 541e19b0cdf4 05:05:58 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:05:58 ---> Running in 210549425ecf 05:05:58 Removing intermediate container 210549425ecf 05:05:58 ---> ab46415f766a 05:05:58 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:05:58 ---> Running in 9ebed6cf9c0c 05:05:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:05:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:06:00 OK: 217 MiB in 59 packages 05:06:00 Removing intermediate container 9ebed6cf9c0c 05:06:00 ---> b6cdb82a6add 05:06:00 Step 6/23 : WORKDIR /device-modbus-go 05:06:00 ---> Running in 70596c7ed3d1 05:06:00 Removing intermediate container 70596c7ed3d1 05:06:00 ---> de8f19f40884 05:06:00 Step 7/23 : COPY go.mod vendor* ./ 05:06:00 ---> e49b0d9a4cc0 05:06:00 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:06:00 ---> Running in d39e4e79bc2e 05:06:01 Removing intermediate container d39e4e79bc2e 05:06:01 ---> b2d6a60aa3c1 05:06:01 Step 9/23 : COPY . . 05:06:01 ---> 7b861144bc36 05:06:01 Step 10/23 : RUN ${MAKE} 05:06:01 ---> Running in 190dfab5d3dc 05:06:02 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 05:06:24 Removing intermediate container 190dfab5d3dc 05:06:24 ---> 3071ba43ea29 05:06:24 Step 11/23 : FROM alpine:3.14 05:06:24 3.14: Pulling from library/alpine 05:06:24 c7ed990a2339: Pulling fs layer 05:06:24 c7ed990a2339: Verifying Checksum 05:06:24 c7ed990a2339: Download complete 05:06:24 c7ed990a2339: Pull complete 05:06:24 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 05:06:24 Status: Downloaded newer image for alpine:3.14 05:06:24 ---> dd53f409bf0b 05:06:24 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:06:24 ---> Running in 98a890a28356 05:06:24 Removing intermediate container 98a890a28356 05:06:24 ---> 6c8f264450f6 05:06:24 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:06:24 ---> Running in 8462c7564b98 05:06:24 Removing intermediate container 8462c7564b98 05:06:24 ---> 64f7eb163bce 05:06:24 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 05:06:24 ---> Running in 23a45330f98e 05:06:25 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:06:26 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:06:26 (1/6) Installing dumb-init (1.2.5-r1) 05:06:26 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:06:26 (3/6) Installing libsodium (1.0.18-r0) 05:06:26 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:06:26 (5/6) Installing libzmq (4.3.4-r0) 05:06:26 (6/6) Installing zeromq (4.3.4-r0) 05:06:26 Executing busybox-1.33.1-r8.trigger 05:06:26 OK: 8 MiB in 20 packages 05:06:27 Removing intermediate container 23a45330f98e 05:06:27 ---> 71c22e99bce7 05:06:27 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:06:27 ---> 810859770a7b 05:06:27 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:06:27 ---> ce9ed3c8570f 05:06:27 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:06:27 ---> 2ce307449e18 05:06:27 Step 18/23 : EXPOSE 59901 05:06:27 ---> Running in b1428b71aaa7 05:06:28 Removing intermediate container b1428b71aaa7 05:06:28 ---> cc4f3d835833 05:06:28 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:06:28 ---> Running in 5a60daec68f0 05:06:28 Removing intermediate container 5a60daec68f0 05:06:28 ---> 5fcf5df5eb66 05:06:28 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:06:28 ---> Running in 0cf8276c9820 05:06:28 Removing intermediate container 0cf8276c9820 05:06:28 ---> ef4fb174adb1 05:06:28 Step 21/23 : LABEL arch=amd64 05:06:28 ---> Running in 570537f59755 05:06:28 Removing intermediate container 570537f59755 05:06:28 ---> f73b64333061 05:06:28 Step 22/23 : LABEL git_sha=a944992d1712af23156153d3e21f45f8a7ce1c14 05:06:28 ---> Running in b2498fa50896 05:06:28 Removing intermediate container b2498fa50896 05:06:28 ---> 120680553197 05:06:28 Step 23/23 : LABEL version=0.0.0 05:06:28 ---> Running in b2da7e45f333 05:06:28 Removing intermediate container b2da7e45f333 05:06:28 ---> 55ed146970c5 05:06:28 [Warning] One or more build-args [ARCH] were not consumed 05:06:28 Successfully built 55ed146970c5 05:06:28 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 05:06:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:29 05:06:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:29 latest: Pulling from edgex-lftools-log-publisher 05:06:29 5eb5b503b376: Pulling fs layer 05:06:29 5c69ac0246d0: Pulling fs layer 05:06:29 ec43610c2a17: Pulling fs layer 05:06:29 3a2ae6a8a46f: Pulling fs layer 05:06:29 33b1e0a273af: Pulling fs layer 05:06:29 5d3b04190fa2: Pulling fs layer 05:06:29 2f39f015ded8: Pulling fs layer 05:06:29 33b1e0a273af: Waiting 05:06:29 5d3b04190fa2: Waiting 05:06:29 3a2ae6a8a46f: Waiting 05:06:29 2f39f015ded8: Waiting 05:06:29 5c69ac0246d0: Verifying Checksum 05:06:29 5c69ac0246d0: Download complete 05:06:29 3a2ae6a8a46f: Download complete 05:06:29 33b1e0a273af: Verifying Checksum 05:06:29 33b1e0a273af: Download complete 05:06:29 5d3b04190fa2: Verifying Checksum 05:06:29 5d3b04190fa2: Download complete 05:06:30 ec43610c2a17: Verifying Checksum 05:06:30 ec43610c2a17: Download complete 05:06:30 5eb5b503b376: Verifying Checksum 05:06:30 5eb5b503b376: Download complete 05:06:30 2f39f015ded8: Download complete 05:06:31 5eb5b503b376: Pull complete 05:06:31 5c69ac0246d0: Pull complete 05:06:32 ec43610c2a17: Pull complete 05:06:32 3a2ae6a8a46f: Pull complete 05:06:32 33b1e0a273af: Pull complete 05:06:32 5d3b04190fa2: Pull complete 05:06:36 2f39f015ded8: Pull complete 05:06:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:06:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:06:36 prd-ubuntu20.04-docker-8c-8g-1126 does not seem to be running inside a container 05:06: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-377 -v /w/workspace/xfoundry_device-modbus-go_PR-377:/w/workspace/xfoundry_device-modbus-go_PR-377:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-377@tmp:/w/workspace/xfoundry_device-modbus-go_PR-377@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:06:38 $ docker top c6b22d8d53dd591f97287d418da87527c2944591484777c10c9e20eb715f399f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:06:39 ---> job-cost.sh 05:06:39 lf-activate-venv: SKIPPING 05:06:39 INFO: No Stack... 05:06:39 INFO: Retrieving Pricing Info for: v3-standard-8 05:06:39 INFO: Archiving Costs [Pipeline] sh 05:06:40 + cat /w/workspace/xfoundry_device-modbus-go_PR-377/archives/cost.csv 05:06:40 + cut -d, -f6 [Pipeline] lock 05:06:40 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-377-1-stack-cost] 05:06:40 Resource [jenkins-edgexfoundry-device-modbus-go-PR-377-1-stack-cost] did not exist. Created. 05:06:40 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-377-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:06:40 + echo total: 0.2199999988079071 [Pipeline] stash 05:06:40 Stashed 1 file(s) [Pipeline] } 05:06:40 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-377-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:06:40 $ docker stop --time=1 c6b22d8d53dd591f97287d418da87527c2944591484777c10c9e20eb715f399f 05:06:42 $ docker rm -f c6b22d8d53dd591f97287d418da87527c2944591484777c10c9e20eb715f399f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:07:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1128 in /w/workspace/xfoundry_device-modbus-go_PR-377 [Pipeline] { [Pipeline] ws 05:07:30 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 05:07:30 Selected Git installation does not exist. Using Default 05:07:30 The recommended git tool is: NONE 05:07:35 using credential edgex-jenkins-ssh 05:07:35 Cloning the remote Git repository 05:07:35 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:07:35 > git init /w/workspace/device-modbus-go/1 # timeout=10 05:07:35 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:07:35 > git --version # timeout=10 05:07:35 > git --version # 'git version 2.25.1' 05:07:35 using GIT_SSH to set credentials SSH Credentials for GitHub 05:07:36 Verifying host key using known hosts file 05:07:36 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 05:07:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:07:37 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:07:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:07:38 Merging remotes/origin/main commit 53d947db5a4f9528d63bb92e74d3c6e84cd7a675 into PR head commit a944992d1712af23156153d3e21f45f8a7ce1c14 05:07:38 Merge succeeded, producing a944992d1712af23156153d3e21f45f8a7ce1c14 05:07:38 Checking out Revision a944992d1712af23156153d3e21f45f8a7ce1c14 (PR-377) 05:07:38 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:07:38 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:07:38 using GIT_SSH to set credentials SSH Credentials for GitHub 05:07:38 Verifying host key using known hosts file 05:07:38 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 05:07:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/377/head:refs/remotes/origin/PR-377 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:07:38 > git config core.sparsecheckout # timeout=10 05:07:38 > git checkout -f a944992d1712af23156153d3e21f45f8a7ce1c14 # timeout=10 05:07:38 > git remote # timeout=10 05:07:38 > git config --get remote.origin.url # timeout=10 05:07:38 using GIT_SSH to set credentials SSH Credentials for GitHub 05:07:38 Verifying host key using known hosts file 05:07:38 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 05:07:38 > git merge 53d947db5a4f9528d63bb92e74d3c6e84cd7a675 # timeout=10 05:07:38 > git rev-parse HEAD^{commit} # timeout=10 05:07:38 > git config core.sparsecheckout # timeout=10 05:07:38 > git checkout -f a944992d1712af23156153d3e21f45f8a7ce1c14 # timeout=10 05:07:39 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 05:07:39 > git --version # timeout=10 05:07:39 > git --version # 'git version 2.25.1' 05:07:39 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:07:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:07:40 % Total % Received % Xferd Average Speed Time Time Time Current 05:07:40 Dload Upload Total Spent Left Speed 05:07:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 241k 0 --:--:-- --:--:-- --:--:-- 241k [Pipeline] sh 05:07:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:07:41 + sudo tee /etc/docker/daemon.new 05:07:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:07:41 { 05:07:41 "registry-mirrors": [ 05:07:41 "https://nexus3.edgexfoundry.org:10001" 05:07:41 ], 05:07:41 "bip": "10.250.0.254/24", 05:07:41 "hosts": [ 05:07:41 "tcp://0.0.0.0:5555", 05:07:41 "unix:///var/run/docker.sock" 05:07:41 ], 05:07:41 "mtu": 1458, 05:07:41 "selinux-enabled": true, 05:07:41 "seccomp-profile": "/etc/docker/seccomp.json" 05:07:41 } [Pipeline] sh 05:07:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:07:42 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:08:00 provisioning config files... 05:08:00 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config16220182958100569029tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:08:00 ---> docker-login.sh 05:08:00 nexus3.edgexfoundry.org:10001 05:08:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:01 Configure a credential helper to remove this warning. See 05:08:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:01 05:08:01 Login Succeeded 05:08:01 nexus3.edgexfoundry.org:10002 05:08:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:01 Configure a credential helper to remove this warning. See 05:08:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:01 05:08:01 Login Succeeded 05:08:02 nexus3.edgexfoundry.org:10003 05:08:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:02 Configure a credential helper to remove this warning. See 05:08:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:02 05:08:02 Login Succeeded 05:08:02 nexus3.edgexfoundry.org:10004 05:08:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:02 Configure a credential helper to remove this warning. See 05:08:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:02 05:08:02 Login Succeeded 05:08:02 docker.io 05:08:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:03 Configure a credential helper to remove this warning. See 05:08:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:03 05:08:03 Login Succeeded 05:08:03 ---> docker-login.sh ends [Pipeline] } 05:08:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:08:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:08:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:08:03 ========================================================= 05:08:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 05:08:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:03 + 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 . 05:08:04 Sending build context to Docker daemon 3.192MB 05:08:04 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 05:08:04 Step 2/10 : FROM ${BASE} AS builder 05:08:04 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:08:04 b3c136eddcbf: Pulling fs layer 05:08:04 c0a3192eca97: Pulling fs layer 05:08:04 a050256f5b6f: Pulling fs layer 05:08:04 656be50a0ddc: Pulling fs layer 05:08:04 2bbca73fdf42: Pulling fs layer 05:08:04 46d945488cbd: Pulling fs layer 05:08:04 8a5474983e97: Pulling fs layer 05:08:04 329c88fbcd65: Pulling fs layer 05:08:04 46d945488cbd: Waiting 05:08:04 8a5474983e97: Waiting 05:08:04 329c88fbcd65: Waiting 05:08:04 656be50a0ddc: Waiting 05:08:04 2bbca73fdf42: Waiting 05:08:04 a050256f5b6f: Verifying Checksum 05:08:04 a050256f5b6f: Download complete 05:08:04 c0a3192eca97: Download complete 05:08:04 2bbca73fdf42: Verifying Checksum 05:08:04 2bbca73fdf42: Download complete 05:08:04 46d945488cbd: Verifying Checksum 05:08:04 46d945488cbd: Download complete 05:08:04 b3c136eddcbf: Download complete 05:08:05 b3c136eddcbf: Pull complete 05:08:05 329c88fbcd65: Verifying Checksum 05:08:05 329c88fbcd65: Download complete 05:08:06 c0a3192eca97: Pull complete 05:08:06 a050256f5b6f: Pull complete 05:08:06 8a5474983e97: Verifying Checksum 05:08:06 8a5474983e97: Download complete 05:08:07 656be50a0ddc: Verifying Checksum 05:08:07 656be50a0ddc: Download complete 05:08:19 656be50a0ddc: Pull complete 05:08:19 2bbca73fdf42: Pull complete 05:08:19 46d945488cbd: Pull complete 05:08:25 8a5474983e97: Pull complete 05:08:27 329c88fbcd65: Pull complete 05:08:27 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 05:08:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:08:27 ---> ff4287adb874 05:08:27 Step 3/10 : ARG MAKE='make build' 05:08:29 ---> Running in b6439a683c74 05:08:29 Removing intermediate container b6439a683c74 05:08:29 ---> bb9f4bffd50f 05:08:29 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:08:29 ---> Running in 521276c39346 05:08:33 Removing intermediate container 521276c39346 05:08:33 ---> 353cb9f9d299 05:08:33 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:08:33 ---> Running in 1ac0429ff141 05:08:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:08:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:08:35 (1/8) Installing openssh-keygen (9.0_p1-r2) 05:08:35 (2/8) Installing libedit (20210910.3.1-r0) 05:08:35 (3/8) Installing openssh-client-common (9.0_p1-r2) 05:08:36 (4/8) Installing openssh-client-default (9.0_p1-r2) 05:08:36 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 05:08:36 (6/8) Installing openssh-server-common (9.0_p1-r2) 05:08:36 (7/8) Installing openssh-server (9.0_p1-r2) 05:08:36 (8/8) Installing openssh (9.0_p1-r2) 05:08:36 Executing busybox-1.35.0-r13.trigger 05:08:36 OK: 228 MiB in 59 packages 05:08:37 Removing intermediate container 1ac0429ff141 05:08:37 ---> 0c0dff48beb3 05:08:37 Step 6/10 : WORKDIR /device-modbus-go 05:08:37 ---> Running in 42b50b8e69b3 05:08:37 Removing intermediate container 42b50b8e69b3 05:08:37 ---> 5960278337d8 05:08:37 Step 7/10 : COPY go.mod vendor* ./ 05:08:38 ---> 797033914e77 05:08:38 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:08:38 ---> Running in 7aa2ea1df6ba 05:09:25 Removing intermediate container 7aa2ea1df6ba 05:09:25 ---> 74540c2df9be 05:09:25 Step 9/10 : COPY . . 05:09:25 ---> 6acf851d8dfa 05:09:25 Step 10/10 : RUN ${MAKE} 05:09:25 ---> Running in 4290bb3e6096 05:09:26 noop 05:09:27 Removing intermediate container 4290bb3e6096 05:09:27 ---> 65bc8e04b77e 05:09:27 Successfully built 65bc8e04b77e 05:09:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:27 + docker inspect -f . ci-base-image-arm64 05:09:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:09:27 prd-ubuntu20.04-docker-arm64-4c-16g-1128 does not seem to be running inside a container 05:09:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:09:29 $ docker top 2fc1c248a25b9a38cd5fd1104073c6c0a5ec8a33e80eb5c98d0ddcb89d5fc0dd -eo pid,comm [Pipeline] { [Pipeline] sh 05:09:30 + go version 05:09:30 go version go1.18.3 linux/arm64 [Pipeline] } 05:09:30 $ docker stop --time=1 2fc1c248a25b9a38cd5fd1104073c6c0a5ec8a33e80eb5c98d0ddcb89d5fc0dd 05:09:31 $ docker rm -f 2fc1c248a25b9a38cd5fd1104073c6c0a5ec8a33e80eb5c98d0ddcb89d5fc0dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:32 + docker inspect -f . ci-base-image-arm64 05:09:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:09:32 prd-ubuntu20.04-docker-arm64-4c-16g-1128 does not seem to be running inside a container 05:09:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:09:34 $ docker top d400b076f60571e171c7991fbb8d609397cc7c3bb2a72b35e69c50d1cd66a8e9 -eo pid,comm [Pipeline] { [Pipeline] sh 05:09:35 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 05:09:35 + make test 05:09:35 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:09:37 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:11:14 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:11:14 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.064s coverage: 47.7% of statements 05:11:14 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:11:14 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:11:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:11:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:11:29 ./bin/test-attribution-txt.sh 05:11:29 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 05:11:29 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 05:11:29 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 05:11:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:11:29 $ docker stop --time=1 d400b076f60571e171c7991fbb8d609397cc7c3bb2a72b35e69c50d1cd66a8e9 05:11:31 $ docker rm -f d400b076f60571e171c7991fbb8d609397cc7c3bb2a72b35e69c50d1cd66a8e9 [Pipeline] // withDockerContainer [Pipeline] sh 05:11:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:11:32 Warning: overwriting stash ‘coverage-report’ 05:11:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:11:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:11:33 + ls -al . 05:11:33 total 184 05:11:33 drwxrwxr-x 9 jenkins jenkins 4096 Sep 26 05:09 . 05:11:33 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 05:07 .. 05:11:33 -rw-rw-r-- 1 jenkins jenkins 140 Sep 26 05:07 .dockerignore 05:11:33 drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 05:07 .git 05:11:33 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 05:07 .github 05:11:33 -rw-rw-r-- 1 jenkins jenkins 331 Sep 26 05:07 .gitignore 05:11:33 -rw-rw-r-- 1 jenkins jenkins 41 Sep 26 05:07 .golangci.yml 05:11:33 -rw-rw-r-- 1 jenkins jenkins 9744 Sep 26 05:07 Attribution.txt 05:11:33 -rw-rw-r-- 1 jenkins jenkins 10001 Sep 26 05:07 CHANGELOG.md 05:11:33 -rw-rw-r-- 1 jenkins jenkins 1550 Sep 26 05:07 Dockerfile 05:11:33 -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 05:07 GOVERNANCE.md 05:11:33 -rw-rw-r-- 1 jenkins jenkins 680 Sep 26 05:07 Jenkinsfile 05:11:33 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 26 05:07 LICENSE 05:11:33 -rw-rw-r-- 1 jenkins jenkins 1892 Sep 26 05:07 Makefile 05:11:33 -rw-rw-r-- 1 jenkins jenkins 622 Sep 26 05:07 OWNERS.md 05:11:33 -rw-rw-r-- 1 jenkins jenkins 3397 Sep 26 05:07 README.md 05:11:33 -rw-rw-r-- 1 jenkins jenkins 5 Sep 26 05:04 VERSION 05:11:33 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 05:07 bin 05:11:33 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 05:07 cmd 05:11:33 -rw-r--r-- 1 jenkins jenkins 23241 Sep 26 05:11 coverage.out 05:11:33 -rw-rw-r-- 1 jenkins jenkins 3643 Sep 26 05:07 go.mod 05:11:33 -rw-rw-r-- 1 jenkins jenkins 38287 Sep 26 05:07 go.sum 05:11:33 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 05:07 internal 05:11:33 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 05:07 simulator 05:11:33 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 05:07 snap 05:11:33 -rw-rw-r-- 1 jenkins jenkins 229 Sep 26 05:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:34 + 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=a944992d1712af23156153d3e21f45f8a7ce1c14 --label arch=arm64 --label version=0.0.0 . 05:11:34 Sending build context to Docker daemon 3.216MB 05:11:34 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 05:11:34 Step 2/23 : FROM ${BASE} AS builder 05:11:34 ---> 65bc8e04b77e 05:11:34 Step 3/23 : ARG MAKE='make build' 05:11:34 ---> Running in aaa1e8d47402 05:11:35 Removing intermediate container aaa1e8d47402 05:11:35 ---> 2f1941989e39 05:11:35 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:11:35 ---> Running in 420af3dfc9c2 05:11:36 Removing intermediate container 420af3dfc9c2 05:11:36 ---> b374b5336691 05:11:36 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:11:36 ---> Running in d4158e5307be 05:11:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:11:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:11:39 OK: 228 MiB in 59 packages 05:11:40 Removing intermediate container d4158e5307be 05:11:40 ---> ffa442d29bce 05:11:40 Step 6/23 : WORKDIR /device-modbus-go 05:11:40 ---> Running in 366a219c20fe 05:11:40 Removing intermediate container 366a219c20fe 05:11:40 ---> 1148aeaf3313 05:11:40 Step 7/23 : COPY go.mod vendor* ./ 05:11:40 ---> 002a9df66d82 05:11:40 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:11:41 ---> Running in 10a554b0a16d 05:11:43 Removing intermediate container 10a554b0a16d 05:11:43 ---> 9a182c2f7911 05:11:43 Step 9/23 : COPY . . 05:11:43 ---> f3d3cf8121ef 05:11:43 Step 10/23 : RUN ${MAKE} 05:11:43 ---> Running in a73dde9cf938 05:11:44 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 05:14:21 Removing intermediate container a73dde9cf938 05:14:21 ---> 4a031062a3a8 05:14:21 Step 11/23 : FROM alpine:3.14 05:14:21 3.14: Pulling from library/alpine 05:14:21 90cda3b7c325: Pulling fs layer 05:14:21 90cda3b7c325: Verifying Checksum 05:14:21 90cda3b7c325: Download complete 05:14:21 90cda3b7c325: Pull complete 05:14:21 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 05:14:21 Status: Downloaded newer image for alpine:3.14 05:14:21 ---> 376ba31ae3da 05:14:21 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:14:21 ---> Running in 5743dab595a4 05:14:21 Removing intermediate container 5743dab595a4 05:14:21 ---> 10e1d3905ab9 05:14:21 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:14:21 ---> Running in 5755d2ec5435 05:14:22 Removing intermediate container 5755d2ec5435 05:14:22 ---> 2c59c4d684bf 05:14:22 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 05:14:22 ---> Running in 2f780c2e2fc8 05:14:23 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:14:24 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:14:25 (1/6) Installing dumb-init (1.2.5-r1) 05:14:25 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:14:25 (3/6) Installing libsodium (1.0.18-r0) 05:14:25 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:14:25 (5/6) Installing libzmq (4.3.4-r0) 05:14:25 (6/6) Installing zeromq (4.3.4-r0) 05:14:25 Executing busybox-1.33.1-r8.trigger 05:14:25 OK: 8 MiB in 20 packages 05:14:26 Removing intermediate container 2f780c2e2fc8 05:14:26 ---> 7db9b474f5f2 05:14:26 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:14:28 ---> 4e2e9433041d 05:14:28 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:14:28 ---> fafdcc77ee02 05:14:28 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:14:28 ---> 8b6b5b080e99 05:14:28 Step 18/23 : EXPOSE 59901 05:14:28 ---> Running in 1d287da67b7a 05:14:29 Removing intermediate container 1d287da67b7a 05:14:29 ---> 4923170d14b9 05:14:29 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:14:29 ---> Running in bc5d3df81089 05:14:29 Removing intermediate container bc5d3df81089 05:14:29 ---> 78a5ed2aaed0 05:14:29 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:14:29 ---> Running in a943d73bfb23 05:14:29 Removing intermediate container a943d73bfb23 05:14:29 ---> 764a7da02b73 05:14:29 Step 21/23 : LABEL arch=arm64 05:14:29 ---> Running in 264893f488ef 05:14:30 Removing intermediate container 264893f488ef 05:14:30 ---> beb31e371f0f 05:14:30 Step 22/23 : LABEL git_sha=a944992d1712af23156153d3e21f45f8a7ce1c14 05:14:30 ---> Running in b89a6f79f388 05:14:30 Removing intermediate container b89a6f79f388 05:14:30 ---> 5e748f40d3cc 05:14:30 Step 23/23 : LABEL version=0.0.0 05:14:30 ---> Running in 8e5574e12b24 05:14:30 Removing intermediate container 8e5574e12b24 05:14:30 ---> 338ebbfe43e3 05:14:30 [Warning] One or more build-args [ARCH] were not consumed 05:14:30 Successfully built 338ebbfe43e3 05:14:30 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:14:31 05:14:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:14:32 arm64: Pulling from edgex-lftools-log-publisher 05:14:32 8998bd30e6a1: Pulling fs layer 05:14:32 04944245beec: Pulling fs layer 05:14:32 699f458cf7ca: Pulling fs layer 05:14:32 765212b225bb: Pulling fs layer 05:14:32 f23df028b6ca: Pulling fs layer 05:14:32 d65c8cfc05b1: Pulling fs layer 05:14:32 2437ff75d9bd: Pulling fs layer 05:14:32 765212b225bb: Waiting 05:14:32 f23df028b6ca: Waiting 05:14:32 d65c8cfc05b1: Waiting 05:14:32 04944245beec: Verifying Checksum 05:14:32 04944245beec: Download complete 05:14:32 765212b225bb: Verifying Checksum 05:14:32 765212b225bb: Download complete 05:14:32 f23df028b6ca: Download complete 05:14:32 d65c8cfc05b1: Verifying Checksum 05:14:32 d65c8cfc05b1: Download complete 05:14:32 699f458cf7ca: Verifying Checksum 05:14:32 8998bd30e6a1: Verifying Checksum 05:14:32 8998bd30e6a1: Download complete 05:14:34 2437ff75d9bd: Verifying Checksum 05:14:34 2437ff75d9bd: Download complete 05:14:36 8998bd30e6a1: Pull complete 05:14:37 04944245beec: Pull complete 05:14:38 699f458cf7ca: Pull complete 05:14:38 765212b225bb: Pull complete 05:14:39 f23df028b6ca: Pull complete 05:14:39 d65c8cfc05b1: Pull complete 05:14:51 2437ff75d9bd: Pull complete 05:14:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:14:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:14:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:14:52 prd-ubuntu20.04-docker-arm64-4c-16g-1128 does not seem to be running inside a container 05:14:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:14:54 $ docker top 2847991f10c03c8feea5629a14f9d8d54401883a6bec3d80665a96381d77e504 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:14:55 ---> job-cost.sh 05:14:55 lf-activate-venv: SKIPPING 05:14:55 INFO: No Stack... 05:14:55 INFO: Retrieving Pricing Info for: v3-standard-4 05:14:56 INFO: Archiving Costs [Pipeline] sh 05:14:57 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 05:14:57 + cut -d, -f6 [Pipeline] lock 05:14:57 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-377-1-stack-cost] 05:14:57 Resource [jenkins-edgexfoundry-device-modbus-go-PR-377-1-stack-cost] did not exist. Created. 05:14:57 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-377-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:14:57 /w/workspace/device-modbus-go/1@tmp/durable-f1e693a9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:14:58 + echo total: 0.10999999940395355 [Pipeline] stash 05:14:58 Warning: overwriting stash ‘stack-cost’ 05:14:58 Stashed 1 file(s) [Pipeline] } 05:14:58 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-377-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:14:58 $ docker stop --time=1 2847991f10c03c8feea5629a14f9d8d54401883a6bec3d80665a96381d77e504 05:15:00 $ docker rm -f 2847991f10c03c8feea5629a14f9d8d54401883a6bec3d80665a96381d77e504 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:15:00 provisioning config files... 05:15:00 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-377@tmp/config6244479246620232956tmp [Pipeline] { [Pipeline] sh 05:15:01 + set +x 05:15:01 + curl -s https://codecov.io/bash 05:15:01 + bash -s -- 05:15:01 05:15:01 _____ _ 05:15:01 / ____| | | 05:15:01 | | ___ __| | ___ ___ _____ __ 05:15:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:15:01 | |___| (_) | (_| | __/ (_| (_) \ V / 05:15:01 \_____\___/ \__,_|\___|\___\___/ \_/ 05:15:01 Bash-1.0.6 05:15:01 05:15:01 05:15:01 ==> git version 2.25.1 found 05:15:01 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:15:01 Release-Date: 2020-01-08 05:15:01 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:15:01 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:15:01 ==> Jenkins CI detected. 05:15:01 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-377 05:15:01 project root: . 05:15:01 --> token set from env 05:15:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:15:01 ==> Running gcov in . (disable via -X gcov) 05:15:01 ==> Python coveragepy not found 05:15:01 ==> Searching for coverage reports in: 05:15:01 + . 05:15:01 -> Found 1 reports 05:15:01 ==> Detecting git/mercurial file structure 05:15:01 ==> Reading reports 05:15:01 + ./coverage.out bytes=23241 05:15:01 ==> Appending adjustments 05:15:01 https://docs.codecov.io/docs/fixing-reports 05:15:01 + Found adjustments 05:15:01 ==> Gzipping contents 05:15:01 4.0K /tmp/codecov.Cl3o17.gz 05:15:01 ==> Uploading reports 05:15:01 url: https://codecov.io 05:15:01 query: branch=PR-377&commit=a944992d1712af23156153d3e21f45f8a7ce1c14&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-377%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=377&job=&cmd_args= 05:15:01 -> Pinging Codecov 05:15:01 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-377&commit=a944992d1712af23156153d3e21f45f8a7ce1c14&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-377%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=377&job=&cmd_args= 05:15:01 -> Uploading to 05:15:01 https://storage.googleapis.com/codecov/v4/raw/2022-09-26/55DBCA73C666E3227836607328DD7E49/a944992d1712af23156153d3e21f45f8a7ce1c14/fcd584aa-2ca5-48d0-8834-08f69671e837.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220926%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220926T051501Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ae1408188fd9aaec2a572f58db47738446cf904cf0f9cb992f4717c50515d18b 05:15:01 % Total % Received % Xferd Average Speed Time Time Time Current 05:15:01 Dload Upload Total Spent Left Speed 05:15:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3911 0 0 100 3911 0 15042 --:--:-- --:--:-- --:--:-- 15042 05:15:02 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/a944992d1712af23156153d3e21f45f8a7ce1c14 [Pipeline] } 05:15:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:15:03 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-377/archives ] 05:15:03 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-377/archives 05:15:03 total 16 05:15:03 drwxr-xr-x 3 root root 4096 Sep 26 05:06 . 05:15:03 drwxrwxr-x 11 jenkins jenkins 4096 Sep 26 05:06 .. 05:15:03 drwxr-xr-x 2 root root 4096 Sep 26 05:06 cost 05:15:03 -rw-r--r-- 1 root root 88 Sep 26 05:06 cost.csv 05:15:03 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-377/archives 05:15:03 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-377/archives 05:15:03 total 16 05:15:03 drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 05:06 . 05:15:03 drwxrwxr-x 11 jenkins jenkins 4096 Sep 26 05:06 .. 05:15:03 drwxr-xr-x 2 jenkins jenkins 4096 Sep 26 05:06 cost 05:15:03 -rw-r--r-- 1 jenkins jenkins 88 Sep 26 05:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:15:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:15:04 ---> package-listing.sh 05:15:04 ++ facter osfamily 05:15:04 ++ tr '[:upper:]' '[:lower:]' 05:15:05 + OS_FAMILY=debian 05:15:05 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-377 05:15:05 + START_PACKAGES=/tmp/packages_start.txt 05:15:05 + END_PACKAGES=/tmp/packages_end.txt 05:15:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:15:05 + PACKAGES=/tmp/packages_start.txt 05:15:05 + '[' /w/workspace/xfoundry_device-modbus-go_PR-377 ']' 05:15:05 + PACKAGES=/tmp/packages_end.txt 05:15:05 + case "${OS_FAMILY}" in 05:15:05 + dpkg -l 05:15:05 + grep '^ii' 05:15:05 + '[' -f /tmp/packages_start.txt ']' 05:15:05 + '[' -f /tmp/packages_end.txt ']' 05:15:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:15:05 + '[' /w/workspace/xfoundry_device-modbus-go_PR-377 ']' 05:15:05 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-377/archives/ 05:15:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-377/archives/ [Pipeline] echo 05:15:05 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-377/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:15:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:15:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:15:06 prd-ubuntu20.04-docker-8c-8g-1126 does not seem to be running inside a container 05:15:06 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-377/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-377 -v /w/workspace/xfoundry_device-modbus-go_PR-377:/w/workspace/xfoundry_device-modbus-go_PR-377:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-377@tmp:/w/workspace/xfoundry_device-modbus-go_PR-377@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:15:06 $ docker top 74d82ac5e3bfffb1217706a93dd0d7a872d4e0303131a0b6c92e1aec27a24f30 -eo pid,comm [Pipeline] { [Pipeline] sh 05:15:06 + touch /tmp/pre-build-complete [Pipeline] sh 05:15:07 + mkdir -p /var/log/sysstat [Pipeline] sh 05:15:07 + ls /var/log/sa-host 05:15:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:15:07 provisioning config files... 05:15:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-377@tmp/config10614001371981551881tmp [Pipeline] { [Pipeline] echo 05:15:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:15:08 ---> create-netrc.sh [Pipeline] } 05:15:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:15:08 ---> python-tools-install.sh [Pipeline] echo 05:15:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:15:08 ---> sudo-logs.sh 05:15:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:15:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:15:09 ---> job-cost.sh 05:15:09 lf-activate-venv: SKIPPING 05:15:09 DEBUG: total: 0.2199999988079071 05:15:09 INFO: Retrieving Stack Cost... 05:15:09 INFO: Retrieving Pricing Info for: v3-standard-8 05:15:10 INFO: Archiving Costs [Pipeline] echo 05:15:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:15:10 ---> logs-deploy.sh 05:15:10 lf-activate-venv: SKIPPING 05:15:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-377/1 05:15:10 INFO: archiving workspace using pattern(s): 05:15:11 Archives upload complete. 05:15:11 INFO: archiving logs to Nexus 05:15:12 ---> uname -a: 05:15:12 Linux prd-ubuntu20-04-docker-8c-8g-1126 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 05:15:12 05:15:12 05:15:12 ---> lscpu: 05:15:12 Architecture: x86_64 05:15:12 CPU op-mode(s): 32-bit, 64-bit 05:15:12 Byte Order: Little Endian 05:15:12 Address sizes: 40 bits physical, 48 bits virtual 05:15:12 CPU(s): 8 05:15:12 On-line CPU(s) list: 0-7 05:15:12 Thread(s) per core: 1 05:15:12 Core(s) per socket: 1 05:15:12 Socket(s): 8 05:15:12 NUMA node(s): 1 05:15:12 Vendor ID: AuthenticAMD 05:15:12 CPU family: 23 05:15:12 Model: 49 05:15:12 Model name: AMD EPYC-Rome Processor 05:15:12 Stepping: 0 05:15:12 CPU MHz: 2799.998 05:15:12 BogoMIPS: 5599.99 05:15:12 Virtualization: AMD-V 05:15:12 Hypervisor vendor: KVM 05:15:12 Virtualization type: full 05:15:12 L1d cache: 256 KiB 05:15:12 L1i cache: 256 KiB 05:15:12 L2 cache: 4 MiB 05:15:12 L3 cache: 128 MiB 05:15:12 NUMA node0 CPU(s): 0-7 05:15:12 Vulnerability Itlb multihit: Not affected 05:15:12 Vulnerability L1tf: Not affected 05:15:12 Vulnerability Mds: Not affected 05:15:12 Vulnerability Meltdown: Not affected 05:15:12 Vulnerability Mmio stale data: Not affected 05:15:12 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:15:12 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 05:15:12 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 05:15:12 Vulnerability Srbds: Not affected 05:15:12 Vulnerability Tsx async abort: Not affected 05:15:12 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 05:15:12 05:15:12 05:15:12 ---> nproc: 05:15:12 8 05:15:12 05:15:12 05:15:12 ---> df -h: 05:15:12 Filesystem Size Used Avail Use% Mounted on 05:15:12 overlay 155G 12G 144G 8% / 05:15:12 tmpfs 64M 0 64M 0% /dev 05:15:12 tmpfs 16G 0 16G 0% /sys/fs/cgroup 05:15:12 shm 64M 0 64M 0% /dev/shm 05:15:12 /dev/vda1 155G 12G 144G 8% /facter-os 05:15:12 05:15:12 05:15:12 ---> sar -b -r -n DEV: 05:15:12 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-1126) 09/26/22 _x86_64_ (8 CPU) 05:15:12 05:15:12 05:03:57 LINUX RESTART (8 CPU) 05:15:12 05:15:12 05:04:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 05:15:12 05:05:01 136.41 48.23 88.19 0.00 5432.69 181957.14 0.00 05:15:12 05:06:01 215.81 1.53 214.28 0.00 36.79 67230.13 0.00 05:15:12 05:07:01 124.30 0.07 124.23 0.00 9.73 33511.88 0.00 05:15:12 05:08:01 1.77 0.00 1.77 0.00 0.00 20.68 0.00 05:15:12 05:09:01 3.12 0.97 2.15 0.00 67.46 55.72 0.00 05:15:12 05:10:01 37.44 8.37 29.08 0.00 2816.86 4746.68 0.00 05:15:12 05:11:01 1.65 0.00 1.65 0.00 0.00 18.80 0.00 05:15:12 05:12:01 1.97 0.00 1.97 0.00 0.00 20.66 0.00 05:15:12 05:13:01 1.33 0.00 1.33 0.00 0.00 15.06 0.00 05:15:12 05:14:01 1.53 0.00 1.53 0.00 0.00 18.13 0.00 05:15:12 05:15:01 2.15 0.10 2.05 0.00 7.20 33.86 0.00 05:15:12 Average: 47.95 5.39 42.56 0.00 760.95 26147.28 0.00 05:15:12 05:15:12 05:04:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:15:12 05:05:01 29295352 31606748 724752 2.20 71336 2516048 2038536 6.01 980516 2262108 635788 05:15:12 05:06:01 28569200 31546084 762176 2.32 134936 3060708 2277464 6.71 1193228 2694988 476 05:15:12 05:07:01 27867804 31590328 715824 2.18 145472 3734616 1758276 5.18 1196224 3327516 396 05:15:12 05:08:01 27868120 31590760 715184 2.17 145512 3734616 1758276 5.18 1196428 3327516 8 05:15:12 05:09:01 27863044 31591984 713272 2.17 146996 3739544 1746212 5.15 1200664 3332272 296 05:15:12 05:10:01 27583128 31578268 709696 2.16 164064 3983260 1800960 5.31 1344260 3438580 216 05:15:12 05:11:01 27590516 31585748 702296 2.14 164152 3983264 1800960 5.31 1337484 3438596 8 05:15:12 05:12:01 27590776 31586108 701860 2.13 164240 3983256 1800960 5.31 1337496 3438624 300 05:15:12 05:13:01 27590612 31586068 702072 2.14 164312 3983268 1800960 5.31 1337600 3438632 8 05:15:12 05:14:01 27590460 31586548 701820 2.13 164408 3983272 1800960 5.31 1337240 3439108 176 05:15:12 05:15:01 27587336 31583764 704160 2.14 164512 3983504 1800648 5.31 1341772 3439112 24 05:15:12 Average: 27908759 31584764 713919 2.17 148176 3698669 1853110 5.46 1254810 3234277 57972 05:15:12 05:15:12 05:04:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 05:15:12 05:05:01 docker0 4.03 3.28 0.40 45.89 0.00 0.00 0.00 0.00 05:15:12 05:05:01 ens3 578.95 381.49 6418.59 84.76 0.00 0.00 0.00 0.00 05:15:12 05:05:01 lo 7.13 7.13 0.69 0.69 0.00 0.00 0.00 0.00 05:15:12 05:06:01 veth363beea 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:15:12 05:06:01 docker0 138.06 164.57 11.19 1557.34 0.00 0.00 0.00 0.00 05:15:12 05:06:01 vethadd735d 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:15:12 05:06:01 ens3 235.38 195.88 1607.27 108.47 0.00 0.00 0.00 0.00 05:15:12 05:06:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 05:15:12 05:07:01 docker0 6.48 8.50 0.38 51.67 0.00 0.00 0.00 0.00 05:15:12 05:07:01 ens3 119.75 77.47 2628.27 15.94 0.00 0.00 0.00 0.00 05:15:12 05:07:01 lo 1.67 1.67 0.16 0.16 0.00 0.00 0.00 0.00 05:15:12 05:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:15:12 05:08:01 ens3 1.28 1.02 0.31 0.27 0.00 0.00 0.00 0.00 05:15:12 05:08:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:15:12 05:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:15:12 05:09:01 ens3 0.70 0.85 0.50 0.26 0.00 0.00 0.00 0.00 05:15:12 05:09:01 lo 0.20 0.20 0.02 0.02 0.00 0.00 0.00 0.00 05:15:12 05:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:15:12 05:10:01 ens3 72.27 43.63 1298.14 3.08 0.00 0.00 0.00 0.00 05:15:12 05:10:01 lo 0.40 0.40 0.03 0.03 0.00 0.00 0.00 0.00 05:15:12 05:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:15:12 05:11:01 ens3 0.03 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:15:12 05:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:15:12 05:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:15:12 05:12:01 ens3 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 05:15:12 05:12:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:15:12 05:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:15:12 05:13:01 ens3 0.03 0.03 0.00 0.00 0.00 0.00 0.00 0.00 05:15:12 05:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:15:12 05:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:15:12 05:14:01 ens3 0.48 0.25 2.07 0.02 0.00 0.00 0.00 0.00 05:15:12 05:14:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:15:12 05:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:15:12 05:15:01 ens3 3.30 2.42 3.51 1.18 0.00 0.00 0.00 0.00 05:15:12 05:15:01 lo 0.20 0.20 0.02 0.02 0.00 0.00 0.00 0.00 05:15:12 Average: docker0 13.51 16.03 1.09 150.44 0.00 0.00 0.00 0.00 05:15:12 Average: ens3 92.02 63.92 1087.12 19.45 0.00 0.00 0.00 0.00 05:15:12 Average: lo 0.97 0.97 0.09 0.09 0.00 0.00 0.00 0.00 05:15:12 05:15:12 05:15:12 ---> sar -P ALL: 05:15:12 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-1126) 09/26/22 _x86_64_ (8 CPU) 05:15:12 05:15:12 05:03:57 LINUX RESTART (8 CPU) 05:15:12 05:15:12 05:04:01 CPU %user %nice %system %iowait %steal %idle 05:15:12 05:05:01 all 8.75 0.00 3.17 1.36 0.05 86.67 05:15:12 05:05:01 0 7.01 0.00 2.33 0.27 0.05 90.34 05:15:12 05:05:01 1 6.89 0.00 3.54 1.73 0.05 87.79 05:15:12 05:05:01 2 9.99 0.00 3.67 0.17 0.03 86.13 05:15:12 05:05:01 3 9.36 0.00 2.12 1.40 0.05 87.07 05:15:12 05:05:01 4 8.57 0.00 3.86 1.91 0.05 85.61 05:15:12 05:05:01 5 8.43 0.00 3.43 0.24 0.05 87.85 05:15:12 05:05:01 6 11.35 0.00 3.13 4.13 0.05 81.34 05:15:12 05:05:01 7 8.41 0.00 3.26 1.08 0.07 87.18 05:15:12 05:06:01 all 27.65 0.00 6.21 2.06 0.07 64.01 05:15:12 05:06:01 0 28.88 0.00 5.93 0.29 0.07 64.84 05:15:12 05:06:01 1 23.53 0.00 4.72 0.27 0.07 71.42 05:15:12 05:06:01 2 25.11 0.00 6.06 3.19 0.07 65.58 05:15:12 05:06:01 3 28.76 0.00 7.67 6.99 0.08 56.50 05:15:12 05:06:01 4 29.88 0.00 6.31 2.92 0.07 60.81 05:15:12 05:06:01 5 29.70 0.00 6.11 0.37 0.07 63.75 05:15:12 05:06:01 6 27.29 0.00 5.96 0.37 0.05 66.33 05:15:12 05:06:01 7 28.07 0.00 6.97 2.05 0.08 62.83 05:15:12 05:07:01 all 20.38 0.00 4.12 0.89 0.05 74.55 05:15:12 05:07:01 0 20.37 0.00 4.19 0.15 0.07 75.23 05:15:12 05:07:01 1 19.39 0.00 3.59 0.00 0.03 76.99 05:15:12 05:07:01 2 17.38 0.00 3.24 1.06 0.05 78.27 05:15:12 05:07:01 3 20.93 0.00 4.73 0.13 0.05 74.15 05:15:12 05:07:01 4 23.35 0.00 4.28 0.22 0.05 72.11 05:15:12 05:07:01 5 19.65 0.00 4.40 0.20 0.05 75.70 05:15:12 05:07:01 6 20.58 0.00 4.16 5.12 0.07 70.07 05:15:12 05:07:01 7 21.44 0.00 4.40 0.25 0.07 73.84 05:15:12 05:08:01 all 0.14 0.00 0.02 0.01 0.01 99.82 05:15:12 05:08:01 0 0.02 0.00 0.03 0.00 0.00 99.95 05:15:12 05:08:01 1 0.91 0.00 0.00 0.00 0.02 99.07 05:15:12 05:08:01 2 0.03 0.00 0.02 0.05 0.02 99.88 05:15:12 05:08:01 3 0.02 0.00 0.03 0.00 0.02 99.93 05:15:12 05:08:01 4 0.00 0.00 0.02 0.00 0.02 99.97 05:15:12 05:08:01 5 0.02 0.00 0.02 0.00 0.00 99.97 05:15:12 05:08:01 6 0.10 0.00 0.02 0.02 0.00 99.87 05:15:12 05:08:01 7 0.03 0.00 0.02 0.00 0.02 99.93 05:15:12 05:09:01 all 0.06 0.00 0.06 0.02 0.01 99.86 05:15:12 05:09:01 0 0.07 0.00 0.05 0.02 0.02 99.85 05:15:12 05:09:01 1 0.07 0.00 0.05 0.02 0.00 99.87 05:15:12 05:09:01 2 0.08 0.00 0.07 0.05 0.02 99.78 05:15:12 05:09:01 3 0.08 0.00 0.02 0.02 0.02 99.87 05:15:12 05:09:01 4 0.03 0.00 0.20 0.02 0.00 99.75 05:15:12 05:09:01 5 0.03 0.00 0.03 0.00 0.00 99.93 05:15:12 05:09:01 6 0.02 0.00 0.03 0.02 0.00 99.93 05:15:12 05:09:01 7 0.07 0.00 0.02 0.02 0.02 99.88 05:15:12 05:10:01 all 1.13 0.00 0.81 0.37 0.02 97.67 05:15:12 05:10:01 0 0.77 0.00 0.58 0.48 0.02 98.15 05:15:12 05:10:01 1 0.92 0.00 0.55 0.03 0.02 98.48 05:15:12 05:10:01 2 1.18 0.00 0.62 1.25 0.05 96.90 05:15:12 05:10:01 3 0.62 0.00 0.97 0.03 0.02 98.37 05:15:12 05:10:01 4 0.75 0.00 0.42 0.05 0.02 98.77 05:15:12 05:10:01 5 1.53 0.00 0.65 0.18 0.02 97.62 05:15:12 05:10:01 6 2.18 0.00 2.05 0.33 0.02 95.41 05:15:12 05:10:01 7 1.07 0.00 0.64 0.59 0.02 97.69 05:15:12 05:11:01 all 0.10 0.00 0.01 0.00 0.00 99.89 05:15:12 05:11:01 0 0.02 0.00 0.02 0.00 0.00 99.97 05:15:12 05:11:01 1 0.58 0.00 0.00 0.00 0.00 99.42 05:15:12 05:11:01 2 0.02 0.00 0.02 0.03 0.02 99.92 05:15:12 05:11:01 3 0.03 0.00 0.00 0.00 0.02 99.95 05:15:12 05:11:01 4 0.02 0.00 0.02 0.00 0.00 99.97 05:15:12 05:11:01 5 0.03 0.00 0.00 0.00 0.00 99.97 05:15:12 05:11:01 6 0.03 0.00 0.00 0.00 0.00 99.97 05:15:12 05:11:01 7 0.05 0.00 0.02 0.00 0.00 99.93 05:15:12 05:12:01 all 0.12 0.00 0.01 0.00 0.01 99.85 05:15:12 05:12:01 0 0.05 0.00 0.00 0.00 0.02 99.93 05:15:12 05:12:01 1 0.81 0.00 0.00 0.00 0.02 99.17 05:15:12 05:12:01 2 0.02 0.00 0.03 0.02 0.03 99.90 05:15:12 05:12:01 3 0.02 0.00 0.02 0.00 0.02 99.95 05:15:12 05:12:01 4 0.00 0.00 0.00 0.00 0.02 99.98 05:15:12 05:12:01 5 0.05 0.00 0.00 0.00 0.02 99.93 05:15:12 05:12:01 6 0.00 0.00 0.00 0.00 0.00 100.00 05:15:12 05:12:01 7 0.02 0.00 0.00 0.02 0.00 99.97 05:15:12 05:13:01 all 0.02 0.00 0.01 0.01 0.01 99.95 05:15:12 05:13:01 0 0.02 0.00 0.02 0.00 0.00 99.97 05:15:12 05:13:01 1 0.00 0.00 0.00 0.00 0.02 99.98 05:15:12 05:13:01 2 0.02 0.00 0.03 0.08 0.02 99.85 05:15:12 05:13:01 3 0.03 0.00 0.00 0.00 0.02 99.95 05:15:12 05:13:01 4 0.02 0.00 0.00 0.00 0.00 99.98 05:15:12 05:13:01 5 0.02 0.00 0.02 0.00 0.00 99.97 05:15:12 05:13:01 6 0.03 0.00 0.00 0.02 0.00 99.95 05:15:12 05:13:01 7 0.00 0.00 0.02 0.00 0.02 99.97 05:15:12 05:14:01 all 0.01 0.00 0.01 0.01 0.01 99.96 05:15:12 05:14:01 0 0.00 0.00 0.00 0.00 0.02 99.98 05:15:12 05:14:01 1 0.02 0.00 0.00 0.00 0.02 99.97 05:15:12 05:14:01 2 0.02 0.00 0.02 0.07 0.03 99.87 05:15:12 05:14:01 3 0.03 0.00 0.02 0.00 0.00 99.95 05:15:12 05:14:01 4 0.02 0.00 0.00 0.00 0.02 99.97 05:15:12 05:14:01 5 0.00 0.00 0.00 0.00 0.00 100.00 05:15:12 05:14:01 6 0.02 0.00 0.02 0.00 0.02 99.95 05:15:12 05:14:01 7 0.02 0.00 0.02 0.00 0.00 99.97 05:15:12 05:15:01 all 0.08 0.00 0.05 0.01 0.01 99.85 05:15:12 05:15:01 0 0.05 0.00 0.03 0.00 0.00 99.92 05:15:12 05:15:01 1 0.03 0.00 0.03 0.00 0.02 99.92 05:15:12 05:15:01 2 0.10 0.00 0.07 0.08 0.02 99.73 05:15:12 05:15:01 3 0.07 0.00 0.02 0.00 0.02 99.90 05:15:12 05:15:01 4 0.10 0.00 0.03 0.00 0.00 99.87 05:15:12 05:15:01 5 0.07 0.00 0.10 0.00 0.00 99.83 05:15:12 05:15:01 6 0.15 0.00 0.05 0.02 0.00 99.78 05:15:12 05:15:01 7 0.08 0.00 0.03 0.00 0.00 99.88 05:15:12 05:15:12 Average: CPU %user %nice %system %iowait %steal %idle 05:15:12 Average: all 5.27 0.00 1.31 0.43 0.02 92.97 05:15:12 Average: 0 5.17 0.00 1.19 0.11 0.02 93.50 05:15:12 Average: 1 4.81 0.00 1.13 0.19 0.02 93.85 05:15:12 Average: 2 4.86 0.00 1.25 0.55 0.03 93.31 05:15:12 Average: 3 5.40 0.00 1.41 0.77 0.03 92.39 05:15:12 Average: 4 5.66 0.00 1.37 0.46 0.02 92.50 05:15:12 Average: 5 5.37 0.00 1.33 0.09 0.02 93.19 05:15:12 Average: 6 5.56 0.00 1.39 0.90 0.02 92.12 05:15:12 Average: 7 5.33 0.00 1.38 0.36 0.03 92.90 05:15:12 05:15:12 05:15:12