Pull request #388 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 3e41bdd18cf5da3bdddc3ca38ad5b042a41a5f08+aaadd7fbda2364c2efb57d494d7ebea4b574ed12 (d1a5e0b1a577c6d9e8ce54877caf9064fb3229fd) 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-ssh7814300463741784746.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-ssh8146925361557539908.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-388/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-388/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2904293218167088255.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-388/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14680286632911233138.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-ssh10500326235576790321.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-388/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-388/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8117967647823252237.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 ‘prd-ubuntu20.04-docker-8c-8g-117997’ is offline Running on prd-ubuntu20.04-docker-8c-8g-117999 in /w/workspace/xfoundry_device-modbus-go_PR-388 [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-388 # 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/388/head:refs/remotes/origin/PR-388 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit aaadd7fbda2364c2efb57d494d7ebea4b574ed12 into PR head commit 3e41bdd18cf5da3bdddc3ca38ad5b042a41a5f08 Merge succeeded, producing 3e41bdd18cf5da3bdddc3ca38ad5b042a41a5f08 Checking out Revision 3e41bdd18cf5da3bdddc3ca38ad5b042a41a5f08 (PR-388) > git config core.sparsecheckout # timeout=10 > git checkout -f 3e41bdd18cf5da3bdddc3ca38ad5b042a41a5f08 # 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 aaadd7fbda2364c2efb57d494d7ebea4b574ed12 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3e41bdd18cf5da3bdddc3ca38ad5b042a41a5f08 # timeout=10 Commit message: "docs: Levski Change Log" 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 22:25:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:25:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:25:55 ========================================================= 22:25:55 EdgeX Global Pipelines Version Info 22:25:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:25:56 ------------------- 22:25:56 stable info: 22:25:56 ------------------- 22:25:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:25:56 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:25:56 Message: update stable to v1.0.244 22:25:57 ------------------- 22:25:57 experimental info: 22:25:57 ------------------- 22:25:57 Commited By: **** collab-it+edgex@linuxfoundation.org 22:25:57 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:25:57 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:25:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 22:25:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 22:25:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:25:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:25:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:25:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:25:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:25:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:25:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:25:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:25:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:25:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 22:25:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:25:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:25:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:25:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:25:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:25:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:25:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:25:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:25:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:25:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:25:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:25:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:25:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:25:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:25:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:25:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-388 [Pipeline] echo 22:25:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-388 [Pipeline] echo 22:25:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-388 [Pipeline] echo 22:25:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3e41bdd18cf5da3bdddc3ca38ad5b042a41a5f08 [Pipeline] echo 22:25:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3e41bdd [Pipeline] echo 22:25:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:25:58 provisioning config files... 22:25:58 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-388@tmp/config3505659811948896722tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:25:59 ---> docker-login.sh 22:25:59 nexus3.edgexfoundry.org:10001 22:25:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:59 Configure a credential helper to remove this warning. See 22:25:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:59 22:25:59 Login Succeeded 22:25:59 nexus3.edgexfoundry.org:10002 22:25:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:59 Configure a credential helper to remove this warning. See 22:25:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:59 22:25:59 Login Succeeded 22:25:59 nexus3.edgexfoundry.org:10003 22:25:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:59 Configure a credential helper to remove this warning. See 22:25:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:59 22:25:59 Login Succeeded 22:25:59 nexus3.edgexfoundry.org:10004 22:25:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:59 Configure a credential helper to remove this warning. See 22:25:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:59 22:25:59 Login Succeeded 22:25:59 docker.io 22:26:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:26:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:26:00 Configure a credential helper to remove this warning. See 22:26:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:26:00 22:26:00 Login Succeeded 22:26:00 ---> docker-login.sh ends [Pipeline] } 22:26:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:26:00 + git rev-list -1 --merges 3e41bdd18cf5da3bdddc3ca38ad5b042a41a5f08~1..3e41bdd18cf5da3bdddc3ca38ad5b042a41a5f08 [Pipeline] echo 22:26:01 -----------> git rev-list -1 --merges 3e41bdd18cf5da3bdddc3ca38ad5b042a41a5f08~1..3e41bdd18cf5da3bdddc3ca38ad5b042a41a5f08 3e41bdd18cf5da3bdddc3ca38ad5b042a41a5f08 [false] [Pipeline] sh 22:26:01 + git log --format=format:%s -1 3e41bdd18cf5da3bdddc3ca38ad5b042a41a5f08 [Pipeline] echo 22:26:01 ========================================================= 22:26:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:26:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:26:01 + git log --format=format:%s -1 3e41bdd18cf5da3bdddc3ca38ad5b042a41a5f08 [Pipeline] echo 22:26:01 [semverPrep] GIT_COMMIT: 3e41bdd18cf5da3bdddc3ca38ad5b042a41a5f08, Commit Message: docs: Levski Change Log [Pipeline] echo 22:26:01 [semverPrep] This is not a build commit. [Pipeline] sh 22:26:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:26:02 + grep -v github /etc/ssh/ssh_known_hosts 22:26:02 + [ -e /tmp/ssh_known_hosts ] 22:26:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:26:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:26:02 + sudo tee -a /etc/ssh/ssh_known_hosts 22:26:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:26:02 22:26:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:26:03 0.1.4: Pulling from edgex-devops/py-git-semver 22:26:03 b85a868b505f: Pulling fs layer 22:26:03 e2be974225ed: Pulling fs layer 22:26:03 339a4e72a1f5: Pulling fs layer 22:26:03 988bab9f4d93: Pulling fs layer 22:26:03 1469e6f7b9e6: Pulling fs layer 22:26:03 eaf3925da568: Pulling fs layer 22:26:03 bab4dde63d76: Pulling fs layer 22:26:03 bde34c3a00c8: Pulling fs layer 22:26:03 b352a97aabf1: Pulling fs layer 22:26:03 4872d77fe225: Pulling fs layer 22:26:03 5851b861e8e6: Pulling fs layer 22:26:03 1469e6f7b9e6: Waiting 22:26:03 eaf3925da568: Waiting 22:26:03 bab4dde63d76: Waiting 22:26:03 988bab9f4d93: Waiting 22:26:03 bde34c3a00c8: Waiting 22:26:03 b352a97aabf1: Waiting 22:26:03 4872d77fe225: Waiting 22:26:03 5851b861e8e6: Waiting 22:26:03 e2be974225ed: Verifying Checksum 22:26:03 e2be974225ed: Download complete 22:26:03 988bab9f4d93: Verifying Checksum 22:26:03 988bab9f4d93: Download complete 22:26:03 1469e6f7b9e6: Verifying Checksum 22:26:03 1469e6f7b9e6: Download complete 22:26:03 eaf3925da568: Verifying Checksum 22:26:03 eaf3925da568: Download complete 22:26:03 339a4e72a1f5: Verifying Checksum 22:26:03 339a4e72a1f5: Download complete 22:26:03 bde34c3a00c8: Verifying Checksum 22:26:03 bde34c3a00c8: Download complete 22:26:03 b352a97aabf1: Download complete 22:26:03 4872d77fe225: Download complete 22:26:03 5851b861e8e6: Verifying Checksum 22:26:03 5851b861e8e6: Download complete 22:26:03 b85a868b505f: Verifying Checksum 22:26:03 b85a868b505f: Download complete 22:26:03 bab4dde63d76: Verifying Checksum 22:26:03 bab4dde63d76: Download complete 22:26:04 b85a868b505f: Pull complete 22:26:04 e2be974225ed: Pull complete 22:26:05 339a4e72a1f5: Pull complete 22:26:05 988bab9f4d93: Pull complete 22:26:05 1469e6f7b9e6: Pull complete 22:26:05 eaf3925da568: Pull complete 22:26:07 bab4dde63d76: Pull complete 22:26:07 bde34c3a00c8: Pull complete 22:26:07 b352a97aabf1: Pull complete 22:26:07 4872d77fe225: Pull complete 22:26:07 5851b861e8e6: Pull complete 22:26:07 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:26:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:26:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:26:07 prd-ubuntu20.04-docker-8c-8g-117999 does not seem to be running inside a container 22:26:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-388 -v /w/workspace/xfoundry_device-modbus-go_PR-388:/w/workspace/xfoundry_device-modbus-go_PR-388:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-388@tmp:/w/workspace/xfoundry_device-modbus-go_PR-388@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 22:26:10 $ docker top 49586f675cde11f4ec43e82559388d92a0b75e168f5d4f3127238ee2aac0e15b -eo pid,comm 22:26:10 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). 22:26:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:26:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:26:10 [ssh-agent] Looking for ssh-agent implementation... 22:26:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:26:10 $ docker exec 49586f675cde11f4ec43e82559388d92a0b75e168f5d4f3127238ee2aac0e15b ssh-agent 22:26:10 SSH_AUTH_SOCK=/tmp/ssh-fcnAizTPbvXJ/agent.33 22:26:10 SSH_AGENT_PID=39 22:26:10 Running ssh-add (command line suppressed) 22:26:10 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-388@tmp/private_key_9350781449959197126.key (/w/workspace/xfoundry_device-modbus-go_PR-388@tmp/private_key_9350781449959197126.key) 22:26:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:26:11 + git tag --points-at HEAD [Pipeline] } 22:26:11 $ docker exec --env ******** --env ******** 49586f675cde11f4ec43e82559388d92a0b75e168f5d4f3127238ee2aac0e15b ssh-agent -k 22:26:11 unset SSH_AUTH_SOCK; 22:26:11 unset SSH_AGENT_PID; 22:26:11 echo Agent pid 39 killed; 22:26:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:26:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:26:11 [ssh-agent] Looking for ssh-agent implementation... 22:26:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:26:11 $ docker exec 49586f675cde11f4ec43e82559388d92a0b75e168f5d4f3127238ee2aac0e15b ssh-agent 22:26:11 SSH_AUTH_SOCK=/tmp/ssh-vNTtAIkhc7ru/agent.72 22:26:11 SSH_AGENT_PID=78 22:26:11 Running ssh-add (command line suppressed) 22:26:11 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-388@tmp/private_key_16188547098610743301.key (/w/workspace/xfoundry_device-modbus-go_PR-388@tmp/private_key_16188547098610743301.key) 22:26:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:26:12 + git semver init 22:26:12 2022-11-02 22:26:12,343 [run_init] DEBUG init version:0.0.0 force:False 22:26:12 2022-11-02 22:26:12,344 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-388/.semver 22:26:12 2022-11-02 22:26:12,344 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-388/.semver 22:26:12 2022-11-02 22:26:12,345 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-388/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-388, universal_newlines=False, shell=None, istream=None) 22:26:13 2022-11-02 22:26:13,277 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-388/.git/info/exclude 22:26:13 2022-11-02 22:26:13,277 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-388/.semver/PR-388 with force:False 22:26:13 2022-11-02 22:26:13,277 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-388/.semver/PR-388 22:26:13 2022-11-02 22:26:13,283 [execute] INFO git cat-file --batch-check 22:26:13 2022-11-02 22:26:13,283 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-388/.semver, universal_newlines=False, shell=None, istream=) 22:26:13 2022-11-02 22:26:13,289 [execute] INFO git cat-file --batch 22:26:13 2022-11-02 22:26:13,289 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-388/.semver, universal_newlines=False, shell=None, istream=) 22:26:13 2022-11-02 22:26:13,294 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-388/.semver/PR-388 22:26:13 0.0.0 [Pipeline] } 22:26:13 $ docker exec --env ******** --env ******** 49586f675cde11f4ec43e82559388d92a0b75e168f5d4f3127238ee2aac0e15b ssh-agent -k 22:26:13 unset SSH_AUTH_SOCK; 22:26:13 unset SSH_AGENT_PID; 22:26:13 echo Agent pid 78 killed; 22:26:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:26:13 + git semver [Pipeline] } 22:26:14 $ docker stop --time=1 49586f675cde11f4ec43e82559388d92a0b75e168f5d4f3127238ee2aac0e15b 22:26:15 $ docker rm -f 49586f675cde11f4ec43e82559388d92a0b75e168f5d4f3127238ee2aac0e15b [Pipeline] // withDockerContainer [Pipeline] sh 22:26:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:26:16 Stashed 1 file(s) [Pipeline] echo 22:26:16 [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 22:26:16 provisioning config files... 22:26:16 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-388@tmp/config7961042938905301452tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:26:17 ---> docker-login.sh 22:26:17 nexus3.edgexfoundry.org:10001 22:26:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:26:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:26:17 Configure a credential helper to remove this warning. See 22:26:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:26:17 22:26:17 Login Succeeded 22:26:17 nexus3.edgexfoundry.org:10002 22:26:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:26:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:26:17 Configure a credential helper to remove this warning. See 22:26:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:26:17 22:26:17 Login Succeeded 22:26:17 nexus3.edgexfoundry.org:10003 22:26:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:26:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:26:17 Configure a credential helper to remove this warning. See 22:26:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:26:17 22:26:17 Login Succeeded 22:26:17 nexus3.edgexfoundry.org:10004 22:26:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:26:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:26:17 Configure a credential helper to remove this warning. See 22:26:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:26:17 22:26:17 Login Succeeded 22:26:17 docker.io 22:26:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:26:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:26:18 Configure a credential helper to remove this warning. See 22:26:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:26:18 22:26:18 Login Succeeded 22:26:18 ---> docker-login.sh ends [Pipeline] } 22:26:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:26:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:26:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:26:18 ========================================================= 22:26:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:26:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:18 + 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 . 22:26:18 Sending build context to Docker daemon 6.238MB 22:26:18 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 22:26:18 Step 2/10 : FROM ${BASE} AS builder 22:26:18 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:26:18 213ec9aee27d: Pulling fs layer 22:26:18 4583459ba037: Pulling fs layer 22:26:18 93c1e223e6f2: Pulling fs layer 22:26:18 53926ce57604: Pulling fs layer 22:26:18 21b2b0c7a3f4: Pulling fs layer 22:26:18 22ff95d597cd: Pulling fs layer 22:26:18 12d6caf4c0d1: Pulling fs layer 22:26:18 96b7cbca73a9: Pulling fs layer 22:26:18 a7acece74701: Pulling fs layer 22:26:18 53926ce57604: Waiting 22:26:18 21b2b0c7a3f4: Waiting 22:26:18 22ff95d597cd: Waiting 22:26:18 12d6caf4c0d1: Waiting 22:26:18 96b7cbca73a9: Waiting 22:26:18 a7acece74701: Waiting 22:26:18 93c1e223e6f2: Verifying Checksum 22:26:18 93c1e223e6f2: Download complete 22:26:18 4583459ba037: Verifying Checksum 22:26:18 4583459ba037: Download complete 22:26:19 21b2b0c7a3f4: Verifying Checksum 22:26:19 21b2b0c7a3f4: Download complete 22:26:19 22ff95d597cd: Download complete 22:26:19 213ec9aee27d: Verifying Checksum 22:26:19 213ec9aee27d: Download complete 22:26:19 12d6caf4c0d1: Download complete 22:26:19 213ec9aee27d: Pull complete 22:26:19 4583459ba037: Pull complete 22:26:19 93c1e223e6f2: Pull complete 22:26:19 a7acece74701: Verifying Checksum 22:26:19 a7acece74701: Download complete 22:26:19 96b7cbca73a9: Verifying Checksum 22:26:19 96b7cbca73a9: Download complete 22:26:20 53926ce57604: Verifying Checksum 22:26:20 53926ce57604: Download complete 22:26:23 53926ce57604: Pull complete 22:26:23 21b2b0c7a3f4: Pull complete 22:26:23 22ff95d597cd: Pull complete 22:26:23 12d6caf4c0d1: Pull complete 22:26:25 96b7cbca73a9: Pull complete 22:26:26 a7acece74701: Pull complete 22:26:26 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 22:26:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:26:26 ---> db6d94c90886 22:26:26 Step 3/10 : ARG ADD_BUILD_TAGS="" 22:26:30 ---> Running in f0900cd493af 22:26:30 Removing intermediate container f0900cd493af 22:26:30 ---> d563e6ce31b6 22:26:30 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:26:30 ---> Running in c34ae2071592 22:26:30 Removing intermediate container c34ae2071592 22:26:30 ---> 26700d8af418 22:26:30 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 22:26:30 ---> Running in 525598b8dffb 22:26:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:26:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:26:31 Still waiting to schedule task 22:26:31 ‘prd-ubuntu20.04-docker-arm64-4c-16g-117998’ is offline 22:26:31 (1/8) Installing openssh-keygen (9.0_p1-r2) 22:26:31 (2/8) Installing libedit (20210910.3.1-r0) 22:26:31 (3/8) Installing openssh-client-common (9.0_p1-r2) 22:26:31 (4/8) Installing openssh-client-default (9.0_p1-r2) 22:26:31 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 22:26:31 (6/8) Installing openssh-server-common (9.0_p1-r2) 22:26:31 (7/8) Installing openssh-server (9.0_p1-r2) 22:26:31 (8/8) Installing openssh (9.0_p1-r2) 22:26:31 Executing busybox-1.35.0-r17.trigger 22:26:31 OK: 217 MiB in 59 packages 22:26:32 Removing intermediate container 525598b8dffb 22:26:32 ---> 55d6fec4b1d5 22:26:32 Step 6/10 : WORKDIR /device-modbus-go 22:26:32 ---> Running in 5d5b851e4419 22:26:32 Removing intermediate container 5d5b851e4419 22:26:32 ---> efc2d46a13c0 22:26:32 Step 7/10 : COPY go.mod vendor* ./ 22:26:32 ---> 1d3aa33f4e25 22:26:32 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:26:32 ---> Running in ba805345fd9f 22:26:58 Removing intermediate container ba805345fd9f 22:26:58 ---> 9c2f34e0c766 22:26:58 Step 9/10 : COPY . . 22:26:58 ---> 6055a41b496c 22:26:58 Step 10/10 : RUN ${MAKE} 22:26:58 ---> Running in 776b4d19e029 22:26:58 noop 22:26:58 Removing intermediate container 776b4d19e029 22:26:58 ---> f15eeb3e9d36 22:26:58 Successfully built f15eeb3e9d36 22:26:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:59 + docker inspect -f . ci-base-image-x86_64 22:26:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:26:59 prd-ubuntu20.04-docker-8c-8g-117999 does not seem to be running inside a container 22:26:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-388 -v /w/workspace/xfoundry_device-modbus-go_PR-388:/w/workspace/xfoundry_device-modbus-go_PR-388:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-388@tmp:/w/workspace/xfoundry_device-modbus-go_PR-388@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 22:26:59 $ docker top 349d8e8df5faf4cc7bd9946b3c187406b3876a766a498e1ef0168631b3f35852 -eo pid,comm [Pipeline] { [Pipeline] sh 22:27:00 + go version 22:27:00 go version go1.18.7 linux/amd64 [Pipeline] } 22:27:00 $ docker stop --time=1 349d8e8df5faf4cc7bd9946b3c187406b3876a766a498e1ef0168631b3f35852 22:27:01 $ docker rm -f 349d8e8df5faf4cc7bd9946b3c187406b3876a766a498e1ef0168631b3f35852 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:27:02 + docker inspect -f . ci-base-image-x86_64 22:27:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:27:02 prd-ubuntu20.04-docker-8c-8g-117999 does not seem to be running inside a container 22:27:02 $ 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-388 -v /w/workspace/xfoundry_device-modbus-go_PR-388:/w/workspace/xfoundry_device-modbus-go_PR-388:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-388@tmp:/w/workspace/xfoundry_device-modbus-go_PR-388@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 22:27:03 $ docker top 4bf1d663e3a531c5dff1e5a9ad0ce4700ca62cf3c4b1896a0eed99f8231db1cb -eo pid,comm [Pipeline] { [Pipeline] sh 22:27:03 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-388 [Pipeline] fileExists [Pipeline] sh 22:27:03 + make test 22:27:03 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 22:27:04 ? github.com/edgexfoundry/device-modbus-go [no test files] 22:27:14 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 22:27:14 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.019s coverage: 47.7% of statements 22:27:19 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." 22:27:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:27:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:27:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:27:21 ./bin/test-attribution-txt.sh [Pipeline] echo 22:27:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:27:21 $ docker stop --time=1 4bf1d663e3a531c5dff1e5a9ad0ce4700ca62cf3c4b1896a0eed99f8231db1cb 22:27:24 $ docker rm -f 4bf1d663e3a531c5dff1e5a9ad0ce4700ca62cf3c4b1896a0eed99f8231db1cb [Pipeline] // withDockerContainer [Pipeline] sh 22:27:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:27:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:27:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:27:26 + ls -al . 22:27:26 total 196 22:27:26 drwxrwxr-x 10 jenkins jenkins 4096 Nov 2 22:27 . 22:27:26 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 22:25 .. 22:27:26 -rw-rw-r-- 1 jenkins jenkins 140 Nov 2 22:25 .dockerignore 22:27:26 drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 22:27 .git 22:27:26 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 22:25 .github 22:27:26 -rw-rw-r-- 1 jenkins jenkins 331 Nov 2 22:25 .gitignore 22:27:26 -rw-rw-r-- 1 jenkins jenkins 41 Nov 2 22:25 .golangci.yml 22:27:26 drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 22:26 .semver 22:27:26 -rw-rw-r-- 1 jenkins jenkins 10121 Nov 2 22:25 Attribution.txt 22:27:26 -rw-rw-r-- 1 jenkins jenkins 11576 Nov 2 22:25 CHANGELOG.md 22:27:26 -rw-rw-r-- 1 jenkins jenkins 1428 Nov 2 22:25 Dockerfile 22:27:26 -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 22:25 GOVERNANCE.md 22:27:26 -rw-rw-r-- 1 jenkins jenkins 680 Nov 2 22:25 Jenkinsfile 22:27:26 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 2 22:25 LICENSE 22:27:26 -rw-rw-r-- 1 jenkins jenkins 2101 Nov 2 22:25 Makefile 22:27:26 -rw-rw-r-- 1 jenkins jenkins 622 Nov 2 22:25 OWNERS.md 22:27:26 -rw-rw-r-- 1 jenkins jenkins 4061 Nov 2 22:25 README.md 22:27:26 -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 22:26 VERSION 22:27:26 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 22:25 bin 22:27:26 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 22:25 cmd 22:27:26 -rw-r--r-- 1 jenkins jenkins 23241 Nov 2 22:27 coverage.out 22:27:26 -rw-rw-r-- 1 jenkins jenkins 3632 Nov 2 22:25 go.mod 22:27:26 -rw-rw-r-- 1 jenkins jenkins 45309 Nov 2 22:25 go.sum 22:27:26 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 22:25 internal 22:27:26 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 22:25 simulator 22:27:26 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 22:25 snap 22:27:26 -rw-rw-r-- 1 jenkins jenkins 229 Nov 2 22:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:27:26 + 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=3e41bdd18cf5da3bdddc3ca38ad5b042a41a5f08 --label arch=amd64 --label version=0.0.0 . 22:27:26 Sending build context to Docker daemon 6.262MB 22:27:26 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 22:27:26 Step 2/22 : FROM ${BASE} AS builder 22:27:26 ---> f15eeb3e9d36 22:27:26 Step 3/22 : ARG ADD_BUILD_TAGS="" 22:27:26 ---> Running in a61d44b2b9d7 22:27:26 Removing intermediate container a61d44b2b9d7 22:27:26 ---> a37142943e4e 22:27:26 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:27:26 ---> Running in 08f47fd311cc 22:27:26 Removing intermediate container 08f47fd311cc 22:27:26 ---> 41c6a8c802eb 22:27:26 Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 22:27:26 ---> Running in fa0071d2c0c7 22:27:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:27:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:27:27 OK: 217 MiB in 59 packages 22:27:27 Removing intermediate container fa0071d2c0c7 22:27:27 ---> 247983aadac7 22:27:27 Step 6/22 : WORKDIR /device-modbus-go 22:27:27 ---> Running in 1f880d30a577 22:27:27 Removing intermediate container 1f880d30a577 22:27:27 ---> 0f36f1e5fb22 22:27:27 Step 7/22 : COPY go.mod vendor* ./ 22:27:28 ---> a3607ea52248 22:27:28 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:27:28 ---> Running in bdb01fe69ae2 22:27:28 Removing intermediate container bdb01fe69ae2 22:27:28 ---> 8bd69ba01b95 22:27:28 Step 9/22 : COPY . . 22:27:29 ---> 2c0543091fc1 22:27:29 Step 10/22 : RUN ${MAKE} 22:27:29 ---> Running in 454af4291be3 22:27:29 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 22:27:51 Removing intermediate container 454af4291be3 22:27:51 ---> dea05549414f 22:27:51 Step 11/22 : FROM alpine:3.14 22:27:51 3.14: Pulling from library/alpine 22:27:51 c7ed990a2339: Pulling fs layer 22:27:51 c7ed990a2339: Verifying Checksum 22:27:51 c7ed990a2339: Download complete 22:27:51 c7ed990a2339: Pull complete 22:27:51 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 22:27:51 Status: Downloaded newer image for alpine:3.14 22:27:51 ---> dd53f409bf0b 22:27:51 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 22:27:51 ---> Running in dd3a9f02271b 22:27:51 Removing intermediate container dd3a9f02271b 22:27:51 ---> 709bb090be06 22:27:51 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 22:27:51 ---> Running in 5a4ea035c21f 22:27:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 22:27:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 22:27:51 (1/6) Installing dumb-init (1.2.5-r1) 22:27:51 (2/6) Installing libgcc (10.3.1_git20210424-r2) 22:27:51 (3/6) Installing libsodium (1.0.18-r0) 22:27:51 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 22:27:51 (5/6) Installing libzmq (4.3.4-r0) 22:27:51 (6/6) Installing zeromq (4.3.4-r0) 22:27:51 Executing busybox-1.33.1-r8.trigger 22:27:51 OK: 8 MiB in 20 packages 22:27:51 Removing intermediate container 5a4ea035c21f 22:27:51 ---> 37e02055aa93 22:27:51 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 22:27:52 ---> d5f0a707adf3 22:27:52 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 22:27:52 ---> 4a913b41828b 22:27:52 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 22:27:52 ---> c690d5e0fef7 22:27:52 Step 17/22 : EXPOSE 59901 22:27:52 ---> Running in d5f629edbf05 22:27:52 Removing intermediate container d5f629edbf05 22:27:52 ---> 0d3b879c0907 22:27:52 Step 18/22 : ENTRYPOINT ["/device-modbus"] 22:27:52 ---> Running in 9922f4ce24e7 22:27:52 Removing intermediate container 9922f4ce24e7 22:27:52 ---> fbf1a3417ae6 22:27:52 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:27:52 ---> Running in d45ef9f3d3a8 22:27:52 Removing intermediate container d45ef9f3d3a8 22:27:52 ---> ceae0c9c18d7 22:27:52 Step 20/22 : LABEL arch=amd64 22:27:52 ---> Running in 968b0669140a 22:27:52 Removing intermediate container 968b0669140a 22:27:52 ---> d5a70c7007e0 22:27:52 Step 21/22 : LABEL git_sha=3e41bdd18cf5da3bdddc3ca38ad5b042a41a5f08 22:27:53 ---> Running in 39ff2a12fbb4 22:27:53 Removing intermediate container 39ff2a12fbb4 22:27:53 ---> 1f449d0d1e88 22:27:53 Step 22/22 : LABEL version=0.0.0 22:27:53 ---> Running in 386ae9ac767a 22:27:53 Removing intermediate container 386ae9ac767a 22:27:53 ---> d0c910ce5c7a 22:27:53 [Warning] One or more build-args [ARCH] were not consumed 22:27:53 Successfully built d0c910ce5c7a 22:27:53 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 22:27:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:27:53 22:27:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:27:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:27:54 latest: Pulling from edgex-lftools-log-publisher 22:27:54 5eb5b503b376: Pulling fs layer 22:27:54 5c69ac0246d0: Pulling fs layer 22:27:54 ec43610c2a17: Pulling fs layer 22:27:54 3a2ae6a8a46f: Pulling fs layer 22:27:54 33b1e0a273af: Pulling fs layer 22:27:54 5d3b04190fa2: Pulling fs layer 22:27:54 3a2ae6a8a46f: Waiting 22:27:54 33b1e0a273af: Waiting 22:27:54 5d3b04190fa2: Waiting 22:27:54 2f39f015ded8: Pulling fs layer 22:27:54 5c69ac0246d0: Verifying Checksum 22:27:54 5c69ac0246d0: Download complete 22:27:54 3a2ae6a8a46f: Verifying Checksum 22:27:54 3a2ae6a8a46f: Download complete 22:27:54 33b1e0a273af: Verifying Checksum 22:27:54 33b1e0a273af: Download complete 22:27:54 5d3b04190fa2: Verifying Checksum 22:27:54 5d3b04190fa2: Download complete 22:27:54 ec43610c2a17: Verifying Checksum 22:27:54 ec43610c2a17: Download complete 22:27:54 5eb5b503b376: Verifying Checksum 22:27:54 5eb5b503b376: Download complete 22:27:55 2f39f015ded8: Verifying Checksum 22:27:55 2f39f015ded8: Download complete 22:27:55 5eb5b503b376: Pull complete 22:27:55 5c69ac0246d0: Pull complete 22:27:56 ec43610c2a17: Pull complete 22:27:56 3a2ae6a8a46f: Pull complete 22:27:56 33b1e0a273af: Pull complete 22:27:56 5d3b04190fa2: Pull complete 22:28:00 2f39f015ded8: Pull complete 22:28:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:28:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:28:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:28:01 prd-ubuntu20.04-docker-8c-8g-117999 does not seem to be running inside a container 22:28:01 $ 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-388 -v /w/workspace/xfoundry_device-modbus-go_PR-388:/w/workspace/xfoundry_device-modbus-go_PR-388:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-388@tmp:/w/workspace/xfoundry_device-modbus-go_PR-388@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 22:28:04 $ docker top 8f2f117a6b87d9d193df5de6d5a9d60825d738d27e0418e66e82a1abdafe45c5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:28:05 ---> job-cost.sh 22:28:05 lf-activate-venv: SKIPPING 22:28:05 INFO: No Stack... 22:28:05 INFO: Retrieving Pricing Info for: v3-standard-8 22:28:05 INFO: Archiving Costs [Pipeline] sh 22:28:06 + cat /w/workspace/xfoundry_device-modbus-go_PR-388/archives/cost.csv 22:28:06 + cut -d, -f6 [Pipeline] lock 22:28:06 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-388-1-stack-cost] 22:28:06 Resource [jenkins-edgexfoundry-device-modbus-go-PR-388-1-stack-cost] did not exist. Created. 22:28:06 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-388-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:28:06 + echo total: 0.2199999988079071 [Pipeline] stash 22:28:06 Stashed 1 file(s) [Pipeline] } 22:28:06 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-388-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:28:06 $ docker stop --time=1 8f2f117a6b87d9d193df5de6d5a9d60825d738d27e0418e66e82a1abdafe45c5 22:28:08 $ docker rm -f 8f2f117a6b87d9d193df5de6d5a9d60825d738d27e0418e66e82a1abdafe45c5 [Pipeline] // withDockerContainer [Pipeline] } 22:28:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118000 in /w/workspace/xfoundry_device-modbus-go_PR-388 [Pipeline] // script [Pipeline] { [Pipeline] ws 22:28:08 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [Pipeline] } 22:28:08 Selected Git installation does not exist. Using Default 22:28:08 The recommended git tool is: NONE [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:28:13 using credential edgex-jenkins-ssh 22:28:13 Cloning the remote Git repository 22:28:13 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 22:28:13 > git init /w/workspace/device-modbus-go/1 # timeout=10 22:28:13 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 22:28:13 > git --version # timeout=10 22:28:13 > git --version # 'git version 2.25.1' 22:28:13 using GIT_SSH to set credentials SSH Credentials for GitHub 22:28:13 Verifying host key using known hosts file 22:28:13 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. 22:28:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:28:14 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 22:28:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:28:16 Merging remotes/origin/main commit aaadd7fbda2364c2efb57d494d7ebea4b574ed12 into PR head commit 3e41bdd18cf5da3bdddc3ca38ad5b042a41a5f08 22:28:16 Merge succeeded, producing 3e41bdd18cf5da3bdddc3ca38ad5b042a41a5f08 22:28:16 Checking out Revision 3e41bdd18cf5da3bdddc3ca38ad5b042a41a5f08 (PR-388) 22:28:15 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 22:28:15 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 22:28:15 using GIT_SSH to set credentials SSH Credentials for GitHub 22:28:15 Verifying host key using known hosts file 22:28:15 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. 22:28:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/388/head:refs/remotes/origin/PR-388 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:28:16 > git config core.sparsecheckout # timeout=10 22:28:16 > git checkout -f 3e41bdd18cf5da3bdddc3ca38ad5b042a41a5f08 # timeout=10 22:28:16 > git remote # timeout=10 22:28:16 > git config --get remote.origin.url # timeout=10 22:28:16 using GIT_SSH to set credentials SSH Credentials for GitHub 22:28:16 Verifying host key using known hosts file 22:28:16 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. 22:28:16 > git merge aaadd7fbda2364c2efb57d494d7ebea4b574ed12 # timeout=10 22:28:16 > git rev-parse HEAD^{commit} # timeout=10 22:28:16 > git config core.sparsecheckout # timeout=10 22:28:16 > git checkout -f 3e41bdd18cf5da3bdddc3ca38ad5b042a41a5f08 # timeout=10 22:28:20 Commit message: "docs: Levski Change Log" 22:28:20 > git --version # timeout=10 22:28:20 > git --version # 'git version 2.25.1' 22:28:20 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:28:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:28:21 % Total % Received % Xferd Average Speed Time Time Time Current 22:28:21 Dload Upload Total Spent Left Speed 22:28:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 69241 0 --:--:-- --:--:-- --:--:-- 69241 [Pipeline] sh 22:28:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:28:22 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:28:22 + sudo tee /etc/docker/daemon.new 22:28:22 { 22:28:22 "registry-mirrors": [ 22:28:22 "https://nexus3.edgexfoundry.org:10001" 22:28:22 ], 22:28:22 "bip": "10.250.0.254/24", 22:28:22 "hosts": [ 22:28:22 "tcp://0.0.0.0:5555", 22:28:22 "unix:///var/run/docker.sock" 22:28:22 ], 22:28:22 "mtu": 1458, 22:28:22 "selinux-enabled": true, 22:28:22 "seccomp-profile": "/etc/docker/seccomp.json" 22:28:22 } [Pipeline] sh 22:28:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:28:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:28:41 provisioning config files... 22:28:41 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config13474064449022396568tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:28:42 ---> docker-login.sh 22:28:42 nexus3.edgexfoundry.org:10001 22:28:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:42 Configure a credential helper to remove this warning. See 22:28:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:42 22:28:42 Login Succeeded 22:28:42 nexus3.edgexfoundry.org:10002 22:28:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:42 Configure a credential helper to remove this warning. See 22:28:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:42 22:28:42 Login Succeeded 22:28:42 nexus3.edgexfoundry.org:10003 22:28:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:43 Configure a credential helper to remove this warning. See 22:28:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:43 22:28:43 Login Succeeded 22:28:43 nexus3.edgexfoundry.org:10004 22:28:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:43 Configure a credential helper to remove this warning. See 22:28:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:43 22:28:43 Login Succeeded 22:28:43 docker.io 22:28:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:44 Configure a credential helper to remove this warning. See 22:28:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:44 22:28:44 Login Succeeded 22:28:44 ---> docker-login.sh ends [Pipeline] } 22:28:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:28:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:28:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:28:44 ========================================================= 22:28:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:28:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:28:45 + 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 . 22:28:45 Sending build context to Docker daemon 3.251MB 22:28:45 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 22:28:45 Step 2/10 : FROM ${BASE} AS builder 22:28:45 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:28:45 9b18e9b68314: Pulling fs layer 22:28:45 35d82f9e3411: Pulling fs layer 22:28:45 e16973657156: Pulling fs layer 22:28:45 fc693d55d65f: Pulling fs layer 22:28:45 7e9fc2657dce: Pulling fs layer 22:28:45 dda99020689f: Pulling fs layer 22:28:45 db1c61fa0a46: Pulling fs layer 22:28:45 891c053d2c06: Pulling fs layer 22:28:45 fc693d55d65f: Waiting 22:28:45 db1c61fa0a46: Waiting 22:28:45 7e9fc2657dce: Waiting 22:28:45 dda99020689f: Waiting 22:28:45 891c053d2c06: Waiting 22:28:45 e16973657156: Verifying Checksum 22:28:45 e16973657156: Download complete 22:28:45 35d82f9e3411: Download complete 22:28:45 7e9fc2657dce: Verifying Checksum 22:28:45 7e9fc2657dce: Download complete 22:28:45 dda99020689f: Verifying Checksum 22:28:45 dda99020689f: Download complete 22:28:45 9b18e9b68314: Verifying Checksum 22:28:45 9b18e9b68314: Download complete 22:28:46 9b18e9b68314: Pull complete 22:28:46 891c053d2c06: Verifying Checksum 22:28:46 891c053d2c06: Download complete 22:28:47 35d82f9e3411: Pull complete 22:28:47 e16973657156: Pull complete 22:28:48 db1c61fa0a46: Verifying Checksum 22:28:48 db1c61fa0a46: Download complete 22:28:48 fc693d55d65f: Verifying Checksum 22:28:48 fc693d55d65f: Download complete 22:29:01 fc693d55d65f: Pull complete 22:29:01 7e9fc2657dce: Pull complete 22:29:01 dda99020689f: Pull complete 22:29:07 db1c61fa0a46: Pull complete 22:29:09 891c053d2c06: Pull complete 22:29:09 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 22:29:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:29:09 ---> f96f9c87975a 22:29:09 Step 3/10 : ARG ADD_BUILD_TAGS="" 22:29:11 ---> Running in 141476abcfc9 22:29:11 Removing intermediate container 141476abcfc9 22:29:11 ---> f169f5a76e36 22:29:11 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:29:11 ---> Running in 7e1bf600f702 22:29:11 Removing intermediate container 7e1bf600f702 22:29:11 ---> 23040150014f 22:29:11 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 22:29:11 ---> Running in b3041179e7f1 22:29:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:29:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:29:13 (1/8) Installing openssh-keygen (9.0_p1-r2) 22:29:13 (2/8) Installing libedit (20210910.3.1-r0) 22:29:13 (3/8) Installing openssh-client-common (9.0_p1-r2) 22:29:13 (4/8) Installing openssh-client-default (9.0_p1-r2) 22:29:13 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 22:29:13 (6/8) Installing openssh-server-common (9.0_p1-r2) 22:29:13 (7/8) Installing openssh-server (9.0_p1-r2) 22:29:13 (8/8) Installing openssh (9.0_p1-r2) 22:29:13 Executing busybox-1.35.0-r17.trigger 22:29:14 OK: 228 MiB in 59 packages 22:29:15 Removing intermediate container b3041179e7f1 22:29:15 ---> f428b3f769a8 22:29:15 Step 6/10 : WORKDIR /device-modbus-go 22:29:15 ---> Running in de87aa65a4a2 22:29:15 Removing intermediate container de87aa65a4a2 22:29:15 ---> 9cb6b9bfc779 22:29:15 Step 7/10 : COPY go.mod vendor* ./ 22:29:16 ---> 57d3441f895d 22:29:16 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:29:16 ---> Running in c46b0cc1a266 22:30:12 Removing intermediate container c46b0cc1a266 22:30:12 ---> c1e4f6872c8b 22:30:12 Step 9/10 : COPY . . 22:30:12 ---> fb466a7707dd 22:30:12 Step 10/10 : RUN ${MAKE} 22:30:12 ---> Running in 1d0462816e54 22:30:12 noop 22:30:12 Removing intermediate container 1d0462816e54 22:30:12 ---> 795c7b922ede 22:30:12 Successfully built 795c7b922ede 22:30:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:12 + docker inspect -f . ci-base-image-arm64 22:30:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:30:13 prd-ubuntu20.04-docker-arm64-4c-16g-118000 does not seem to be running inside a container 22:30:13 $ 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 22:30:14 $ docker top 70c6121a3b333a9085fc38776fa3837f30fef6bc4c0e997224e08cb7f903db6b -eo pid,comm [Pipeline] { [Pipeline] sh 22:30:15 + go version 22:30:15 go version go1.18.7 linux/arm64 [Pipeline] } 22:30:15 $ docker stop --time=1 70c6121a3b333a9085fc38776fa3837f30fef6bc4c0e997224e08cb7f903db6b 22:30:16 $ docker rm -f 70c6121a3b333a9085fc38776fa3837f30fef6bc4c0e997224e08cb7f903db6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:17 + docker inspect -f . ci-base-image-arm64 22:30:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:30:18 prd-ubuntu20.04-docker-arm64-4c-16g-118000 does not seem to be running inside a container 22:30:18 $ 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 22:30:19 $ docker top 7c276d83310d828ace4958596f2b09a1b75a861bd0f9508c3dd9fafec948580f -eo pid,comm [Pipeline] { [Pipeline] sh 22:30:20 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 22:30:20 + make test 22:30:20 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 22:30:22 ? github.com/edgexfoundry/device-modbus-go [no test files] 22:31:43 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 22:31:43 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.062s coverage: 47.7% of statements 22:31:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:31:43 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:32:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:32:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:32:05 ./bin/test-attribution-txt.sh [Pipeline] echo 22:32:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:32:06 $ docker stop --time=1 7c276d83310d828ace4958596f2b09a1b75a861bd0f9508c3dd9fafec948580f 22:32:07 $ docker rm -f 7c276d83310d828ace4958596f2b09a1b75a861bd0f9508c3dd9fafec948580f [Pipeline] // withDockerContainer [Pipeline] sh 22:32:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:32:08 Warning: overwriting stash ‘coverage-report’ 22:32:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:32:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:32:10 + ls -al . 22:32:10 total 192 22:32:10 drwxrwxr-x 9 jenkins jenkins 4096 Nov 2 22:30 . 22:32:10 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 22:28 .. 22:32:10 -rw-rw-r-- 1 jenkins jenkins 140 Nov 2 22:28 .dockerignore 22:32:10 drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 22:28 .git 22:32:10 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 22:28 .github 22:32:10 -rw-rw-r-- 1 jenkins jenkins 331 Nov 2 22:28 .gitignore 22:32:10 -rw-rw-r-- 1 jenkins jenkins 41 Nov 2 22:28 .golangci.yml 22:32:10 -rw-rw-r-- 1 jenkins jenkins 10121 Nov 2 22:28 Attribution.txt 22:32:10 -rw-rw-r-- 1 jenkins jenkins 11576 Nov 2 22:28 CHANGELOG.md 22:32:10 -rw-rw-r-- 1 jenkins jenkins 1428 Nov 2 22:28 Dockerfile 22:32:10 -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 22:28 GOVERNANCE.md 22:32:10 -rw-rw-r-- 1 jenkins jenkins 680 Nov 2 22:28 Jenkinsfile 22:32:10 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 2 22:28 LICENSE 22:32:10 -rw-rw-r-- 1 jenkins jenkins 2101 Nov 2 22:28 Makefile 22:32:10 -rw-rw-r-- 1 jenkins jenkins 622 Nov 2 22:28 OWNERS.md 22:32:10 -rw-rw-r-- 1 jenkins jenkins 4061 Nov 2 22:28 README.md 22:32:10 -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 22:26 VERSION 22:32:10 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 22:28 bin 22:32:10 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 22:28 cmd 22:32:10 -rw-r--r-- 1 jenkins jenkins 23241 Nov 2 22:31 coverage.out 22:32:10 -rw-rw-r-- 1 jenkins jenkins 3632 Nov 2 22:28 go.mod 22:32:10 -rw-rw-r-- 1 jenkins jenkins 45309 Nov 2 22:28 go.sum 22:32:10 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 22:28 internal 22:32:10 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 22:28 simulator 22:32:10 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 22:28 snap 22:32:10 -rw-rw-r-- 1 jenkins jenkins 229 Nov 2 22:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:10 + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=3e41bdd18cf5da3bdddc3ca38ad5b042a41a5f08 --label arch=arm64 --label version=0.0.0 . 22:32:10 Sending build context to Docker daemon 3.275MB 22:32:10 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 22:32:10 Step 2/22 : FROM ${BASE} AS builder 22:32:10 ---> 795c7b922ede 22:32:10 Step 3/22 : ARG ADD_BUILD_TAGS="" 22:32:10 ---> Running in c35967e25929 22:32:11 Removing intermediate container c35967e25929 22:32:11 ---> c309e2405c26 22:32:11 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:32:11 ---> Running in eaef05bac085 22:32:11 Removing intermediate container eaef05bac085 22:32:11 ---> e0e7f8d02e44 22:32:11 Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 22:32:11 ---> Running in 5ee4ce3cb37f 22:32:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:32:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:32:13 OK: 228 MiB in 59 packages 22:32:14 Removing intermediate container 5ee4ce3cb37f 22:32:14 ---> 780a1d350aaa 22:32:14 Step 6/22 : WORKDIR /device-modbus-go 22:32:14 ---> Running in f041a5cccbc3 22:32:14 Removing intermediate container f041a5cccbc3 22:32:14 ---> 090a79527164 22:32:14 Step 7/22 : COPY go.mod vendor* ./ 22:32:15 ---> bbd70b2a83b4 22:32:15 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:32:15 ---> Running in efb5534cda5c 22:32:17 Removing intermediate container efb5534cda5c 22:32:17 ---> 1bd00c32bf84 22:32:17 Step 9/22 : COPY . . 22:32:17 ---> 4860f1b2855b 22:32:17 Step 10/22 : RUN ${MAKE} 22:32:17 ---> Running in acba1ef2affb 22:32:18 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 22:34:55 Removing intermediate container acba1ef2affb 22:34:55 ---> d710a47da7d0 22:34:55 Step 11/22 : FROM alpine:3.14 22:34:55 3.14: Pulling from library/alpine 22:34:55 90cda3b7c325: Pulling fs layer 22:34:55 90cda3b7c325: Verifying Checksum 22:34:55 90cda3b7c325: Download complete 22:34:55 90cda3b7c325: Pull complete 22:34:55 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 22:34:55 Status: Downloaded newer image for alpine:3.14 22:34:55 ---> 376ba31ae3da 22:34:55 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 22:34:55 ---> Running in 0eafb0686e20 22:34:55 Removing intermediate container 0eafb0686e20 22:34:55 ---> 9e7eaa0d1f50 22:34:55 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 22:34:55 ---> Running in 1f15eb2fae4f 22:34:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 22:34:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 22:34:55 (1/6) Installing dumb-init (1.2.5-r1) 22:34:55 (2/6) Installing libgcc (10.3.1_git20210424-r2) 22:34:55 (3/6) Installing libsodium (1.0.18-r0) 22:34:55 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 22:34:55 (5/6) Installing libzmq (4.3.4-r0) 22:34:55 (6/6) Installing zeromq (4.3.4-r0) 22:34:55 Executing busybox-1.33.1-r8.trigger 22:34:55 OK: 8 MiB in 20 packages 22:34:55 Removing intermediate container 1f15eb2fae4f 22:34:55 ---> e27d78c04050 22:34:55 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 22:34:55 ---> 769d8b274870 22:34:55 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 22:34:55 ---> 7d5d7320a989 22:34:55 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 22:34:55 ---> 249ea94b2e2f 22:34:55 Step 17/22 : EXPOSE 59901 22:34:55 ---> Running in c3bbdbc7e4b1 22:34:55 Removing intermediate container c3bbdbc7e4b1 22:34:55 ---> e86621d42db2 22:34:55 Step 18/22 : ENTRYPOINT ["/device-modbus"] 22:34:55 ---> Running in 4bb04615ff6b 22:34:55 Removing intermediate container 4bb04615ff6b 22:34:55 ---> 4ecd78f84d3a 22:34:55 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:34:55 ---> Running in 6a2b3da15dda 22:34:55 Removing intermediate container 6a2b3da15dda 22:34:55 ---> b5f372fd8e71 22:34:55 Step 20/22 : LABEL arch=arm64 22:34:55 ---> Running in 1cf2195d7a80 22:34:55 Removing intermediate container 1cf2195d7a80 22:34:55 ---> 2a74c8b37132 22:34:55 Step 21/22 : LABEL git_sha=3e41bdd18cf5da3bdddc3ca38ad5b042a41a5f08 22:34:55 ---> Running in d10c4325aadf 22:34:55 Removing intermediate container d10c4325aadf 22:34:55 ---> 152b52d12b4f 22:34:55 Step 22/22 : LABEL version=0.0.0 22:34:55 ---> Running in d3ec98a723cc 22:34:55 Removing intermediate container d3ec98a723cc 22:34:55 ---> d3e1d1912011 22:34:55 [Warning] One or more build-args [ARCH] were not consumed 22:34:55 Successfully built d3e1d1912011 22:34:55 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 22:34:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:34:56 22:34:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:34:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:34:56 arm64: Pulling from edgex-lftools-log-publisher 22:34:56 8998bd30e6a1: Pulling fs layer 22:34:56 04944245beec: Pulling fs layer 22:34:56 699f458cf7ca: Pulling fs layer 22:34:56 765212b225bb: Pulling fs layer 22:34:56 f23df028b6ca: Pulling fs layer 22:34:56 d65c8cfc05b1: Pulling fs layer 22:34:56 2437ff75d9bd: Pulling fs layer 22:34:56 765212b225bb: Waiting 22:34:56 f23df028b6ca: Waiting 22:34:56 d65c8cfc05b1: Waiting 22:34:56 2437ff75d9bd: Waiting 22:34:57 04944245beec: Verifying Checksum 22:34:57 04944245beec: Download complete 22:34:57 765212b225bb: Verifying Checksum 22:34:57 765212b225bb: Download complete 22:34:57 f23df028b6ca: Verifying Checksum 22:34:57 f23df028b6ca: Download complete 22:34:57 d65c8cfc05b1: Verifying Checksum 22:34:57 d65c8cfc05b1: Download complete 22:34:57 699f458cf7ca: Verifying Checksum 22:34:57 699f458cf7ca: Download complete 22:34:57 8998bd30e6a1: Verifying Checksum 22:34:57 8998bd30e6a1: Download complete 22:35:00 2437ff75d9bd: Verifying Checksum 22:35:00 2437ff75d9bd: Download complete 22:35:01 8998bd30e6a1: Pull complete 22:35:01 04944245beec: Pull complete 22:35:03 699f458cf7ca: Pull complete 22:35:03 765212b225bb: Pull complete 22:35:04 f23df028b6ca: Pull complete 22:35:04 d65c8cfc05b1: Pull complete 22:35:19 2437ff75d9bd: Pull complete 22:35:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:35:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:35:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:35:19 prd-ubuntu20.04-docker-arm64-4c-16g-118000 does not seem to be running inside a container 22:35:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 22:35:22 $ docker top c2dd31058a65f23517d8512d0f099e3baf288cabbf42f567ea0ada6b70c3d800 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:35:23 ---> job-cost.sh 22:35:23 lf-activate-venv: SKIPPING 22:35:23 INFO: No Stack... 22:35:23 INFO: Retrieving Pricing Info for: v3-standard-4 22:35:24 INFO: Archiving Costs [Pipeline] sh 22:35:24 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 22:35:24 + cut -d, -f6 [Pipeline] lock 22:35:24 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-388-1-stack-cost] 22:35:24 Resource [jenkins-edgexfoundry-device-modbus-go-PR-388-1-stack-cost] did not exist. Created. 22:35:24 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-388-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:35:25 /w/workspace/device-modbus-go/1@tmp/durable-9317707a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:35:25 + echo total: 0.10999999940395355 [Pipeline] stash 22:35:25 Warning: overwriting stash ‘stack-cost’ 22:35:25 Stashed 1 file(s) [Pipeline] } 22:35:25 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-388-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:35:25 $ docker stop --time=1 c2dd31058a65f23517d8512d0f099e3baf288cabbf42f567ea0ada6b70c3d800 22:35:27 $ docker rm -f c2dd31058a65f23517d8512d0f099e3baf288cabbf42f567ea0ada6b70c3d800 [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 22:35:28 provisioning config files... 22:35:28 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-388@tmp/config548014898607591888tmp [Pipeline] { [Pipeline] sh 22:35:28 + set +x 22:35:28 + curl -s+ https://codecov.io/bash 22:35:28 bash -s -- 22:35:28 22:35:28 _____ _ 22:35:28 / ____| | | 22:35:28 | | ___ __| | ___ ___ _____ __ 22:35:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:35:28 | |___| (_) | (_| | __/ (_| (_) \ V / 22:35:28 \_____\___/ \__,_|\___|\___\___/ \_/ 22:35:28 Bash-1.0.6 22:35:28 22:35:28 22:35:28 ==> git version 2.25.1 found 22:35:28 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 22:35:28 Release-Date: 2020-01-08 22:35:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:35:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:35:28 ==> Jenkins CI detected. 22:35:28 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-388 22:35:28 project root: . 22:35:28 --> token set from env 22:35:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:35:28 ==> Running gcov in . (disable via -X gcov) 22:35:28 ==> Python coveragepy not found 22:35:28 ==> Searching for coverage reports in: 22:35:28 + . 22:35:28 -> Found 1 reports 22:35:28 ==> Detecting git/mercurial file structure 22:35:28 ==> Reading reports 22:35:28 + ./coverage.out bytes=23241 22:35:28 ==> Appending adjustments 22:35:28 https://docs.codecov.io/docs/fixing-reports 22:35:28 + Found adjustments 22:35:28 ==> Gzipping contents 22:35:28 4.0K /tmp/codecov.DA4FOB.gz 22:35:28 ==> Uploading reports 22:35:28 url: https://codecov.io 22:35:28 query: branch=PR-388&commit=3e41bdd18cf5da3bdddc3ca38ad5b042a41a5f08&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-388%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=388&job=&cmd_args= 22:35:28 -> Pinging Codecov 22:35:28 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-388&commit=3e41bdd18cf5da3bdddc3ca38ad5b042a41a5f08&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-388%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=388&job=&cmd_args= 22:35:29 -> Uploading to 22:35:29 https://storage.googleapis.com/codecov/v4/raw/2022-11-02/55DBCA73C666E3227836607328DD7E49/3e41bdd18cf5da3bdddc3ca38ad5b042a41a5f08/54ce7bbf-7787-4091-99a5-25b9d1ccc32d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221102%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221102T223529Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8df1311dd320db6d27623a93c5eb2c230fc8980ac9ba0ca091ebbea4a6badb16 22:35:29 % Total % Received % Xferd Average Speed Time Time Time Current 22:35:29 Dload Upload Total Spent Left Speed 22:35:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3930 0 0 100 3930 0 16375 --:--:-- --:--:-- --:--:-- 16375 22:35:29 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/3e41bdd18cf5da3bdddc3ca38ad5b042a41a5f08 [Pipeline] } 22:35:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:35:31 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-388/archives ] 22:35:31 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-388/archives 22:35:31 total 16 22:35:31 drwxr-xr-x 3 root root 4096 Nov 2 22:28 . 22:35:31 drwxrwxr-x 11 jenkins jenkins 4096 Nov 2 22:28 .. 22:35:31 drwxr-xr-x 2 root root 4096 Nov 2 22:28 cost 22:35:31 -rw-r--r-- 1 root root 88 Nov 2 22:28 cost.csv 22:35:31 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-388/archives 22:35:31 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-388/archives 22:35:31 total 16 22:35:31 drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 22:28 . 22:35:31 drwxrwxr-x 11 jenkins jenkins 4096 Nov 2 22:28 .. 22:35:31 drwxr-xr-x 2 jenkins jenkins 4096 Nov 2 22:28 cost 22:35:31 -rw-r--r-- 1 jenkins jenkins 88 Nov 2 22:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:35:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:35:32 ---> package-listing.sh 22:35:32 ++ facter osfamily 22:35:32 ++ tr '[:upper:]' '[:lower:]' 22:35:32 + OS_FAMILY=debian 22:35:32 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-388 22:35:32 + START_PACKAGES=/tmp/packages_start.txt 22:35:32 + END_PACKAGES=/tmp/packages_end.txt 22:35:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:35:32 + PACKAGES=/tmp/packages_start.txt 22:35:32 + '[' /w/workspace/xfoundry_device-modbus-go_PR-388 ']' 22:35:32 + PACKAGES=/tmp/packages_end.txt 22:35:32 + case "${OS_FAMILY}" in 22:35:32 + dpkg -l 22:35:32 + grep '^ii' 22:35:32 + '[' -f /tmp/packages_start.txt ']' 22:35:32 + '[' -f /tmp/packages_end.txt ']' 22:35:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:35:32 + '[' /w/workspace/xfoundry_device-modbus-go_PR-388 ']' 22:35:32 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-388/archives/ 22:35:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-388/archives/ [Pipeline] echo 22:35:32 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-388/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:35:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:35:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:35:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:35:33 prd-ubuntu20.04-docker-8c-8g-117999 does not seem to be running inside a container 22:35:33 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-388/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-388 -v /w/workspace/xfoundry_device-modbus-go_PR-388:/w/workspace/xfoundry_device-modbus-go_PR-388:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-388@tmp:/w/workspace/xfoundry_device-modbus-go_PR-388@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 22:35:34 $ docker top 254a0615e20606e1f9837e82ce3fabc6f0253cf91f34e263c86162b103b3187b -eo pid,comm [Pipeline] { [Pipeline] sh 22:35:34 + touch /tmp/pre-build-complete [Pipeline] sh 22:35:34 + mkdir -p /var/log/sysstat [Pipeline] sh 22:35:35 + ls /var/log/sa-host 22:35:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:35:35 provisioning config files... 22:35:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-388@tmp/config1896722218713179588tmp [Pipeline] { [Pipeline] echo 22:35:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:35:35 ---> create-netrc.sh [Pipeline] } 22:35:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:35:36 ---> python-tools-install.sh [Pipeline] echo 22:35:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:35:36 ---> sudo-logs.sh 22:35:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:35:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:35:36 ---> job-cost.sh 22:35:36 lf-activate-venv: SKIPPING 22:35:36 DEBUG: total: 0.2199999988079071 22:35:36 INFO: Retrieving Stack Cost... 22:35:37 INFO: Retrieving Pricing Info for: v3-standard-8 22:35:37 INFO: Archiving Costs [Pipeline] echo 22:35:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:35:38 ---> logs-deploy.sh 22:35:38 lf-activate-venv: SKIPPING 22:35:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-388/1 22:35:38 INFO: archiving workspace using pattern(s): 22:35:39 Archives upload complete. 22:35:39 INFO: archiving logs to Nexus 22:35:39 ---> uname -a: 22:35:39 Linux prd-ubuntu20-04-docker-8c-8g-117999 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 22:35:39 22:35:39 22:35:39 ---> lscpu: 22:35:39 Architecture: x86_64 22:35:39 CPU op-mode(s): 32-bit, 64-bit 22:35:39 Byte Order: Little Endian 22:35:39 Address sizes: 40 bits physical, 48 bits virtual 22:35:39 CPU(s): 8 22:35:39 On-line CPU(s) list: 0-7 22:35:39 Thread(s) per core: 1 22:35:39 Core(s) per socket: 1 22:35:39 Socket(s): 8 22:35:39 NUMA node(s): 1 22:35:39 Vendor ID: AuthenticAMD 22:35:39 CPU family: 23 22:35:39 Model: 49 22:35:39 Model name: AMD EPYC-Rome Processor 22:35:39 Stepping: 0 22:35:39 CPU MHz: 2799.956 22:35:39 BogoMIPS: 5599.91 22:35:39 Virtualization: AMD-V 22:35:39 Hypervisor vendor: KVM 22:35:39 Virtualization type: full 22:35:39 L1d cache: 256 KiB 22:35:39 L1i cache: 256 KiB 22:35:39 L2 cache: 4 MiB 22:35:39 L3 cache: 128 MiB 22:35:39 NUMA node0 CPU(s): 0-7 22:35:39 Vulnerability Itlb multihit: Not affected 22:35:39 Vulnerability L1tf: Not affected 22:35:39 Vulnerability Mds: Not affected 22:35:39 Vulnerability Meltdown: Not affected 22:35:39 Vulnerability Mmio stale data: Not affected 22:35:39 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 22:35:39 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 22:35:39 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 22:35:39 Vulnerability Srbds: Not affected 22:35:39 Vulnerability Tsx async abort: Not affected 22:35:39 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 22:35:39 22:35:39 22:35:39 ---> nproc: 22:35:39 8 22:35:39 22:35:39 22:35:39 ---> df -h: 22:35:39 Filesystem Size Used Avail Use% Mounted on 22:35:39 overlay 155G 12G 144G 8% / 22:35:39 tmpfs 64M 0 64M 0% /dev 22:35:39 tmpfs 16G 0 16G 0% /sys/fs/cgroup 22:35:39 shm 64M 0 64M 0% /dev/shm 22:35:39 /dev/vda1 155G 12G 144G 8% /facter-os 22:35:39 22:35:39 22:35:39 ---> sar -b -r -n DEV: 22:35:39 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-117999) 11/02/22 _x86_64_ (8 CPU) 22:35:39 22:35:39 22:25:15 LINUX RESTART (8 CPU) 22:35:39 22:35:39 22:26:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 22:35:39 22:27:01 199.03 4.59 194.44 0.00 464.60 141062.60 0.00 22:35:39 22:28:01 147.66 0.30 147.36 0.00 15.73 66015.66 0.00 22:35:39 22:29:01 29.09 0.02 29.07 0.00 1.47 15849.38 0.00 22:35:39 22:30:01 1.90 0.00 1.90 0.00 0.00 20.15 0.00 22:35:39 22:31:01 39.30 9.35 29.96 0.00 2884.77 4817.59 0.00 22:35:39 22:32:01 2.65 0.00 2.65 0.00 0.00 30.39 0.00 22:35:39 22:33:01 1.32 0.00 1.32 0.00 0.00 14.93 0.00 22:35:39 22:34:01 1.55 0.00 1.55 0.00 0.00 16.93 0.00 22:35:39 22:35:01 3.35 1.02 2.33 0.00 21.86 31.06 0.00 22:35:39 Average: 47.03 1.69 45.34 0.00 376.37 25102.38 0.00 22:35:39 22:35:39 22:26:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 22:35:39 22:27:01 28558184 31588208 723348 2.20 136952 3112428 1971820 5.81 1060016 2844872 720 22:35:39 22:28:01 27801064 31599520 706600 2.15 150556 3802196 1842248 5.43 1188068 3404280 449068 22:35:39 22:29:01 27808328 31607200 699548 2.13 150828 3802256 1780276 5.25 1190404 3391500 156 22:35:39 22:30:01 27808032 31607000 699532 2.13 150852 3802256 1780276 5.25 1190148 3391504 8 22:35:39 22:31:01 27519104 31591156 697604 2.12 169268 4051176 1798172 5.30 1340476 3503760 308 22:35:39 22:32:01 27520344 31592400 696512 2.12 169368 4051112 1798172 5.30 1339828 3503760 132 22:35:39 22:33:01 27527408 31599684 689292 2.10 169448 4051180 1798172 5.30 1333136 3503820 8 22:35:39 22:34:01 27527424 31599752 689176 2.10 169476 4051180 1798172 5.30 1333416 3503816 8 22:35:39 22:35:01 27525700 31599120 689680 2.10 169596 4051804 1818684 5.36 1333404 3504344 8 22:35:39 Average: 27732843 31598227 699032 2.13 159594 3863954 1820666 5.37 1256544 3394628 50046 22:35:39 22:35:39 22:26:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 22:35:39 22:27:01 ens3 451.47 338.65 7632.74 69.74 0.00 0.00 0.00 0.00 22:35:39 22:27:01 docker0 158.77 201.81 13.04 1868.30 0.00 0.00 0.00 0.00 22:35:39 22:27:01 vethb59b425 0.00 0.12 0.00 0.01 0.00 0.00 0.00 0.00 22:35:39 22:27:01 lo 4.00 4.00 0.39 0.39 0.00 0.00 0.00 0.00 22:35:39 22:28:01 ens3 130.63 89.10 2682.65 22.15 0.00 0.00 0.00 0.00 22:35:39 22:28:01 docker0 3.85 8.40 0.25 92.07 0.00 0.00 0.00 0.00 22:35:39 22:28:01 lo 2.00 2.00 0.19 0.19 0.00 0.00 0.00 0.00 22:35:39 22:29:01 ens3 7.31 4.83 7.97 2.92 0.00 0.00 0.00 0.00 22:35:39 22:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:35:39 22:29:01 lo 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 22:35:39 22:30:01 ens3 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 22:35:39 22:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:35:39 22:30:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 22:35:39 22:31:01 ens3 78.69 42.55 1325.80 3.40 0.00 0.00 0.00 0.00 22:35:39 22:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:35:39 22:31:01 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 22:35:39 22:32:01 ens3 0.18 0.15 0.01 0.01 0.00 0.00 0.00 0.00 22:35:39 22:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:35:39 22:32:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 22:35:39 22:33:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:35:39 22:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:35:39 22:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:35:39 22:34:01 ens3 0.12 0.13 0.01 0.01 0.00 0.00 0.00 0.00 22:35:39 22:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:35:39 22:34:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 22:35:39 22:35:01 ens3 0.38 0.00 0.04 0.00 0.00 0.00 0.00 0.00 22:35:39 22:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:35:39 22:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:35:39 Average: ens3 73.63 52.31 1282.58 10.81 0.00 0.00 0.00 0.00 22:35:39 Average: docker0 17.81 23.02 1.46 214.75 0.00 0.00 0.00 0.00 22:35:39 Average: lo 0.78 0.78 0.07 0.07 0.00 0.00 0.00 0.00 22:35:39 22:35:39 22:35:39 ---> sar -P ALL: 22:35:39 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-117999) 11/02/22 _x86_64_ (8 CPU) 22:35:39 22:35:39 22:25:15 LINUX RESTART (8 CPU) 22:35:39 22:35:39 22:26:02 CPU %user %nice %system %iowait %steal %idle 22:35:39 22:27:01 all 9.03 0.00 4.08 4.53 0.06 82.30 22:35:39 22:27:01 0 8.87 0.00 3.14 1.41 0.05 86.53 22:35:39 22:27:01 1 7.97 0.00 3.69 0.82 0.03 87.47 22:35:39 22:27:01 2 8.96 0.00 5.61 15.82 0.07 69.54 22:35:39 22:27:01 3 9.34 0.00 3.26 1.20 0.07 86.14 22:35:39 22:27:01 4 11.12 0.00 4.27 0.93 0.07 83.61 22:35:39 22:27:01 5 9.88 0.00 4.08 8.40 0.05 77.60 22:35:39 22:27:01 6 8.27 0.00 4.31 1.03 0.05 86.34 22:35:39 22:27:01 7 7.88 0.00 4.31 6.64 0.05 81.11 22:35:39 22:28:01 all 36.29 0.00 6.76 1.70 0.12 55.14 22:35:39 22:28:01 0 33.82 0.00 6.24 0.58 0.08 59.28 22:35:39 22:28:01 1 36.20 0.00 6.79 0.39 0.32 56.30 22:35:39 22:28:01 2 37.05 0.00 6.49 3.43 0.08 52.95 22:35:39 22:28:01 3 35.67 0.00 7.15 0.83 0.08 56.26 22:35:39 22:28:01 4 37.13 0.00 6.54 1.42 0.08 54.82 22:35:39 22:28:01 5 36.49 0.00 6.51 0.78 0.10 56.12 22:35:39 22:28:01 6 37.59 0.00 6.85 0.66 0.08 54.82 22:35:39 22:28:01 7 36.38 0.00 7.46 5.50 0.10 50.55 22:35:39 22:29:01 all 0.39 0.00 0.17 0.69 0.01 98.74 22:35:39 22:29:01 0 0.07 0.00 0.43 4.89 0.03 94.58 22:35:39 22:29:01 1 0.32 0.00 0.08 0.00 0.00 99.60 22:35:39 22:29:01 2 0.17 0.00 0.18 0.27 0.02 99.37 22:35:39 22:29:01 3 1.34 0.00 0.08 0.02 0.02 98.54 22:35:39 22:29:01 4 0.25 0.00 0.15 0.35 0.00 99.25 22:35:39 22:29:01 5 0.30 0.00 0.12 0.00 0.00 99.58 22:35:39 22:29:01 6 0.27 0.00 0.17 0.00 0.00 99.57 22:35:39 22:29:01 7 0.37 0.00 0.12 0.02 0.03 99.47 22:35:39 22:30:01 all 0.02 0.00 0.02 0.01 0.01 99.95 22:35:39 22:30:01 0 0.00 0.00 0.02 0.03 0.00 99.95 22:35:39 22:30:01 1 0.03 0.00 0.02 0.00 0.03 99.92 22:35:39 22:30:01 2 0.03 0.00 0.02 0.00 0.02 99.93 22:35:39 22:30:01 3 0.00 0.00 0.00 0.00 0.02 99.98 22:35:39 22:30:01 4 0.00 0.00 0.02 0.02 0.02 99.95 22:35:39 22:30:01 5 0.03 0.00 0.02 0.00 0.00 99.95 22:35:39 22:30:01 6 0.00 0.00 0.03 0.00 0.00 99.97 22:35:39 22:30:01 7 0.05 0.00 0.02 0.00 0.02 99.92 22:35:39 22:31:01 all 1.29 0.00 0.83 0.87 0.02 96.99 22:35:39 22:31:01 0 0.53 0.00 0.67 0.47 0.03 98.30 22:35:39 22:31:01 1 1.33 0.00 0.60 0.67 0.02 97.38 22:35:39 22:31:01 2 1.02 0.00 2.18 0.17 0.02 96.61 22:35:39 22:31:01 3 1.97 0.00 0.40 0.07 0.02 97.55 22:35:39 22:31:01 4 2.05 0.00 0.88 0.63 0.02 96.41 22:35:39 22:31:01 5 0.92 0.00 0.52 3.62 0.05 94.89 22:35:39 22:31:01 6 1.00 0.00 0.72 0.92 0.00 97.37 22:35:39 22:31:01 7 1.52 0.00 0.64 0.43 0.02 97.39 22:35:39 22:32:01 all 0.01 0.00 0.01 0.04 0.01 99.93 22:35:39 22:32:01 0 0.00 0.00 0.00 0.12 0.00 99.88 22:35:39 22:32:01 1 0.03 0.00 0.03 0.00 0.02 99.92 22:35:39 22:32:01 2 0.00 0.00 0.02 0.00 0.00 99.98 22:35:39 22:32:01 3 0.00 0.00 0.03 0.00 0.00 99.97 22:35:39 22:32:01 4 0.02 0.00 0.02 0.00 0.02 99.95 22:35:39 22:32:01 5 0.00 0.00 0.02 0.17 0.00 99.82 22:35:39 22:32:01 6 0.02 0.00 0.00 0.00 0.02 99.97 22:35:39 22:32:01 7 0.02 0.00 0.00 0.00 0.00 99.98 22:35:39 22:33:01 all 0.06 0.00 0.01 0.03 0.01 99.89 22:35:39 22:33:01 0 0.00 0.00 0.02 0.00 0.00 99.98 22:35:39 22:33:01 1 0.03 0.00 0.00 0.00 0.02 99.95 22:35:39 22:33:01 2 0.02 0.00 0.02 0.00 0.00 99.97 22:35:39 22:33:01 3 0.38 0.00 0.00 0.00 0.02 99.60 22:35:39 22:33:01 4 0.03 0.00 0.02 0.12 0.02 99.82 22:35:39 22:33:01 5 0.03 0.00 0.02 0.13 0.00 99.82 22:35:39 22:33:01 6 0.00 0.00 0.00 0.00 0.00 100.00 22:35:39 22:33:01 7 0.02 0.00 0.03 0.00 0.00 99.95 22:35:39 22:34:01 all 0.16 0.00 0.01 0.00 0.01 99.81 22:35:39 22:34:01 0 0.02 0.00 0.02 0.02 0.02 99.93 22:35:39 22:34:01 1 0.02 0.00 0.03 0.00 0.02 99.93 22:35:39 22:34:01 2 0.02 0.00 0.00 0.00 0.00 99.98 22:35:39 22:34:01 3 1.13 0.00 0.02 0.00 0.02 98.84 22:35:39 22:34:01 4 0.03 0.00 0.00 0.00 0.00 99.97 22:35:39 22:34:01 5 0.00 0.00 0.02 0.02 0.00 99.97 22:35:39 22:34:01 6 0.02 0.00 0.00 0.00 0.00 99.98 22:35:39 22:34:01 7 0.07 0.00 0.03 0.00 0.02 99.88 22:35:39 22:35:01 all 0.05 0.00 0.04 0.01 0.00 99.89 22:35:39 22:35:01 0 0.00 0.00 0.05 0.02 0.00 99.93 22:35:39 22:35:01 1 0.07 0.00 0.05 0.00 0.02 99.87 22:35:39 22:35:01 2 0.02 0.00 0.03 0.00 0.00 99.95 22:35:39 22:35:01 3 0.03 0.00 0.02 0.00 0.00 99.95 22:35:39 22:35:01 4 0.03 0.00 0.05 0.02 0.00 99.90 22:35:39 22:35:01 5 0.22 0.00 0.05 0.07 0.02 99.65 22:35:39 22:35:01 6 0.02 0.00 0.03 0.00 0.00 99.95 22:35:39 22:35:01 7 0.03 0.00 0.02 0.00 0.00 99.95 22:35:39 Average: all 5.19 0.00 1.31 0.86 0.03 92.61 22:35:39 Average: 0 4.74 0.00 1.16 0.83 0.02 93.24 22:35:39 Average: 1 5.07 0.00 1.24 0.21 0.05 93.43 22:35:39 Average: 2 5.19 0.00 1.59 2.14 0.02 91.05 22:35:39 Average: 3 5.48 0.00 1.20 0.23 0.03 93.07 22:35:39 Average: 4 5.56 0.00 1.31 0.38 0.02 92.72 22:35:39 Average: 5 5.24 0.00 1.24 1.44 0.02 92.06 22:35:39 Average: 6 5.19 0.00 1.33 0.29 0.02 93.18 22:35:39 Average: 7 5.06 0.00 1.38 1.37 0.03 92.16 22:35:39 22:35:39 22:35:39