Pull request #380 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3980f2fc5f1fe6e270ad13e0308336c84ec0cb1f+89c845d2fde685b2112bd4b33853dabf0a8ef293 (bcac1f92b5cfb2ea32dbd51375dffb2fff9bcbeb) 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-ssh15351208378997641611.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh17930429025570919347.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-380/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-380/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10906472519387110642.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-380/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10215775531784197405.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2829509050923125074.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-380/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-380/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13649294430814944885.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6823 in /w/workspace/xfoundry_device-modbus-go_PR-380 [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-380 # 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 Merging remotes/origin/main commit 89c845d2fde685b2112bd4b33853dabf0a8ef293 into PR head commit 3980f2fc5f1fe6e270ad13e0308336c84ec0cb1f > 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/380/head:refs/remotes/origin/PR-380 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3980f2fc5f1fe6e270ad13e0308336c84ec0cb1f # timeout=10 Merge succeeded, producing 3980f2fc5f1fe6e270ad13e0308336c84ec0cb1f Checking out Revision 3980f2fc5f1fe6e270ad13e0308336c84ec0cb1f (PR-380) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:04:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:04:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:04:13 ========================================================= 05:04:13 EdgeX Global Pipelines Version Info 05:04:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh > 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 89c845d2fde685b2112bd4b33853dabf0a8ef293 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3980f2fc5f1fe6e270ad13e0308336c84ec0cb1f # timeout=10 05:04:14 ------------------- 05:04:14 stable info: 05:04:14 ------------------- 05:04:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:04:14 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 05:04:14 Message: update stable to v1.0.239 05:04:14 ------------------- 05:04:14 experimental info: 05:04:14 ------------------- 05:04:14 Commited By: **** collab-it+edgex@linuxfoundation.org 05:04:14 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 05:04:14 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:04:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:04:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:04:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:04:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:04:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:04:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:04:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:04:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:04:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:04:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:04:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:04:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:04:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:04:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:04:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:04:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:04:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:04:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:04:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:04:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:04:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:04:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:04:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:04:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:04:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:04:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:04:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:04:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-380 [Pipeline] echo 05:04:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-380 [Pipeline] echo 05:04:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-380 [Pipeline] echo 05:04:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3980f2fc5f1fe6e270ad13e0308336c84ec0cb1f [Pipeline] echo 05:04:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3980f2f [Pipeline] echo 05:04:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:04:16 provisioning config files... 05:04:16 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-380@tmp/config8606056541560251003tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:16 ---> docker-login.sh 05:04:16 nexus3.edgexfoundry.org:10001 05:04:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:16 Configure a credential helper to remove this warning. See 05:04:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:16 05:04:16 Login Succeeded 05:04:16 nexus3.edgexfoundry.org:10002 05:04:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:17 Configure a credential helper to remove this warning. See 05:04:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:17 05:04:17 Login Succeeded 05:04:17 nexus3.edgexfoundry.org:10003 05:04:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:17 Configure a credential helper to remove this warning. See 05:04:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:17 05:04:17 Login Succeeded 05:04:17 nexus3.edgexfoundry.org:10004 05:04:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:17 Configure a credential helper to remove this warning. See 05:04:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:17 05:04:17 Login Succeeded 05:04:17 docker.io 05:04:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:17 Configure a credential helper to remove this warning. See 05:04:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:17 05:04:17 Login Succeeded 05:04:17 ---> docker-login.sh ends [Pipeline] } 05:04:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:04:18 + git rev-list -1 --merges 3980f2fc5f1fe6e270ad13e0308336c84ec0cb1f~1..3980f2fc5f1fe6e270ad13e0308336c84ec0cb1f [Pipeline] echo 05:04:18 -----------> git rev-list -1 --merges 3980f2fc5f1fe6e270ad13e0308336c84ec0cb1f~1..3980f2fc5f1fe6e270ad13e0308336c84ec0cb1f 3980f2fc5f1fe6e270ad13e0308336c84ec0cb1f [false] [Pipeline] sh 05:04:18 + git log --format=format:%s -1 3980f2fc5f1fe6e270ad13e0308336c84ec0cb1f [Pipeline] echo 05:04:18 ========================================================= 05:04:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:04:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:04:19 + git log --format=format:%s -1 3980f2fc5f1fe6e270ad13e0308336c84ec0cb1f [Pipeline] echo 05:04:19 [semverPrep] GIT_COMMIT: 3980f2fc5f1fe6e270ad13e0308336c84ec0cb1f, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 05:04:19 [semverPrep] This is not a build commit. [Pipeline] sh 05:04:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:04:19 + grep -v github /etc/ssh/ssh_known_hosts 05:04:19 + [ -e /tmp/ssh_known_hosts ] 05:04:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:04:19 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 05:04:19 -a /etc/ssh/ssh_known_hosts 05:04:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:04:20 05:04:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:04:20 0.1.4: Pulling from edgex-devops/py-git-semver 05:04:20 b85a868b505f: Pulling fs layer 05:04:20 e2be974225ed: Pulling fs layer 05:04:20 339a4e72a1f5: Pulling fs layer 05:04:20 988bab9f4d93: Pulling fs layer 05:04:20 1469e6f7b9e6: Pulling fs layer 05:04:20 eaf3925da568: Pulling fs layer 05:04:20 bab4dde63d76: Pulling fs layer 05:04:20 bde34c3a00c8: Pulling fs layer 05:04:20 b352a97aabf1: Pulling fs layer 05:04:20 4872d77fe225: Pulling fs layer 05:04:20 5851b861e8e6: Pulling fs layer 05:04:20 bab4dde63d76: Waiting 05:04:20 bde34c3a00c8: Waiting 05:04:20 b352a97aabf1: Waiting 05:04:20 4872d77fe225: Waiting 05:04:20 988bab9f4d93: Waiting 05:04:20 1469e6f7b9e6: Waiting 05:04:20 5851b861e8e6: Waiting 05:04:20 eaf3925da568: Waiting 05:04:20 e2be974225ed: Verifying Checksum 05:04:20 e2be974225ed: Download complete 05:04:20 988bab9f4d93: Verifying Checksum 05:04:20 988bab9f4d93: Download complete 05:04:20 1469e6f7b9e6: Verifying Checksum 05:04:20 1469e6f7b9e6: Download complete 05:04:20 339a4e72a1f5: Verifying Checksum 05:04:20 339a4e72a1f5: Download complete 05:04:20 eaf3925da568: Download complete 05:04:20 bde34c3a00c8: Verifying Checksum 05:04:20 bde34c3a00c8: Download complete 05:04:20 b352a97aabf1: Verifying Checksum 05:04:20 b352a97aabf1: Download complete 05:04:20 4872d77fe225: Verifying Checksum 05:04:20 4872d77fe225: Download complete 05:04:20 5851b861e8e6: Verifying Checksum 05:04:20 b85a868b505f: Verifying Checksum 05:04:20 b85a868b505f: Download complete 05:04:20 bab4dde63d76: Verifying Checksum 05:04:20 bab4dde63d76: Download complete 05:04:21 b85a868b505f: Pull complete 05:04:22 e2be974225ed: Pull complete 05:04:22 339a4e72a1f5: Pull complete 05:04:22 988bab9f4d93: Pull complete 05:04:22 1469e6f7b9e6: Pull complete 05:04:23 eaf3925da568: Pull complete 05:04:25 bab4dde63d76: Pull complete 05:04:25 bde34c3a00c8: Pull complete 05:04:25 b352a97aabf1: Pull complete 05:04:25 4872d77fe225: Pull complete 05:04:25 5851b861e8e6: Pull complete 05:04:25 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:04:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:04:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:25 prd-ubuntu20.04-docker-8c-8g-6823 does not seem to be running inside a container 05:04:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-380 -v /w/workspace/xfoundry_device-modbus-go_PR-380:/w/workspace/xfoundry_device-modbus-go_PR-380:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-380@tmp:/w/workspace/xfoundry_device-modbus-go_PR-380@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:04:27 $ docker top 3f1ba71c48670cdb23dad7410f7b23bd147668dbe3aa4d186b437563be213a54 -eo pid,comm 05:04:27 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:04:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:04:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:04:27 [ssh-agent] Looking for ssh-agent implementation... 05:04:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:27 $ docker exec 3f1ba71c48670cdb23dad7410f7b23bd147668dbe3aa4d186b437563be213a54 ssh-agent 05:04:27 SSH_AUTH_SOCK=/tmp/ssh-6LRGDBhvZwXP/agent.33 05:04:27 SSH_AGENT_PID=39 05:04:27 Running ssh-add (command line suppressed) 05:04:27 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-380@tmp/private_key_7602411947012213869.key (/w/workspace/xfoundry_device-modbus-go_PR-380@tmp/private_key_7602411947012213869.key) 05:04:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:28 + git tag --points-at HEAD [Pipeline] } 05:04:28 $ docker exec --env ******** --env ******** 3f1ba71c48670cdb23dad7410f7b23bd147668dbe3aa4d186b437563be213a54 ssh-agent -k 05:04:28 unset SSH_AUTH_SOCK; 05:04:28 unset SSH_AGENT_PID; 05:04:28 echo Agent pid 39 killed; 05:04:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:04:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:04:28 [ssh-agent] Looking for ssh-agent implementation... 05:04:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:28 $ docker exec 3f1ba71c48670cdb23dad7410f7b23bd147668dbe3aa4d186b437563be213a54 ssh-agent 05:04:28 SSH_AUTH_SOCK=/tmp/ssh-Szrj0zfAG5Do/agent.71 05:04:28 SSH_AGENT_PID=77 05:04:28 Running ssh-add (command line suppressed) 05:04:28 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-380@tmp/private_key_17620178508126586039.key (/w/workspace/xfoundry_device-modbus-go_PR-380@tmp/private_key_17620178508126586039.key) 05:04:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:28 + git semver init 05:04:29 2022-10-03 05:04:29,127 [run_init] DEBUG init version:0.0.0 force:False 05:04:29 2022-10-03 05:04:29,128 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-380/.semver 05:04:29 2022-10-03 05:04:29,129 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-380/.semver 05:04:29 2022-10-03 05:04:29,129 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-380/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-380, universal_newlines=False, shell=None, istream=None) 05:04:30 2022-10-03 05:04:30,038 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-380/.git/info/exclude 05:04:30 2022-10-03 05:04:30,038 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-380/.semver/PR-380 with force:False 05:04:30 2022-10-03 05:04:30,039 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-380/.semver/PR-380 05:04:30 2022-10-03 05:04:30,043 [execute] INFO git cat-file --batch-check 05:04:30 2022-10-03 05:04:30,043 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-380/.semver, universal_newlines=False, shell=None, istream=) 05:04:30 2022-10-03 05:04:30,049 [execute] INFO git cat-file --batch 05:04:30 2022-10-03 05:04:30,050 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-380/.semver, universal_newlines=False, shell=None, istream=) 05:04:30 2022-10-03 05:04:30,054 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-380/.semver/PR-380 05:04:30 0.0.0 [Pipeline] } 05:04:30 $ docker exec --env ******** --env ******** 3f1ba71c48670cdb23dad7410f7b23bd147668dbe3aa4d186b437563be213a54 ssh-agent -k 05:04:30 unset SSH_AUTH_SOCK; 05:04:30 unset SSH_AGENT_PID; 05:04:30 echo Agent pid 77 killed; 05:04:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:04:30 + git semver [Pipeline] } 05:04:30 $ docker stop --time=1 3f1ba71c48670cdb23dad7410f7b23bd147668dbe3aa4d186b437563be213a54 05:04:32 $ docker rm -f 3f1ba71c48670cdb23dad7410f7b23bd147668dbe3aa4d186b437563be213a54 [Pipeline] // withDockerContainer [Pipeline] sh 05:04:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:04:32 Stashed 1 file(s) [Pipeline] echo 05:04:32 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:04:33 provisioning config files... 05:04:33 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-380@tmp/config7487075667797774942tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:33 ---> docker-login.sh 05:04:33 nexus3.edgexfoundry.org:10001 05:04:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:33 Configure a credential helper to remove this warning. See 05:04:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:33 05:04:33 Login Succeeded 05:04:33 nexus3.edgexfoundry.org:10002 05:04:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:33 Configure a credential helper to remove this warning. See 05:04:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:33 05:04:33 Login Succeeded 05:04:33 nexus3.edgexfoundry.org:10003 05:04:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:34 Configure a credential helper to remove this warning. See 05:04:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:34 05:04:34 Login Succeeded 05:04:34 nexus3.edgexfoundry.org:10004 05:04:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:34 Configure a credential helper to remove this warning. See 05:04:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:34 05:04:34 Login Succeeded 05:04:34 docker.io 05:04:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:34 Configure a credential helper to remove this warning. See 05:04:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:34 05:04:34 Login Succeeded 05:04:34 ---> docker-login.sh ends [Pipeline] } 05:04:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:04:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:04:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:04:34 ========================================================= 05:04:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:04:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:35 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 05:04:35 Sending build context to Docker daemon 6.173MB 05:04:35 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 05:04:35 Step 2/11 : FROM ${BASE} AS builder 05:04:35 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:04:35 2408cc74d12b: Pulling fs layer 05:04:35 ea60b727a1ce: Pulling fs layer 05:04:35 30c4a7721957: Pulling fs layer 05:04:35 370296b7ddb6: Pulling fs layer 05:04:35 7c6cee850709: Pulling fs layer 05:04:35 aa9baa53a306: Pulling fs layer 05:04:35 8b309c321861: Pulling fs layer 05:04:35 d8d76fd02f46: Pulling fs layer 05:04:35 fa31f396de31: Pulling fs layer 05:04:35 aa9baa53a306: Waiting 05:04:35 8b309c321861: Waiting 05:04:35 7c6cee850709: Waiting 05:04:35 d8d76fd02f46: Waiting 05:04:35 fa31f396de31: Waiting 05:04:35 370296b7ddb6: Waiting 05:04:35 30c4a7721957: Verifying Checksum 05:04:35 30c4a7721957: Download complete 05:04:35 ea60b727a1ce: Verifying Checksum 05:04:35 ea60b727a1ce: Download complete 05:04:35 7c6cee850709: Download complete 05:04:35 aa9baa53a306: Verifying Checksum 05:04:35 aa9baa53a306: Download complete 05:04:35 2408cc74d12b: Verifying Checksum 05:04:35 2408cc74d12b: Download complete 05:04:35 8b309c321861: Verifying Checksum 05:04:35 8b309c321861: Download complete 05:04:35 2408cc74d12b: Pull complete 05:04:35 ea60b727a1ce: Pull complete 05:04:35 30c4a7721957: Pull complete 05:04:36 d8d76fd02f46: Verifying Checksum 05:04:36 d8d76fd02f46: Download complete 05:04:36 fa31f396de31: Verifying Checksum 05:04:36 fa31f396de31: Download complete 05:04:36 370296b7ddb6: Verifying Checksum 05:04:36 370296b7ddb6: Download complete 05:04:39 370296b7ddb6: Pull complete 05:04:40 7c6cee850709: Pull complete 05:04:40 aa9baa53a306: Pull complete 05:04:40 8b309c321861: Pull complete 05:04:41 d8d76fd02f46: Pull complete 05:04:42 fa31f396de31: Pull complete 05:04:42 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 05:04:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:04:42 ---> cef68f9685f8 05:04:42 Step 3/11 : ARG ADD_BUILD_TAGS="" 05:04:44 ---> Running in 63818bba1370 05:04:44 Removing intermediate container 63818bba1370 05:04:44 ---> 1a555a705303 05:04:44 Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:04:44 ---> Running in 4574d7e45963 05:04:44 Removing intermediate container 4574d7e45963 05:04:44 ---> d791534f75c0 05:04:44 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:04:44 ---> Running in cb4933729fb0 05:04:45 Removing intermediate container cb4933729fb0 05:04:45 ---> c4e852d12534 05:04:45 Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:04:45 ---> Running in d9a4a58b348e 05:04:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:04:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:04:46 (1/8) Installing openssh-keygen (9.0_p1-r2) 05:04:46 (2/8) Installing libedit (20210910.3.1-r0) 05:04:47 (3/8) Installing openssh-client-common (9.0_p1-r2) 05:04:47 (4/8) Installing openssh-client-default (9.0_p1-r2) 05:04:47 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 05:04:47 (6/8) Installing openssh-server-common (9.0_p1-r2) 05:04:47 (7/8) Installing openssh-server (9.0_p1-r2) 05:04:47 (8/8) Installing openssh (9.0_p1-r2) 05:04:47 Executing busybox-1.35.0-r13.trigger 05:04:47 OK: 217 MiB in 59 packages 05:04:48 Removing intermediate container d9a4a58b348e 05:04:48 ---> 10154c3704e7 05:04:48 Step 7/11 : WORKDIR /device-modbus-go 05:04:48 ---> Running in 6a6890bf4082 05:04:48 Removing intermediate container 6a6890bf4082 05:04:48 ---> 9af5e15bf9b9 05:04:48 Step 8/11 : COPY go.mod vendor* ./ 05:04:48 ---> ca12ba529dd6 05:04:48 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:04:48 Still waiting to schedule task 05:04:48 ‘prd-ubuntu20.04-docker-arm64-4c-16g-6824’ is offline 05:04:48 ---> Running in 8205afccbd40 05:05:03 Removing intermediate container 8205afccbd40 05:05:03 ---> 7d61e18057f9 05:05:03 Step 10/11 : COPY . . 05:05:03 ---> 3b70fbd81875 05:05:03 Step 11/11 : RUN ${MAKE} 05:05:03 ---> Running in 93611dae2ff9 05:05:03 noop 05:05:03 Removing intermediate container 93611dae2ff9 05:05:03 ---> 6ec699bd85a2 05:05:03 Successfully built 6ec699bd85a2 05:05:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:03 + docker inspect -f . ci-base-image-x86_64 05:05:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:03 prd-ubuntu20.04-docker-8c-8g-6823 does not seem to be running inside a container 05:05:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-380 -v /w/workspace/xfoundry_device-modbus-go_PR-380:/w/workspace/xfoundry_device-modbus-go_PR-380:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-380@tmp:/w/workspace/xfoundry_device-modbus-go_PR-380@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:05:04 $ docker top c3c0ef38d72e604fe1bb5a15d24114315b5dd312d7d185b6a24fb92c2d8930d2 -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:04 + go version 05:05:04 go version go1.18.3 linux/amd64 [Pipeline] } 05:05:04 $ docker stop --time=1 c3c0ef38d72e604fe1bb5a15d24114315b5dd312d7d185b6a24fb92c2d8930d2 05:05:06 $ docker rm -f c3c0ef38d72e604fe1bb5a15d24114315b5dd312d7d185b6a24fb92c2d8930d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:06 + docker inspect -f . ci-base-image-x86_64 05:05:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:06 prd-ubuntu20.04-docker-8c-8g-6823 does not seem to be running inside a container 05:05:06 $ 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-380 -v /w/workspace/xfoundry_device-modbus-go_PR-380:/w/workspace/xfoundry_device-modbus-go_PR-380:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-380@tmp:/w/workspace/xfoundry_device-modbus-go_PR-380@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:05:07 $ docker top 9e32222a66b3cf9d0d8b67fcf559620185c6899920bd00fe75e56c356a716d77 -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:07 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-380 [Pipeline] fileExists [Pipeline] sh 05:05:08 + make test 05:05:08 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:05:08 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:05:18 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:05:18 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 47.7% of statements 05:05:23 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 05:05:23 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:05:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:05:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:05:26 ./bin/test-attribution-txt.sh [Pipeline] echo 05:05:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:05:26 $ docker stop --time=1 9e32222a66b3cf9d0d8b67fcf559620185c6899920bd00fe75e56c356a716d77 05:05:27 $ docker rm -f 9e32222a66b3cf9d0d8b67fcf559620185c6899920bd00fe75e56c356a716d77 [Pipeline] // withDockerContainer [Pipeline] sh 05:05:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:05:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:05:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:05:29 + ls -al . 05:05:29 total 188 05:05:29 drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 05:05 . 05:05:29 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 05:04 .. 05:05:29 -rw-rw-r-- 1 jenkins jenkins 140 Oct 3 05:04 .dockerignore 05:05:29 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 05:05 .git 05:05:29 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:04 .github 05:05:29 -rw-rw-r-- 1 jenkins jenkins 331 Oct 3 05:04 .gitignore 05:05:29 -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 05:04 .golangci.yml 05:05:29 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 05:04 .semver 05:05:29 -rw-rw-r-- 1 jenkins jenkins 10121 Oct 3 05:04 Attribution.txt 05:05:29 -rw-rw-r-- 1 jenkins jenkins 10001 Oct 3 05:04 CHANGELOG.md 05:05:29 -rw-rw-r-- 1 jenkins jenkins 1606 Oct 3 05:04 Dockerfile 05:05:29 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 05:04 GOVERNANCE.md 05:05:29 -rw-rw-r-- 1 jenkins jenkins 680 Oct 3 05:04 Jenkinsfile 05:05:29 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 05:04 LICENSE 05:05:29 -rw-rw-r-- 1 jenkins jenkins 2101 Oct 3 05:04 Makefile 05:05:29 -rw-rw-r-- 1 jenkins jenkins 622 Oct 3 05:04 OWNERS.md 05:05:29 -rw-rw-r-- 1 jenkins jenkins 4061 Oct 3 05:04 README.md 05:05:29 -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 05:04 VERSION 05:05:29 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 05:04 bin 05:05:29 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:04 cmd 05:05:29 -rw-r--r-- 1 jenkins jenkins 23241 Oct 3 05:05 coverage.out 05:05:29 -rw-rw-r-- 1 jenkins jenkins 3643 Oct 3 05:04 go.mod 05:05:29 -rw-rw-r-- 1 jenkins jenkins 38288 Oct 3 05:04 go.sum 05:05:29 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:04 internal 05:05:29 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 05:04 simulator 05:05:29 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 05:04 snap 05:05:29 -rw-rw-r-- 1 jenkins jenkins 229 Oct 3 05:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:29 + 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=3980f2fc5f1fe6e270ad13e0308336c84ec0cb1f --label arch=amd64 --label version=0.0.0 . 05:05:29 Sending build context to Docker daemon 6.197MB 05:05:29 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 05:05:29 Step 2/24 : FROM ${BASE} AS builder 05:05:29 ---> 6ec699bd85a2 05:05:29 Step 3/24 : ARG ADD_BUILD_TAGS="" 05:05:29 ---> Running in bc63c5a269c3 05:05:30 Removing intermediate container bc63c5a269c3 05:05:30 ---> e87858517278 05:05:30 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:05:30 ---> Running in cf04a663405f 05:05:30 Removing intermediate container cf04a663405f 05:05:30 ---> c6d24a681a68 05:05:30 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:05:30 ---> Running in 457d817efbd6 05:05:31 Removing intermediate container 457d817efbd6 05:05:31 ---> a00926560034 05:05:31 Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:05:31 ---> Running in 1d480e45afda 05:05:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:05:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:05:32 OK: 217 MiB in 59 packages 05:05:32 Removing intermediate container 1d480e45afda 05:05:32 ---> 3312a0023699 05:05:32 Step 7/24 : WORKDIR /device-modbus-go 05:05:32 ---> Running in 0f343ad25526 05:05:32 Removing intermediate container 0f343ad25526 05:05:32 ---> fcb4708e2bcd 05:05:32 Step 8/24 : COPY go.mod vendor* ./ 05:05:33 ---> fe5809e3a830 05:05:33 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:05:33 ---> Running in 1c285315b579 05:05:33 Removing intermediate container 1c285315b579 05:05:33 ---> c90fbe9246c9 05:05:33 Step 10/24 : COPY . . 05:05:34 ---> 2efe8a584616 05:05:34 Step 11/24 : RUN ${MAKE} 05:05:34 ---> Running in 4084abb5fd5a 05:05:34 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 05:05:56 Removing intermediate container 4084abb5fd5a 05:05:56 ---> 503c4df29e83 05:05:56 Step 12/24 : FROM alpine:3.14 05:05:56 3.14: Pulling from library/alpine 05:05:56 c7ed990a2339: Pulling fs layer 05:05:56 c7ed990a2339: Download complete 05:05:56 c7ed990a2339: Pull complete 05:05:56 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 05:05:56 Status: Downloaded newer image for alpine:3.14 05:05:56 ---> dd53f409bf0b 05:05:56 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:05:56 ---> Running in 890f662102b6 05:05:56 Removing intermediate container 890f662102b6 05:05:56 ---> 423bbe47b7a6 05:05:56 Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:05:56 ---> Running in 1a9c63d2f6c8 05:05:56 Removing intermediate container 1a9c63d2f6c8 05:05:56 ---> e07444bf5166 05:05:56 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 05:05:56 ---> Running in ac79797763ba 05:05:56 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:05:56 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:05:56 (1/6) Installing dumb-init (1.2.5-r1) 05:05:57 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:05:57 (3/6) Installing libsodium (1.0.18-r0) 05:05:57 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:05:57 (5/6) Installing libzmq (4.3.4-r0) 05:05:57 (6/6) Installing zeromq (4.3.4-r0) 05:05:57 Executing busybox-1.33.1-r8.trigger 05:05:57 OK: 8 MiB in 20 packages 05:05:57 Removing intermediate container ac79797763ba 05:05:57 ---> d41de5c98e46 05:05:57 Step 16/24 : COPY --from=builder /device-modbus-go/cmd / 05:05:58 ---> 5d3997d7cf75 05:05:58 Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / 05:05:58 ---> 64bca98926fc 05:05:58 Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:05:58 ---> 9ebdea941c05 05:05:58 Step 19/24 : EXPOSE 59901 05:05:58 ---> Running in 05afaa9be87b 05:05:59 Removing intermediate container 05afaa9be87b 05:05:59 ---> f807b0d842ac 05:05:59 Step 20/24 : ENTRYPOINT ["/device-modbus"] 05:05:59 ---> Running in e6267af410f8 05:05:59 Removing intermediate container e6267af410f8 05:05:59 ---> e0c144efc6fd 05:05:59 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:05:59 ---> Running in 804f596a53fd 05:05:59 Removing intermediate container 804f596a53fd 05:05:59 ---> 6e42445a44fd 05:05:59 Step 22/24 : LABEL arch=amd64 05:05:59 ---> Running in 7d0d9eef64ad 05:05:59 Removing intermediate container 7d0d9eef64ad 05:05:59 ---> cb4120fcef7b 05:05:59 Step 23/24 : LABEL git_sha=3980f2fc5f1fe6e270ad13e0308336c84ec0cb1f 05:05:59 ---> Running in 8204d6816c39 05:05:59 Removing intermediate container 8204d6816c39 05:05:59 ---> 10aa26de20da 05:05:59 Step 24/24 : LABEL version=0.0.0 05:05:59 ---> Running in cf8f17386101 05:05:59 Removing intermediate container cf8f17386101 05:05:59 ---> 1a33025275f5 05:05:59 [Warning] One or more build-args [ARCH] were not consumed 05:05:59 Successfully built 1a33025275f5 05:05:59 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:00 05:06:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:00 latest: Pulling from edgex-lftools-log-publisher 05:06:00 5eb5b503b376: Pulling fs layer 05:06:00 5c69ac0246d0: Pulling fs layer 05:06:00 ec43610c2a17: Pulling fs layer 05:06:00 3a2ae6a8a46f: Pulling fs layer 05:06:00 33b1e0a273af: Pulling fs layer 05:06:00 5d3b04190fa2: Pulling fs layer 05:06:00 2f39f015ded8: Pulling fs layer 05:06:00 33b1e0a273af: Waiting 05:06:00 3a2ae6a8a46f: Waiting 05:06:00 5d3b04190fa2: Waiting 05:06:00 2f39f015ded8: Waiting 05:06:00 5c69ac0246d0: Download complete 05:06:00 3a2ae6a8a46f: Verifying Checksum 05:06:00 3a2ae6a8a46f: Download complete 05:06:01 33b1e0a273af: Verifying Checksum 05:06:01 33b1e0a273af: Download complete 05:06:01 5d3b04190fa2: Download complete 05:06:01 ec43610c2a17: Verifying Checksum 05:06:01 5eb5b503b376: Download complete 05:06:02 2f39f015ded8: Verifying Checksum 05:06:02 2f39f015ded8: Download complete 05:06:02 5eb5b503b376: Pull complete 05:06:02 5c69ac0246d0: Pull complete 05:06:02 ec43610c2a17: Pull complete 05:06:03 3a2ae6a8a46f: Pull complete 05:06:03 33b1e0a273af: Pull complete 05:06:03 5d3b04190fa2: Pull complete 05:06:07 2f39f015ded8: Pull complete 05:06:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:06:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:06:07 prd-ubuntu20.04-docker-8c-8g-6823 does not seem to be running inside a container 05:06:07 $ 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-380 -v /w/workspace/xfoundry_device-modbus-go_PR-380:/w/workspace/xfoundry_device-modbus-go_PR-380:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-380@tmp:/w/workspace/xfoundry_device-modbus-go_PR-380@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:06:09 $ docker top 559aa4796041d1d890ab5f97d416d6f95027580ba3164f8e50039dd399dcf50f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:06:09 ---> job-cost.sh 05:06:09 lf-activate-venv: SKIPPING 05:06:09 INFO: No Stack... 05:06:09 INFO: Retrieving Pricing Info for: v3-standard-8 05:06:10 INFO: Archiving Costs [Pipeline] sh 05:06:10 + cat /w/workspace/xfoundry_device-modbus-go_PR-380/archives/cost.csv 05:06:10 + cut -d, -f6 [Pipeline] lock 05:06:10 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-380-1-stack-cost] 05:06:10 Resource [jenkins-edgexfoundry-device-modbus-go-PR-380-1-stack-cost] did not exist. Created. 05:06:10 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-380-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:06:10 + echo total: 0.2199999988079071 [Pipeline] stash 05:06:10 Stashed 1 file(s) [Pipeline] } 05:06:11 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-380-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:06:11 $ docker stop --time=1 559aa4796041d1d890ab5f97d416d6f95027580ba3164f8e50039dd399dcf50f 05:06:12 $ docker rm -f 559aa4796041d1d890ab5f97d416d6f95027580ba3164f8e50039dd399dcf50f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:06:46 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6827 in /w/workspace/xfoundry_device-modbus-go_PR-380 [Pipeline] { [Pipeline] ws 05:06:46 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 05:06:46 Selected Git installation does not exist. Using Default 05:06:46 The recommended git tool is: NONE 05:06:52 using credential edgex-jenkins-ssh 05:06:52 Cloning the remote Git repository 05:06:52 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:06:53 > git init /w/workspace/device-modbus-go/1 # timeout=10 05:06:53 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:06:53 > git --version # timeout=10 05:06:53 > git --version # 'git version 2.25.1' 05:06:53 using GIT_SSH to set credentials SSH Credentials for GitHub 05:06:53 Verifying host key using known hosts file 05:06:53 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 05:06:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:06:54 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:06:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:06:55 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:06:56 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:06:56 using GIT_SSH to set credentials SSH Credentials for GitHub 05:06:56 Verifying host key using known hosts file 05:06:56 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 05:06:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/380/head:refs/remotes/origin/PR-380 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:06:56 Merging remotes/origin/main commit 89c845d2fde685b2112bd4b33853dabf0a8ef293 into PR head commit 3980f2fc5f1fe6e270ad13e0308336c84ec0cb1f 05:06:56 Merge succeeded, producing 3980f2fc5f1fe6e270ad13e0308336c84ec0cb1f 05:06:56 Checking out Revision 3980f2fc5f1fe6e270ad13e0308336c84ec0cb1f (PR-380) 05:06:57 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 05:06:57 > git --version # timeout=10 05:06:57 > git --version # 'git version 2.25.1' 05:06:57 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 05:06:56 > git config core.sparsecheckout # timeout=10 05:06:56 > git checkout -f 3980f2fc5f1fe6e270ad13e0308336c84ec0cb1f # timeout=10 05:06:56 > git remote # timeout=10 05:06:56 > git config --get remote.origin.url # timeout=10 05:06:56 using GIT_SSH to set credentials SSH Credentials for GitHub 05:06:56 Verifying host key using known hosts file 05:06:56 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 05:06:56 > git merge 89c845d2fde685b2112bd4b33853dabf0a8ef293 # timeout=10 05:06:56 > git rev-parse HEAD^{commit} # timeout=10 05:06:56 > git config core.sparsecheckout # timeout=10 05:06:56 > git checkout -f 3980f2fc5f1fe6e270ad13e0308336c84ec0cb1f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:06:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:06:58 % Total % Received % Xferd Average Speed Time Time Time Current 05:06:58 Dload Upload Total Spent Left Speed 05:06:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 183k 0 --:--:-- --:--:-- --:--:-- 183k [Pipeline] sh 05:06:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:06:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:06:59 + sudo tee /etc/docker/daemon.new 05:06:59 { 05:06:59 "registry-mirrors": [ 05:06:59 "https://nexus3.edgexfoundry.org:10001" 05:06:59 ], 05:06:59 "bip": "10.250.0.254/24", 05:06:59 "hosts": [ 05:06:59 "tcp://0.0.0.0:5555", 05:06:59 "unix:///var/run/docker.sock" 05:06:59 ], 05:06:59 "mtu": 1458, 05:06:59 "selinux-enabled": true, 05:06:59 "seccomp-profile": "/etc/docker/seccomp.json" 05:06:59 } [Pipeline] sh 05:07:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:07:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:07:18 provisioning config files... 05:07:18 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config2009249403084819498tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:07:19 ---> docker-login.sh 05:07:19 nexus3.edgexfoundry.org:10001 05:07:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:20 Configure a credential helper to remove this warning. See 05:07:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:20 05:07:20 Login Succeeded 05:07:20 nexus3.edgexfoundry.org:10002 05:07:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:20 Configure a credential helper to remove this warning. See 05:07:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:20 05:07:20 Login Succeeded 05:07:20 nexus3.edgexfoundry.org:10003 05:07:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:21 Configure a credential helper to remove this warning. See 05:07:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:21 05:07:21 Login Succeeded 05:07:21 nexus3.edgexfoundry.org:10004 05:07:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:21 Configure a credential helper to remove this warning. See 05:07:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:21 05:07:21 Login Succeeded 05:07:21 docker.io 05:07:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:22 Configure a credential helper to remove this warning. See 05:07:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:22 05:07:22 Login Succeeded 05:07:22 ---> docker-login.sh ends [Pipeline] } 05:07:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:07:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:07:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:07:22 ========================================================= 05:07:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 05:07:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:23 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 05:07:23 Sending build context to Docker daemon 3.213MB 05:07:23 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 05:07:23 Step 2/11 : FROM ${BASE} AS builder 05:07:23 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:07:23 b3c136eddcbf: Pulling fs layer 05:07:23 c0a3192eca97: Pulling fs layer 05:07:23 a050256f5b6f: Pulling fs layer 05:07:23 656be50a0ddc: Pulling fs layer 05:07:23 2bbca73fdf42: Pulling fs layer 05:07:23 f607e4fc86c3: Pulling fs layer 05:07:23 4d572c569a2c: Pulling fs layer 05:07:23 fcf976331f73: Pulling fs layer 05:07:23 656be50a0ddc: Waiting 05:07:23 2bbca73fdf42: Waiting 05:07:23 f607e4fc86c3: Waiting 05:07:23 4d572c569a2c: Waiting 05:07:23 fcf976331f73: Waiting 05:07:23 a050256f5b6f: Verifying Checksum 05:07:23 a050256f5b6f: Download complete 05:07:23 c0a3192eca97: Verifying Checksum 05:07:23 c0a3192eca97: Download complete 05:07:23 2bbca73fdf42: Verifying Checksum 05:07:23 2bbca73fdf42: Download complete 05:07:23 f607e4fc86c3: Verifying Checksum 05:07:23 f607e4fc86c3: Download complete 05:07:23 b3c136eddcbf: Verifying Checksum 05:07:25 b3c136eddcbf: Pull complete 05:07:25 fcf976331f73: Verifying Checksum 05:07:25 fcf976331f73: Download complete 05:07:25 c0a3192eca97: Pull complete 05:07:25 a050256f5b6f: Pull complete 05:07:26 4d572c569a2c: Verifying Checksum 05:07:26 4d572c569a2c: Download complete 05:07:26 656be50a0ddc: Verifying Checksum 05:07:26 656be50a0ddc: Download complete 05:07:41 656be50a0ddc: Pull complete 05:07:41 2bbca73fdf42: Pull complete 05:07:41 f607e4fc86c3: Pull complete 05:07:47 4d572c569a2c: Pull complete 05:07:49 fcf976331f73: Pull complete 05:07:49 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 05:07:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:07:49 ---> 3970a7415f9e 05:07:49 Step 3/11 : ARG ADD_BUILD_TAGS="" 05:07:51 ---> Running in a38709ce8718 05:07:51 Removing intermediate container a38709ce8718 05:07:51 ---> 655d91f2443e 05:07:51 Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:07:51 ---> Running in 0fc17ad504b2 05:07:52 Removing intermediate container 0fc17ad504b2 05:07:52 ---> 2021695f416f 05:07:52 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:07:52 ---> Running in 4d627e98d07f 05:07:54 Removing intermediate container 4d627e98d07f 05:07:54 ---> 310bfbce1210 05:07:54 Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:07:54 ---> Running in b2b7ce99fe1f 05:07:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:07:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:07:57 (1/8) Installing openssh-keygen (9.0_p1-r2) 05:07:57 (2/8) Installing libedit (20210910.3.1-r0) 05:07:57 (3/8) Installing openssh-client-common (9.0_p1-r2) 05:07:57 (4/8) Installing openssh-client-default (9.0_p1-r2) 05:07:58 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 05:07:58 (6/8) Installing openssh-server-common (9.0_p1-r2) 05:07:58 (7/8) Installing openssh-server (9.0_p1-r2) 05:07:58 (8/8) Installing openssh (9.0_p1-r2) 05:07:58 Executing busybox-1.35.0-r13.trigger 05:07:58 OK: 228 MiB in 59 packages 05:07:59 Removing intermediate container b2b7ce99fe1f 05:07:59 ---> ec7f2a8c82fc 05:07:59 Step 7/11 : WORKDIR /device-modbus-go 05:07:59 ---> Running in 98ccca935413 05:08:00 Removing intermediate container 98ccca935413 05:08:00 ---> 439620c44b2f 05:08:00 Step 8/11 : COPY go.mod vendor* ./ 05:08:00 ---> 3502c8451d5e 05:08:00 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:08:00 ---> Running in 065950055dcf 05:08:57 Removing intermediate container 065950055dcf 05:08:57 ---> d1a6f2cb74e6 05:08:57 Step 10/11 : COPY . . 05:08:57 ---> 3246023ec9d3 05:08:57 Step 11/11 : RUN ${MAKE} 05:08:57 ---> Running in bbff6f2eade8 05:08:57 noop 05:08:57 Removing intermediate container bbff6f2eade8 05:08:57 ---> c0090d88aa6a 05:08:57 Successfully built c0090d88aa6a 05:08:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:57 + docker inspect -f . ci-base-image-arm64 05:08:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:08:58 prd-ubuntu20.04-docker-arm64-4c-16g-6827 does not seem to be running inside a container 05:08:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:08:59 $ docker top 3b95a254bd8015e4c120d44243242e268e45ee2fdf072f06ab3baf5750b2de9d -eo pid,comm [Pipeline] { [Pipeline] sh 05:09:00 + go version 05:09:00 go version go1.18.3 linux/arm64 [Pipeline] } 05:09:00 $ docker stop --time=1 3b95a254bd8015e4c120d44243242e268e45ee2fdf072f06ab3baf5750b2de9d 05:09:02 $ docker rm -f 3b95a254bd8015e4c120d44243242e268e45ee2fdf072f06ab3baf5750b2de9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:03 + docker inspect -f . ci-base-image-arm64 05:09:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:09:03 prd-ubuntu20.04-docker-arm64-4c-16g-6827 does not seem to be running inside a container 05:09:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:09:04 $ docker top a8196831dec7576bacd00e0ca8d0a1dc86bd12469e4863f9de1457feb20eb0a4 -eo pid,comm [Pipeline] { [Pipeline] sh 05:09:05 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 05:09:05 + make test 05:09:06 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:09:08 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:10:44 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:10:46 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.066s coverage: 47.7% of statements 05:10:47 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:10:47 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:11:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:11:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:11:26 ./bin/test-attribution-txt.sh [Pipeline] echo 05:11:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:11:26 $ docker stop --time=1 a8196831dec7576bacd00e0ca8d0a1dc86bd12469e4863f9de1457feb20eb0a4 05:11:28 $ docker rm -f a8196831dec7576bacd00e0ca8d0a1dc86bd12469e4863f9de1457feb20eb0a4 [Pipeline] // withDockerContainer [Pipeline] sh 05:11:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:11:29 Warning: overwriting stash ‘coverage-report’ 05:11:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:11:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:11:31 + ls -al . 05:11:31 total 184 05:11:31 drwxrwxr-x 9 jenkins jenkins 4096 Oct 3 05:09 . 05:11:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 05:06 .. 05:11:31 -rw-rw-r-- 1 jenkins jenkins 140 Oct 3 05:06 .dockerignore 05:11:31 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 05:06 .git 05:11:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:06 .github 05:11:31 -rw-rw-r-- 1 jenkins jenkins 331 Oct 3 05:06 .gitignore 05:11:31 -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 05:06 .golangci.yml 05:11:31 -rw-rw-r-- 1 jenkins jenkins 10121 Oct 3 05:06 Attribution.txt 05:11:31 -rw-rw-r-- 1 jenkins jenkins 10001 Oct 3 05:06 CHANGELOG.md 05:11:31 -rw-rw-r-- 1 jenkins jenkins 1606 Oct 3 05:06 Dockerfile 05:11:31 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 05:06 GOVERNANCE.md 05:11:31 -rw-rw-r-- 1 jenkins jenkins 680 Oct 3 05:06 Jenkinsfile 05:11:31 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 05:06 LICENSE 05:11:31 -rw-rw-r-- 1 jenkins jenkins 2101 Oct 3 05:06 Makefile 05:11:31 -rw-rw-r-- 1 jenkins jenkins 622 Oct 3 05:06 OWNERS.md 05:11:31 -rw-rw-r-- 1 jenkins jenkins 4061 Oct 3 05:06 README.md 05:11:31 -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 05:04 VERSION 05:11:31 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 05:06 bin 05:11:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:06 cmd 05:11:31 -rw-r--r-- 1 jenkins jenkins 23241 Oct 3 05:10 coverage.out 05:11:31 -rw-rw-r-- 1 jenkins jenkins 3643 Oct 3 05:06 go.mod 05:11:31 -rw-rw-r-- 1 jenkins jenkins 38288 Oct 3 05:06 go.sum 05:11:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:06 internal 05:11:31 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 05:06 simulator 05:11:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 05:06 snap 05:11:31 -rw-rw-r-- 1 jenkins jenkins 229 Oct 3 05:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11: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=3980f2fc5f1fe6e270ad13e0308336c84ec0cb1f --label arch=arm64 --label version=0.0.0 . 05:11:32 Sending build context to Docker daemon 3.237MB 05:11:32 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 05:11:32 Step 2/24 : FROM ${BASE} AS builder 05:11:32 ---> c0090d88aa6a 05:11:32 Step 3/24 : ARG ADD_BUILD_TAGS="" 05:11:32 ---> Running in ad228e63a6f6 05:11:32 Removing intermediate container ad228e63a6f6 05:11:32 ---> 4bd33a74a1e7 05:11:32 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:11:32 ---> Running in d69e2bd494ae 05:11:33 Removing intermediate container d69e2bd494ae 05:11:33 ---> 6c04e7a953c3 05:11:33 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:11:33 ---> Running in 179a65c24157 05:11:35 Removing intermediate container 179a65c24157 05:11:35 ---> bb39dc9a3923 05:11:35 Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:11:35 ---> Running in 631402483c3b 05:11:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:11:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:11:38 OK: 228 MiB in 59 packages 05:11:40 Removing intermediate container 631402483c3b 05:11:40 ---> 939a787cdb6a 05:11:40 Step 7/24 : WORKDIR /device-modbus-go 05:11:40 ---> Running in e485277abde6 05:11:40 Removing intermediate container e485277abde6 05:11:40 ---> 06609a0d8785 05:11:40 Step 8/24 : COPY go.mod vendor* ./ 05:11:41 ---> 4106ee382245 05:11:41 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:11:41 ---> Running in 624cb73730c4 05:11:43 Removing intermediate container 624cb73730c4 05:11:43 ---> 0a37d59799d9 05:11:43 Step 10/24 : COPY . . 05:11:44 ---> 7cf5253869bc 05:11:44 Step 11/24 : RUN ${MAKE} 05:11:44 ---> Running in 6a186194bb41 05:11:45 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 05:14:37 Removing intermediate container 6a186194bb41 05:14:37 ---> e23fe51f48c9 05:14:37 Step 12/24 : FROM alpine:3.14 05:14:37 3.14: Pulling from library/alpine 05:14:37 90cda3b7c325: Pulling fs layer 05:14:37 90cda3b7c325: Verifying Checksum 05:14:37 90cda3b7c325: Download complete 05:14:37 90cda3b7c325: Pull complete 05:14:37 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 05:14:37 Status: Downloaded newer image for alpine:3.14 05:14:37 ---> 376ba31ae3da 05:14:37 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:14:37 ---> Running in 4cc56cbe1d93 05:14:37 Removing intermediate container 4cc56cbe1d93 05:14:37 ---> a8ec95cc8f81 05:14:37 Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:14:37 ---> Running in eb42b9d65617 05:14:37 Removing intermediate container eb42b9d65617 05:14:37 ---> 97a0051d9087 05:14:37 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 05:14:37 ---> Running in 24f0b9e32839 05:14:37 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:14:37 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:14:37 (1/6) Installing dumb-init (1.2.5-r1) 05:14:37 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:14:37 (3/6) Installing libsodium (1.0.18-r0) 05:14:37 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:14:37 (5/6) Installing libzmq (4.3.4-r0) 05:14:37 (6/6) Installing zeromq (4.3.4-r0) 05:14:37 Executing busybox-1.33.1-r8.trigger 05:14:37 OK: 8 MiB in 20 packages 05:14:37 Removing intermediate container 24f0b9e32839 05:14:37 ---> 590f6fcfa140 05:14:37 Step 16/24 : COPY --from=builder /device-modbus-go/cmd / 05:14:39 ---> c9488a96228a 05:14:39 Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / 05:14:39 ---> dff9e974dd67 05:14:39 Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:14:40 ---> edfaa15bc511 05:14:40 Step 19/24 : EXPOSE 59901 05:14:40 ---> Running in 9b4f5af1f51b 05:14:40 Removing intermediate container 9b4f5af1f51b 05:14:40 ---> b61890fe94bb 05:14:40 Step 20/24 : ENTRYPOINT ["/device-modbus"] 05:14:40 ---> Running in 70bac1bf7a46 05:14:40 Removing intermediate container 70bac1bf7a46 05:14:40 ---> 5fc067f5aeb5 05:14:40 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:14:41 ---> Running in 0c3ed8fa6cc0 05:14:41 Removing intermediate container 0c3ed8fa6cc0 05:14:41 ---> 55884153aee8 05:14:41 Step 22/24 : LABEL arch=arm64 05:14:41 ---> Running in 48a68a0ead9f 05:14:41 Removing intermediate container 48a68a0ead9f 05:14:41 ---> 6b3f00d76165 05:14:41 Step 23/24 : LABEL git_sha=3980f2fc5f1fe6e270ad13e0308336c84ec0cb1f 05:14:42 ---> Running in 7f7f9a38d7e3 05:14:42 Removing intermediate container 7f7f9a38d7e3 05:14:42 ---> dbf069c9294d 05:14:42 Step 24/24 : LABEL version=0.0.0 05:14:42 ---> Running in ccbdf0d66a57 05:14:42 Removing intermediate container ccbdf0d66a57 05:14:42 ---> 05717c8ddaee 05:14:42 [Warning] One or more build-args [ARCH] were not consumed 05:14:42 Successfully built 05717c8ddaee 05:14:42 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:14:43 05:14:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:14:43 arm64: Pulling from edgex-lftools-log-publisher 05:14:43 8998bd30e6a1: Pulling fs layer 05:14:43 04944245beec: Pulling fs layer 05:14:43 699f458cf7ca: Pulling fs layer 05:14:43 765212b225bb: Pulling fs layer 05:14:43 f23df028b6ca: Pulling fs layer 05:14:43 d65c8cfc05b1: Pulling fs layer 05:14:43 2437ff75d9bd: Pulling fs layer 05:14:43 f23df028b6ca: Waiting 05:14:43 d65c8cfc05b1: Waiting 05:14:43 2437ff75d9bd: Waiting 05:14:44 04944245beec: Verifying Checksum 05:14:44 04944245beec: Download complete 05:14:44 765212b225bb: Download complete 05:14:44 f23df028b6ca: Verifying Checksum 05:14:44 f23df028b6ca: Download complete 05:14:44 d65c8cfc05b1: Verifying Checksum 05:14:44 d65c8cfc05b1: Download complete 05:14:44 699f458cf7ca: Verifying Checksum 05:14:44 699f458cf7ca: Download complete 05:14:44 8998bd30e6a1: Verifying Checksum 05:14:44 8998bd30e6a1: Download complete 05:14:47 2437ff75d9bd: Verifying Checksum 05:14:47 2437ff75d9bd: Download complete 05:14:48 8998bd30e6a1: Pull complete 05:14:49 04944245beec: Pull complete 05:14:50 699f458cf7ca: Pull complete 05:14:50 765212b225bb: Pull complete 05:14:51 f23df028b6ca: Pull complete 05:14:51 d65c8cfc05b1: Pull complete 05:15:03 2437ff75d9bd: Pull complete 05:15:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:15:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:15:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:15:04 prd-ubuntu20.04-docker-arm64-4c-16g-6827 does not seem to be running inside a container 05:15:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:15:06 $ docker top 1ad39bd08821d7744c77fd22ceb5a05cbf3959c5dfe6a0afe8e0186a25c9bff6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:15:07 ---> job-cost.sh 05:15:07 lf-activate-venv: SKIPPING 05:15:07 INFO: No Stack... 05:15:08 INFO: Retrieving Pricing Info for: v3-standard-4 05:15:09 INFO: Archiving Costs [Pipeline] sh 05:15:09 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 05:15:09 + cut -d, -f6 [Pipeline] lock 05:15:09 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-380-1-stack-cost] 05:15:09 Resource [jenkins-edgexfoundry-device-modbus-go-PR-380-1-stack-cost] did not exist. Created. 05:15:09 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-380-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:15:10 /w/workspace/device-modbus-go/1@tmp/durable-b009c6ec/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:15:10 + echo total: 0.10999999940395355 [Pipeline] stash 05:15:10 Warning: overwriting stash ‘stack-cost’ 05:15:10 Stashed 1 file(s) [Pipeline] } 05:15:10 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-380-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:15:11 $ docker stop --time=1 1ad39bd08821d7744c77fd22ceb5a05cbf3959c5dfe6a0afe8e0186a25c9bff6 05:15:12 $ docker rm -f 1ad39bd08821d7744c77fd22ceb5a05cbf3959c5dfe6a0afe8e0186a25c9bff6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:15:13 provisioning config files... 05:15:13 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-380@tmp/config12926612081188840585tmp [Pipeline] { [Pipeline] sh 05:15:13 + set +x 05:15:13 + bash -s -- 05:15:13 + curl -s https://codecov.io/bash 05:15:13 05:15:13 _____ _ 05:15:13 / ____| | | 05:15:13 | | ___ __| | ___ ___ _____ __ 05:15:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:15:13 | |___| (_) | (_| | __/ (_| (_) \ V / 05:15:13 \_____\___/ \__,_|\___|\___\___/ \_/ 05:15:13 Bash-1.0.6 05:15:13 05:15:13 05:15:13 ==> git version 2.25.1 found 05:15:13 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:15:13 Release-Date: 2020-01-08 05:15:13 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:15:13 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:15:13 ==> Jenkins CI detected. 05:15:13 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-380 05:15:13 project root: . 05:15:13 --> token set from env 05:15:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:15:13 ==> Running gcov in . (disable via -X gcov) 05:15:13 ==> Python coveragepy not found 05:15:13 ==> Searching for coverage reports in: 05:15:13 + . 05:15:13 -> Found 1 reports 05:15:13 ==> Detecting git/mercurial file structure 05:15:13 ==> Reading reports 05:15:13 + ./coverage.out bytes=23241 05:15:13 ==> Appending adjustments 05:15:13 https://docs.codecov.io/docs/fixing-reports 05:15:14 + Found adjustments 05:15:14 ==> Gzipping contents 05:15:14 4.0K /tmp/codecov.I98XPX.gz 05:15:14 ==> Uploading reports 05:15:14 url: https://codecov.io 05:15:14 query: branch=PR-380&commit=3980f2fc5f1fe6e270ad13e0308336c84ec0cb1f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-380%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=380&job=&cmd_args= 05:15:14 -> Pinging Codecov 05:15:14 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-380&commit=3980f2fc5f1fe6e270ad13e0308336c84ec0cb1f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-380%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=380&job=&cmd_args= 05:15:14 -> Uploading to 05:15:14 https://storage.googleapis.com/codecov/v4/raw/2022-10-03/55DBCA73C666E3227836607328DD7E49/3980f2fc5f1fe6e270ad13e0308336c84ec0cb1f/f09cb1e5-8d3e-4f5f-b2a5-731fc2ad5941.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221003%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221003T051514Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=416509e98320d512a425ba9da01a664739a0cc2deb33ff04fb112d39428c13df 05:15:14 % Total % Received % Xferd Average Speed Time Time Time Current 05:15:14 Dload Upload Total Spent Left Speed 05:15:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3930 0 0 100 3930 0 13598 --:--:-- --:--:-- --:--:-- 13598 05:15:14 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/3980f2fc5f1fe6e270ad13e0308336c84ec0cb1f [Pipeline] } 05:15:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:15:16 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-380/archives ] 05:15:16 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-380/archives 05:15:16 total 16 05:15:16 drwxr-xr-x 3 root root 4096 Oct 3 05:06 . 05:15:16 drwxrwxr-x 11 jenkins jenkins 4096 Oct 3 05:06 .. 05:15:16 drwxr-xr-x 2 root root 4096 Oct 3 05:06 cost 05:15:16 -rw-r--r-- 1 root root 88 Oct 3 05:06 cost.csv 05:15:16 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-380/archives 05:15:16 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-380/archives 05:15:16 total 16 05:15:16 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 05:06 . 05:15:16 drwxrwxr-x 11 jenkins jenkins 4096 Oct 3 05:06 .. 05:15:16 drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 05:06 cost 05:15:16 -rw-r--r-- 1 jenkins jenkins 88 Oct 3 05:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:15:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:15:17 ---> package-listing.sh 05:15:17 ++ facter osfamily 05:15:17 ++ tr '[:upper:]' '[:lower:]' 05:15:17 + OS_FAMILY=debian 05:15:17 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-380 05:15:17 + START_PACKAGES=/tmp/packages_start.txt 05:15:17 + END_PACKAGES=/tmp/packages_end.txt 05:15:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:15:17 + PACKAGES=/tmp/packages_start.txt 05:15:17 + '[' /w/workspace/xfoundry_device-modbus-go_PR-380 ']' 05:15:17 + PACKAGES=/tmp/packages_end.txt 05:15:17 + case "${OS_FAMILY}" in 05:15:17 + dpkg -l 05:15:17 + grep '^ii' 05:15:17 + '[' -f /tmp/packages_start.txt ']' 05:15:17 + '[' -f /tmp/packages_end.txt ']' 05:15:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:15:17 + '[' /w/workspace/xfoundry_device-modbus-go_PR-380 ']' 05:15:17 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-380/archives/ 05:15:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-380/archives/ [Pipeline] echo 05:15:17 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-380/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:15:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:15:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:15:19 prd-ubuntu20.04-docker-8c-8g-6823 does not seem to be running inside a container 05:15:19 $ 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-380/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-380 -v /w/workspace/xfoundry_device-modbus-go_PR-380:/w/workspace/xfoundry_device-modbus-go_PR-380:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-380@tmp:/w/workspace/xfoundry_device-modbus-go_PR-380@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:15:19 $ docker top 5d22f8ebb937bc3a15492c7df4b548cd399926400d2ce7e0794a60883624089f -eo pid,comm [Pipeline] { [Pipeline] sh 05:15:19 + touch /tmp/pre-build-complete [Pipeline] sh 05:15:19 + mkdir -p /var/log/sysstat [Pipeline] sh 05:15:20 + ls /var/log/sa-host 05:15:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:15:20 provisioning config files... 05:15:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-380@tmp/config12961090381931797416tmp [Pipeline] { [Pipeline] echo 05:15:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:15:20 ---> create-netrc.sh [Pipeline] } 05:15:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:15:21 ---> python-tools-install.sh [Pipeline] echo 05:15:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:15:21 ---> sudo-logs.sh 05:15:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:15:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:15:21 ---> job-cost.sh 05:15:21 lf-activate-venv: SKIPPING 05:15:21 DEBUG: total: 0.2199999988079071 05:15:21 INFO: Retrieving Stack Cost... 05:15:22 INFO: Retrieving Pricing Info for: v3-standard-8 05:15:22 INFO: Archiving Costs [Pipeline] echo 05:15:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:15:23 ---> logs-deploy.sh 05:15:23 lf-activate-venv: SKIPPING 05:15:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-380/1 05:15:23 INFO: archiving workspace using pattern(s): 05:15:24 Archives upload complete. 05:15:24 INFO: archiving logs to Nexus