Pull request #387 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 ejlee3 for edgexfoundry/device-modbus-go Loading trusted files from base branch main at fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc rather than fedc178e360bd096d52c4780e1d622283b62252c Obtained Jenkinsfile from fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc 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-ssh11914565077773005650.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh2258047130648256504.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-387/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-387/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh822356018008158888.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-387/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2940088609937205934.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh4081624994247978797.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-387/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-387/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11925703356653976014.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 6c1167a966ce7273a24629bf6583a1975ad218c3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-116995’ Running on prd-ubuntu20.04-docker-8c-8g-116997 in /w/workspace/xfoundry_device-modbus-go_PR-387 [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-387 # 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/387/head:refs/remotes/origin/PR-387 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc into PR head commit fedc178e360bd096d52c4780e1d622283b62252c Merge succeeded, producing fedc178e360bd096d52c4780e1d622283b62252c Checking out Revision fedc178e360bd096d52c4780e1d622283b62252c (PR-387) > git config core.sparsecheckout # timeout=10 > git checkout -f fedc178e360bd096d52c4780e1d622283b62252c # 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 fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fedc178e360bd096d52c4780e1d622283b62252c # timeout=10 Commit message: "build: Latest go-mods, config and Dockerfile fix" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:54:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:54:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:54:34 ========================================================= 22:54:34 EdgeX Global Pipelines Version Info 22:54:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:54:34 ------------------- 22:54:34 stable info: 22:54:34 ------------------- 22:54:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:54:34 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 22:54:34 Message: update stable to v1.0.243 22:54:35 ------------------- 22:54:35 experimental info: 22:54:35 ------------------- 22:54:35 Commited By: **** collab-it+edgex@linuxfoundation.org 22:54:35 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 22:54:35 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:54:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 22:54:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 22:54:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:54:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:54:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:54:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:54:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:54:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:54:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:54:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:54:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:54:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 22:54:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:54:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:54:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:54:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:54:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:54:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:54:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:54:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:54:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:54:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:54:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:54:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:54:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:54:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:54:36 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:54:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-387 [Pipeline] echo 22:54:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-387 [Pipeline] echo 22:54:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-387 [Pipeline] echo 22:54:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fedc178e360bd096d52c4780e1d622283b62252c [Pipeline] echo 22:54:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fedc178 [Pipeline] echo 22:54:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:54:37 provisioning config files... 22:54:37 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-387@tmp/config9296693879405844524tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:54:37 ---> docker-login.sh 22:54:37 nexus3.edgexfoundry.org:10001 22:54:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:54:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:54:37 Configure a credential helper to remove this warning. See 22:54:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:54:37 22:54:37 Login Succeeded 22:54:37 nexus3.edgexfoundry.org:10002 22:54:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:54:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:54:37 Configure a credential helper to remove this warning. See 22:54:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:54:37 22:54:37 Login Succeeded 22:54:37 nexus3.edgexfoundry.org:10003 22:54:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:54:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:54:37 Configure a credential helper to remove this warning. See 22:54:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:54:37 22:54:37 Login Succeeded 22:54:37 nexus3.edgexfoundry.org:10004 22:54:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:54:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:54:37 Configure a credential helper to remove this warning. See 22:54:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:54:37 22:54:37 Login Succeeded 22:54:37 docker.io 22:54:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:54:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:54:38 Configure a credential helper to remove this warning. See 22:54:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:54:38 22:54:38 Login Succeeded 22:54:38 ---> docker-login.sh ends [Pipeline] } 22:54:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:54:39 + git rev-list -1 --merges fedc178e360bd096d52c4780e1d622283b62252c~1..fedc178e360bd096d52c4780e1d622283b62252c [Pipeline] echo 22:54:39 -----------> git rev-list -1 --merges fedc178e360bd096d52c4780e1d622283b62252c~1..fedc178e360bd096d52c4780e1d622283b62252c fedc178e360bd096d52c4780e1d622283b62252c [false] [Pipeline] sh 22:54:39 + git log --format=format:%s -1 fedc178e360bd096d52c4780e1d622283b62252c [Pipeline] echo 22:54:39 ========================================================= 22:54:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:54:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:54:39 + git log --format=format:%s -1 fedc178e360bd096d52c4780e1d622283b62252c [Pipeline] echo 22:54:39 [semverPrep] GIT_COMMIT: fedc178e360bd096d52c4780e1d622283b62252c, Commit Message: build: Latest go-mods, config and Dockerfile fix [Pipeline] echo 22:54:39 [semverPrep] This is not a build commit. [Pipeline] sh 22:54:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:54:40 + grep -v github /etc/ssh/ssh_known_hosts 22:54:40 + [ -e /tmp/ssh_known_hosts ] 22:54:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:54:40 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:54:40 + sudo tee -a /etc/ssh/ssh_known_hosts 22:54:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:54:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:54:40 22:54:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:54:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:54:41 0.1.4: Pulling from edgex-devops/py-git-semver 22:54:41 b85a868b505f: Pulling fs layer 22:54:41 e2be974225ed: Pulling fs layer 22:54:41 339a4e72a1f5: Pulling fs layer 22:54:41 988bab9f4d93: Pulling fs layer 22:54:41 1469e6f7b9e6: Pulling fs layer 22:54:41 eaf3925da568: Pulling fs layer 22:54:41 bab4dde63d76: Pulling fs layer 22:54:41 bde34c3a00c8: Pulling fs layer 22:54:41 b352a97aabf1: Pulling fs layer 22:54:41 4872d77fe225: Pulling fs layer 22:54:41 5851b861e8e6: Pulling fs layer 22:54:41 988bab9f4d93: Waiting 22:54:41 b352a97aabf1: Waiting 22:54:41 4872d77fe225: Waiting 22:54:41 5851b861e8e6: Waiting 22:54:41 1469e6f7b9e6: Waiting 22:54:41 eaf3925da568: Waiting 22:54:41 bde34c3a00c8: Waiting 22:54:41 bab4dde63d76: Waiting 22:54:41 e2be974225ed: Download complete 22:54:41 988bab9f4d93: Verifying Checksum 22:54:41 988bab9f4d93: Download complete 22:54:41 1469e6f7b9e6: Verifying Checksum 22:54:41 1469e6f7b9e6: Download complete 22:54:41 eaf3925da568: Download complete 22:54:41 339a4e72a1f5: Verifying Checksum 22:54:41 339a4e72a1f5: Download complete 22:54:41 bde34c3a00c8: Verifying Checksum 22:54:41 bde34c3a00c8: Download complete 22:54:41 b352a97aabf1: Verifying Checksum 22:54:41 b352a97aabf1: Download complete 22:54:41 4872d77fe225: Verifying Checksum 22:54:41 4872d77fe225: Download complete 22:54:41 5851b861e8e6: Verifying Checksum 22:54:41 5851b861e8e6: Download complete 22:54:41 b85a868b505f: Verifying Checksum 22:54:41 b85a868b505f: Download complete 22:54:41 bab4dde63d76: Verifying Checksum 22:54:41 bab4dde63d76: Download complete 22:54:43 b85a868b505f: Pull complete 22:54:43 e2be974225ed: Pull complete 22:54:43 339a4e72a1f5: Pull complete 22:54:43 988bab9f4d93: Pull complete 22:54:43 1469e6f7b9e6: Pull complete 22:54:43 eaf3925da568: Pull complete 22:54:45 bab4dde63d76: Pull complete 22:54:45 bde34c3a00c8: Pull complete 22:54:46 b352a97aabf1: Pull complete 22:54:46 4872d77fe225: Pull complete 22:54:46 5851b861e8e6: Pull complete 22:54:46 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:54:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:54:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:54:46 prd-ubuntu20.04-docker-8c-8g-116997 does not seem to be running inside a container 22:54:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-387 -v /w/workspace/xfoundry_device-modbus-go_PR-387:/w/workspace/xfoundry_device-modbus-go_PR-387:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-387@tmp:/w/workspace/xfoundry_device-modbus-go_PR-387@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:54:47 $ docker top 00e13f4ea474afa6f20dda0a705e7516e118ed2673dc8686099e7575079e3eea -eo pid,comm 22:54:47 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:54:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:54:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:54:47 [ssh-agent] Looking for ssh-agent implementation... 22:54:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:54:48 $ docker exec 00e13f4ea474afa6f20dda0a705e7516e118ed2673dc8686099e7575079e3eea ssh-agent 22:54:48 SSH_AUTH_SOCK=/tmp/ssh-9rhBy4dMYf3V/agent.31 22:54:48 SSH_AGENT_PID=37 22:54:48 Running ssh-add (command line suppressed) 22:54:48 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-387@tmp/private_key_2486276628732379704.key (/w/workspace/xfoundry_device-modbus-go_PR-387@tmp/private_key_2486276628732379704.key) 22:54:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:54:48 + git tag --points-at HEAD [Pipeline] } 22:54:48 $ docker exec --env ******** --env ******** 00e13f4ea474afa6f20dda0a705e7516e118ed2673dc8686099e7575079e3eea ssh-agent -k 22:54:48 unset SSH_AUTH_SOCK; 22:54:48 unset SSH_AGENT_PID; 22:54:48 echo Agent pid 37 killed; 22:54:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:54:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:54:48 [ssh-agent] Looking for ssh-agent implementation... 22:54:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:54:48 $ docker exec 00e13f4ea474afa6f20dda0a705e7516e118ed2673dc8686099e7575079e3eea ssh-agent 22:54:49 SSH_AUTH_SOCK=/tmp/ssh-3qeOGJIiRbYJ/agent.69 22:54:49 SSH_AGENT_PID=75 22:54:49 Running ssh-add (command line suppressed) 22:54:49 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-387@tmp/private_key_16373457110764037137.key (/w/workspace/xfoundry_device-modbus-go_PR-387@tmp/private_key_16373457110764037137.key) 22:54:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:54:49 + git semver init 22:54:49 2022-10-25 22:54:49,756 [run_init] DEBUG init version:0.0.0 force:False 22:54:49 2022-10-25 22:54:49,757 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-387/.semver 22:54:49 2022-10-25 22:54:49,758 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-387/.semver 22:54:49 2022-10-25 22:54:49,758 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-387/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-387, universal_newlines=False, shell=None, istream=None) 22:54:50 2022-10-25 22:54:50,658 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-387/.git/info/exclude 22:54:50 2022-10-25 22:54:50,659 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-387/.semver/PR-387 with force:False 22:54:50 2022-10-25 22:54:50,659 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-387/.semver/PR-387 22:54:50 2022-10-25 22:54:50,663 [execute] INFO git cat-file --batch-check 22:54:50 2022-10-25 22:54:50,664 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-387/.semver, universal_newlines=False, shell=None, istream=) 22:54:50 2022-10-25 22:54:50,670 [execute] INFO git cat-file --batch 22:54:50 2022-10-25 22:54:50,670 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-387/.semver, universal_newlines=False, shell=None, istream=) 22:54:50 2022-10-25 22:54:50,676 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-387/.semver/PR-387 22:54:50 0.0.0 [Pipeline] } 22:54:50 $ docker exec --env ******** --env ******** 00e13f4ea474afa6f20dda0a705e7516e118ed2673dc8686099e7575079e3eea ssh-agent -k 22:54:50 unset SSH_AUTH_SOCK; 22:54:50 unset SSH_AGENT_PID; 22:54:50 echo Agent pid 75 killed; 22:54:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:54:51 + git semver [Pipeline] } 22:54:51 $ docker stop --time=1 00e13f4ea474afa6f20dda0a705e7516e118ed2673dc8686099e7575079e3eea 22:54:52 $ docker rm -f 00e13f4ea474afa6f20dda0a705e7516e118ed2673dc8686099e7575079e3eea [Pipeline] // withDockerContainer [Pipeline] sh 22:54:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:54:53 Stashed 1 file(s) [Pipeline] echo 22:54:53 [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:54:54 provisioning config files... 22:54:54 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-387@tmp/config6192284765783580404tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:54:54 ---> docker-login.sh 22:54:54 nexus3.edgexfoundry.org:10001 22:54:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:54:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:54:54 Configure a credential helper to remove this warning. See 22:54:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:54:54 22:54:54 Login Succeeded 22:54:54 nexus3.edgexfoundry.org:10002 22:54:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:54:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:54:54 Configure a credential helper to remove this warning. See 22:54:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:54:54 22:54:54 Login Succeeded 22:54:54 nexus3.edgexfoundry.org:10003 22:54:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:54:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:54:54 Configure a credential helper to remove this warning. See 22:54:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:54:54 22:54:54 Login Succeeded 22:54:54 nexus3.edgexfoundry.org:10004 22:54:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:54:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:54:54 Configure a credential helper to remove this warning. See 22:54:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:54:54 22:54:54 Login Succeeded 22:54:55 docker.io 22:54:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:54:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:54:55 Configure a credential helper to remove this warning. See 22:54:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:54:55 22:54:55 Login Succeeded 22:54:55 ---> docker-login.sh ends [Pipeline] } 22:54:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:54:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:54:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:54:55 ========================================================= 22:54:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:54:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:54:55 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 22:54:55 Sending build context to Docker daemon 6.238MB 22:54:55 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 22:54:55 Step 2/10 : FROM ${BASE} AS builder 22:54:55 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:54:55 213ec9aee27d: Pulling fs layer 22:54:55 4583459ba037: Pulling fs layer 22:54:55 93c1e223e6f2: Pulling fs layer 22:54:55 53926ce57604: Pulling fs layer 22:54:55 21b2b0c7a3f4: Pulling fs layer 22:54:55 30f14e443154: Pulling fs layer 22:54:55 801331c1e519: Pulling fs layer 22:54:55 99cc6dd402b0: Pulling fs layer 22:54:55 7d9ed39f4882: Pulling fs layer 22:54:55 21b2b0c7a3f4: Waiting 22:54:55 30f14e443154: Waiting 22:54:55 801331c1e519: Waiting 22:54:55 99cc6dd402b0: Waiting 22:54:55 53926ce57604: Waiting 22:54:55 7d9ed39f4882: Waiting 22:54:56 93c1e223e6f2: Verifying Checksum 22:54:56 93c1e223e6f2: Download complete 22:54:56 4583459ba037: Verifying Checksum 22:54:56 4583459ba037: Download complete 22:54:56 21b2b0c7a3f4: Verifying Checksum 22:54:56 21b2b0c7a3f4: Download complete 22:54:56 30f14e443154: Verifying Checksum 22:54:56 30f14e443154: Download complete 22:54:56 213ec9aee27d: Verifying Checksum 22:54:56 213ec9aee27d: Download complete 22:54:56 801331c1e519: Download complete 22:54:56 213ec9aee27d: Pull complete 22:54:56 4583459ba037: Pull complete 22:54:56 93c1e223e6f2: Pull complete 22:54:56 7d9ed39f4882: Verifying Checksum 22:54:56 7d9ed39f4882: Download complete 22:54:57 99cc6dd402b0: Download complete 22:54:57 53926ce57604: Verifying Checksum 22:54:57 53926ce57604: Download complete 22:55:01 53926ce57604: Pull complete 22:55:01 21b2b0c7a3f4: Pull complete 22:55:01 30f14e443154: Pull complete 22:55:01 801331c1e519: Pull complete 22:55:03 99cc6dd402b0: Pull complete 22:55:03 7d9ed39f4882: Pull complete 22:55:03 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 22:55:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:55:03 ---> 1dedd983c030 22:55:03 Step 3/10 : ARG ADD_BUILD_TAGS="" 22:55:05 ---> Running in cee4e39aab60 22:55:05 Removing intermediate container cee4e39aab60 22:55:05 ---> 480d705ec681 22:55:05 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:55:05 ---> Running in d5a75042cabc 22:55:05 Removing intermediate container d5a75042cabc 22:55:05 ---> c8a4c4d839c3 22:55:05 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 22:55:05 ---> Running in 7bcfcc05e744 22:55:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:55:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:55:06 (1/8) Installing openssh-keygen (9.0_p1-r2) 22:55:06 (2/8) Installing libedit (20210910.3.1-r0) 22:55:06 (3/8) Installing openssh-client-common (9.0_p1-r2) 22:55:06 (4/8) Installing openssh-client-default (9.0_p1-r2) 22:55:06 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 22:55:06 (6/8) Installing openssh-server-common (9.0_p1-r2) 22:55:06 (7/8) Installing openssh-server (9.0_p1-r2) 22:55:06 (8/8) Installing openssh (9.0_p1-r2) 22:55:06 Executing busybox-1.35.0-r17.trigger 22:55:06 OK: 217 MiB in 59 packages 22:55:07 Removing intermediate container 7bcfcc05e744 22:55:07 ---> 74c4af2b3f95 22:55:07 Step 6/10 : WORKDIR /device-modbus-go 22:55:07 ---> Running in 63269e50804b 22:55:07 Removing intermediate container 63269e50804b 22:55:07 ---> 5c6859cff2f3 22:55:07 Step 7/10 : COPY go.mod vendor* ./ 22:55:07 ---> d221c0baccfd 22:55:07 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:55:07 ---> Running in b910c2f16dce 22:55:08 Still waiting to schedule task 22:55:08 ‘prd-ubuntu20.04-docker-arm64-4c-16g-116996’ is offline 22:55:29 Removing intermediate container b910c2f16dce 22:55:29 ---> 2b9f63d2a002 22:55:29 Step 9/10 : COPY . . 22:55:29 ---> 1bdea9527d36 22:55:29 Step 10/10 : RUN ${MAKE} 22:55:29 ---> Running in 8722e5cb23b0 22:55:29 noop 22:55:30 Removing intermediate container 8722e5cb23b0 22:55:30 ---> 33042d024006 22:55:30 Successfully built 33042d024006 22:55:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:55:30 + docker inspect -f . ci-base-image-x86_64 22:55:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:55:30 prd-ubuntu20.04-docker-8c-8g-116997 does not seem to be running inside a container 22:55:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-387 -v /w/workspace/xfoundry_device-modbus-go_PR-387:/w/workspace/xfoundry_device-modbus-go_PR-387:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-387@tmp:/w/workspace/xfoundry_device-modbus-go_PR-387@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 ******** ci-base-image-x86_64 cat 22:55:31 $ docker top 844bdaec6bb70c830a462b05202725aff0ef986e642a08b1a48d0abfad827162 -eo pid,comm [Pipeline] { [Pipeline] sh 22:55:31 + go version 22:55:31 go version go1.18.7 linux/amd64 [Pipeline] } 22:55:31 $ docker stop --time=1 844bdaec6bb70c830a462b05202725aff0ef986e642a08b1a48d0abfad827162 22:55:32 $ docker rm -f 844bdaec6bb70c830a462b05202725aff0ef986e642a08b1a48d0abfad827162 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:55:33 + docker inspect -f . ci-base-image-x86_64 22:55:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:55:33 prd-ubuntu20.04-docker-8c-8g-116997 does not seem to be running inside a container 22:55:33 $ 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-387 -v /w/workspace/xfoundry_device-modbus-go_PR-387:/w/workspace/xfoundry_device-modbus-go_PR-387:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-387@tmp:/w/workspace/xfoundry_device-modbus-go_PR-387@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 ******** ci-base-image-x86_64 cat 22:55:34 $ docker top 49c55abe87ba7109e30710789f6309e532e424a9c3d48a8a56bb82773fb3293b -eo pid,comm [Pipeline] { [Pipeline] sh 22:55:34 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-387 [Pipeline] fileExists [Pipeline] sh 22:55:34 + make test 22:55:34 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 22:55:35 ? github.com/edgexfoundry/device-modbus-go [no test files] 22:55:45 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 22:55:45 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.019s coverage: 47.7% of statements 22:55:53 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:55:53 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:55:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:55:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:55:55 ./bin/test-attribution-txt.sh [Pipeline] echo 22:55:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:55:56 $ docker stop --time=1 49c55abe87ba7109e30710789f6309e532e424a9c3d48a8a56bb82773fb3293b 22:55:57 $ docker rm -f 49c55abe87ba7109e30710789f6309e532e424a9c3d48a8a56bb82773fb3293b [Pipeline] // withDockerContainer [Pipeline] sh 22:55:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:55:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:55:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:55:59 + ls -al . 22:55:59 total 196 22:55:59 drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 22:55 . 22:55:59 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 22:54 .. 22:55:59 -rw-rw-r-- 1 jenkins jenkins 140 Oct 25 22:54 .dockerignore 22:55:59 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 22:55 .git 22:55:59 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:54 .github 22:55:59 -rw-rw-r-- 1 jenkins jenkins 331 Oct 25 22:54 .gitignore 22:55:59 -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 22:54 .golangci.yml 22:55:59 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 22:54 .semver 22:55:59 -rw-rw-r-- 1 jenkins jenkins 10121 Oct 25 22:54 Attribution.txt 22:55:59 -rw-rw-r-- 1 jenkins jenkins 10001 Oct 25 22:54 CHANGELOG.md 22:55:59 -rw-rw-r-- 1 jenkins jenkins 1517 Oct 25 22:54 Dockerfile 22:55:59 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 22:54 GOVERNANCE.md 22:55:59 -rw-rw-r-- 1 jenkins jenkins 680 Oct 25 22:54 Jenkinsfile 22:55:59 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 22:54 LICENSE 22:55:59 -rw-rw-r-- 1 jenkins jenkins 2101 Oct 25 22:54 Makefile 22:55:59 -rw-rw-r-- 1 jenkins jenkins 622 Oct 25 22:54 OWNERS.md 22:55:59 -rw-rw-r-- 1 jenkins jenkins 4061 Oct 25 22:54 README.md 22:55:59 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 22:54 VERSION 22:55:59 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 22:54 bin 22:55:59 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:54 cmd 22:55:59 -rw-r--r-- 1 jenkins jenkins 23241 Oct 25 22:55 coverage.out 22:55:59 -rw-rw-r-- 1 jenkins jenkins 3632 Oct 25 22:54 go.mod 22:55:59 -rw-rw-r-- 1 jenkins jenkins 45309 Oct 25 22:54 go.sum 22:55:59 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:54 internal 22:55:59 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 22:54 simulator 22:55:59 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 22:54 snap 22:55:59 -rw-rw-r-- 1 jenkins jenkins 229 Oct 25 22:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:55:59 + 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=fedc178e360bd096d52c4780e1d622283b62252c --label arch=amd64 --label version=0.0.0 . 22:55:59 Sending build context to Docker daemon 6.262MB 22:55:59 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 22:55:59 Step 2/23 : FROM ${BASE} AS builder 22:55:59 ---> 33042d024006 22:55:59 Step 3/23 : ARG ADD_BUILD_TAGS="" 22:55:59 ---> Running in 4c15b6038a3b 22:56:00 Removing intermediate container 4c15b6038a3b 22:56:00 ---> eece55cba1af 22:56:00 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:56:00 ---> Running in 7d491ea82d3d 22:56:00 Removing intermediate container 7d491ea82d3d 22:56:00 ---> 66566031f6e2 22:56:00 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 22:56:00 ---> Running in bda388811c5b 22:56:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:56:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:56:00 OK: 217 MiB in 59 packages 22:56:01 Removing intermediate container bda388811c5b 22:56:01 ---> 26d331dedd7b 22:56:01 Step 6/23 : WORKDIR /device-modbus-go 22:56:01 ---> Running in bab957ba111f 22:56:01 Removing intermediate container bab957ba111f 22:56:01 ---> 9dd628e080a7 22:56:01 Step 7/23 : COPY go.mod vendor* ./ 22:56:01 ---> 48d1e50bc8c9 22:56:01 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:56:01 ---> Running in b4d01fbf39ec 22:56:02 Removing intermediate container b4d01fbf39ec 22:56:02 ---> 4f600a061e84 22:56:02 Step 9/23 : COPY . . 22:56:02 ---> e53b72de908d 22:56:02 Step 10/23 : RUN ${MAKE} 22:56:02 ---> Running in ec5387be87f7 22:56:02 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:56:24 Removing intermediate container ec5387be87f7 22:56:24 ---> be2a568aae07 22:56:24 Step 11/23 : FROM alpine:3.14 22:56:24 3.14: Pulling from library/alpine 22:56:24 c7ed990a2339: Pulling fs layer 22:56:24 c7ed990a2339: Verifying Checksum 22:56:24 c7ed990a2339: Download complete 22:56:24 c7ed990a2339: Pull complete 22:56:24 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 22:56:24 Status: Downloaded newer image for alpine:3.14 22:56:24 ---> dd53f409bf0b 22:56:24 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 22:56:24 ---> Running in 703b09d7d3b1 22:56:24 Removing intermediate container 703b09d7d3b1 22:56:24 ---> 4da2e35907a5 22:56:24 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:56:24 ---> Running in 1ad00a3b2773 22:56:24 Removing intermediate container 1ad00a3b2773 22:56:24 ---> 3e4d0dc22335 22:56:24 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 22:56:24 ---> Running in fc57907759b2 22:56:24 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 22:56:24 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 22:56:24 (1/6) Installing dumb-init (1.2.5-r1) 22:56:25 (2/6) Installing libgcc (10.3.1_git20210424-r2) 22:56:25 (3/6) Installing libsodium (1.0.18-r0) 22:56:26 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 22:56:26 (5/6) Installing libzmq (4.3.4-r0) 22:56:26 (6/6) Installing zeromq (4.3.4-r0) 22:56:27 Executing busybox-1.33.1-r8.trigger 22:56:27 OK: 8 MiB in 20 packages 22:56:27 Removing intermediate container fc57907759b2 22:56:27 ---> 76756ef6b07f 22:56:27 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 22:56:27 ---> 2f6e0dfaea02 22:56:27 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 22:56:28 ---> 9ae97735f77f 22:56:28 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 22:56:28 ---> a63db6a1beaa 22:56:28 Step 18/23 : EXPOSE 59901 22:56:28 ---> Running in f6df473a82b5 22:56:28 Removing intermediate container f6df473a82b5 22:56:28 ---> 0942bfc6ee13 22:56:28 Step 19/23 : ENTRYPOINT ["/device-modbus"] 22:56:28 ---> Running in 23fb398e7a80 22:56:28 Removing intermediate container 23fb398e7a80 22:56:28 ---> f3ca4c9430d4 22:56:28 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:56:28 ---> Running in 220f3ce6a83a 22:56:28 Removing intermediate container 220f3ce6a83a 22:56:28 ---> 97ee4e9bd2e8 22:56:28 Step 21/23 : LABEL arch=amd64 22:56:28 ---> Running in 2e9e80c90e03 22:56:28 Removing intermediate container 2e9e80c90e03 22:56:28 ---> 6fe5bdcf2e64 22:56:28 Step 22/23 : LABEL git_sha=fedc178e360bd096d52c4780e1d622283b62252c 22:56:28 ---> Running in 67abf913a8ed 22:56:28 Removing intermediate container 67abf913a8ed 22:56:28 ---> d1492b39f994 22:56:28 Step 23/23 : LABEL version=0.0.0 22:56:28 ---> Running in accfef7a9d02 22:56:29 Removing intermediate container accfef7a9d02 22:56:29 ---> 9c59f528d1d5 22:56:29 [Warning] One or more build-args [ARCH] were not consumed 22:56:29 Successfully built 9c59f528d1d5 22:56:29 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:56:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:56:30 22:56:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:56:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:56:30 latest: Pulling from edgex-lftools-log-publisher 22:56:30 5eb5b503b376: Pulling fs layer 22:56:30 5c69ac0246d0: Pulling fs layer 22:56:30 ec43610c2a17: Pulling fs layer 22:56:30 3a2ae6a8a46f: Pulling fs layer 22:56:30 33b1e0a273af: Pulling fs layer 22:56:30 5d3b04190fa2: Pulling fs layer 22:56:30 2f39f015ded8: Pulling fs layer 22:56:30 5d3b04190fa2: Waiting 22:56:30 33b1e0a273af: Waiting 22:56:30 2f39f015ded8: Waiting 22:56:30 3a2ae6a8a46f: Waiting 22:56:30 5c69ac0246d0: Verifying Checksum 22:56:30 5c69ac0246d0: Download complete 22:56:30 3a2ae6a8a46f: Verifying Checksum 22:56:30 3a2ae6a8a46f: Download complete 22:56:30 33b1e0a273af: Verifying Checksum 22:56:30 33b1e0a273af: Download complete 22:56:30 5d3b04190fa2: Verifying Checksum 22:56:30 5d3b04190fa2: Download complete 22:56:30 ec43610c2a17: Verifying Checksum 22:56:30 ec43610c2a17: Download complete 22:56:30 5eb5b503b376: Verifying Checksum 22:56:30 5eb5b503b376: Download complete 22:56:31 2f39f015ded8: Download complete 22:56:31 5eb5b503b376: Pull complete 22:56:31 5c69ac0246d0: Pull complete 22:56:32 ec43610c2a17: Pull complete 22:56:32 3a2ae6a8a46f: Pull complete 22:56:32 33b1e0a273af: Pull complete 22:56:32 5d3b04190fa2: Pull complete 22:56:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-116999 in /w/workspace/xfoundry_device-modbus-go_PR-387 [Pipeline] { [Pipeline] ws 22:56:33 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 22:56:33 Selected Git installation does not exist. Using Default 22:56:33 The recommended git tool is: NONE 22:56:36 2f39f015ded8: Pull complete 22:56:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:56:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:56:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:56:37 prd-ubuntu20.04-docker-8c-8g-116997 does not seem to be running inside a container 22:56:37 $ 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-387 -v /w/workspace/xfoundry_device-modbus-go_PR-387:/w/workspace/xfoundry_device-modbus-go_PR-387:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-387@tmp:/w/workspace/xfoundry_device-modbus-go_PR-387@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:56:38 $ docker top 23f73a18d084253de5b94fa0a254131b05fb1ac2bf34bde01c530de5fff05cf2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:56:39 using credential edgex-jenkins-ssh 22:56:39 Cloning the remote Git repository 22:56:39 ---> job-cost.sh 22:56:39 lf-activate-venv: SKIPPING 22:56:39 INFO: No Stack... 22:56:39 INFO: Retrieving Pricing Info for: v3-standard-8 22:56:40 INFO: Archiving Costs [Pipeline] sh 22:56:39 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 22:56:39 > git init /w/workspace/device-modbus-go/1 # timeout=10 22:56:39 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 22:56:39 > git --version # timeout=10 22:56:39 > git --version # 'git version 2.25.1' 22:56:39 using GIT_SSH to set credentials SSH Credentials for GitHub 22:56:39 Verifying host key using known hosts file 22:56:39 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:56:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:56:40 + cat /w/workspace/xfoundry_device-modbus-go_PR-387/archives/cost.csv 22:56:40 + cut -d, -f6 [Pipeline] lock 22:56:40 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-387-1-stack-cost] 22:56:40 Resource [jenkins-edgexfoundry-device-modbus-go-PR-387-1-stack-cost] did not exist. Created. 22:56:40 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-387-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:56:40 + echo total: 0.2199999988079071 [Pipeline] stash 22:56:40 Stashed 1 file(s) [Pipeline] } 22:56:40 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-387-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:56:40 $ docker stop --time=1 23f73a18d084253de5b94fa0a254131b05fb1ac2bf34bde01c530de5fff05cf2 22:56:42 $ docker rm -f 23f73a18d084253de5b94fa0a254131b05fb1ac2bf34bde01c530de5fff05cf2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:56:41 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 22:56:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:56:42 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 22:56:42 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 22:56:42 using GIT_SSH to set credentials SSH Credentials for GitHub 22:56:42 Verifying host key using known hosts file 22:56:43 Merging remotes/origin/main commit fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc into PR head commit fedc178e360bd096d52c4780e1d622283b62252c 22:56:43 Merge succeeded, producing fedc178e360bd096d52c4780e1d622283b62252c 22:56:43 Checking out Revision fedc178e360bd096d52c4780e1d622283b62252c (PR-387) 22:56:42 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:56:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/387/head:refs/remotes/origin/PR-387 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:56:43 > git config core.sparsecheckout # timeout=10 22:56:43 > git checkout -f fedc178e360bd096d52c4780e1d622283b62252c # timeout=10 22:56:43 > git remote # timeout=10 22:56:43 > git config --get remote.origin.url # timeout=10 22:56:43 using GIT_SSH to set credentials SSH Credentials for GitHub 22:56:43 Verifying host key using known hosts file 22:56:43 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:56:43 > git merge fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc # timeout=10 22:56:43 > git rev-parse HEAD^{commit} # timeout=10 22:56:43 > git config core.sparsecheckout # timeout=10 22:56:43 > git checkout -f fedc178e360bd096d52c4780e1d622283b62252c # timeout=10 22:56:47 Commit message: "build: Latest go-mods, config and Dockerfile fix" 22:56:47 > git --version # timeout=10 22:56:47 > git --version # 'git version 2.25.1' 22:56:47 fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:56:48 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:56:48 % Total % Received % Xferd Average Speed Time Time Time Current 22:56:48 Dload Upload Total Spent Left Speed 22:56:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 90661 0 --:--:-- --:--:-- --:--:-- 90661 [Pipeline] sh 22:56:49 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:56:49 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:56:49 + sudo tee /etc/docker/daemon.new 22:56:49 { 22:56:49 "registry-mirrors": [ 22:56:49 "https://nexus3.edgexfoundry.org:10001" 22:56:49 ], 22:56:49 "bip": "10.250.0.254/24", 22:56:49 "hosts": [ 22:56:49 "tcp://0.0.0.0:5555", 22:56:49 "unix:///var/run/docker.sock" 22:56:49 ], 22:56:49 "mtu": 1458, 22:56:49 "selinux-enabled": true, 22:56:49 "seccomp-profile": "/etc/docker/seccomp.json" 22:56:49 } [Pipeline] sh 22:56:49 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:56:50 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:57:08 provisioning config files... 22:57:08 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config2230172248001829242tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:57:08 ---> docker-login.sh 22:57:08 nexus3.edgexfoundry.org:10001 22:57:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:09 Configure a credential helper to remove this warning. See 22:57:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:09 22:57:09 Login Succeeded 22:57:09 nexus3.edgexfoundry.org:10002 22:57:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:09 Configure a credential helper to remove this warning. See 22:57:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:09 22:57:09 Login Succeeded 22:57:09 nexus3.edgexfoundry.org:10003 22:57:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:10 Configure a credential helper to remove this warning. See 22:57:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:10 22:57:10 Login Succeeded 22:57:10 nexus3.edgexfoundry.org:10004 22:57:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:10 Configure a credential helper to remove this warning. See 22:57:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:10 22:57:10 Login Succeeded 22:57:10 docker.io 22:57:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:10 Configure a credential helper to remove this warning. See 22:57:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:10 22:57:10 Login Succeeded 22:57:10 ---> docker-login.sh ends [Pipeline] } 22:57:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:57:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:57:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:57:11 ========================================================= 22:57:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:57:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:11 + 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:57:12 Sending build context to Docker daemon 3.263MB 22:57:12 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 22:57:12 Step 2/10 : FROM ${BASE} AS builder 22:57:12 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:57:12 9b18e9b68314: Pulling fs layer 22:57:12 d32db5db7311: Pulling fs layer 22:57:12 d0c4b47475fc: Pulling fs layer 22:57:12 5831b945b038: Pulling fs layer 22:57:12 86bbec2aaacd: Pulling fs layer 22:57:12 e10730c5d714: Pulling fs layer 22:57:12 5dd5c2283517: Pulling fs layer 22:57:12 d5ac0230b979: Pulling fs layer 22:57:12 86bbec2aaacd: Waiting 22:57:12 e10730c5d714: Waiting 22:57:12 5dd5c2283517: Waiting 22:57:12 d5ac0230b979: Waiting 22:57:12 5831b945b038: Waiting 22:57:12 d0c4b47475fc: Verifying Checksum 22:57:12 d0c4b47475fc: Download complete 22:57:12 d32db5db7311: Download complete 22:57:12 86bbec2aaacd: Verifying Checksum 22:57:12 86bbec2aaacd: Download complete 22:57:12 e10730c5d714: Verifying Checksum 22:57:12 e10730c5d714: Download complete 22:57:12 9b18e9b68314: Download complete 22:57:13 9b18e9b68314: Pull complete 22:57:13 d5ac0230b979: Verifying Checksum 22:57:13 d5ac0230b979: Download complete 22:57:13 d32db5db7311: Pull complete 22:57:14 d0c4b47475fc: Pull complete 22:57:14 5dd5c2283517: Verifying Checksum 22:57:14 5dd5c2283517: Download complete 22:57:15 5831b945b038: Verifying Checksum 22:57:15 5831b945b038: Download complete 22:57:27 5831b945b038: Pull complete 22:57:27 86bbec2aaacd: Pull complete 22:57:27 e10730c5d714: Pull complete 22:57:34 5dd5c2283517: Pull complete 22:57:35 d5ac0230b979: Pull complete 22:57:35 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 22:57:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:57:35 ---> 59b3b1a385d4 22:57:35 Step 3/10 : ARG ADD_BUILD_TAGS="" 22:57:37 ---> Running in a000d8d1102c 22:57:37 Removing intermediate container a000d8d1102c 22:57:37 ---> 63844d7d7aca 22:57:37 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:57:37 ---> Running in e302af6d78b3 22:57:37 Removing intermediate container e302af6d78b3 22:57:37 ---> 84a0d851d4b1 22:57:37 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 22:57:37 ---> Running in 567e66151168 22:57:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:57:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:57:40 (1/8) Installing openssh-keygen (9.0_p1-r2) 22:57:40 (2/8) Installing libedit (20210910.3.1-r0) 22:57:40 (3/8) Installing openssh-client-common (9.0_p1-r2) 22:57:40 (4/8) Installing openssh-client-default (9.0_p1-r2) 22:57:40 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 22:57:40 (6/8) Installing openssh-server-common (9.0_p1-r2) 22:57:40 (7/8) Installing openssh-server (9.0_p1-r2) 22:57:40 (8/8) Installing openssh (9.0_p1-r2) 22:57:40 Executing busybox-1.35.0-r17.trigger 22:57:40 OK: 228 MiB in 59 packages 22:57:41 Removing intermediate container 567e66151168 22:57:41 ---> 6796fe977249 22:57:41 Step 6/10 : WORKDIR /device-modbus-go 22:57:41 ---> Running in a043a36c9851 22:57:41 Removing intermediate container a043a36c9851 22:57:41 ---> d2b3e9d43f0b 22:57:41 Step 7/10 : COPY go.mod vendor* ./ 22:57:42 ---> 918fe2cdf41c 22:57:42 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:57:42 ---> Running in 4288033395b4 22:58:38 Removing intermediate container 4288033395b4 22:58:38 ---> f28a296a4f20 22:58:38 Step 9/10 : COPY . . 22:58:38 ---> a6adc27f9ef5 22:58:38 Step 10/10 : RUN ${MAKE} 22:58:38 ---> Running in 649d0c51e3b2 22:58:38 noop 22:58:38 Removing intermediate container 649d0c51e3b2 22:58:38 ---> d7014266bf06 22:58:38 Successfully built d7014266bf06 22:58:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:58:39 + docker inspect -f . ci-base-image-arm64 22:58:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:58:39 prd-ubuntu20.04-docker-arm64-4c-16g-116999 does not seem to be running inside a container 22:58:39 $ 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:58:40 $ docker top 1ed656bd0bc62c72cd60a5d71a3a1e5ac89401cb9844537bbe8dcffdaa3e0200 -eo pid,comm [Pipeline] { [Pipeline] sh 22:58:41 + go version 22:58:41 go version go1.18.7 linux/arm64 [Pipeline] } 22:58:41 $ docker stop --time=1 1ed656bd0bc62c72cd60a5d71a3a1e5ac89401cb9844537bbe8dcffdaa3e0200 22:58:43 $ docker rm -f 1ed656bd0bc62c72cd60a5d71a3a1e5ac89401cb9844537bbe8dcffdaa3e0200 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:58:44 + docker inspect -f . ci-base-image-arm64 22:58:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:58:44 prd-ubuntu20.04-docker-arm64-4c-16g-116999 does not seem to be running inside a container 22:58:44 $ 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:58:45 $ docker top f1f777b6e21786d88d162410d65950f55bbb3a832bf526798621c811376cb235 -eo pid,comm [Pipeline] { [Pipeline] sh 22:58:46 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 22:58:46 + make test 22:58:46 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 22:58:48 ? github.com/edgexfoundry/device-modbus-go [no test files] 23:00:10 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 23:00:10 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.059s coverage: 47.7% of statements 23:00:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:00:11 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:00:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:00:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:00:33 ./bin/test-attribution-txt.sh [Pipeline] echo 23:00:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:00:33 $ docker stop --time=1 f1f777b6e21786d88d162410d65950f55bbb3a832bf526798621c811376cb235 23:00:35 $ docker rm -f f1f777b6e21786d88d162410d65950f55bbb3a832bf526798621c811376cb235 [Pipeline] // withDockerContainer [Pipeline] sh 23:00:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:00:36 Warning: overwriting stash ‘coverage-report’ 23:00:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:00:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:00:37 + ls -al . 23:00:37 total 192 23:00:37 drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 22:58 . 23:00:37 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 22:56 .. 23:00:37 -rw-rw-r-- 1 jenkins jenkins 140 Oct 25 22:56 .dockerignore 23:00:37 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 22:56 .git 23:00:37 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:56 .github 23:00:37 -rw-rw-r-- 1 jenkins jenkins 331 Oct 25 22:56 .gitignore 23:00:37 -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 22:56 .golangci.yml 23:00:37 -rw-rw-r-- 1 jenkins jenkins 10121 Oct 25 22:56 Attribution.txt 23:00:37 -rw-rw-r-- 1 jenkins jenkins 10001 Oct 25 22:56 CHANGELOG.md 23:00:37 -rw-rw-r-- 1 jenkins jenkins 1517 Oct 25 22:56 Dockerfile 23:00:37 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 22:56 GOVERNANCE.md 23:00:37 -rw-rw-r-- 1 jenkins jenkins 680 Oct 25 22:56 Jenkinsfile 23:00:37 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 22:56 LICENSE 23:00:37 -rw-rw-r-- 1 jenkins jenkins 2101 Oct 25 22:56 Makefile 23:00:37 -rw-rw-r-- 1 jenkins jenkins 622 Oct 25 22:56 OWNERS.md 23:00:37 -rw-rw-r-- 1 jenkins jenkins 4061 Oct 25 22:56 README.md 23:00:37 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 22:54 VERSION 23:00:37 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 22:56 bin 23:00:37 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:56 cmd 23:00:37 -rw-r--r-- 1 jenkins jenkins 23241 Oct 25 23:00 coverage.out 23:00:37 -rw-rw-r-- 1 jenkins jenkins 3632 Oct 25 22:56 go.mod 23:00:37 -rw-rw-r-- 1 jenkins jenkins 45309 Oct 25 22:56 go.sum 23:00:37 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:56 internal 23:00:37 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 22:56 simulator 23:00:37 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 22:56 snap 23:00:37 -rw-rw-r-- 1 jenkins jenkins 229 Oct 25 22:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:00:37 + 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=fedc178e360bd096d52c4780e1d622283b62252c --label arch=arm64 --label version=0.0.0 . 23:00:38 Sending build context to Docker daemon 3.287MB 23:00:38 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 23:00:38 Step 2/23 : FROM ${BASE} AS builder 23:00:38 ---> d7014266bf06 23:00:38 Step 3/23 : ARG ADD_BUILD_TAGS="" 23:00:38 ---> Running in c32b9152da54 23:00:38 Removing intermediate container c32b9152da54 23:00:38 ---> a325f57a838b 23:00:38 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:00:38 ---> Running in e1d3d394ea15 23:00:39 Removing intermediate container e1d3d394ea15 23:00:39 ---> 52364170ed63 23:00:39 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 23:00:39 ---> Running in e488c544a442 23:00:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:00:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:00:41 OK: 228 MiB in 59 packages 23:00:42 Removing intermediate container e488c544a442 23:00:42 ---> e26b73c7dc77 23:00:42 Step 6/23 : WORKDIR /device-modbus-go 23:00:42 ---> Running in 67572fec725f 23:00:42 Removing intermediate container 67572fec725f 23:00:42 ---> 176584a0e33a 23:00:42 Step 7/23 : COPY go.mod vendor* ./ 23:00:43 ---> feee5bf66705 23:00:43 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:00:43 ---> Running in df3c17418e4d 23:00:45 Removing intermediate container df3c17418e4d 23:00:45 ---> 09148878f883 23:00:45 Step 9/23 : COPY . . 23:00:46 ---> f79e4bfc56c5 23:00:46 Step 10/23 : RUN ${MAKE} 23:00:46 ---> Running in 0b35057095f3 23:00:47 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 23:03:23 Removing intermediate container 0b35057095f3 23:03:23 ---> ba758be359d1 23:03:23 Step 11/23 : FROM alpine:3.14 23:03:23 3.14: Pulling from library/alpine 23:03:23 90cda3b7c325: Pulling fs layer 23:03:23 90cda3b7c325: Verifying Checksum 23:03:23 90cda3b7c325: Download complete 23:03:23 90cda3b7c325: Pull complete 23:03:23 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 23:03:23 Status: Downloaded newer image for alpine:3.14 23:03:23 ---> 376ba31ae3da 23:03:23 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 23:03:23 ---> Running in 9372dc0a8181 23:03:24 Removing intermediate container 9372dc0a8181 23:03:24 ---> 19ad5ba4c848 23:03:24 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:03:24 ---> Running in 9815a7fdccc2 23:03:25 Removing intermediate container 9815a7fdccc2 23:03:25 ---> 418e51b62db0 23:03:25 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 23:03:25 ---> Running in 42d097c4f530 23:03:26 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 23:03:27 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 23:03:28 (1/6) Installing dumb-init (1.2.5-r1) 23:03:28 (2/6) Installing libgcc (10.3.1_git20210424-r2) 23:03:29 (3/6) Installing libsodium (1.0.18-r0) 23:03:29 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 23:03:30 (5/6) Installing libzmq (4.3.4-r0) 23:03:30 (6/6) Installing zeromq (4.3.4-r0) 23:03:31 Executing busybox-1.33.1-r8.trigger 23:03:31 OK: 8 MiB in 20 packages 23:03:31 Removing intermediate container 42d097c4f530 23:03:31 ---> b51bfd8a1787 23:03:31 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 23:03:33 ---> 094aca0f7081 23:03:33 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 23:03:33 ---> a001d0897a28 23:03:33 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 23:03:34 ---> bc5d460d497c 23:03:34 Step 18/23 : EXPOSE 59901 23:03:34 ---> Running in 3ba1517156ad 23:03:34 Removing intermediate container 3ba1517156ad 23:03:34 ---> 54fe58a3ba90 23:03:34 Step 19/23 : ENTRYPOINT ["/device-modbus"] 23:03:34 ---> Running in ab8400216c61 23:03:34 Removing intermediate container ab8400216c61 23:03:34 ---> 6735cf462600 23:03:34 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:03:35 ---> Running in 690afa539049 23:03:35 Removing intermediate container 690afa539049 23:03:35 ---> c8e6b2fd677d 23:03:35 Step 21/23 : LABEL arch=arm64 23:03:35 ---> Running in d20c34386f41 23:03:35 Removing intermediate container d20c34386f41 23:03:35 ---> 0d6dcce2a219 23:03:35 Step 22/23 : LABEL git_sha=fedc178e360bd096d52c4780e1d622283b62252c 23:03:35 ---> Running in 68b4d40137f6 23:03:35 Removing intermediate container 68b4d40137f6 23:03:35 ---> 963f694ea060 23:03:35 Step 23/23 : LABEL version=0.0.0 23:03:35 ---> Running in cf4c7efa5b49 23:03:36 Removing intermediate container cf4c7efa5b49 23:03:36 ---> 31a7f585d14f 23:03:36 [Warning] One or more build-args [ARCH] were not consumed 23:03:36 Successfully built 31a7f585d14f 23:03:36 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 23:03:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:03:37 23:03:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:03:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:03:37 arm64: Pulling from edgex-lftools-log-publisher 23:03:37 8998bd30e6a1: Pulling fs layer 23:03:37 04944245beec: Pulling fs layer 23:03:37 699f458cf7ca: Pulling fs layer 23:03:37 765212b225bb: Pulling fs layer 23:03:37 f23df028b6ca: Pulling fs layer 23:03:37 d65c8cfc05b1: Pulling fs layer 23:03:37 2437ff75d9bd: Pulling fs layer 23:03:37 f23df028b6ca: Waiting 23:03:37 d65c8cfc05b1: Waiting 23:03:37 2437ff75d9bd: Waiting 23:03:37 765212b225bb: Waiting 23:03:37 04944245beec: Download complete 23:03:37 765212b225bb: Verifying Checksum 23:03:37 765212b225bb: Download complete 23:03:37 f23df028b6ca: Verifying Checksum 23:03:37 f23df028b6ca: Download complete 23:03:37 d65c8cfc05b1: Verifying Checksum 23:03:37 d65c8cfc05b1: Download complete 23:03:38 699f458cf7ca: Verifying Checksum 23:03:38 699f458cf7ca: Download complete 23:03:38 8998bd30e6a1: Verifying Checksum 23:03:38 8998bd30e6a1: Download complete 23:03:41 2437ff75d9bd: Verifying Checksum 23:03:41 2437ff75d9bd: Download complete 23:03:42 8998bd30e6a1: Pull complete 23:03:42 04944245beec: Pull complete 23:03:44 699f458cf7ca: Pull complete 23:03:44 765212b225bb: Pull complete 23:03:45 f23df028b6ca: Pull complete 23:03:45 d65c8cfc05b1: Pull complete 23:04:00 2437ff75d9bd: Pull complete 23:04:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:04:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:04:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:04:00 prd-ubuntu20.04-docker-arm64-4c-16g-116999 does not seem to be running inside a container 23:04:00 $ 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 23:04:03 $ docker top aa6556a3d6a1a0cc32c75ac2c441f174f4b94d57fc478bdc5d311351b72956ea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:04:04 ---> job-cost.sh 23:04:04 lf-activate-venv: SKIPPING 23:04:04 INFO: No Stack... 23:04:04 INFO: Retrieving Pricing Info for: v3-standard-4 23:04:05 INFO: Archiving Costs [Pipeline] sh 23:04:05 + + cut -d, -f6 23:04:05 cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock 23:04:06 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-387-1-stack-cost] 23:04:06 Resource [jenkins-edgexfoundry-device-modbus-go-PR-387-1-stack-cost] did not exist. Created. 23:04:06 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-387-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:04:06 /w/workspace/device-modbus-go/1@tmp/durable-02eeb558/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:04:07 + echo total: 0.10999999940395355 [Pipeline] stash 23:04:07 Warning: overwriting stash ‘stack-cost’ 23:04:07 Stashed 1 file(s) [Pipeline] } 23:04:07 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-387-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:04:07 $ docker stop --time=1 aa6556a3d6a1a0cc32c75ac2c441f174f4b94d57fc478bdc5d311351b72956ea 23:04:09 $ docker rm -f aa6556a3d6a1a0cc32c75ac2c441f174f4b94d57fc478bdc5d311351b72956ea [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 23:04:10 provisioning config files... 23:04:10 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-387@tmp/config4989977354544541903tmp [Pipeline] { [Pipeline] sh 23:04:10 + set +x 23:04:10 + curl -s https://codecov.io/bash 23:04:10 + bash -s -- 23:04:10 23:04:10 _____ _ 23:04:10 / ____| | | 23:04:10 | | ___ __| | ___ ___ _____ __ 23:04:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:04:10 | |___| (_) | (_| | __/ (_| (_) \ V / 23:04:10 \_____\___/ \__,_|\___|\___\___/ \_/ 23:04:10 Bash-1.0.6 23:04:10 23:04:10 23:04:10 ==> git version 2.25.1 found 23:04:10 ==> 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 23:04:10 Release-Date: 2020-01-08 23:04:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:04:10 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:04:10 ==> Jenkins CI detected. 23:04:10 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-387 23:04:10 project root: . 23:04:10 --> token set from env 23:04:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:04:10 ==> Running gcov in . (disable via -X gcov) 23:04:10 ==> Python coveragepy not found 23:04:10 ==> Searching for coverage reports in: 23:04:10 + . 23:04:10 -> Found 1 reports 23:04:10 ==> Detecting git/mercurial file structure 23:04:10 ==> Reading reports 23:04:10 + ./coverage.out bytes=23241 23:04:10 ==> Appending adjustments 23:04:10 https://docs.codecov.io/docs/fixing-reports 23:04:10 + Found adjustments 23:04:10 ==> Gzipping contents 23:04:10 4.0K /tmp/codecov.PwjTpX.gz 23:04:10 ==> Uploading reports 23:04:10 url: https://codecov.io 23:04:10 query: branch=PR-387&commit=fedc178e360bd096d52c4780e1d622283b62252c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-387%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=387&job=&cmd_args= 23:04:10 -> Pinging Codecov 23:04:10 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-387&commit=fedc178e360bd096d52c4780e1d622283b62252c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-387%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=387&job=&cmd_args= 23:04:10 -> Uploading to 23:04:10 https://storage.googleapis.com/codecov/v4/raw/2022-10-25/55DBCA73C666E3227836607328DD7E49/fedc178e360bd096d52c4780e1d622283b62252c/16fb967e-59d3-45b5-b489-39622993b9cf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221025T230410Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e353f018a8213646fface81c82282c888e7e0d3ab042f44a1adb3a5fd1d49601 23:04:10 % Total % Received % Xferd Average Speed Time Time Time Current 23:04:10 Dload Upload Total Spent Left Speed 23:04:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3911 0 0 100 3911 0 18023 --:--:-- --:--:-- --:--:-- 17940 100 3911 0 0 100 3911 0 18023 --:--:-- --:--:-- --:--:-- 17940 23:04:11 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/fedc178e360bd096d52c4780e1d622283b62252c [Pipeline] } 23:04:11 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 23:04:12 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-387/archives ] 23:04:12 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-387/archives 23:04:12 total 16 23:04:12 drwxr-xr-x 3 root root 4096 Oct 25 22:56 . 23:04:12 drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 22:56 .. 23:04:12 drwxr-xr-x 2 root root 4096 Oct 25 22:56 cost 23:04:12 -rw-r--r-- 1 root root 88 Oct 25 22:56 cost.csv 23:04:12 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-387/archives 23:04:12 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-387/archives 23:04:12 total 16 23:04:12 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 22:56 . 23:04:12 drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 22:56 .. 23:04:12 drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 22:56 cost 23:04:12 -rw-r--r-- 1 jenkins jenkins 88 Oct 25 22:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:04:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:04:13 ---> package-listing.sh 23:04:13 ++ facter osfamily 23:04:13 ++ tr '[:upper:]' '[:lower:]' 23:04:14 + OS_FAMILY=debian 23:04:14 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-387 23:04:14 + START_PACKAGES=/tmp/packages_start.txt 23:04:14 + END_PACKAGES=/tmp/packages_end.txt 23:04:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:04:14 + PACKAGES=/tmp/packages_start.txt 23:04:14 + '[' /w/workspace/xfoundry_device-modbus-go_PR-387 ']' 23:04:14 + PACKAGES=/tmp/packages_end.txt 23:04:14 + case "${OS_FAMILY}" in 23:04:14 + dpkg -l 23:04:14 + grep '^ii' 23:04:14 + '[' -f /tmp/packages_start.txt ']' 23:04:14 + '[' -f /tmp/packages_end.txt ']' 23:04:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:04:14 + '[' /w/workspace/xfoundry_device-modbus-go_PR-387 ']' 23:04:14 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-387/archives/ 23:04:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-387/archives/ [Pipeline] echo 23:04:14 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-387/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:04:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:04:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:04:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:04:15 prd-ubuntu20.04-docker-8c-8g-116997 does not seem to be running inside a container 23:04:15 $ 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-387/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-387 -v /w/workspace/xfoundry_device-modbus-go_PR-387:/w/workspace/xfoundry_device-modbus-go_PR-387:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-387@tmp:/w/workspace/xfoundry_device-modbus-go_PR-387@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:04:15 $ docker top 21770ea87bad9c8c0f980c74b6d7686c380fcca8101bbe6e352743f3d4848f9c -eo pid,comm [Pipeline] { [Pipeline] sh 23:04:15 + touch /tmp/pre-build-complete [Pipeline] sh 23:04:16 + mkdir -p /var/log/sysstat [Pipeline] sh 23:04:16 + ls /var/log/sa-host 23:04:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:04:16 provisioning config files... 23:04:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-387@tmp/config14308113691582258604tmp [Pipeline] { [Pipeline] echo 23:04:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:04:16 ---> create-netrc.sh [Pipeline] } 23:04:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:04:17 ---> python-tools-install.sh [Pipeline] echo 23:04:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:04:17 ---> sudo-logs.sh 23:04:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:04:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:04:18 ---> job-cost.sh 23:04:18 lf-activate-venv: SKIPPING 23:04:18 DEBUG: total: 0.2199999988079071 23:04:18 INFO: Retrieving Stack Cost... 23:04:18 INFO: Retrieving Pricing Info for: v3-standard-8 23:04:18 INFO: Archiving Costs [Pipeline] echo 23:04:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:04:19 ---> logs-deploy.sh 23:04:19 lf-activate-venv: SKIPPING 23:04:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-387/1 23:04:19 INFO: archiving workspace using pattern(s): 23:04:20 Archives upload complete. 23:04:20 INFO: archiving logs to Nexus