Pull request #391 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 3f12f097439abb0279c45f1e34a342ea3c56ff98+d7835794e341370cec95aed23fbbbaeab5e4af25 (1357a67faaeabb1a2e20ef0e57a26c32e43eeb28) 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-ssh2768099495448728393.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6371079918875229972.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-391/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-391/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13313301867364047568.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-391/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16445123563767067890.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh597924500330386901.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-391/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-391/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11819561838168497810.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-118620 in /w/workspace/xfoundry_device-modbus-go_PR-391 [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-391 # 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/391/head:refs/remotes/origin/PR-391 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d7835794e341370cec95aed23fbbbaeab5e4af25 into PR head commit 3f12f097439abb0279c45f1e34a342ea3c56ff98 Merge succeeded, producing 3f12f097439abb0279c45f1e34a342ea3c56ff98 Checking out Revision 3f12f097439abb0279c45f1e34a342ea3c56ff98 (PR-391) > git config core.sparsecheckout # timeout=10 > git checkout -f 3f12f097439abb0279c45f1e34a342ea3c56ff98 # 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 d7835794e341370cec95aed23fbbbaeab5e4af25 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3f12f097439abb0279c45f1e34a342ea3c56ff98 # timeout=10 Commit message: "build: Update to use released SDK" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:10:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:10:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:10:13 ========================================================= 16:10:13 EdgeX Global Pipelines Version Info 16:10:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:10:15 ------------------- 16:10:15 stable info: 16:10:15 ------------------- 16:10:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:10:15 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:10:15 Message: update stable to v1.0.244 16:10:15 ------------------- 16:10:15 experimental info: 16:10:15 ------------------- 16:10:15 Commited By: **** collab-it+edgex@linuxfoundation.org 16:10:15 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:10:15 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:10:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 16:10:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 16:10:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:10:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:10:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:10:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:10:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:10:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:10:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:10:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:10:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:10:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 16:10:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:10:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:10:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:10:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:10:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:10:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:10:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:10:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:10:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:10:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:10:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:10:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:10:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:10:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:10:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:10:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-391 [Pipeline] echo 16:10:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-391 [Pipeline] echo 16:10:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-391 [Pipeline] echo 16:10:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3f12f097439abb0279c45f1e34a342ea3c56ff98 [Pipeline] echo 16:10:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3f12f09 [Pipeline] echo 16:10:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:10:17 provisioning config files... 16:10:17 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-391@tmp/config13098953981600202412tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:10:17 ---> docker-login.sh 16:10:17 nexus3.edgexfoundry.org:10001 16:10:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:18 Configure a credential helper to remove this warning. See 16:10:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:18 16:10:18 Login Succeeded 16:10:18 nexus3.edgexfoundry.org:10002 16:10:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:18 Configure a credential helper to remove this warning. See 16:10:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:18 16:10:18 Login Succeeded 16:10:18 nexus3.edgexfoundry.org:10003 16:10:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:18 Configure a credential helper to remove this warning. See 16:10:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:18 16:10:18 Login Succeeded 16:10:18 nexus3.edgexfoundry.org:10004 16:10:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:18 Configure a credential helper to remove this warning. See 16:10:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:18 16:10:18 Login Succeeded 16:10:18 docker.io 16:10:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:18 Configure a credential helper to remove this warning. See 16:10:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:18 16:10:18 Login Succeeded 16:10:18 ---> docker-login.sh ends [Pipeline] } 16:10:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:10:19 + git rev-list -1 --merges 3f12f097439abb0279c45f1e34a342ea3c56ff98~1..3f12f097439abb0279c45f1e34a342ea3c56ff98 [Pipeline] echo 16:10:19 -----------> git rev-list -1 --merges 3f12f097439abb0279c45f1e34a342ea3c56ff98~1..3f12f097439abb0279c45f1e34a342ea3c56ff98 3f12f097439abb0279c45f1e34a342ea3c56ff98 [false] [Pipeline] sh 16:10:19 + git log --format=format:%s -1 3f12f097439abb0279c45f1e34a342ea3c56ff98 [Pipeline] echo 16:10:19 ========================================================= 16:10:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:10:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:10:20 + git log --format=format:%s -1 3f12f097439abb0279c45f1e34a342ea3c56ff98 [Pipeline] echo 16:10:20 [semverPrep] GIT_COMMIT: 3f12f097439abb0279c45f1e34a342ea3c56ff98, Commit Message: build: Update to use released SDK [Pipeline] echo 16:10:20 [semverPrep] This is not a build commit. [Pipeline] sh 16:10:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:10:20 + grep -v github /etc/ssh/ssh_known_hosts 16:10:20 + [ -e /tmp/ssh_known_hosts ] 16:10:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:10:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:10:20 + sudo tee -a /etc/ssh/ssh_known_hosts 16:10:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:10:21 16:10:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:10:21 0.1.4: Pulling from edgex-devops/py-git-semver 16:10:21 b85a868b505f: Pulling fs layer 16:10:21 e2be974225ed: Pulling fs layer 16:10:21 339a4e72a1f5: Pulling fs layer 16:10:21 988bab9f4d93: Pulling fs layer 16:10:21 1469e6f7b9e6: Pulling fs layer 16:10:21 eaf3925da568: Pulling fs layer 16:10:21 bab4dde63d76: Pulling fs layer 16:10:21 1469e6f7b9e6: Waiting 16:10:21 988bab9f4d93: Waiting 16:10:21 eaf3925da568: Waiting 16:10:21 bde34c3a00c8: Pulling fs layer 16:10:21 b352a97aabf1: Pulling fs layer 16:10:21 4872d77fe225: Pulling fs layer 16:10:21 bde34c3a00c8: Waiting 16:10:21 b352a97aabf1: Waiting 16:10:21 4872d77fe225: Waiting 16:10:21 bab4dde63d76: Waiting 16:10:21 5851b861e8e6: Pulling fs layer 16:10:21 5851b861e8e6: Waiting 16:10:21 e2be974225ed: Download complete 16:10:21 988bab9f4d93: Verifying Checksum 16:10:21 988bab9f4d93: Download complete 16:10:21 339a4e72a1f5: Verifying Checksum 16:10:21 339a4e72a1f5: Download complete 16:10:21 1469e6f7b9e6: Verifying Checksum 16:10:21 1469e6f7b9e6: Download complete 16:10:21 eaf3925da568: Download complete 16:10:21 bde34c3a00c8: Download complete 16:10:21 b352a97aabf1: Download complete 16:10:22 4872d77fe225: Verifying Checksum 16:10:22 4872d77fe225: Download complete 16:10:22 5851b861e8e6: Verifying Checksum 16:10:22 5851b861e8e6: Download complete 16:10:22 b85a868b505f: Verifying Checksum 16:10:22 b85a868b505f: Download complete 16:10:22 bab4dde63d76: Verifying Checksum 16:10:22 bab4dde63d76: Download complete 16:10:24 b85a868b505f: Pull complete 16:10:24 e2be974225ed: Pull complete 16:10:24 339a4e72a1f5: Pull complete 16:10:25 988bab9f4d93: Pull complete 16:10:25 1469e6f7b9e6: Pull complete 16:10:25 eaf3925da568: Pull complete 16:10:27 bab4dde63d76: Pull complete 16:10:27 bde34c3a00c8: Pull complete 16:10:27 b352a97aabf1: Pull complete 16:10:27 4872d77fe225: Pull complete 16:10:27 5851b861e8e6: Pull complete 16:10:27 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:10:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:10:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:10:27 prd-ubuntu20.04-docker-8c-8g-118620 does not seem to be running inside a container 16:10:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-391 -v /w/workspace/xfoundry_device-modbus-go_PR-391:/w/workspace/xfoundry_device-modbus-go_PR-391:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-391@tmp:/w/workspace/xfoundry_device-modbus-go_PR-391@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:10:28 $ docker top e4645c2bd49c3931e5e48748cc47dbfecb06b8675df795a3df75a6ad84beabcb -eo pid,comm 16:10:28 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). 16:10:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:10:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:10:29 [ssh-agent] Looking for ssh-agent implementation... 16:10:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:10:29 $ docker exec e4645c2bd49c3931e5e48748cc47dbfecb06b8675df795a3df75a6ad84beabcb ssh-agent 16:10:29 SSH_AUTH_SOCK=/tmp/ssh-lFMDbSmP8yCH/agent.32 16:10:29 SSH_AGENT_PID=38 16:10:29 Running ssh-add (command line suppressed) 16:10:29 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-391@tmp/private_key_36840175026007674.key (/w/workspace/xfoundry_device-modbus-go_PR-391@tmp/private_key_36840175026007674.key) 16:10:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:10:29 + git tag --points-at HEAD [Pipeline] } 16:10:29 $ docker exec --env ******** --env ******** e4645c2bd49c3931e5e48748cc47dbfecb06b8675df795a3df75a6ad84beabcb ssh-agent -k 16:10:29 unset SSH_AUTH_SOCK; 16:10:29 unset SSH_AGENT_PID; 16:10:29 echo Agent pid 38 killed; 16:10:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:10:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:10:29 [ssh-agent] Looking for ssh-agent implementation... 16:10:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:10:30 $ docker exec e4645c2bd49c3931e5e48748cc47dbfecb06b8675df795a3df75a6ad84beabcb ssh-agent 16:10:30 SSH_AUTH_SOCK=/tmp/ssh-3s5MB31poiZM/agent.70 16:10:30 SSH_AGENT_PID=76 16:10:30 Running ssh-add (command line suppressed) 16:10:30 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-391@tmp/private_key_5514062908490672056.key (/w/workspace/xfoundry_device-modbus-go_PR-391@tmp/private_key_5514062908490672056.key) 16:10:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:10:30 + git semver init 16:10:30 2022-11-08 16:10:30,861 [run_init] DEBUG init version:0.0.0 force:False 16:10:30 2022-11-08 16:10:30,862 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-391/.semver 16:10:30 2022-11-08 16:10:30,862 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-391/.semver 16:10:30 2022-11-08 16:10:30,863 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-391/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-391, universal_newlines=False, shell=None, istream=None) 16:10:31 2022-11-08 16:10:31,799 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-391/.git/info/exclude 16:10:31 2022-11-08 16:10:31,799 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-391/.semver/PR-391 with force:False 16:10:31 2022-11-08 16:10:31,800 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-391/.semver/PR-391 16:10:31 2022-11-08 16:10:31,804 [execute] INFO git cat-file --batch-check 16:10:31 2022-11-08 16:10:31,804 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-391/.semver, universal_newlines=False, shell=None, istream=) 16:10:31 2022-11-08 16:10:31,810 [execute] INFO git cat-file --batch 16:10:31 2022-11-08 16:10:31,810 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-391/.semver, universal_newlines=False, shell=None, istream=) 16:10:31 2022-11-08 16:10:31,815 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-391/.semver/PR-391 16:10:31 0.0.0 [Pipeline] } 16:10:31 $ docker exec --env ******** --env ******** e4645c2bd49c3931e5e48748cc47dbfecb06b8675df795a3df75a6ad84beabcb ssh-agent -k 16:10:31 unset SSH_AUTH_SOCK; 16:10:31 unset SSH_AGENT_PID; 16:10:31 echo Agent pid 76 killed; 16:10:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:10:32 + git semver [Pipeline] } 16:10:32 $ docker stop --time=1 e4645c2bd49c3931e5e48748cc47dbfecb06b8675df795a3df75a6ad84beabcb 16:10:33 $ docker rm -f e4645c2bd49c3931e5e48748cc47dbfecb06b8675df795a3df75a6ad84beabcb [Pipeline] // withDockerContainer [Pipeline] sh 16:10:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:10:34 Stashed 1 file(s) [Pipeline] echo 16:10:34 [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 16:10:35 provisioning config files... 16:10:35 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-391@tmp/config12562524484458020867tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:10:35 ---> docker-login.sh 16:10:35 nexus3.edgexfoundry.org:10001 16:10:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:35 Configure a credential helper to remove this warning. See 16:10:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:35 16:10:35 Login Succeeded 16:10:35 nexus3.edgexfoundry.org:10002 16:10:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:35 Configure a credential helper to remove this warning. See 16:10:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:35 16:10:35 Login Succeeded 16:10:35 nexus3.edgexfoundry.org:10003 16:10:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:35 Configure a credential helper to remove this warning. See 16:10:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:35 16:10:35 Login Succeeded 16:10:35 nexus3.edgexfoundry.org:10004 16:10:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:35 Configure a credential helper to remove this warning. See 16:10:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:35 16:10:35 Login Succeeded 16:10:35 docker.io 16:10:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:36 Configure a credential helper to remove this warning. See 16:10:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:36 16:10:36 Login Succeeded 16:10:36 ---> docker-login.sh ends [Pipeline] } 16:10:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:10:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:10:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:10:36 ========================================================= 16:10:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:10:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:37 + 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 . 16:10:37 Sending build context to Docker daemon 6.274MB 16:10:37 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 16:10:37 Step 2/10 : FROM ${BASE} AS builder 16:10:37 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:10:37 213ec9aee27d: Pulling fs layer 16:10:37 4583459ba037: Pulling fs layer 16:10:37 93c1e223e6f2: Pulling fs layer 16:10:37 53926ce57604: Pulling fs layer 16:10:37 21b2b0c7a3f4: Pulling fs layer 16:10:37 22ff95d597cd: Pulling fs layer 16:10:37 12d6caf4c0d1: Pulling fs layer 16:10:37 96b7cbca73a9: Pulling fs layer 16:10:37 a7acece74701: Pulling fs layer 16:10:37 53926ce57604: Waiting 16:10:37 21b2b0c7a3f4: Waiting 16:10:37 22ff95d597cd: Waiting 16:10:37 12d6caf4c0d1: Waiting 16:10:37 96b7cbca73a9: Waiting 16:10:37 a7acece74701: Waiting 16:10:37 93c1e223e6f2: Verifying Checksum 16:10:37 93c1e223e6f2: Download complete 16:10:37 4583459ba037: Verifying Checksum 16:10:37 4583459ba037: Download complete 16:10:37 21b2b0c7a3f4: Verifying Checksum 16:10:37 21b2b0c7a3f4: Download complete 16:10:37 22ff95d597cd: Verifying Checksum 16:10:37 22ff95d597cd: Download complete 16:10:37 213ec9aee27d: Verifying Checksum 16:10:37 213ec9aee27d: Download complete 16:10:37 12d6caf4c0d1: Download complete 16:10:37 213ec9aee27d: Pull complete 16:10:37 4583459ba037: Pull complete 16:10:37 93c1e223e6f2: Pull complete 16:10:37 a7acece74701: Verifying Checksum 16:10:37 a7acece74701: Download complete 16:10:38 53926ce57604: Verifying Checksum 16:10:38 53926ce57604: Download complete 16:10:38 96b7cbca73a9: Verifying Checksum 16:10:38 96b7cbca73a9: Download complete 16:10:41 53926ce57604: Pull complete 16:10:41 21b2b0c7a3f4: Pull complete 16:10:41 22ff95d597cd: Pull complete 16:10:41 12d6caf4c0d1: Pull complete 16:10:43 96b7cbca73a9: Pull complete 16:10:44 a7acece74701: Pull complete 16:10:44 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 16:10:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:10:44 ---> db6d94c90886 16:10:44 Step 3/10 : ARG ADD_BUILD_TAGS="" 16:10:46 ---> Running in ee50cb4259e7 16:10:46 Removing intermediate container ee50cb4259e7 16:10:46 ---> 449fc2216113 16:10:46 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:10:46 ---> Running in fedef543683b 16:10:46 Removing intermediate container fedef543683b 16:10:46 ---> 1ea16ece9b36 16:10:46 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 16:10:46 ---> Running in 6d10a2210e20 16:10:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:10:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:10:47 (1/8) Installing openssh-keygen (9.0_p1-r2) 16:10:47 (2/8) Installing libedit (20210910.3.1-r0) 16:10:47 (3/8) Installing openssh-client-common (9.0_p1-r2) 16:10:47 (4/8) Installing openssh-client-default (9.0_p1-r2) 16:10:47 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 16:10:47 (6/8) Installing openssh-server-common (9.0_p1-r2) 16:10:47 (7/8) Installing openssh-server (9.0_p1-r2) 16:10:47 (8/8) Installing openssh (9.0_p1-r2) 16:10:47 Executing busybox-1.35.0-r17.trigger 16:10:47 OK: 217 MiB in 59 packages 16:10:47 Removing intermediate container 6d10a2210e20 16:10:47 ---> b08492f667a5 16:10:47 Step 6/10 : WORKDIR /device-modbus-go 16:10:47 ---> Running in ce889b0fe8ee 16:10:47 Removing intermediate container ce889b0fe8ee 16:10:47 ---> 9305a1b4f155 16:10:47 Step 7/10 : COPY go.mod vendor* ./ 16:10:47 ---> ac689dfd4408 16:10:47 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:10:47 ---> Running in a505480f7974 16:10:50 Still waiting to schedule task 16:10:50 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 16:11:06 Removing intermediate container a505480f7974 16:11:06 ---> a304e5db5e19 16:11:06 Step 9/10 : COPY . . 16:11:06 ---> 3e0e1b11f0ee 16:11:06 Step 10/10 : RUN ${MAKE} 16:11:06 ---> Running in d9cd1a9167b6 16:11:06 noop 16:11:06 Removing intermediate container d9cd1a9167b6 16:11:06 ---> dbcefaec09fa 16:11:06 Successfully built dbcefaec09fa 16:11:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:06 + docker inspect -f . ci-base-image-x86_64 16:11:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:11:06 prd-ubuntu20.04-docker-8c-8g-118620 does not seem to be running inside a container 16:11:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-391 -v /w/workspace/xfoundry_device-modbus-go_PR-391:/w/workspace/xfoundry_device-modbus-go_PR-391:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-391@tmp:/w/workspace/xfoundry_device-modbus-go_PR-391@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:11:07 $ docker top f6483cd862bdeae4dec92c1c4a6889ccffbe9c3a65acbe7f16ff432f3913dc89 -eo pid,comm [Pipeline] { [Pipeline] sh 16:11:07 + go version 16:11:07 go version go1.18.7 linux/amd64 [Pipeline] } 16:11:07 $ docker stop --time=1 f6483cd862bdeae4dec92c1c4a6889ccffbe9c3a65acbe7f16ff432f3913dc89 16:11:08 $ docker rm -f f6483cd862bdeae4dec92c1c4a6889ccffbe9c3a65acbe7f16ff432f3913dc89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:09 + docker inspect -f . ci-base-image-x86_64 16:11:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:11:09 prd-ubuntu20.04-docker-8c-8g-118620 does not seem to be running inside a container 16:11:09 $ 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-391 -v /w/workspace/xfoundry_device-modbus-go_PR-391:/w/workspace/xfoundry_device-modbus-go_PR-391:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-391@tmp:/w/workspace/xfoundry_device-modbus-go_PR-391@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:11:09 $ docker top 8b306814ae26d643236266a9dd883491f422d4eb922d8b18dbc6ce3a06fbb70b -eo pid,comm [Pipeline] { [Pipeline] sh 16:11:10 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-391 [Pipeline] fileExists [Pipeline] sh 16:11:10 + make test 16:11:10 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:11:10 ? github.com/edgexfoundry/device-modbus-go [no test files] 16:11:20 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 16:11:20 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.010s coverage: 47.7% of statements 16:11:25 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." 16:11:25 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:11:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:11:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:11:28 ./bin/test-attribution-txt.sh [Pipeline] echo 16:11:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:11:28 $ docker stop --time=1 8b306814ae26d643236266a9dd883491f422d4eb922d8b18dbc6ce3a06fbb70b 16:11:30 $ docker rm -f 8b306814ae26d643236266a9dd883491f422d4eb922d8b18dbc6ce3a06fbb70b [Pipeline] // withDockerContainer [Pipeline] sh 16:11:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:11:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:11:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:11:31 + ls -al . 16:11:31 total 196 16:11:31 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 16:11 . 16:11:31 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 16:10 .. 16:11:31 -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 16:10 .dockerignore 16:11:31 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 16:11 .git 16:11:31 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:10 .github 16:11:31 -rw-rw-r-- 1 jenkins jenkins 331 Nov 8 16:10 .gitignore 16:11:31 -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 16:10 .golangci.yml 16:11:31 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 16:10 .semver 16:11:31 -rw-rw-r-- 1 jenkins jenkins 10121 Nov 8 16:10 Attribution.txt 16:11:31 -rw-rw-r-- 1 jenkins jenkins 11576 Nov 8 16:10 CHANGELOG.md 16:11:31 -rw-rw-r-- 1 jenkins jenkins 1428 Nov 8 16:10 Dockerfile 16:11:31 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 16:10 GOVERNANCE.md 16:11:31 -rw-rw-r-- 1 jenkins jenkins 680 Nov 8 16:10 Jenkinsfile 16:11:31 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 16:10 LICENSE 16:11:31 -rw-rw-r-- 1 jenkins jenkins 2101 Nov 8 16:10 Makefile 16:11:31 -rw-rw-r-- 1 jenkins jenkins 622 Nov 8 16:10 OWNERS.md 16:11:31 -rw-rw-r-- 1 jenkins jenkins 4061 Nov 8 16:10 README.md 16:11:31 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 16:10 VERSION 16:11:31 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 16:10 bin 16:11:31 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:10 cmd 16:11:31 -rw-r--r-- 1 jenkins jenkins 23241 Nov 8 16:11 coverage.out 16:11:31 -rw-rw-r-- 1 jenkins jenkins 3583 Nov 8 16:10 go.mod 16:11:31 -rw-rw-r-- 1 jenkins jenkins 45211 Nov 8 16:10 go.sum 16:11:31 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:10 internal 16:11:31 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 16:10 simulator 16:11:31 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 16:10 snap 16:11:31 -rw-rw-r-- 1 jenkins jenkins 229 Nov 8 16:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:32 + 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=3f12f097439abb0279c45f1e34a342ea3c56ff98 --label arch=amd64 --label version=0.0.0 . 16:11:32 Sending build context to Docker daemon 6.298MB 16:11:32 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 16:11:32 Step 2/22 : FROM ${BASE} AS builder 16:11:32 ---> dbcefaec09fa 16:11:32 Step 3/22 : ARG ADD_BUILD_TAGS="" 16:11:32 ---> Running in 356558a4baf1 16:11:32 Removing intermediate container 356558a4baf1 16:11:32 ---> 69180650c9f8 16:11:32 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:11:32 ---> Running in 5c65634700bb 16:11:32 Removing intermediate container 5c65634700bb 16:11:32 ---> 06aa6f35fea0 16:11:32 Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 16:11:32 ---> Running in 23db4d8a74bd 16:11:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:11:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:11:33 OK: 217 MiB in 59 packages 16:11:33 Removing intermediate container 23db4d8a74bd 16:11:33 ---> 20d22f3d0590 16:11:33 Step 6/22 : WORKDIR /device-modbus-go 16:11:33 ---> Running in 112c2cb55681 16:11:33 Removing intermediate container 112c2cb55681 16:11:33 ---> a54d96087d64 16:11:33 Step 7/22 : COPY go.mod vendor* ./ 16:11:33 ---> dd57b3b32c10 16:11:33 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:11:33 ---> Running in 2632384cd112 16:11:34 Removing intermediate container 2632384cd112 16:11:34 ---> df65ad09196a 16:11:34 Step 9/22 : COPY . . 16:11:34 ---> 44baf0e7b4f8 16:11:34 Step 10/22 : RUN ${MAKE} 16:11:34 ---> Running in 7a8807f88864 16:11:35 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 16:11:53 Removing intermediate container 7a8807f88864 16:11:53 ---> def4a64c3a32 16:11:53 Step 11/22 : FROM alpine:3.14 16:11:53 3.14: Pulling from library/alpine 16:11:53 c7ed990a2339: Pulling fs layer 16:11:53 c7ed990a2339: Verifying Checksum 16:11:53 c7ed990a2339: Download complete 16:11:54 c7ed990a2339: Pull complete 16:11:54 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 16:11:54 Status: Downloaded newer image for alpine:3.14 16:11:54 ---> dd53f409bf0b 16:11:54 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 16:11:54 ---> Running in ab2ded3d9d4d 16:11:54 Removing intermediate container ab2ded3d9d4d 16:11:54 ---> 41e59b65442d 16:11:54 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 16:11:54 ---> Running in 500f826a21ac 16:11:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 16:11:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 16:11:54 (1/6) Installing dumb-init (1.2.5-r1) 16:11:54 (2/6) Installing libgcc (10.3.1_git20210424-r2) 16:11:54 (3/6) Installing libsodium (1.0.18-r0) 16:11:54 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 16:11:54 (5/6) Installing libzmq (4.3.4-r0) 16:11:54 (6/6) Installing zeromq (4.3.4-r0) 16:11:54 Executing busybox-1.33.1-r8.trigger 16:11:54 OK: 8 MiB in 20 packages 16:11:55 Removing intermediate container 500f826a21ac 16:11:55 ---> f22fa418a19a 16:11:55 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 16:11:57 ---> 525f136846c9 16:11:57 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 16:11:57 ---> 2721789679bd 16:11:57 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 16:11:57 ---> 5e89b86ecf3b 16:11:57 Step 17/22 : EXPOSE 59901 16:11:57 ---> Running in 8842fcd372a8 16:11:57 Removing intermediate container 8842fcd372a8 16:11:57 ---> 939243e9c731 16:11:57 Step 18/22 : ENTRYPOINT ["/device-modbus"] 16:11:57 ---> Running in 37f0e52e63b5 16:11:57 Removing intermediate container 37f0e52e63b5 16:11:57 ---> a46154646af3 16:11:57 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:11:57 ---> Running in acf6a44bd5eb 16:11:57 Removing intermediate container acf6a44bd5eb 16:11:57 ---> 5bc19d27dd79 16:11:57 Step 20/22 : LABEL arch=amd64 16:11:57 ---> Running in 4012ea36c1bc 16:11:57 Removing intermediate container 4012ea36c1bc 16:11:57 ---> a9a6643054e7 16:11:57 Step 21/22 : LABEL git_sha=3f12f097439abb0279c45f1e34a342ea3c56ff98 16:11:57 ---> Running in 87f3db0ce4d4 16:11:57 Removing intermediate container 87f3db0ce4d4 16:11:57 ---> a48572dd972c 16:11:57 Step 22/22 : LABEL version=0.0.0 16:11:57 ---> Running in 6dd812c28826 16:11:58 Removing intermediate container 6dd812c28826 16:11:58 ---> 9df05d55bbc2 16:11:58 [Warning] One or more build-args [ARCH] were not consumed 16:11:58 Successfully built 9df05d55bbc2 16:11:58 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 16:11:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:11:59 16:11:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:11:59 latest: Pulling from edgex-lftools-log-publisher 16:11:59 5eb5b503b376: Pulling fs layer 16:11:59 5c69ac0246d0: Pulling fs layer 16:11:59 ec43610c2a17: Pulling fs layer 16:11:59 3a2ae6a8a46f: Pulling fs layer 16:11:59 33b1e0a273af: Pulling fs layer 16:11:59 5d3b04190fa2: Pulling fs layer 16:11:59 2f39f015ded8: Pulling fs layer 16:11:59 3a2ae6a8a46f: Waiting 16:11:59 33b1e0a273af: Waiting 16:11:59 5d3b04190fa2: Waiting 16:11:59 2f39f015ded8: Waiting 16:11:59 5c69ac0246d0: Verifying Checksum 16:11:59 5c69ac0246d0: Download complete 16:11:59 3a2ae6a8a46f: Verifying Checksum 16:11:59 3a2ae6a8a46f: Download complete 16:11:59 33b1e0a273af: Verifying Checksum 16:11:59 33b1e0a273af: Download complete 16:11:59 5d3b04190fa2: Verifying Checksum 16:11:59 5d3b04190fa2: Download complete 16:11:59 ec43610c2a17: Verifying Checksum 16:11:59 ec43610c2a17: Download complete 16:11:59 5eb5b503b376: Verifying Checksum 16:11:59 5eb5b503b376: Download complete 16:12:00 2f39f015ded8: Verifying Checksum 16:12:00 2f39f015ded8: Download complete 16:12:00 5eb5b503b376: Pull complete 16:12:00 5c69ac0246d0: Pull complete 16:12:01 ec43610c2a17: Pull complete 16:12:01 3a2ae6a8a46f: Pull complete 16:12:01 33b1e0a273af: Pull complete 16:12:01 5d3b04190fa2: Pull complete 16:12:05 2f39f015ded8: Pull complete 16:12:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:12:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:12:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:12:06 prd-ubuntu20.04-docker-8c-8g-118620 does not seem to be running inside a container 16:12:06 $ 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-391 -v /w/workspace/xfoundry_device-modbus-go_PR-391:/w/workspace/xfoundry_device-modbus-go_PR-391:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-391@tmp:/w/workspace/xfoundry_device-modbus-go_PR-391@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:12:07 $ docker top aa1048cdb26c0f3f1241a39d658f2ea98b0093bc49cd9f296741ff0940678a0f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:12:08 ---> job-cost.sh 16:12:08 lf-activate-venv: SKIPPING 16:12:08 INFO: No Stack... 16:12:08 INFO: Retrieving Pricing Info for: v3-standard-8 16:12:08 INFO: Archiving Costs [Pipeline] sh 16:12:08 + cat /w/workspace/xfoundry_device-modbus-go_PR-391/archives/cost.csv 16:12:08 + cut -d, -f6 [Pipeline] lock 16:12:08 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-391-1-stack-cost] 16:12:08 Resource [jenkins-edgexfoundry-device-modbus-go-PR-391-1-stack-cost] did not exist. Created. 16:12:08 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-391-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:12:09 + echo total: 0.2199999988079071 [Pipeline] stash 16:12:09 Stashed 1 file(s) [Pipeline] } 16:12:09 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-391-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:12:09 $ docker stop --time=1 aa1048cdb26c0f3f1241a39d658f2ea98b0093bc49cd9f296741ff0940678a0f 16:12:10 $ docker rm -f aa1048cdb26c0f3f1241a39d658f2ea98b0093bc49cd9f296741ff0940678a0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:13:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118623 in /w/workspace/xfoundry_device-modbus-go_PR-391 [Pipeline] { [Pipeline] ws 16:13:26 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 16:13:26 Selected Git installation does not exist. Using Default 16:13:26 The recommended git tool is: NONE 16:13:32 using credential edgex-jenkins-ssh 16:13:32 Cloning the remote Git repository 16:13:32 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 16:13:32 > git init /w/workspace/device-modbus-go/1 # timeout=10 16:13:32 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 16:13:32 > git --version # timeout=10 16:13:32 > git --version # 'git version 2.25.1' 16:13:32 using GIT_SSH to set credentials SSH Credentials for GitHub 16:13:33 Verifying host key using known hosts file 16:13:33 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. 16:13:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:13:34 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 16:13:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:13:36 Merging remotes/origin/main commit d7835794e341370cec95aed23fbbbaeab5e4af25 into PR head commit 3f12f097439abb0279c45f1e34a342ea3c56ff98 16:13:36 Merge succeeded, producing 3f12f097439abb0279c45f1e34a342ea3c56ff98 16:13:36 Checking out Revision 3f12f097439abb0279c45f1e34a342ea3c56ff98 (PR-391) 16:13:35 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 16:13:35 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 16:13:35 using GIT_SSH to set credentials SSH Credentials for GitHub 16:13:35 Verifying host key using known hosts file 16:13:35 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. 16:13:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/391/head:refs/remotes/origin/PR-391 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:13:36 > git config core.sparsecheckout # timeout=10 16:13:36 > git checkout -f 3f12f097439abb0279c45f1e34a342ea3c56ff98 # timeout=10 16:13:36 > git remote # timeout=10 16:13:36 > git config --get remote.origin.url # timeout=10 16:13:36 using GIT_SSH to set credentials SSH Credentials for GitHub 16:13:36 Verifying host key using known hosts file 16:13: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. 16:13:36 > git merge d7835794e341370cec95aed23fbbbaeab5e4af25 # timeout=10 16:13:36 > git rev-parse HEAD^{commit} # timeout=10 16:13:36 > git config core.sparsecheckout # timeout=10 16:13:36 > git checkout -f 3f12f097439abb0279c45f1e34a342ea3c56ff98 # timeout=10 16:13:40 Commit message: "build: Update to use released SDK" 16:13:40 > git --version # timeout=10 16:13:40 > git --version # 'git version 2.25.1' 16:13:40 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:13:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:13:41 % Total % Received % Xferd Average Speed Time Time Time Current 16:13:41 Dload Upload Total Spent Left Speed 16:13:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 212k 0 --:--:-- --:--:-- --:--:-- 212k [Pipeline] sh 16:13:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:13:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:13:42 + sudo tee /etc/docker/daemon.new 16:13:42 { 16:13:42 "registry-mirrors": [ 16:13:42 "https://nexus3.edgexfoundry.org:10001" 16:13:42 ], 16:13:42 "bip": "10.250.0.254/24", 16:13:42 "hosts": [ 16:13:42 "tcp://0.0.0.0:5555", 16:13:42 "unix:///var/run/docker.sock" 16:13:42 ], 16:13:42 "mtu": 1458, 16:13:42 "selinux-enabled": true, 16:13:42 "seccomp-profile": "/etc/docker/seccomp.json" 16:13:42 } [Pipeline] sh 16:13:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:13:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:14:01 provisioning config files... 16:14:01 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config7886836593179432776tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:14:01 ---> docker-login.sh 16:14:01 nexus3.edgexfoundry.org:10001 16:14:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:02 Configure a credential helper to remove this warning. See 16:14:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:02 16:14:02 Login Succeeded 16:14:02 nexus3.edgexfoundry.org:10002 16:14:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:03 Configure a credential helper to remove this warning. See 16:14:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:03 16:14:03 Login Succeeded 16:14:03 nexus3.edgexfoundry.org:10003 16:14:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:03 Configure a credential helper to remove this warning. See 16:14:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:03 16:14:03 Login Succeeded 16:14:03 nexus3.edgexfoundry.org:10004 16:14:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:03 Configure a credential helper to remove this warning. See 16:14:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:03 16:14:03 Login Succeeded 16:14:03 docker.io 16:14:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:04 Configure a credential helper to remove this warning. See 16:14:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:04 16:14:04 Login Succeeded 16:14:04 ---> docker-login.sh ends [Pipeline] } 16:14:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:14:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:14:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:14:05 ========================================================= 16:14:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:14:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:14:05 + 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 . 16:14:05 Sending build context to Docker daemon 3.279MB 16:14:05 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 16:14:05 Step 2/10 : FROM ${BASE} AS builder 16:14:06 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:14:06 9b18e9b68314: Pulling fs layer 16:14:06 35d82f9e3411: Pulling fs layer 16:14:06 e16973657156: Pulling fs layer 16:14:06 fc693d55d65f: Pulling fs layer 16:14:06 7e9fc2657dce: Pulling fs layer 16:14:06 dda99020689f: Pulling fs layer 16:14:06 db1c61fa0a46: Pulling fs layer 16:14:06 891c053d2c06: Pulling fs layer 16:14:06 fc693d55d65f: Waiting 16:14:06 7e9fc2657dce: Waiting 16:14:06 dda99020689f: Waiting 16:14:06 db1c61fa0a46: Waiting 16:14:06 891c053d2c06: Waiting 16:14:06 e16973657156: Download complete 16:14:06 35d82f9e3411: Download complete 16:14:06 7e9fc2657dce: Download complete 16:14:06 dda99020689f: Download complete 16:14:06 9b18e9b68314: Verifying Checksum 16:14:06 9b18e9b68314: Download complete 16:14:07 9b18e9b68314: Pull complete 16:14:07 891c053d2c06: Verifying Checksum 16:14:07 891c053d2c06: Download complete 16:14:07 35d82f9e3411: Pull complete 16:14:08 e16973657156: Pull complete 16:14:09 db1c61fa0a46: Verifying Checksum 16:14:09 db1c61fa0a46: Download complete 16:14:09 fc693d55d65f: Verifying Checksum 16:14:09 fc693d55d65f: Download complete 16:14:22 fc693d55d65f: Pull complete 16:14:22 7e9fc2657dce: Pull complete 16:14:22 dda99020689f: Pull complete 16:14:29 db1c61fa0a46: Pull complete 16:14:31 891c053d2c06: Pull complete 16:14:31 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 16:14:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:14:31 ---> f96f9c87975a 16:14:31 Step 3/10 : ARG ADD_BUILD_TAGS="" 16:14:32 ---> Running in a97c1bba28a5 16:14:32 Removing intermediate container a97c1bba28a5 16:14:32 ---> 26f1108e135f 16:14:32 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:14:32 ---> Running in 973ffa63d2d9 16:14:33 Removing intermediate container 973ffa63d2d9 16:14:33 ---> 6e1144289111 16:14:33 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 16:14:33 ---> Running in 66a7d8bb2891 16:14:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:14:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:14:36 (1/8) Installing openssh-keygen (9.0_p1-r2) 16:14:36 (2/8) Installing libedit (20210910.3.1-r0) 16:14:36 (3/8) Installing openssh-client-common (9.0_p1-r2) 16:14:36 (4/8) Installing openssh-client-default (9.0_p1-r2) 16:14:36 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 16:14:36 (6/8) Installing openssh-server-common (9.0_p1-r2) 16:14:36 (7/8) Installing openssh-server (9.0_p1-r2) 16:14:36 (8/8) Installing openssh (9.0_p1-r2) 16:14:36 Executing busybox-1.35.0-r17.trigger 16:14:36 OK: 228 MiB in 59 packages 16:14:37 Removing intermediate container 66a7d8bb2891 16:14:37 ---> 388d2506d1a6 16:14:37 Step 6/10 : WORKDIR /device-modbus-go 16:14:37 ---> Running in bb66b66d35ec 16:14:37 Removing intermediate container bb66b66d35ec 16:14:37 ---> 5e4cf3751b47 16:14:37 Step 7/10 : COPY go.mod vendor* ./ 16:14:38 ---> 26b24c4a7d63 16:14:38 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:14:38 ---> Running in fb2bbcb20d0c 16:15:34 Removing intermediate container fb2bbcb20d0c 16:15:34 ---> 75c1e3641bf0 16:15:34 Step 9/10 : COPY . . 16:15:34 ---> 53eb14ea5516 16:15:34 Step 10/10 : RUN ${MAKE} 16:15:34 ---> Running in 7d0d924434d5 16:15:34 noop 16:15:34 Removing intermediate container 7d0d924434d5 16:15:34 ---> d3ec4d951e0f 16:15:34 Successfully built d3ec4d951e0f 16:15:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:35 + docker inspect -f . ci-base-image-arm64 16:15:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:15:35 prd-ubuntu20.04-docker-arm64-4c-16g-118623 does not seem to be running inside a container 16:15:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:15:36 $ docker top 3543488c595657e6e629550ca68f34a033bb5cd0b703845c45c700b50499b427 -eo pid,comm [Pipeline] { [Pipeline] sh 16:15:37 + go version 16:15:37 go version go1.18.7 linux/arm64 [Pipeline] } 16:15:37 $ docker stop --time=1 3543488c595657e6e629550ca68f34a033bb5cd0b703845c45c700b50499b427 16:15:39 $ docker rm -f 3543488c595657e6e629550ca68f34a033bb5cd0b703845c45c700b50499b427 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:40 + docker inspect -f . ci-base-image-arm64 16:15:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:15:40 prd-ubuntu20.04-docker-arm64-4c-16g-118623 does not seem to be running inside a container 16:15:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:15:42 $ docker top 8e5a193c5ea146431504298deb035b06df93319036db923b25e88308fc7ea594 -eo pid,comm [Pipeline] { [Pipeline] sh 16:15:43 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 16:15:43 + make test 16:15:43 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:15:45 ? github.com/edgexfoundry/device-modbus-go [no test files] 16:17:22 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 16:17:24 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.068s coverage: 47.7% of statements 16:17:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:17:24 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:17:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:17:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:17:56 ./bin/test-attribution-txt.sh [Pipeline] echo 16:17:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:17:57 $ docker stop --time=1 8e5a193c5ea146431504298deb035b06df93319036db923b25e88308fc7ea594 16:17:58 $ docker rm -f 8e5a193c5ea146431504298deb035b06df93319036db923b25e88308fc7ea594 [Pipeline] // withDockerContainer [Pipeline] sh 16:18:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:18:00 Warning: overwriting stash ‘coverage-report’ 16:18:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:18:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:18:01 + ls -al . 16:18:01 total 192 16:18:01 drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 16:15 . 16:18:01 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 16:13 .. 16:18:01 -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 16:13 .dockerignore 16:18:01 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 16:13 .git 16:18:01 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:13 .github 16:18:01 -rw-rw-r-- 1 jenkins jenkins 331 Nov 8 16:13 .gitignore 16:18:01 -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 16:13 .golangci.yml 16:18:01 -rw-rw-r-- 1 jenkins jenkins 10121 Nov 8 16:13 Attribution.txt 16:18:01 -rw-rw-r-- 1 jenkins jenkins 11576 Nov 8 16:13 CHANGELOG.md 16:18:01 -rw-rw-r-- 1 jenkins jenkins 1428 Nov 8 16:13 Dockerfile 16:18:01 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 16:13 GOVERNANCE.md 16:18:01 -rw-rw-r-- 1 jenkins jenkins 680 Nov 8 16:13 Jenkinsfile 16:18:01 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 16:13 LICENSE 16:18:01 -rw-rw-r-- 1 jenkins jenkins 2101 Nov 8 16:13 Makefile 16:18:01 -rw-rw-r-- 1 jenkins jenkins 622 Nov 8 16:13 OWNERS.md 16:18:01 -rw-rw-r-- 1 jenkins jenkins 4061 Nov 8 16:13 README.md 16:18:01 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 16:10 VERSION 16:18:01 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 16:13 bin 16:18:01 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:13 cmd 16:18:01 -rw-r--r-- 1 jenkins jenkins 23241 Nov 8 16:17 coverage.out 16:18:01 -rw-rw-r-- 1 jenkins jenkins 3583 Nov 8 16:13 go.mod 16:18:01 -rw-rw-r-- 1 jenkins jenkins 45211 Nov 8 16:13 go.sum 16:18:01 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:13 internal 16:18:01 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 16:13 simulator 16:18:01 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 16:13 snap 16:18:01 -rw-rw-r-- 1 jenkins jenkins 229 Nov 8 16:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:02 + 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=3f12f097439abb0279c45f1e34a342ea3c56ff98 --label arch=arm64 --label version=0.0.0 . 16:18:02 Sending build context to Docker daemon 3.303MB 16:18:02 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 16:18:02 Step 2/22 : FROM ${BASE} AS builder 16:18:02 ---> d3ec4d951e0f 16:18:02 Step 3/22 : ARG ADD_BUILD_TAGS="" 16:18:02 ---> Running in 2e20193aac93 16:18:03 Removing intermediate container 2e20193aac93 16:18:03 ---> 9995654dbfe8 16:18:03 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:18:03 ---> Running in 6fb03b939770 16:18:03 Removing intermediate container 6fb03b939770 16:18:03 ---> e23579ca93ee 16:18:03 Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 16:18:04 ---> Running in 04142d26628a 16:18:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:18:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:18:07 OK: 228 MiB in 59 packages 16:18:08 Removing intermediate container 04142d26628a 16:18:08 ---> 6b99cb97418b 16:18:08 Step 6/22 : WORKDIR /device-modbus-go 16:18:08 ---> Running in 8e66342cbc55 16:18:09 Removing intermediate container 8e66342cbc55 16:18:09 ---> e417958b444d 16:18:09 Step 7/22 : COPY go.mod vendor* ./ 16:18:10 ---> 96de72a9975c 16:18:10 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:18:10 ---> Running in 8bdb0ddc636a 16:18:12 Removing intermediate container 8bdb0ddc636a 16:18:12 ---> cac2bf3d77a1 16:18:12 Step 9/22 : COPY . . 16:18:13 ---> 78c6949d9474 16:18:13 Step 10/22 : RUN ${MAKE} 16:18:13 ---> Running in 6d4787f76146 16:18:14 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 16:21:06 Removing intermediate container 6d4787f76146 16:21:06 ---> 77b7c7f8952f 16:21:06 Step 11/22 : FROM alpine:3.14 16:21:06 3.14: Pulling from library/alpine 16:21:06 90cda3b7c325: Pulling fs layer 16:21:06 90cda3b7c325: Verifying Checksum 16:21:06 90cda3b7c325: Download complete 16:21:06 90cda3b7c325: Pull complete 16:21:06 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 16:21:06 Status: Downloaded newer image for alpine:3.14 16:21:06 ---> 376ba31ae3da 16:21:06 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 16:21:06 ---> Running in 1d48e45d723a 16:21:06 Removing intermediate container 1d48e45d723a 16:21:06 ---> 6bd669d8291a 16:21:06 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 16:21:06 ---> Running in fe24196b62fe 16:21:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 16:21:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 16:21:08 (1/6) Installing dumb-init (1.2.5-r1) 16:21:08 (2/6) Installing libgcc (10.3.1_git20210424-r2) 16:21:08 (3/6) Installing libsodium (1.0.18-r0) 16:21:08 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 16:21:08 (5/6) Installing libzmq (4.3.4-r0) 16:21:08 (6/6) Installing zeromq (4.3.4-r0) 16:21:08 Executing busybox-1.33.1-r8.trigger 16:21:08 OK: 8 MiB in 20 packages 16:21:09 Removing intermediate container fe24196b62fe 16:21:09 ---> c78a5d469247 16:21:09 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 16:21:11 ---> d2ad7bc9933c 16:21:11 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 16:21:11 ---> b30db98164c0 16:21:11 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 16:21:11 ---> 2a5f917dea5a 16:21:11 Step 17/22 : EXPOSE 59901 16:21:11 ---> Running in fc7444340476 16:21:12 Removing intermediate container fc7444340476 16:21:12 ---> 3f42a6d3d300 16:21:12 Step 18/22 : ENTRYPOINT ["/device-modbus"] 16:21:12 ---> Running in 5be434434feb 16:21:12 Removing intermediate container 5be434434feb 16:21:12 ---> 384b9487357d 16:21:12 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:21:12 ---> Running in 54e1fb382a90 16:21:12 Removing intermediate container 54e1fb382a90 16:21:12 ---> 3a64dda6084a 16:21:12 Step 20/22 : LABEL arch=arm64 16:21:13 ---> Running in 4f0038c17ce5 16:21:13 Removing intermediate container 4f0038c17ce5 16:21:13 ---> d58472c49733 16:21:13 Step 21/22 : LABEL git_sha=3f12f097439abb0279c45f1e34a342ea3c56ff98 16:21:13 ---> Running in 141106e06ea8 16:21:14 Removing intermediate container 141106e06ea8 16:21:14 ---> be14c34bc7fe 16:21:14 Step 22/22 : LABEL version=0.0.0 16:21:14 ---> Running in ff087005b614 16:21:14 Removing intermediate container ff087005b614 16:21:14 ---> 313819e3c906 16:21:14 [Warning] One or more build-args [ARCH] were not consumed 16:21:14 Successfully built 313819e3c906 16:21:14 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 16:21:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:21:15 16:21:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:21:15 arm64: Pulling from edgex-lftools-log-publisher 16:21:15 8998bd30e6a1: Pulling fs layer 16:21:15 04944245beec: Pulling fs layer 16:21:15 699f458cf7ca: Pulling fs layer 16:21:15 765212b225bb: Pulling fs layer 16:21:15 f23df028b6ca: Pulling fs layer 16:21:15 d65c8cfc05b1: Pulling fs layer 16:21:15 2437ff75d9bd: Pulling fs layer 16:21:15 765212b225bb: Waiting 16:21:15 f23df028b6ca: Waiting 16:21:15 d65c8cfc05b1: Waiting 16:21:15 2437ff75d9bd: Waiting 16:21:15 04944245beec: Verifying Checksum 16:21:15 04944245beec: Download complete 16:21:15 765212b225bb: Verifying Checksum 16:21:15 765212b225bb: Download complete 16:21:15 f23df028b6ca: Verifying Checksum 16:21:15 f23df028b6ca: Download complete 16:21:15 d65c8cfc05b1: Verifying Checksum 16:21:15 d65c8cfc05b1: Download complete 16:21:16 699f458cf7ca: Verifying Checksum 16:21:16 699f458cf7ca: Download complete 16:21:16 8998bd30e6a1: Verifying Checksum 16:21:16 8998bd30e6a1: Download complete 16:21:19 2437ff75d9bd: Verifying Checksum 16:21:19 2437ff75d9bd: Download complete 16:21:20 8998bd30e6a1: Pull complete 16:21:20 04944245beec: Pull complete 16:21:22 699f458cf7ca: Pull complete 16:21:22 765212b225bb: Pull complete 16:21:23 f23df028b6ca: Pull complete 16:21:23 d65c8cfc05b1: Pull complete 16:21:38 2437ff75d9bd: Pull complete 16:21:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:21:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:21:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:21:38 prd-ubuntu20.04-docker-arm64-4c-16g-118623 does not seem to be running inside a container 16:21:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:21:41 $ docker top d9e24e8544ec72b7c903867ca9b6fa1c938cbcfd06635da4ab5fac174173d669 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:21:42 ---> job-cost.sh 16:21:42 lf-activate-venv: SKIPPING 16:21:42 INFO: No Stack... 16:21:42 INFO: Retrieving Pricing Info for: v3-standard-4 16:21:43 INFO: Archiving Costs [Pipeline] sh 16:21:44 + + cutcat -d, /w/workspace/device-modbus-go/1/archives/cost.csv -f6 16:21:44 [Pipeline] lock 16:21:44 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-391-1-stack-cost] 16:21:44 Resource [jenkins-edgexfoundry-device-modbus-go-PR-391-1-stack-cost] did not exist. Created. 16:21:44 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-391-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:21:45 /w/workspace/device-modbus-go/1@tmp/durable-a4c7c567/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:21:46 + echo total: 0.10999999940395355 [Pipeline] stash 16:21:46 Warning: overwriting stash ‘stack-cost’ 16:21:46 Stashed 1 file(s) [Pipeline] } 16:21:46 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-391-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:21:46 $ docker stop --time=1 d9e24e8544ec72b7c903867ca9b6fa1c938cbcfd06635da4ab5fac174173d669 16:21:47 $ docker rm -f d9e24e8544ec72b7c903867ca9b6fa1c938cbcfd06635da4ab5fac174173d669 [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 16:21:48 provisioning config files... 16:21:48 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-391@tmp/config9796704736506487730tmp [Pipeline] { [Pipeline] sh 16:21:49 + set +x 16:21:49 + curl -s https://codecov.io/bash 16:21:49 + bash -s -- 16:21:49 16:21:49 _____ _ 16:21:49 / ____| | | 16:21:49 | | ___ __| | ___ ___ _____ __ 16:21:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:21:49 | |___| (_) | (_| | __/ (_| (_) \ V / 16:21:49 \_____\___/ \__,_|\___|\___\___/ \_/ 16:21:49 Bash-1.0.6 16:21:49 16:21:49 16:21:49 ==> git version 2.25.1 found 16:21:49 ==> 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 16:21:49 Release-Date: 2020-01-08 16:21:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:21:49 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:21:49 ==> Jenkins CI detected. 16:21:49 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-391 16:21:49 project root: . 16:21:49 --> token set from env 16:21:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:21:49 ==> Running gcov in . (disable via -X gcov) 16:21:49 ==> Python coveragepy not found 16:21:49 ==> Searching for coverage reports in: 16:21:49 + . 16:21:49 -> Found 1 reports 16:21:49 ==> Detecting git/mercurial file structure 16:21:49 ==> Reading reports 16:21:49 + ./coverage.out bytes=23241 16:21:49 ==> Appending adjustments 16:21:49 https://docs.codecov.io/docs/fixing-reports 16:21:49 + Found adjustments 16:21:49 ==> Gzipping contents 16:21:49 4.0K /tmp/codecov.oNAYgc.gz 16:21:49 ==> Uploading reports 16:21:49 url: https://codecov.io 16:21:49 query: branch=PR-391&commit=3f12f097439abb0279c45f1e34a342ea3c56ff98&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-391%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=391&job=&cmd_args= 16:21:49 -> Pinging Codecov 16:21:49 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-391&commit=3f12f097439abb0279c45f1e34a342ea3c56ff98&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-391%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=391&job=&cmd_args= 16:21:50 -> Uploading to 16:21:50 https://storage.googleapis.com/codecov/v4/raw/2022-11-08/55DBCA73C666E3227836607328DD7E49/3f12f097439abb0279c45f1e34a342ea3c56ff98/592bf71b-a2c5-4496-8364-1be43c2fee7f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221108T162149Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6742a8cdec15cf2d84d998c2a848b3c08fbd61d06efa7464eee4305015d2154e 16:21:50 % Total % Received % Xferd Average Speed Time Time Time Current 16:21:50 Dload Upload Total Spent Left Speed 16:21:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3930 0 0 100 3930 0 17863 --:--:-- --:--:-- --:--:-- 17863 16:21:50 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/3f12f097439abb0279c45f1e34a342ea3c56ff98 [Pipeline] } 16:21:50 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 16:21:51 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-391/archives ] 16:21:51 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-391/archives 16:21:51 total 16 16:21:51 drwxr-xr-x 3 root root 4096 Nov 8 16:12 . 16:21:51 drwxrwxr-x 11 jenkins jenkins 4096 Nov 8 16:12 .. 16:21:51 drwxr-xr-x 2 root root 4096 Nov 8 16:12 cost 16:21:51 -rw-r--r-- 1 root root 88 Nov 8 16:12 cost.csv 16:21:51 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-391/archives 16:21:51 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-391/archives 16:21:51 total 16 16:21:51 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 16:12 . 16:21:51 drwxrwxr-x 11 jenkins jenkins 4096 Nov 8 16:12 .. 16:21:51 drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 16:12 cost 16:21:51 -rw-r--r-- 1 jenkins jenkins 88 Nov 8 16:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:21:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:21:53 ---> package-listing.sh 16:21:53 ++ tr '[:upper:]' '[:lower:]' 16:21:53 ++ facter osfamily 16:21:53 + OS_FAMILY=debian 16:21:53 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-391 16:21:53 + START_PACKAGES=/tmp/packages_start.txt 16:21:53 + END_PACKAGES=/tmp/packages_end.txt 16:21:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:21:53 + PACKAGES=/tmp/packages_start.txt 16:21:53 + '[' /w/workspace/xfoundry_device-modbus-go_PR-391 ']' 16:21:53 + PACKAGES=/tmp/packages_end.txt 16:21:53 + case "${OS_FAMILY}" in 16:21:53 + dpkg -l 16:21:53 + grep '^ii' 16:21:53 + '[' -f /tmp/packages_start.txt ']' 16:21:53 + '[' -f /tmp/packages_end.txt ']' 16:21:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:21:53 + '[' /w/workspace/xfoundry_device-modbus-go_PR-391 ']' 16:21:53 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-391/archives/ 16:21:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-391/archives/ [Pipeline] echo 16:21:53 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-391/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:21:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:21:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:21:54 prd-ubuntu20.04-docker-8c-8g-118620 does not seem to be running inside a container 16:21:54 $ 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-391/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-391 -v /w/workspace/xfoundry_device-modbus-go_PR-391:/w/workspace/xfoundry_device-modbus-go_PR-391:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-391@tmp:/w/workspace/xfoundry_device-modbus-go_PR-391@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:21:54 $ docker top afe4cb38550923c20664521e1a38e954bc1447edb6956634d5949a3cde46933e -eo pid,comm [Pipeline] { [Pipeline] sh 16:21:55 + touch /tmp/pre-build-complete [Pipeline] sh 16:21:55 + mkdir -p /var/log/sysstat [Pipeline] sh 16:21:55 + ls /var/log/sa-host 16:21:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:21:56 provisioning config files... 16:21:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-391@tmp/config3834862588174176522tmp [Pipeline] { [Pipeline] echo 16:21:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:21:56 ---> create-netrc.sh [Pipeline] } 16:21:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:21:56 ---> python-tools-install.sh [Pipeline] echo 16:21:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:21:57 ---> sudo-logs.sh 16:21:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:21:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:21:57 ---> job-cost.sh 16:21:57 lf-activate-venv: SKIPPING 16:21:57 DEBUG: total: 0.2199999988079071 16:21:57 INFO: Retrieving Stack Cost... 16:21:58 INFO: Retrieving Pricing Info for: v3-standard-8 16:21:58 INFO: Archiving Costs [Pipeline] echo 16:21:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:21:58 ---> logs-deploy.sh 16:21:58 lf-activate-venv: SKIPPING 16:21:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-391/1 16:21:58 INFO: archiving workspace using pattern(s): 16:22:00 Archives upload complete. 16:22:00 INFO: archiving logs to Nexus 16:22:00 ---> uname -a: 16:22:00 Linux prd-ubuntu20-04-docker-8c-8g-118620 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 16:22:00 16:22:00 16:22:00 ---> lscpu: 16:22:00 Architecture: x86_64 16:22:00 CPU op-mode(s): 32-bit, 64-bit 16:22:00 Byte Order: Little Endian 16:22:00 Address sizes: 40 bits physical, 48 bits virtual 16:22:00 CPU(s): 8 16:22:00 On-line CPU(s) list: 0-7 16:22:00 Thread(s) per core: 1 16:22:00 Core(s) per socket: 1 16:22:00 Socket(s): 8 16:22:00 NUMA node(s): 1 16:22:00 Vendor ID: AuthenticAMD 16:22:00 CPU family: 23 16:22:00 Model: 49 16:22:00 Model name: AMD EPYC-Rome Processor 16:22:00 Stepping: 0 16:22:00 CPU MHz: 2799.996 16:22:00 BogoMIPS: 5599.99 16:22:00 Virtualization: AMD-V 16:22:00 Hypervisor vendor: KVM 16:22:00 Virtualization type: full 16:22:00 L1d cache: 256 KiB 16:22:00 L1i cache: 256 KiB 16:22:00 L2 cache: 4 MiB 16:22:00 L3 cache: 128 MiB 16:22:00 NUMA node0 CPU(s): 0-7 16:22:00 Vulnerability Itlb multihit: Not affected 16:22:00 Vulnerability L1tf: Not affected 16:22:00 Vulnerability Mds: Not affected 16:22:00 Vulnerability Meltdown: Not affected 16:22:00 Vulnerability Mmio stale data: Not affected 16:22:00 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:22:00 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 16:22:00 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 16:22:00 Vulnerability Srbds: Not affected 16:22:00 Vulnerability Tsx async abort: Not affected 16:22:00 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 16:22:00 16:22:00 16:22:00 ---> nproc: 16:22:00 8 16:22:00 16:22:00 16:22:00 ---> df -h: 16:22:00 Filesystem Size Used Avail Use% Mounted on 16:22:00 overlay 155G 12G 144G 8% / 16:22:00 tmpfs 64M 0 64M 0% /dev 16:22:00 tmpfs 16G 0 16G 0% /sys/fs/cgroup 16:22:00 shm 64M 0 64M 0% /dev/shm 16:22:00 /dev/vda1 155G 12G 144G 8% /facter-os 16:22:00 16:22:00 16:22:00 ---> sar -b -r -n DEV: 16:22:00 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-118620) 11/08/22 _x86_64_ (8 CPU) 16:22:00 16:22:00 16:09:36 LINUX RESTART (8 CPU) 16:22:00 16:22:00 16:10:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 16:22:00 16:11:01 373.33 39.58 333.75 0.00 4331.01 61144.15 0.00 16:22:00 16:12:01 184.15 0.47 183.69 0.00 34.79 43279.05 0.00 16:22:00 16:13:01 30.24 0.00 30.24 0.00 0.00 16441.13 0.00 16:22:00 16:14:01 1.42 0.00 1.42 0.00 0.00 16.68 0.00 16:22:00 16:15:01 41.18 10.36 30.81 0.00 2907.12 4847.06 0.00 16:22:00 16:16:01 2.47 0.00 2.47 0.00 0.00 29.60 0.00 16:22:00 16:17:01 1.42 0.02 1.40 0.00 0.13 15.86 0.00 16:22:00 16:18:01 2.08 0.00 2.08 0.00 0.00 22.66 0.00 16:22:00 16:19:01 1.30 0.00 1.30 0.00 0.00 14.40 0.00 16:22:00 16:20:01 2.52 0.00 2.52 0.00 0.00 38.92 0.00 16:22:00 16:21:01 1.37 0.00 1.37 0.00 0.00 14.93 0.00 16:22:00 Average: 57.84 4.53 53.31 0.00 655.66 11367.40 0.00 16:22:00 16:22:00 16:10:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:22:00 16:11:01 28020216 31587368 712592 2.17 135736 3605460 1881864 5.55 1147360 3237764 526224 16:22:00 16:12:01 28007208 31554616 741800 2.26 143848 3595036 2049316 6.04 1221708 3190148 252232 16:22:00 16:13:01 27797204 31588360 706204 2.15 151152 3800088 1763344 5.20 1203624 3382728 152 16:22:00 16:14:01 27797088 31588428 705704 2.15 151180 3800092 1763344 5.20 1203484 3382732 164 16:22:00 16:15:01 27497324 31571136 714636 2.17 169780 4049684 1829676 5.39 1357752 3502096 304 16:22:00 16:16:01 27498844 31572660 713532 2.17 169856 4049680 1829676 5.39 1357184 3502060 16 16:22:00 16:17:01 27506932 31580836 705332 2.14 169952 4049680 1829676 5.39 1349616 3502064 4 16:22:00 16:18:01 27507408 31582112 704380 2.14 170028 4049684 1829676 5.39 1348724 3502636 12 16:22:00 16:19:01 27507416 31582224 704236 2.14 170116 4049688 1829676 5.39 1348712 3502644 8 16:22:00 16:20:01 27507376 31582316 704044 2.14 170264 4049692 1829676 5.39 1348872 3502656 4 16:22:00 16:21:01 27507460 31582488 703668 2.14 170360 4049692 1829676 5.39 1349016 3502648 8 16:22:00 Average: 27650407 31579322 710557 2.16 161116 3922589 1842327 5.43 1294187 3428198 70830 16:22:00 16:22:00 16:10:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:22:00 16:11:01 lo 6.71 6.71 0.65 0.65 0.00 0.00 0.00 0.00 16:22:00 16:11:01 ens3 947.76 646.32 8386.71 136.66 0.00 0.00 0.00 0.00 16:22:00 16:11:01 docker0 171.62 224.94 13.86 1868.86 0.00 0.00 0.00 0.00 16:22:00 16:12:01 lo 2.00 2.00 0.19 0.19 0.00 0.00 0.00 0.00 16:22:00 16:12:01 ens3 141.56 91.78 2687.80 23.92 0.00 0.00 0.00 0.00 16:22:00 16:12:01 docker0 3.87 8.77 0.25 92.09 0.00 0.00 0.00 0.00 16:22:00 16:13:01 lo 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 16:22:00 16:13:01 ens3 22.28 12.48 20.85 5.55 0.00 0.00 0.00 0.00 16:22:00 16:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:22:00 16:14:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 16:22:00 16:14:01 ens3 1.75 0.80 1.06 0.77 0.00 0.00 0.00 0.00 16:22:00 16:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:22:00 16:15:01 lo 0.53 0.53 0.05 0.05 0.00 0.00 0.00 0.00 16:22:00 16:15:01 ens3 105.62 62.42 1345.63 4.46 0.00 0.00 0.00 0.00 16:22:00 16:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:22:00 16:16:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 16:22:00 16:16:01 ens3 1.30 0.43 0.24 0.15 0.00 0.00 0.00 0.00 16:22:00 16:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:22:00 16:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:22:00 16:17:01 ens3 0.98 0.48 0.57 0.39 0.00 0.00 0.00 0.00 16:22:00 16:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:22:00 16:18:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 16:22:00 16:18:01 ens3 0.18 0.13 0.01 0.01 0.00 0.00 0.00 0.00 16:22:00 16:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:22:00 16:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:22:00 16:19:01 ens3 0.13 0.00 0.01 0.00 0.00 0.00 0.00 0.00 16:22:00 16:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:22:00 16:20:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 16:22:00 16:20:01 ens3 0.20 0.10 0.01 0.01 0.00 0.00 0.00 0.00 16:22:00 16:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:22:00 16:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:22:00 16:21:01 ens3 0.20 0.08 0.08 0.06 0.00 0.00 0.00 0.00 16:22:00 16:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:22:00 Average: lo 0.91 0.91 0.09 0.09 0.00 0.00 0.00 0.00 16:22:00 Average: ens3 109.83 73.23 1120.26 15.45 0.00 0.00 0.00 0.00 16:22:00 Average: docker0 15.72 20.94 1.26 175.73 0.00 0.00 0.00 0.00 16:22:00 16:22:00 16:22:00 ---> sar -P ALL: 16:22:00 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-118620) 11/08/22 _x86_64_ (8 CPU) 16:22:00 16:22:00 16:09:36 LINUX RESTART (8 CPU) 16:22:00 16:22:00 16:10:02 CPU %user %nice %system %iowait %steal %idle 16:22:00 16:11:01 all 12.43 0.00 4.76 2.19 0.06 80.56 16:22:00 16:11:01 0 16.28 0.00 5.77 4.34 0.07 73.54 16:22:00 16:11:01 1 11.75 0.00 5.26 1.93 0.05 81.01 16:22:00 16:11:01 2 10.15 0.00 5.32 3.88 0.07 80.57 16:22:00 16:11:01 3 15.27 0.00 3.68 0.60 0.05 80.40 16:22:00 16:11:01 4 8.15 0.00 5.26 0.86 0.05 85.67 16:22:00 16:11:01 5 16.90 0.00 4.20 0.26 0.05 78.58 16:22:00 16:11:01 6 11.14 0.00 3.29 3.10 0.05 82.42 16:22:00 16:11:01 7 9.73 0.00 5.27 2.51 0.09 82.40 16:22:00 16:12:01 all 35.26 0.00 6.34 1.70 0.08 56.61 16:22:00 16:12:01 0 34.63 0.00 6.37 6.01 0.08 52.91 16:22:00 16:12:01 1 35.78 0.00 6.34 0.13 0.08 57.66 16:22:00 16:12:01 2 34.96 0.00 6.02 0.24 0.08 58.69 16:22:00 16:12:01 3 33.28 0.00 6.32 0.29 0.08 60.03 16:22:00 16:12:01 4 35.86 0.00 7.03 0.59 0.08 56.43 16:22:00 16:12:01 5 35.95 0.00 5.76 0.94 0.08 57.26 16:22:00 16:12:01 6 35.01 0.00 6.06 2.58 0.07 56.28 16:22:00 16:12:01 7 36.64 0.00 6.85 2.82 0.08 53.61 16:22:00 16:13:01 all 1.68 0.00 0.74 0.28 0.01 97.30 16:22:00 16:13:01 0 0.58 0.00 0.60 0.42 0.02 98.38 16:22:00 16:13:01 1 1.02 0.00 0.97 0.20 0.02 97.79 16:22:00 16:13:01 2 1.72 0.00 0.69 0.02 0.02 97.56 16:22:00 16:13:01 3 1.30 0.00 0.70 0.00 0.00 97.99 16:22:00 16:13:01 4 1.51 0.00 0.69 0.02 0.02 97.78 16:22:00 16:13:01 5 3.38 0.00 0.77 1.52 0.00 94.33 16:22:00 16:13:01 6 1.69 0.00 0.99 0.02 0.02 97.29 16:22:00 16:13:01 7 2.19 0.00 0.48 0.02 0.02 97.29 16:22:00 16:14:01 all 0.28 0.00 0.01 0.00 0.00 99.70 16:22:00 16:14:01 0 0.00 0.00 0.02 0.00 0.00 99.98 16:22:00 16:14:01 1 0.00 0.00 0.00 0.00 0.00 100.00 16:22:00 16:14:01 2 0.00 0.00 0.03 0.00 0.00 99.97 16:22:00 16:14:01 3 0.00 0.00 0.00 0.00 0.00 100.00 16:22:00 16:14:01 4 0.08 0.00 0.03 0.00 0.02 99.87 16:22:00 16:14:01 5 1.99 0.00 0.02 0.02 0.02 97.96 16:22:00 16:14:01 6 0.05 0.00 0.00 0.00 0.00 99.95 16:22:00 16:14:01 7 0.13 0.00 0.00 0.00 0.00 99.87 16:22:00 16:15:01 all 1.51 0.00 0.80 0.54 0.02 97.14 16:22:00 16:15:01 0 1.25 0.00 0.67 2.86 0.02 95.20 16:22:00 16:15:01 1 1.10 0.00 2.19 0.18 0.02 96.51 16:22:00 16:15:01 2 1.97 0.00 0.53 0.08 0.02 97.40 16:22:00 16:15:01 3 1.30 0.00 1.10 0.50 0.02 97.08 16:22:00 16:15:01 4 0.98 0.00 0.42 0.05 0.02 98.53 16:22:00 16:15:01 5 2.70 0.00 0.56 0.18 0.02 96.54 16:22:00 16:15:01 6 1.80 0.00 0.48 0.07 0.02 97.63 16:22:00 16:15:01 7 0.97 0.00 0.42 0.37 0.02 98.23 16:22:00 16:16:01 all 0.11 0.00 0.03 0.01 0.00 99.84 16:22:00 16:16:01 0 0.02 0.00 0.02 0.05 0.00 99.92 16:22:00 16:16:01 1 0.00 0.00 0.00 0.00 0.00 100.00 16:22:00 16:16:01 2 0.02 0.00 0.02 0.00 0.00 99.97 16:22:00 16:16:01 3 0.00 0.00 0.00 0.00 0.00 100.00 16:22:00 16:16:01 4 0.02 0.00 0.03 0.00 0.00 99.95 16:22:00 16:16:01 5 0.78 0.00 0.18 0.03 0.00 99.00 16:22:00 16:16:01 6 0.02 0.00 0.00 0.00 0.00 99.98 16:22:00 16:16:01 7 0.05 0.00 0.02 0.00 0.00 99.93 16:22:00 16:17:01 all 0.03 0.00 0.01 0.00 0.00 99.95 16:22:00 16:17:01 0 0.07 0.00 0.03 0.03 0.00 99.87 16:22:00 16:17:01 1 0.03 0.00 0.00 0.00 0.02 99.95 16:22:00 16:17:01 2 0.03 0.00 0.02 0.00 0.00 99.95 16:22:00 16:17:01 3 0.00 0.00 0.00 0.00 0.00 100.00 16:22:00 16:17:01 4 0.03 0.00 0.07 0.00 0.02 99.88 16:22:00 16:17:01 5 0.03 0.00 0.00 0.00 0.00 99.97 16:22:00 16:17:01 6 0.00 0.00 0.00 0.00 0.00 100.00 16:22:00 16:17:01 7 0.03 0.00 0.00 0.00 0.00 99.97 16:22:00 16:18:01 all 0.01 0.00 0.01 0.01 0.00 99.97 16:22:00 16:18:01 0 0.00 0.00 0.00 0.03 0.00 99.97 16:22:00 16:18:01 1 0.03 0.00 0.00 0.00 0.00 99.97 16:22:00 16:18:01 2 0.00 0.00 0.03 0.00 0.00 99.97 16:22:00 16:18:01 3 0.02 0.00 0.02 0.00 0.02 99.95 16:22:00 16:18:01 4 0.00 0.00 0.00 0.00 0.00 100.00 16:22:00 16:18:01 5 0.00 0.00 0.02 0.03 0.02 99.93 16:22:00 16:18:01 6 0.00 0.00 0.02 0.00 0.00 99.98 16:22:00 16:18:01 7 0.02 0.00 0.02 0.00 0.00 99.97 16:22:00 16:19:01 all 0.01 0.00 0.00 0.00 0.00 99.98 16:22:00 16:19:01 0 0.02 0.00 0.00 0.03 0.00 99.95 16:22:00 16:19:01 1 0.00 0.00 0.00 0.00 0.00 100.00 16:22:00 16:19:01 2 0.02 0.00 0.00 0.00 0.02 99.97 16:22:00 16:19:01 3 0.00 0.00 0.00 0.00 0.00 100.00 16:22:00 16:19:01 4 0.02 0.00 0.02 0.00 0.00 99.97 16:22:00 16:19:01 5 0.02 0.00 0.00 0.00 0.00 99.98 16:22:00 16:19:01 6 0.02 0.00 0.00 0.00 0.00 99.98 16:22:00 16:19:01 7 0.02 0.00 0.00 0.00 0.00 99.98 16:22:00 16:20:01 all 0.01 0.00 0.01 0.01 0.00 99.96 16:22:00 16:20:01 0 0.00 0.00 0.00 0.07 0.02 99.92 16:22:00 16:20:01 1 0.02 0.00 0.00 0.00 0.00 99.98 16:22:00 16:20:01 2 0.02 0.00 0.02 0.03 0.00 99.93 16:22:00 16:20:01 3 0.02 0.00 0.02 0.00 0.02 99.95 16:22:00 16:20:01 4 0.03 0.00 0.03 0.00 0.00 99.93 16:22:00 16:20:01 5 0.02 0.00 0.00 0.00 0.00 99.98 16:22:00 16:20:01 6 0.00 0.00 0.00 0.00 0.00 100.00 16:22:00 16:20:01 7 0.02 0.00 0.02 0.00 0.00 99.97 16:22:00 16:21:01 all 0.03 0.00 0.01 0.01 0.00 99.95 16:22:00 16:21:01 0 0.03 0.00 0.02 0.03 0.00 99.92 16:22:00 16:21:01 1 0.02 0.00 0.02 0.00 0.02 99.95 16:22:00 16:21:01 2 0.03 0.00 0.00 0.02 0.00 99.95 16:22:00 16:21:01 3 0.03 0.00 0.02 0.00 0.00 99.95 16:22:00 16:21:01 4 0.02 0.00 0.02 0.00 0.00 99.97 16:22:00 16:21:01 5 0.02 0.00 0.00 0.00 0.02 99.97 16:22:00 16:21:01 6 0.02 0.00 0.02 0.00 0.00 99.97 16:22:00 16:21:01 7 0.03 0.00 0.00 0.00 0.00 99.97 16:22:00 16:22:00 Average: CPU %user %nice %system %iowait %steal %idle 16:22:00 Average: all 4.62 0.00 1.14 0.43 0.02 93.80 16:22:00 Average: 0 4.76 0.00 1.21 1.25 0.02 92.76 16:22:00 Average: 1 4.47 0.00 1.33 0.22 0.02 93.96 16:22:00 Average: 2 4.40 0.00 1.14 0.38 0.02 94.07 16:22:00 Average: 3 4.60 0.00 1.07 0.12 0.02 94.19 16:22:00 Average: 4 4.20 0.00 1.22 0.14 0.02 94.43 16:22:00 Average: 5 5.56 0.00 1.03 0.27 0.02 93.12 16:22:00 Average: 6 4.48 0.00 0.98 0.52 0.01 94.02 16:22:00 Average: 7 4.47 0.00 1.17 0.51 0.02 93.83 16:22:00 16:22:00 16:22:00