MightyNerdEric commented: recheck 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 hahattan for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 06793bab58e7c96f55e1d5bab0fce9523936b0bb+0402772c8535e80a39149c240333cd83d56188f2 (7071948ef1d86522dc323145a08c5715ba5d1fc8) 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-ssh15257622770690353670.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-ssh6816695507575642065.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-386/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-386/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1105775296310677209.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 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-ssh9874139805074062565.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-386/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-386/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4254013028637951830.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 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-116836 in /w/workspace/xfoundry_device-modbus-go_PR-386 [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-386 # 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/386/head:refs/remotes/origin/PR-386 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0402772c8535e80a39149c240333cd83d56188f2 into PR head commit 06793bab58e7c96f55e1d5bab0fce9523936b0bb Merge succeeded, producing 06793bab58e7c96f55e1d5bab0fce9523936b0bb Checking out Revision 06793bab58e7c96f55e1d5bab0fce9523936b0bb (PR-386) > git config core.sparsecheckout # timeout=10 > git checkout -f 06793bab58e7c96f55e1d5bab0fce9523936b0bb # 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 0402772c8535e80a39149c240333cd83d56188f2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 06793bab58e7c96f55e1d5bab0fce9523936b0bb # timeout=10 Commit message: "fix: update command request and response topic" > git rev-list --no-walk 06793bab58e7c96f55e1d5bab0fce9523936b0bb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:09:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:09:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:09:59 ========================================================= 10:09:59 EdgeX Global Pipelines Version Info 10:09:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:10:00 ------------------- 10:10:00 stable info: 10:10:00 ------------------- 10:10:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:10:00 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 10:10:00 Message: update stable to v1.0.243 10:10:01 ------------------- 10:10:01 experimental info: 10:10:01 ------------------- 10:10:01 Commited By: **** collab-it+edgex@linuxfoundation.org 10:10:01 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 10:10:01 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:10:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 10:10:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 10:10:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:10:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:10:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:10:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 10:10:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:10:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:10:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:10:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:10:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:10:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 10:10:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:10:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:10:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:10:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:10:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:10:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:10:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:10:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:10:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:10:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:10:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:10:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:10:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:10:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:10:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:10:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-386 [Pipeline] echo 10:10:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-386 [Pipeline] echo 10:10:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-386 [Pipeline] echo 10:10:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 06793bab58e7c96f55e1d5bab0fce9523936b0bb [Pipeline] echo 10:10:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 06793ba [Pipeline] echo 10:10:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:10:01 provisioning config files... 10:10:01 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-386@tmp/config8491007632477205048tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:10:01 ---> docker-login.sh 10:10:01 nexus3.edgexfoundry.org:10001 10:10:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:02 Configure a credential helper to remove this warning. See 10:10:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:02 10:10:02 Login Succeeded 10:10:02 nexus3.edgexfoundry.org:10002 10:10:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:02 Configure a credential helper to remove this warning. See 10:10:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:02 10:10:02 Login Succeeded 10:10:02 nexus3.edgexfoundry.org:10003 10:10:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:02 Configure a credential helper to remove this warning. See 10:10:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:02 10:10:02 Login Succeeded 10:10:02 nexus3.edgexfoundry.org:10004 10:10:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:03 Configure a credential helper to remove this warning. See 10:10:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:03 10:10:03 Login Succeeded 10:10:03 docker.io 10:10:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:03 Configure a credential helper to remove this warning. See 10:10:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:03 10:10:03 Login Succeeded 10:10:03 ---> docker-login.sh ends [Pipeline] } 10:10:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:10:03 + git rev-list -1 --merges 06793bab58e7c96f55e1d5bab0fce9523936b0bb~1..06793bab58e7c96f55e1d5bab0fce9523936b0bb [Pipeline] echo 10:10:04 -----------> git rev-list -1 --merges 06793bab58e7c96f55e1d5bab0fce9523936b0bb~1..06793bab58e7c96f55e1d5bab0fce9523936b0bb 06793bab58e7c96f55e1d5bab0fce9523936b0bb [false] [Pipeline] sh 10:10:04 + git log --format=format:%s -1 06793bab58e7c96f55e1d5bab0fce9523936b0bb [Pipeline] echo 10:10:04 ========================================================= 10:10:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:10:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:10:04 + git log --format=format:%s -1 06793bab58e7c96f55e1d5bab0fce9523936b0bb [Pipeline] echo 10:10:04 [semverPrep] GIT_COMMIT: 06793bab58e7c96f55e1d5bab0fce9523936b0bb, Commit Message: fix: update command request and response topic [Pipeline] echo 10:10:04 [semverPrep] This is not a build commit. [Pipeline] sh 10:10:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:10:05 + grep -v github /etc/ssh/ssh_known_hosts 10:10:05 + [ -e /tmp/ssh_known_hosts ] 10:10:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:10:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:10:05 + sudo tee -a /etc/ssh/ssh_known_hosts 10:10:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:10:05 10:10:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:10:05 0.1.4: Pulling from edgex-devops/py-git-semver 10:10:05 b85a868b505f: Pulling fs layer 10:10:05 e2be974225ed: Pulling fs layer 10:10:05 339a4e72a1f5: Pulling fs layer 10:10:05 988bab9f4d93: Pulling fs layer 10:10:05 1469e6f7b9e6: Pulling fs layer 10:10:05 eaf3925da568: Pulling fs layer 10:10:05 bab4dde63d76: Pulling fs layer 10:10:05 bde34c3a00c8: Pulling fs layer 10:10:05 b352a97aabf1: Pulling fs layer 10:10:05 4872d77fe225: Pulling fs layer 10:10:05 5851b861e8e6: Pulling fs layer 10:10:05 988bab9f4d93: Waiting 10:10:05 1469e6f7b9e6: Waiting 10:10:05 b352a97aabf1: Waiting 10:10:05 4872d77fe225: Waiting 10:10:05 5851b861e8e6: Waiting 10:10:05 bde34c3a00c8: Waiting 10:10:05 bab4dde63d76: Waiting 10:10:05 eaf3925da568: Waiting 10:10:05 e2be974225ed: Verifying Checksum 10:10:05 e2be974225ed: Download complete 10:10:05 988bab9f4d93: Verifying Checksum 10:10:05 988bab9f4d93: Download complete 10:10:06 1469e6f7b9e6: Verifying Checksum 10:10:06 1469e6f7b9e6: Download complete 10:10:06 339a4e72a1f5: Verifying Checksum 10:10:06 339a4e72a1f5: Download complete 10:10:06 eaf3925da568: Verifying Checksum 10:10:06 eaf3925da568: Download complete 10:10:06 bde34c3a00c8: Verifying Checksum 10:10:06 bde34c3a00c8: Download complete 10:10:06 b352a97aabf1: Verifying Checksum 10:10:06 b352a97aabf1: Download complete 10:10:06 4872d77fe225: Verifying Checksum 10:10:06 4872d77fe225: Download complete 10:10:06 5851b861e8e6: Download complete 10:10:06 b85a868b505f: Verifying Checksum 10:10:06 b85a868b505f: Download complete 10:10:06 bab4dde63d76: Verifying Checksum 10:10:06 bab4dde63d76: Download complete 10:10:07 b85a868b505f: Pull complete 10:10:07 e2be974225ed: Pull complete 10:10:07 339a4e72a1f5: Pull complete 10:10:07 988bab9f4d93: Pull complete 10:10:08 1469e6f7b9e6: Pull complete 10:10:08 eaf3925da568: Pull complete 10:10:10 bab4dde63d76: Pull complete 10:10:10 bde34c3a00c8: Pull complete 10:10:10 b352a97aabf1: Pull complete 10:10:10 4872d77fe225: Pull complete 10:10:10 5851b861e8e6: Pull complete 10:10:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:10:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:10:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:10:10 prd-ubuntu20.04-docker-8c-8g-116836 does not seem to be running inside a container 10:10:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-386 -v /w/workspace/xfoundry_device-modbus-go_PR-386:/w/workspace/xfoundry_device-modbus-go_PR-386:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-386@tmp:/w/workspace/xfoundry_device-modbus-go_PR-386@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-devops/py-git-semver:0.1.4 cat 10:10:12 $ docker top 379200b66a32e41c734cf78b099029fb5c68fc77acf3d68a45822c73c86a1f82 -eo pid,comm 10:10:12 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). 10:10:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:10:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:10:12 [ssh-agent] Looking for ssh-agent implementation... 10:10:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:10:12 $ docker exec 379200b66a32e41c734cf78b099029fb5c68fc77acf3d68a45822c73c86a1f82 ssh-agent 10:10:12 SSH_AUTH_SOCK=/tmp/ssh-FgLZt00PtKRQ/agent.15 10:10:12 SSH_AGENT_PID=22 10:10:12 Running ssh-add (command line suppressed) 10:10:12 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-386@tmp/private_key_7713297932792583021.key (/w/workspace/xfoundry_device-modbus-go_PR-386@tmp/private_key_7713297932792583021.key) 10:10:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:10:13 + git tag --points-at HEAD [Pipeline] } 10:10:13 $ docker exec --env ******** --env ******** 379200b66a32e41c734cf78b099029fb5c68fc77acf3d68a45822c73c86a1f82 ssh-agent -k 10:10:13 unset SSH_AUTH_SOCK; 10:10:13 unset SSH_AGENT_PID; 10:10:13 echo Agent pid 22 killed; 10:10:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:10:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:10:13 [ssh-agent] Looking for ssh-agent implementation... 10:10:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:10:13 $ docker exec 379200b66a32e41c734cf78b099029fb5c68fc77acf3d68a45822c73c86a1f82 ssh-agent 10:10:13 SSH_AUTH_SOCK=/tmp/ssh-XXm4hQ1K2xjz/agent.73 10:10:13 SSH_AGENT_PID=79 10:10:13 Running ssh-add (command line suppressed) 10:10:13 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-386@tmp/private_key_16840446342782813094.key (/w/workspace/xfoundry_device-modbus-go_PR-386@tmp/private_key_16840446342782813094.key) 10:10:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:10:13 + git semver init 10:10:14 2022-10-25 10:10:14,096 [run_init] DEBUG init version:0.0.0 force:False 10:10:14 2022-10-25 10:10:14,097 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-386/.semver 10:10:14 2022-10-25 10:10:14,098 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-386/.semver 10:10:14 2022-10-25 10:10:14,098 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-386/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-386, universal_newlines=False, shell=None, istream=None) 10:10:15 2022-10-25 10:10:15,021 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-386/.git/info/exclude 10:10:15 2022-10-25 10:10:15,022 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-386/.semver/PR-386 with force:False 10:10:15 2022-10-25 10:10:15,022 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-386/.semver/PR-386 10:10:15 2022-10-25 10:10:15,027 [execute] INFO git cat-file --batch-check 10:10:15 2022-10-25 10:10:15,027 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-386/.semver, universal_newlines=False, shell=None, istream=) 10:10:15 2022-10-25 10:10:15,033 [execute] INFO git cat-file --batch 10:10:15 2022-10-25 10:10:15,033 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-386/.semver, universal_newlines=False, shell=None, istream=) 10:10:15 2022-10-25 10:10:15,041 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-386/.semver/PR-386 10:10:15 0.0.0 [Pipeline] } 10:10:15 $ docker exec --env ******** --env ******** 379200b66a32e41c734cf78b099029fb5c68fc77acf3d68a45822c73c86a1f82 ssh-agent -k 10:10:15 unset SSH_AUTH_SOCK; 10:10:15 unset SSH_AGENT_PID; 10:10:15 echo Agent pid 79 killed; 10:10:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:10:15 + git semver [Pipeline] } 10:10:15 $ docker stop --time=1 379200b66a32e41c734cf78b099029fb5c68fc77acf3d68a45822c73c86a1f82 10:10:17 $ docker rm -f 379200b66a32e41c734cf78b099029fb5c68fc77acf3d68a45822c73c86a1f82 [Pipeline] // withDockerContainer [Pipeline] sh 10:10:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:10:17 Stashed 1 file(s) [Pipeline] echo 10:10:17 [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 10:10:17 provisioning config files... 10:10:17 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-386@tmp/config8963550321991042406tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:10:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-116833 in /w/workspace/xfoundry_device-modbus-go_PR-386 [Pipeline] { [Pipeline] ws 10:10:18 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 10:10:18 Selected Git installation does not exist. Using Default 10:10:18 The recommended git tool is: NONE 10:10:18 ---> docker-login.sh 10:10:18 nexus3.edgexfoundry.org:10001 10:10:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:18 Configure a credential helper to remove this warning. See 10:10:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:18 10:10:18 Login Succeeded 10:10:18 nexus3.edgexfoundry.org:10002 10:10:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:18 Configure a credential helper to remove this warning. See 10:10:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:18 10:10:18 Login Succeeded 10:10:18 nexus3.edgexfoundry.org:10003 10:10:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:18 Configure a credential helper to remove this warning. See 10:10:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:18 10:10:18 Login Succeeded 10:10:18 nexus3.edgexfoundry.org:10004 10:10:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:18 Configure a credential helper to remove this warning. See 10:10:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:18 10:10:18 Login Succeeded 10:10:18 docker.io 10:10:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:18 Configure a credential helper to remove this warning. See 10:10:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:18 10:10:18 Login Succeeded 10:10:18 ---> docker-login.sh ends [Pipeline] } 10:10:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:10:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:10:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:10:18 ========================================================= 10:10:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 10:10:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:19 + 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 . 10:10:19 Sending build context to Docker daemon 6.212MB 10:10:19 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 10:10:19 Step 2/11 : FROM ${BASE} AS builder 10:10:19 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 10:10:19 213ec9aee27d: Pulling fs layer 10:10:19 4583459ba037: Pulling fs layer 10:10:19 93c1e223e6f2: Pulling fs layer 10:10:19 53926ce57604: Pulling fs layer 10:10:19 21b2b0c7a3f4: Pulling fs layer 10:10:19 30f14e443154: Pulling fs layer 10:10:19 801331c1e519: Pulling fs layer 10:10:19 99cc6dd402b0: Pulling fs layer 10:10:19 7d9ed39f4882: Pulling fs layer 10:10:19 53926ce57604: Waiting 10:10:19 21b2b0c7a3f4: Waiting 10:10:19 30f14e443154: Waiting 10:10:19 801331c1e519: Waiting 10:10:19 99cc6dd402b0: Waiting 10:10:19 7d9ed39f4882: Waiting 10:10:19 93c1e223e6f2: Download complete 10:10:19 4583459ba037: Download complete 10:10:19 21b2b0c7a3f4: Verifying Checksum 10:10:19 21b2b0c7a3f4: Download complete 10:10:19 30f14e443154: Verifying Checksum 10:10:19 30f14e443154: Download complete 10:10:19 213ec9aee27d: Verifying Checksum 10:10:19 213ec9aee27d: Download complete 10:10:19 801331c1e519: Download complete 10:10:19 213ec9aee27d: Pull complete 10:10:19 4583459ba037: Pull complete 10:10:19 93c1e223e6f2: Pull complete 10:10:19 7d9ed39f4882: Verifying Checksum 10:10:19 7d9ed39f4882: Download complete 10:10:20 53926ce57604: Verifying Checksum 10:10:20 53926ce57604: Download complete 10:10:20 99cc6dd402b0: Verifying Checksum 10:10:20 99cc6dd402b0: Download complete 10:10:23 using credential edgex-jenkins-ssh 10:10:23 Cloning the remote Git repository 10:10:23 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 10:10:23 > git init /w/workspace/device-modbus-go/2 # timeout=10 10:10:24 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 10:10:24 > git --version # timeout=10 10:10:24 > git --version # 'git version 2.25.1' 10:10:24 using GIT_SSH to set credentials SSH Credentials for GitHub 10:10:24 Verifying host key using known hosts file 10:10:24 53926ce57604: Pull complete 10:10:24 21b2b0c7a3f4: Pull complete 10:10:24 30f14e443154: Pull complete 10:10:24 801331c1e519: Pull complete 10:10:24 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. 10:10:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:10:26 99cc6dd402b0: Pull complete 10:10:25 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 10:10:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:10:26 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 10:10:26 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 10:10:26 using GIT_SSH to set credentials SSH Credentials for GitHub 10:10:26 Verifying host key using known hosts file 10:10:26 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. 10:10:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/386/head:refs/remotes/origin/PR-386 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:10:27 7d9ed39f4882: Pull complete 10:10:27 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 10:10:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 10:10:27 ---> 1dedd983c030 10:10:27 Step 3/11 : ARG ADD_BUILD_TAGS="" 10:10:27 Merging remotes/origin/main commit 0402772c8535e80a39149c240333cd83d56188f2 into PR head commit 06793bab58e7c96f55e1d5bab0fce9523936b0bb 10:10:27 Merge succeeded, producing 06793bab58e7c96f55e1d5bab0fce9523936b0bb 10:10:27 Checking out Revision 06793bab58e7c96f55e1d5bab0fce9523936b0bb (PR-386) 10:10:27 > git config core.sparsecheckout # timeout=10 10:10:27 > git checkout -f 06793bab58e7c96f55e1d5bab0fce9523936b0bb # timeout=10 10:10:27 > git remote # timeout=10 10:10:27 > git config --get remote.origin.url # timeout=10 10:10:27 using GIT_SSH to set credentials SSH Credentials for GitHub 10:10:27 Verifying host key using known hosts file 10:10:27 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. 10:10:27 > git merge 0402772c8535e80a39149c240333cd83d56188f2 # timeout=10 10:10:27 > git rev-parse HEAD^{commit} # timeout=10 10:10:27 > git config core.sparsecheckout # timeout=10 10:10:27 > git checkout -f 06793bab58e7c96f55e1d5bab0fce9523936b0bb # timeout=10 10:10:31 Commit message: "fix: update command request and response topic" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:10:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:10:32 % Total % Received % Xferd Average Speed Time Time Time Current 10:10:32 Dload Upload Total Spent Left Speed 10:10:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 97k 0 --:--:-- --:--:-- --:--:-- 97k 10:10:32 ---> Running in 673de520e02b [Pipeline] sh 10:10:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:10:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:10:33 + sudo tee /etc/docker/daemon.new 10:10:33 { 10:10:33 "registry-mirrors": [ 10:10:33 "https://nexus3.edgexfoundry.org:10001" 10:10:33 ], 10:10:33 "bip": "10.250.0.254/24", 10:10:33 "hosts": [ 10:10:33 "tcp://0.0.0.0:5555", 10:10:33 "unix:///var/run/docker.sock" 10:10:33 ], 10:10:33 "mtu": 1458, 10:10:33 "selinux-enabled": true, 10:10:33 "seccomp-profile": "/etc/docker/seccomp.json" 10:10:33 } [Pipeline] sh 10:10:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:10:33 Removing intermediate container 673de520e02b 10:10:33 ---> 1ac815818633 10:10:33 Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:10:33 ---> Running in d03aae62f871 10:10:33 + sudo service docker restart 10:10:33 Removing intermediate container d03aae62f871 10:10:33 ---> e3fe6c30c020 10:10:33 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:10:34 ---> Running in f1ae6952a4de 10:10:35 Removing intermediate container f1ae6952a4de 10:10:35 ---> 7511b4e2b1fd 10:10:35 Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 10:10:35 ---> Running in d45a1dace099 10:10:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:10:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:10:36 (1/8) Installing openssh-keygen (9.0_p1-r2) 10:10:36 (2/8) Installing libedit (20210910.3.1-r0) 10:10:36 (3/8) Installing openssh-client-common (9.0_p1-r2) 10:10:36 (4/8) Installing openssh-client-default (9.0_p1-r2) 10:10:36 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 10:10:37 (6/8) Installing openssh-server-common (9.0_p1-r2) 10:10:37 (7/8) Installing openssh-server (9.0_p1-r2) 10:10:37 (8/8) Installing openssh (9.0_p1-r2) 10:10:37 Executing busybox-1.35.0-r17.trigger 10:10:37 OK: 217 MiB in 59 packages 10:10:37 Removing intermediate container d45a1dace099 10:10:37 ---> ec5c236a6f4c 10:10:37 Step 7/11 : WORKDIR /device-modbus-go 10:10:37 ---> Running in 8f95f6c843fd 10:10:37 Removing intermediate container 8f95f6c843fd 10:10:37 ---> 887d6c6e1651 10:10:37 Step 8/11 : COPY go.mod vendor* ./ 10:10:38 ---> dacc1a36d371 10:10:38 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:10:38 ---> Running in a4a4c5bd87d7 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:10:52 provisioning config files... 10:10:52 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config9427987466314098517tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:10:52 ---> docker-login.sh 10:10:52 nexus3.edgexfoundry.org:10001 10:10:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:53 Configure a credential helper to remove this warning. See 10:10:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:53 10:10:53 Login Succeeded 10:10:53 nexus3.edgexfoundry.org:10002 10:10:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:53 Configure a credential helper to remove this warning. See 10:10:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:53 10:10:53 Login Succeeded 10:10:53 nexus3.edgexfoundry.org:10003 10:10:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:54 Configure a credential helper to remove this warning. See 10:10:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:54 10:10:54 Login Succeeded 10:10:54 nexus3.edgexfoundry.org:10004 10:10:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:54 Configure a credential helper to remove this warning. See 10:10:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:54 10:10:54 Login Succeeded 10:10:54 docker.io 10:10:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:55 Configure a credential helper to remove this warning. See 10:10:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:55 10:10:55 Login Succeeded 10:10:55 ---> docker-login.sh ends [Pipeline] } 10:10:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:10:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:10:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:10:55 ========================================================= 10:10:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 10:10:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:55 + 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 . 10:10:55 Sending build context to Docker daemon 3.236MB 10:10:55 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 10:10:55 Step 2/11 : FROM ${BASE} AS builder 10:10:56 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:10:56 9b18e9b68314: Pulling fs layer 10:10:56 d32db5db7311: Pulling fs layer 10:10:56 d0c4b47475fc: Pulling fs layer 10:10:56 5831b945b038: Pulling fs layer 10:10:56 86bbec2aaacd: Pulling fs layer 10:10:56 e10730c5d714: Pulling fs layer 10:10:56 5dd5c2283517: Pulling fs layer 10:10:56 d5ac0230b979: Pulling fs layer 10:10:56 5831b945b038: Waiting 10:10:56 e10730c5d714: Waiting 10:10:56 5dd5c2283517: Waiting 10:10:56 d5ac0230b979: Waiting 10:10:56 86bbec2aaacd: Waiting 10:10:56 d0c4b47475fc: Verifying Checksum 10:10:56 d0c4b47475fc: Download complete 10:10:56 d32db5db7311: Verifying Checksum 10:10:56 d32db5db7311: Download complete 10:10:56 86bbec2aaacd: Verifying Checksum 10:10:56 86bbec2aaacd: Download complete 10:10:56 9b18e9b68314: Verifying Checksum 10:10:56 9b18e9b68314: Download complete 10:10:56 e10730c5d714: Verifying Checksum 10:10:56 e10730c5d714: Download complete 10:10:57 9b18e9b68314: Pull complete 10:10:57 d5ac0230b979: Verifying Checksum 10:10:57 d5ac0230b979: Download complete 10:10:58 d32db5db7311: Pull complete 10:10:58 d0c4b47475fc: Pull complete 10:10:58 5dd5c2283517: Verifying Checksum 10:10:58 5dd5c2283517: Download complete 10:10:59 5831b945b038: Verifying Checksum 10:10:59 5831b945b038: Download complete 10:11:00 Removing intermediate container a4a4c5bd87d7 10:11:00 ---> 4a1e691a3c2b 10:11:00 Step 10/11 : COPY . . 10:11:00 ---> b6ace5535167 10:11:00 Step 11/11 : RUN ${MAKE} 10:11:00 ---> Running in e7417e32dcd5 10:11:00 noop 10:11:01 Removing intermediate container e7417e32dcd5 10:11:01 ---> 9fe602c7e922 10:11:01 Successfully built 9fe602c7e922 10:11:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:01 + docker inspect -f . ci-base-image-x86_64 10:11:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:11:01 prd-ubuntu20.04-docker-8c-8g-116836 does not seem to be running inside a container 10:11:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-386 -v /w/workspace/xfoundry_device-modbus-go_PR-386:/w/workspace/xfoundry_device-modbus-go_PR-386:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-386@tmp:/w/workspace/xfoundry_device-modbus-go_PR-386@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:11:02 $ docker top 147f7c1ea07f936742492fd18d045da87c16fff84d42c5d69b9613150271753e -eo pid,comm [Pipeline] { [Pipeline] sh 10:11:02 + go version 10:11:02 go version go1.18.7 linux/amd64 [Pipeline] } 10:11:02 $ docker stop --time=1 147f7c1ea07f936742492fd18d045da87c16fff84d42c5d69b9613150271753e 10:11:03 $ docker rm -f 147f7c1ea07f936742492fd18d045da87c16fff84d42c5d69b9613150271753e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:04 + docker inspect -f . ci-base-image-x86_64 10:11:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:11:04 prd-ubuntu20.04-docker-8c-8g-116836 does not seem to be running inside a container 10:11:04 $ 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-386 -v /w/workspace/xfoundry_device-modbus-go_PR-386:/w/workspace/xfoundry_device-modbus-go_PR-386:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-386@tmp:/w/workspace/xfoundry_device-modbus-go_PR-386@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:11:04 $ docker top 3f4a626977bfdfa3ea4b138fa4ffa66dac61b1ccb1f15454b8eede59ac0dd898 -eo pid,comm [Pipeline] { [Pipeline] sh 10:11:05 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-386 [Pipeline] fileExists [Pipeline] sh 10:11:05 + make test 10:11:05 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 10:11:05 ? github.com/edgexfoundry/device-modbus-go [no test files] 10:11:15 5831b945b038: Pull complete 10:11:15 86bbec2aaacd: Pull complete 10:11:15 e10730c5d714: Pull complete 10:11:15 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 10:11:15 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.7% of statements 10:11:19 5dd5c2283517: Pull complete 10:11:20 d5ac0230b979: Pull complete 10:11:20 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 10:11:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 10:11:20 ---> 59b3b1a385d4 10:11:20 Step 3/11 : ARG ADD_BUILD_TAGS="" 10:11:20 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." 10:11:20 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:11:23 ---> Running in 56ae0fe70ba3 10:11:23 Removing intermediate container 56ae0fe70ba3 10:11:23 ---> 4edc487be63b 10:11:23 Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:11:23 ---> Running in 589b7e7e700e 10:11:23 Removing intermediate container 589b7e7e700e 10:11:23 ---> c4fe22f35aa2 10:11:23 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:11:23 ---> Running in e78f0a28179a 10:11:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:11:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:11:24 ./bin/test-attribution-txt.sh [Pipeline] echo 10:11:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:11:24 $ docker stop --time=1 3f4a626977bfdfa3ea4b138fa4ffa66dac61b1ccb1f15454b8eede59ac0dd898 10:11:25 Removing intermediate container e78f0a28179a 10:11:25 ---> c184e1e7df01 10:11:25 Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 10:11:25 ---> Running in f1c7aaa190f7 10:11:26 $ docker rm -f 3f4a626977bfdfa3ea4b138fa4ffa66dac61b1ccb1f15454b8eede59ac0dd898 10:11:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [Pipeline] // withDockerContainer [Pipeline] sh 10:11:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:11:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:11:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:11:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:11:27 + ls -al . 10:11:27 total 188 10:11:27 drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 10:11 . 10:11:27 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 10:09 .. 10:11:27 -rw-rw-r-- 1 jenkins jenkins 140 Oct 25 10:09 .dockerignore 10:11:27 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 10:11 .git 10:11:27 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 10:09 .github 10:11:27 -rw-rw-r-- 1 jenkins jenkins 331 Oct 25 10:09 .gitignore 10:11:27 -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 10:09 .golangci.yml 10:11:27 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 10:10 .semver 10:11:27 -rw-rw-r-- 1 jenkins jenkins 10121 Oct 25 10:09 Attribution.txt 10:11:27 -rw-rw-r-- 1 jenkins jenkins 10001 Oct 25 10:09 CHANGELOG.md 10:11:27 -rw-rw-r-- 1 jenkins jenkins 1606 Oct 25 10:09 Dockerfile 10:11:27 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 10:09 GOVERNANCE.md 10:11:27 -rw-rw-r-- 1 jenkins jenkins 680 Oct 25 10:09 Jenkinsfile 10:11:27 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 10:09 LICENSE 10:11:27 -rw-rw-r-- 1 jenkins jenkins 2101 Oct 25 10:09 Makefile 10:11:27 -rw-rw-r-- 1 jenkins jenkins 622 Oct 25 10:09 OWNERS.md 10:11:27 -rw-rw-r-- 1 jenkins jenkins 4061 Oct 25 10:09 README.md 10:11:27 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 10:10 VERSION 10:11:27 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 10:09 bin 10:11:27 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 10:09 cmd 10:11:27 -rw-r--r-- 1 jenkins jenkins 23241 Oct 25 10:11 coverage.out 10:11:27 -rw-rw-r-- 1 jenkins jenkins 3643 Oct 25 10:09 go.mod 10:11:27 -rw-rw-r-- 1 jenkins jenkins 38288 Oct 25 10:09 go.sum 10:11:27 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 10:09 internal 10:11:27 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 10:09 simulator 10:11:27 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 10:09 snap 10:11:27 -rw-rw-r-- 1 jenkins jenkins 229 Oct 25 10:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:28 + 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=06793bab58e7c96f55e1d5bab0fce9523936b0bb --label arch=amd64 --label version=0.0.0 . 10:11:28 Sending build context to Docker daemon 6.236MB 10:11:28 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 10:11:28 Step 2/24 : FROM ${BASE} AS builder 10:11:28 ---> 9fe602c7e922 10:11:28 Step 3/24 : ARG ADD_BUILD_TAGS="" 10:11:28 ---> Running in 0ca05a200ec4 10:11:28 Removing intermediate container 0ca05a200ec4 10:11:28 ---> 06eb65f29dd6 10:11:28 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:11:28 ---> Running in a32f6eba56fd 10:11:28 Removing intermediate container a32f6eba56fd 10:11:28 ---> b344dc2010b7 10:11:28 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:11:28 ---> Running in d0befbb9b0f7 10:11:28 (1/8) Installing openssh-keygen (9.0_p1-r2) 10:11:28 (2/8) Installing libedit (20210910.3.1-r0) 10:11:28 (3/8) Installing openssh-client-common (9.0_p1-r2) 10:11:29 Removing intermediate container d0befbb9b0f7 10:11:29 ---> 6210846b3073 10:11:29 Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 10:11:29 ---> Running in cce6f8e865d4 10:11:29 (4/8) Installing openssh-client-default (9.0_p1-r2) 10:11:29 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 10:11:29 (6/8) Installing openssh-server-common (9.0_p1-r2) 10:11:29 (7/8) Installing openssh-server (9.0_p1-r2) 10:11:29 (8/8) Installing openssh (9.0_p1-r2) 10:11:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:11:29 Executing busybox-1.35.0-r17.trigger 10:11:29 OK: 228 MiB in 59 packages 10:11:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:11:30 Removing intermediate container f1c7aaa190f7 10:11:30 ---> d427c4c6718d 10:11:30 Step 7/11 : WORKDIR /device-modbus-go 10:11:30 ---> Running in 803da89b1f9b 10:11:30 OK: 217 MiB in 59 packages 10:11:30 Removing intermediate container cce6f8e865d4 10:11:30 ---> 33d57ee38dfd 10:11:30 Step 7/24 : WORKDIR /device-modbus-go 10:11:30 ---> Running in 344e7c048541 10:11:30 Removing intermediate container 344e7c048541 10:11:30 ---> 76fe75b636f4 10:11:30 Step 8/24 : COPY go.mod vendor* ./ 10:11:31 Removing intermediate container 803da89b1f9b 10:11:31 ---> 47aaa63027aa 10:11:31 Step 8/11 : COPY go.mod vendor* ./ 10:11:31 ---> 8f104d1d9f20 10:11:31 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:11:31 ---> Running in dacde9d9b58b 10:11:31 ---> f6ae87e697f1 10:11:31 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:11:31 ---> Running in 71b361188f42 10:11:31 Removing intermediate container dacde9d9b58b 10:11:31 ---> f86be4799c38 10:11:31 Step 10/24 : COPY . . 10:11:32 ---> 409f79876a4b 10:11:32 Step 11/24 : RUN ${MAKE} 10:11:32 ---> Running in 88191b7a1361 10:11:32 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 10:11:54 Removing intermediate container 88191b7a1361 10:11:54 ---> c417cb21b5ee 10:11:54 Step 12/24 : FROM alpine:3.14 10:11:54 3.14: Pulling from library/alpine 10:11:54 c7ed990a2339: Pulling fs layer 10:11:54 c7ed990a2339: Verifying Checksum 10:11:54 c7ed990a2339: Download complete 10:11:55 c7ed990a2339: Pull complete 10:11:55 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 10:11:55 Status: Downloaded newer image for alpine:3.14 10:11:55 ---> dd53f409bf0b 10:11:55 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 10:11:55 ---> Running in e9c5e4349482 10:11:55 Removing intermediate container e9c5e4349482 10:11:55 ---> ff3e3a542557 10:11:55 Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:11:55 ---> Running in 521666c73ce1 10:11:55 Removing intermediate container 521666c73ce1 10:11:55 ---> ada91279888c 10:11:55 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 10:11:55 ---> Running in 7abcee1a2eff 10:11:56 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 10:11:57 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 10:11:57 (1/6) Installing dumb-init (1.2.5-r1) 10:11:57 (2/6) Installing libgcc (10.3.1_git20210424-r2) 10:11:57 (3/6) Installing libsodium (1.0.18-r0) 10:11:57 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 10:11:57 (5/6) Installing libzmq (4.3.4-r0) 10:11:57 (6/6) Installing zeromq (4.3.4-r0) 10:11:57 Executing busybox-1.33.1-r8.trigger 10:11:57 OK: 8 MiB in 20 packages 10:11:58 Removing intermediate container 7abcee1a2eff 10:11:58 ---> 0793296c264b 10:11:58 Step 16/24 : COPY --from=builder /device-modbus-go/cmd / 10:11:59 ---> f47283f82721 10:11:59 Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / 10:11:59 ---> c71124356ef5 10:11:59 Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / 10:11:59 ---> 74ae69ff48e8 10:11:59 Step 19/24 : EXPOSE 59901 10:11:59 ---> Running in df070af046b0 10:11:59 Removing intermediate container df070af046b0 10:11:59 ---> 9afc165b6f71 10:11:59 Step 20/24 : ENTRYPOINT ["/device-modbus"] 10:11:59 ---> Running in 9927aa42402b 10:11:59 Removing intermediate container 9927aa42402b 10:11:59 ---> f5386968c1a9 10:11:59 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:11:59 ---> Running in ba334c821395 10:11:59 Removing intermediate container ba334c821395 10:11:59 ---> ec790454b9d0 10:11:59 Step 22/24 : LABEL arch=amd64 10:11:59 ---> Running in b4ab0835d575 10:11:59 Removing intermediate container b4ab0835d575 10:11:59 ---> e820c5e41b8a 10:11:59 Step 23/24 : LABEL git_sha=06793bab58e7c96f55e1d5bab0fce9523936b0bb 10:11:59 ---> Running in 9ff04ec58adc 10:11:59 Removing intermediate container 9ff04ec58adc 10:11:59 ---> 1814f310fe21 10:11:59 Step 24/24 : LABEL version=0.0.0 10:11:59 ---> Running in 48d3bcb0f6f9 10:12:00 Removing intermediate container 48d3bcb0f6f9 10:12:00 ---> f18a62b713ed 10:12:00 [Warning] One or more build-args [ARCH] were not consumed 10:12:00 Successfully built f18a62b713ed 10:12:00 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 10:12:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:12:00 10:12:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:12:00 latest: Pulling from edgex-lftools-log-publisher 10:12:00 5eb5b503b376: Pulling fs layer 10:12:00 5c69ac0246d0: Pulling fs layer 10:12:00 ec43610c2a17: Pulling fs layer 10:12:00 3a2ae6a8a46f: Pulling fs layer 10:12:00 33b1e0a273af: Pulling fs layer 10:12:00 5d3b04190fa2: Pulling fs layer 10:12:00 2f39f015ded8: Pulling fs layer 10:12:00 5d3b04190fa2: Waiting 10:12:00 33b1e0a273af: Waiting 10:12:00 2f39f015ded8: Waiting 10:12:00 3a2ae6a8a46f: Waiting 10:12:00 5c69ac0246d0: Verifying Checksum 10:12:00 5c69ac0246d0: Download complete 10:12:00 3a2ae6a8a46f: Download complete 10:12:01 33b1e0a273af: Verifying Checksum 10:12:01 33b1e0a273af: Download complete 10:12:01 5d3b04190fa2: Verifying Checksum 10:12:01 5d3b04190fa2: Download complete 10:12:01 5eb5b503b376: Verifying Checksum 10:12:01 5eb5b503b376: Download complete 10:12:01 ec43610c2a17: Verifying Checksum 10:12:01 ec43610c2a17: Download complete 10:12:02 2f39f015ded8: Download complete 10:12:02 5eb5b503b376: Pull complete 10:12:02 5c69ac0246d0: Pull complete 10:12:02 ec43610c2a17: Pull complete 10:12:02 3a2ae6a8a46f: Pull complete 10:12:03 33b1e0a273af: Pull complete 10:12:03 5d3b04190fa2: Pull complete 10:12:08 2f39f015ded8: Pull complete 10:12:08 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:12:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:12:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:12:08 prd-ubuntu20.04-docker-8c-8g-116836 does not seem to be running inside a container 10:12:08 $ 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-386 -v /w/workspace/xfoundry_device-modbus-go_PR-386:/w/workspace/xfoundry_device-modbus-go_PR-386:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-386@tmp:/w/workspace/xfoundry_device-modbus-go_PR-386@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:12:12 $ docker top 0280c8a8a48d07f9cb7a41e739eda0017289b14eb66f0dcff1c2ae90f3438919 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:12:12 ---> job-cost.sh 10:12:12 lf-activate-venv: SKIPPING 10:12:12 INFO: No Stack... 10:12:12 INFO: Retrieving Pricing Info for: v3-standard-8 10:12:13 INFO: Archiving Costs [Pipeline] sh 10:12:13 + cat /w/workspace/xfoundry_device-modbus-go_PR-386/archives/cost.csv 10:12:13 + cut -d, -f6 [Pipeline] lock 10:12:13 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-386-2-stack-cost] 10:12:13 Resource [jenkins-edgexfoundry-device-modbus-go-PR-386-2-stack-cost] did not exist. Created. 10:12:13 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-386-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:12:13 + echo total: 0.2199999988079071 [Pipeline] stash 10:12:13 Stashed 1 file(s) [Pipeline] } 10:12:13 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-386-2-stack-cost] [Pipeline] // lock [Pipeline] } 10:12:13 $ docker stop --time=1 0280c8a8a48d07f9cb7a41e739eda0017289b14eb66f0dcff1c2ae90f3438919 10:12:14 $ docker rm -f 0280c8a8a48d07f9cb7a41e739eda0017289b14eb66f0dcff1c2ae90f3438919 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:12:28 Removing intermediate container 71b361188f42 10:12:28 ---> cac158377ef9 10:12:28 Step 10/11 : COPY . . 10:12:28 ---> ce630464d15d 10:12:28 Step 11/11 : RUN ${MAKE} 10:12:28 ---> Running in 6ee6f2c14653 10:12:28 noop 10:12:28 Removing intermediate container 6ee6f2c14653 10:12:28 ---> d711ce88a509 10:12:28 Successfully built d711ce88a509 10:12:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:28 + docker inspect -f . ci-base-image-arm64 10:12:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:12:28 prd-ubuntu20.04-docker-arm64-4c-16g-116833 does not seem to be running inside a container 10:12:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 10:12:31 $ docker top 637f9bb46f87fa1b0755ea0d55f6071484dc6b83d39bbf92d17150cfda72f6a0 -eo pid,comm [Pipeline] { [Pipeline] sh 10:12:32 + go version 10:12:32 go version go1.18.7 linux/arm64 [Pipeline] } 10:12:32 $ docker stop --time=1 637f9bb46f87fa1b0755ea0d55f6071484dc6b83d39bbf92d17150cfda72f6a0 10:12:33 $ docker rm -f 637f9bb46f87fa1b0755ea0d55f6071484dc6b83d39bbf92d17150cfda72f6a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:34 + docker inspect -f . ci-base-image-arm64 10:12:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:12:34 prd-ubuntu20.04-docker-arm64-4c-16g-116833 does not seem to be running inside a container 10:12:34 $ 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/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 10:12:35 $ docker top ad488c26d170f16b0f40d8317597cb87593d9e41d4f1d799324edc109913a653 -eo pid,comm [Pipeline] { [Pipeline] sh 10:12:36 + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh 10:12:36 + make test 10:12:36 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 10:12:38 ? github.com/edgexfoundry/device-modbus-go [no test files] 10:14:15 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 10:14:15 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.067s coverage: 47.7% of statements 10:14:15 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:14:15 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:14:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:14:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:14:27 ./bin/test-attribution-txt.sh [Pipeline] echo 10:14:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:14:27 $ docker stop --time=1 ad488c26d170f16b0f40d8317597cb87593d9e41d4f1d799324edc109913a653 10:14:29 $ docker rm -f ad488c26d170f16b0f40d8317597cb87593d9e41d4f1d799324edc109913a653 [Pipeline] // withDockerContainer [Pipeline] sh 10:14:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:14:30 Warning: overwriting stash ‘coverage-report’ 10:14:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:14:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:14:31 + ls -al . 10:14:31 total 184 10:14:31 drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 10:12 . 10:14:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 10:10 .. 10:14:31 -rw-rw-r-- 1 jenkins jenkins 140 Oct 25 10:10 .dockerignore 10:14:31 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 10:10 .git 10:14:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 10:10 .github 10:14:31 -rw-rw-r-- 1 jenkins jenkins 331 Oct 25 10:10 .gitignore 10:14:31 -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 10:10 .golangci.yml 10:14:31 -rw-rw-r-- 1 jenkins jenkins 10121 Oct 25 10:10 Attribution.txt 10:14:31 -rw-rw-r-- 1 jenkins jenkins 10001 Oct 25 10:10 CHANGELOG.md 10:14:31 -rw-rw-r-- 1 jenkins jenkins 1606 Oct 25 10:10 Dockerfile 10:14:31 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 10:10 GOVERNANCE.md 10:14:31 -rw-rw-r-- 1 jenkins jenkins 680 Oct 25 10:10 Jenkinsfile 10:14:31 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 10:10 LICENSE 10:14:31 -rw-rw-r-- 1 jenkins jenkins 2101 Oct 25 10:10 Makefile 10:14:31 -rw-rw-r-- 1 jenkins jenkins 622 Oct 25 10:10 OWNERS.md 10:14:31 -rw-rw-r-- 1 jenkins jenkins 4061 Oct 25 10:10 README.md 10:14:31 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 10:10 VERSION 10:14:31 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 10:10 bin 10:14:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 10:10 cmd 10:14:31 -rw-r--r-- 1 jenkins jenkins 23241 Oct 25 10:14 coverage.out 10:14:31 -rw-rw-r-- 1 jenkins jenkins 3643 Oct 25 10:10 go.mod 10:14:31 -rw-rw-r-- 1 jenkins jenkins 38288 Oct 25 10:10 go.sum 10:14:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 10:10 internal 10:14:31 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 10:10 simulator 10:14:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 10:10 snap 10:14:31 -rw-rw-r-- 1 jenkins jenkins 229 Oct 25 10:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:14:31 + 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=06793bab58e7c96f55e1d5bab0fce9523936b0bb --label arch=arm64 --label version=0.0.0 . 10:14:32 Sending build context to Docker daemon 3.26MB 10:14:32 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 10:14:32 Step 2/24 : FROM ${BASE} AS builder 10:14:32 ---> d711ce88a509 10:14:32 Step 3/24 : ARG ADD_BUILD_TAGS="" 10:14:32 ---> Running in 3c0968e9def9 10:14:32 Removing intermediate container 3c0968e9def9 10:14:32 ---> 61b1a708c6a6 10:14:32 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:14:32 ---> Running in 34930d69cc07 10:14:32 Removing intermediate container 34930d69cc07 10:14:32 ---> ae34b51a2794 10:14:32 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:14:32 ---> Running in 1cd9148afa27 10:14:34 Removing intermediate container 1cd9148afa27 10:14:34 ---> 01c7357ba60a 10:14:34 Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 10:14:34 ---> Running in 8ed7ad0b8b81 10:14:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:14:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:14:37 OK: 228 MiB in 59 packages 10:14:38 Removing intermediate container 8ed7ad0b8b81 10:14:38 ---> 651ffaf2f2ef 10:14:38 Step 7/24 : WORKDIR /device-modbus-go 10:14:38 ---> Running in 2b15199059bb 10:14:39 Removing intermediate container 2b15199059bb 10:14:39 ---> 2f68afc7dbec 10:14:39 Step 8/24 : COPY go.mod vendor* ./ 10:14:39 ---> 9e5cd03ae6be 10:14:39 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:14:39 ---> Running in db13f70b927d 10:14:41 Removing intermediate container db13f70b927d 10:14:41 ---> dccaa0395ba5 10:14:41 Step 10/24 : COPY . . 10:14:42 ---> 34a83bb706e7 10:14:42 Step 11/24 : RUN ${MAKE} 10:14:42 ---> Running in 935bb1a94305 10:14:43 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 10:17:05 Removing intermediate container 935bb1a94305 10:17:05 ---> 2ecc1e557e2c 10:17:05 Step 12/24 : FROM alpine:3.14 10:17:05 3.14: Pulling from library/alpine 10:17:05 90cda3b7c325: Pulling fs layer 10:17:05 90cda3b7c325: Verifying Checksum 10:17:05 90cda3b7c325: Download complete 10:17:05 90cda3b7c325: Pull complete 10:17:05 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 10:17:05 Status: Downloaded newer image for alpine:3.14 10:17:05 ---> 376ba31ae3da 10:17:05 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 10:17:06 ---> Running in 9ef436c51f28 10:17:06 Removing intermediate container 9ef436c51f28 10:17:06 ---> e22ae6cc3d06 10:17:06 Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:17:06 ---> Running in 49834cbc3201 10:17:08 Removing intermediate container 49834cbc3201 10:17:08 ---> 8baf225f791d 10:17:08 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 10:17:08 ---> Running in e90c29027005 10:17:09 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 10:17:10 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 10:17:11 (1/6) Installing dumb-init (1.2.5-r1) 10:17:11 (2/6) Installing libgcc (10.3.1_git20210424-r2) 10:17:11 (3/6) Installing libsodium (1.0.18-r0) 10:17:11 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 10:17:11 (5/6) Installing libzmq (4.3.4-r0) 10:17:11 (6/6) Installing zeromq (4.3.4-r0) 10:17:12 Executing busybox-1.33.1-r8.trigger 10:17:12 OK: 8 MiB in 20 packages 10:17:13 Removing intermediate container e90c29027005 10:17:13 ---> b74a83e5abf8 10:17:13 Step 16/24 : COPY --from=builder /device-modbus-go/cmd / 10:17:14 ---> 90172c450d77 10:17:14 Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / 10:17:15 ---> 57499699dfdf 10:17:15 Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / 10:17:15 ---> 15c04b5d3f5d 10:17:15 Step 19/24 : EXPOSE 59901 10:17:15 ---> Running in 7cc6e432eaeb 10:17:15 Removing intermediate container 7cc6e432eaeb 10:17:15 ---> aae1d80cbabb 10:17:15 Step 20/24 : ENTRYPOINT ["/device-modbus"] 10:17:16 ---> Running in adb33666f16b 10:17:16 Removing intermediate container adb33666f16b 10:17:16 ---> 5a5fe678e325 10:17:16 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:17:16 ---> Running in fe0eb397f179 10:17:16 Removing intermediate container fe0eb397f179 10:17:16 ---> aaaa9393ae98 10:17:16 Step 22/24 : LABEL arch=arm64 10:17:16 ---> Running in da4ff302e29d 10:17:17 Removing intermediate container da4ff302e29d 10:17:17 ---> 04a2cf72f858 10:17:17 Step 23/24 : LABEL git_sha=06793bab58e7c96f55e1d5bab0fce9523936b0bb 10:17:17 ---> Running in ab210dcbdd27 10:17:17 Removing intermediate container ab210dcbdd27 10:17:17 ---> 313aa2f487f3 10:17:17 Step 24/24 : LABEL version=0.0.0 10:17:17 ---> Running in 54eb05faa022 10:17:17 Removing intermediate container 54eb05faa022 10:17:17 ---> 49ef843a2f5d 10:17:17 [Warning] One or more build-args [ARCH] were not consumed 10:17:17 Successfully built 49ef843a2f5d 10:17:17 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 10:17:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:17:18 10:17:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:17:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:17:18 arm64: Pulling from edgex-lftools-log-publisher 10:17:18 8998bd30e6a1: Pulling fs layer 10:17:18 04944245beec: Pulling fs layer 10:17:18 699f458cf7ca: Pulling fs layer 10:17:18 765212b225bb: Pulling fs layer 10:17:18 f23df028b6ca: Pulling fs layer 10:17:18 d65c8cfc05b1: Pulling fs layer 10:17:18 2437ff75d9bd: Pulling fs layer 10:17:18 f23df028b6ca: Waiting 10:17:18 d65c8cfc05b1: Waiting 10:17:18 2437ff75d9bd: Waiting 10:17:18 765212b225bb: Waiting 10:17:18 04944245beec: Verifying Checksum 10:17:18 04944245beec: Download complete 10:17:18 765212b225bb: Verifying Checksum 10:17:18 765212b225bb: Download complete 10:17:18 f23df028b6ca: Download complete 10:17:18 d65c8cfc05b1: Download complete 10:17:19 699f458cf7ca: Verifying Checksum 10:17:19 699f458cf7ca: Download complete 10:17:19 8998bd30e6a1: Verifying Checksum 10:17:19 8998bd30e6a1: Download complete 10:17:22 2437ff75d9bd: Verifying Checksum 10:17:22 2437ff75d9bd: Download complete 10:17:23 8998bd30e6a1: Pull complete 10:17:23 04944245beec: Pull complete 10:17:25 699f458cf7ca: Pull complete 10:17:25 765212b225bb: Pull complete 10:17:25 f23df028b6ca: Pull complete 10:17:26 d65c8cfc05b1: Pull complete 10:17:41 2437ff75d9bd: Pull complete 10:17:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:17:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:17:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:17:41 prd-ubuntu20.04-docker-arm64-4c-16g-116833 does not seem to be running inside a container 10:17:41 $ 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/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:17:44 $ docker top ade2de6f8239a426b2a25019e9f37e3fd1454fe87182112654c93a6280cf385d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:17:45 ---> job-cost.sh 10:17:45 lf-activate-venv: SKIPPING 10:17:45 INFO: No Stack... 10:17:45 INFO: Retrieving Pricing Info for: v3-standard-4 10:17:46 INFO: Archiving Costs [Pipeline] sh 10:17:47 + cut -d, -f6 10:17:47 + cat /w/workspace/device-modbus-go/2/archives/cost.csv [Pipeline] lock 10:17:47 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-386-2-stack-cost] 10:17:47 Resource [jenkins-edgexfoundry-device-modbus-go-PR-386-2-stack-cost] did not exist. Created. 10:17:47 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-386-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:17:47 /w/workspace/device-modbus-go/2@tmp/durable-5e33d1ab/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:17:48 + echo total: 0.10999999940395355 [Pipeline] stash 10:17:48 Warning: overwriting stash ‘stack-cost’ 10:17:48 Stashed 1 file(s) [Pipeline] } 10:17:48 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-386-2-stack-cost] [Pipeline] // lock [Pipeline] } 10:17:48 $ docker stop --time=1 ade2de6f8239a426b2a25019e9f37e3fd1454fe87182112654c93a6280cf385d 10:17:50 $ docker rm -f ade2de6f8239a426b2a25019e9f37e3fd1454fe87182112654c93a6280cf385d [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 10:17:50 provisioning config files... 10:17:50 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-386@tmp/config3497628777202829345tmp [Pipeline] { [Pipeline] sh 10:17:50 + set +x 10:17:50 + curl -s https://codecov.io/bash 10:17:50 + bash -s -- 10:17:50 10:17:50 _____ _ 10:17:50 / ____| | | 10:17:50 | | ___ __| | ___ ___ _____ __ 10:17:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:17:50 | |___| (_) | (_| | __/ (_| (_) \ V / 10:17:50 \_____\___/ \__,_|\___|\___\___/ \_/ 10:17:50 Bash-1.0.6 10:17:50 10:17:50 10:17:50 ==> git version 2.25.1 found 10:17:50 ==> 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 10:17:50 Release-Date: 2020-01-08 10:17:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:17:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:17:50 ==> Jenkins CI detected. 10:17:50 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-386 10:17:50 project root: . 10:17:50 --> token set from env 10:17:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:17:50 ==> Running gcov in . (disable via -X gcov) 10:17:50 ==> Python coveragepy not found 10:17:50 ==> Searching for coverage reports in: 10:17:50 + . 10:17:50 -> Found 1 reports 10:17:50 ==> Detecting git/mercurial file structure 10:17:50 ==> Reading reports 10:17:51 + ./coverage.out bytes=23241 10:17:51 ==> Appending adjustments 10:17:51 https://docs.codecov.io/docs/fixing-reports 10:17:51 + Found adjustments 10:17:51 ==> Gzipping contents 10:17:51 4.0K /tmp/codecov.oBmYsM.gz 10:17:51 ==> Uploading reports 10:17:51 url: https://codecov.io 10:17:51 query: branch=PR-386&commit=06793bab58e7c96f55e1d5bab0fce9523936b0bb&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-386%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=386&job=&cmd_args= 10:17:51 -> Pinging Codecov 10:17:51 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-386&commit=06793bab58e7c96f55e1d5bab0fce9523936b0bb&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-386%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=386&job=&cmd_args= 10:17:51 -> Uploading to 10:17:51 https://storage.googleapis.com/codecov/v4/raw/2022-10-25/55DBCA73C666E3227836607328DD7E49/06793bab58e7c96f55e1d5bab0fce9523936b0bb/829615e8-c283-4784-a8ae-f844bbbe2ff0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221025T101751Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fd518bf182b6e62c1d86675e9fcb987ef1da446e4b0df7875d63ed434e56b3a4 10:17:51 % Total % Received % Xferd Average Speed Time Time Time Current 10:17:51 Dload Upload Total Spent Left Speed 10:17:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3904 0 0 100 3904 0 16973 --:--:-- --:--:-- --:--:-- 16973 10:17:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/06793bab58e7c96f55e1d5bab0fce9523936b0bb [Pipeline] } 10:17:51 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 10:17:52 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-386/archives ] 10:17:52 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-386/archives 10:17:52 total 16 10:17:52 drwxr-xr-x 3 root root 4096 Oct 25 10:12 . 10:17:52 drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 10:12 .. 10:17:52 drwxr-xr-x 2 root root 4096 Oct 25 10:12 cost 10:17:52 -rw-r--r-- 1 root root 88 Oct 25 10:12 cost.csv 10:17:52 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-386/archives 10:17:52 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-386/archives 10:17:52 total 16 10:17:52 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 10:12 . 10:17:52 drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 10:12 .. 10:17:52 drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 10:12 cost 10:17:52 -rw-r--r-- 1 jenkins jenkins 88 Oct 25 10:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:17:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:17:53 ---> package-listing.sh 10:17:53 ++ facter osfamily 10:17:53 ++ tr '[:upper:]' '[:lower:]' 10:17:53 + OS_FAMILY=debian 10:17:53 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-386 10:17:53 + START_PACKAGES=/tmp/packages_start.txt 10:17:53 + END_PACKAGES=/tmp/packages_end.txt 10:17:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:17:53 + PACKAGES=/tmp/packages_start.txt 10:17:53 + '[' /w/workspace/xfoundry_device-modbus-go_PR-386 ']' 10:17:53 + PACKAGES=/tmp/packages_end.txt 10:17:53 + case "${OS_FAMILY}" in 10:17:53 + dpkg -l 10:17:53 + grep '^ii' 10:17:53 + '[' -f /tmp/packages_start.txt ']' 10:17:53 + '[' -f /tmp/packages_end.txt ']' 10:17:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:17:53 + '[' /w/workspace/xfoundry_device-modbus-go_PR-386 ']' 10:17:53 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-386/archives/ 10:17:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-386/archives/ [Pipeline] echo 10:17:53 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-386/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:17:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:17:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:17:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:17:54 prd-ubuntu20.04-docker-8c-8g-116836 does not seem to be running inside a container 10:17:54 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-386/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-386 -v /w/workspace/xfoundry_device-modbus-go_PR-386:/w/workspace/xfoundry_device-modbus-go_PR-386:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-386@tmp:/w/workspace/xfoundry_device-modbus-go_PR-386@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:17:54 $ docker top 682f1c44a8cbdc504a67e66954c800fcfc6951d518cea6fa04f5db42fcec4288 -eo pid,comm [Pipeline] { [Pipeline] sh 10:17:55 + touch /tmp/pre-build-complete [Pipeline] sh 10:17:55 + mkdir -p /var/log/sysstat [Pipeline] sh 10:17:55 + ls /var/log/sa-host 10:17:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:17:55 provisioning config files... 10:17:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-386@tmp/config1419311091251154088tmp [Pipeline] { [Pipeline] echo 10:17:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:17:56 ---> create-netrc.sh [Pipeline] } 10:17:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:17:56 ---> python-tools-install.sh [Pipeline] echo 10:17:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:17:56 ---> sudo-logs.sh 10:17:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:17:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:17:57 ---> job-cost.sh 10:17:57 lf-activate-venv: SKIPPING 10:17:57 DEBUG: total: 0.2199999988079071 10:17:57 INFO: Retrieving Stack Cost... 10:17:57 INFO: Retrieving Pricing Info for: v3-standard-8 10:17:57 INFO: Archiving Costs [Pipeline] echo 10:17:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:17:58 ---> logs-deploy.sh 10:17:58 lf-activate-venv: SKIPPING 10:17:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-386/2 10:17:58 INFO: archiving workspace using pattern(s): 10:17:59 Archives upload complete. 10:17:59 INFO: archiving logs to Nexus