Pull request #379 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c8e33207e731f24c7f3ad998c4e7d15003778369+89c845d2fde685b2112bd4b33853dabf0a8ef293 (4216e462bda6707406c8da861ef1752536a5026a) 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-ssh180220447125929742.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-ssh2663941957039303040.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-379/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-379/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12312580911149442587.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-379/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12506676983806713214.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-ssh15318690062969344423.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-379/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-379/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16992530026252157872.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-6820 in /w/workspace/xfoundry_device-modbus-go_PR-379 [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-379 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/379/head:refs/remotes/origin/PR-379 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 89c845d2fde685b2112bd4b33853dabf0a8ef293 into PR head commit c8e33207e731f24c7f3ad998c4e7d15003778369 Merge succeeded, producing c8e33207e731f24c7f3ad998c4e7d15003778369 Checking out Revision c8e33207e731f24c7f3ad998c4e7d15003778369 (PR-379) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/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:03:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:03:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f c8e33207e731f24c7f3ad998c4e7d15003778369 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 89c845d2fde685b2112bd4b33853dabf0a8ef293 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c8e33207e731f24c7f3ad998c4e7d15003778369 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:03:09 ========================================================= 05:03:09 EdgeX Global Pipelines Version Info 05:03:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:03:09 ------------------- 05:03:09 stable info: 05:03:09 ------------------- 05:03:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:03:09 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 05:03:09 Message: update stable to v1.0.239 05:03:10 ------------------- 05:03:10 experimental info: 05:03:10 ------------------- 05:03:10 Commited By: **** collab-it+edgex@linuxfoundation.org 05:03:10 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 05:03:10 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:03:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:03:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:03:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:03:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:03:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:03:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:03:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:03:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:03:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:03:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:03:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:03:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:03:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:03:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:03:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:03:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:03:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:03:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:03:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:03:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:03:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:03:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:03:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:03:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:03:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:03:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:03:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:03:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-379 [Pipeline] echo 05:03:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-379 [Pipeline] echo 05:03:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-379 [Pipeline] echo 05:03:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c8e33207e731f24c7f3ad998c4e7d15003778369 [Pipeline] echo 05:03:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c8e3320 [Pipeline] echo 05:03:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:03:12 provisioning config files... 05:03:12 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-379@tmp/config11573321527045467301tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:03:12 ---> docker-login.sh 05:03:12 nexus3.edgexfoundry.org:10001 05:03:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:12 Configure a credential helper to remove this warning. See 05:03:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:12 05:03:12 Login Succeeded 05:03:12 nexus3.edgexfoundry.org:10002 05:03:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:12 Configure a credential helper to remove this warning. See 05:03:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:12 05:03:12 Login Succeeded 05:03:12 nexus3.edgexfoundry.org:10003 05:03:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:13 Configure a credential helper to remove this warning. See 05:03:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:13 05:03:13 Login Succeeded 05:03:13 nexus3.edgexfoundry.org:10004 05:03:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:13 Configure a credential helper to remove this warning. See 05:03:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:13 05:03:13 Login Succeeded 05:03:13 docker.io 05:03:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:13 Configure a credential helper to remove this warning. See 05:03:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:13 05:03:13 Login Succeeded 05:03:13 ---> docker-login.sh ends [Pipeline] } 05:03:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:03:14 + git rev-list -1 --merges c8e33207e731f24c7f3ad998c4e7d15003778369~1..c8e33207e731f24c7f3ad998c4e7d15003778369 [Pipeline] echo 05:03:14 -----------> git rev-list -1 --merges c8e33207e731f24c7f3ad998c4e7d15003778369~1..c8e33207e731f24c7f3ad998c4e7d15003778369 c8e33207e731f24c7f3ad998c4e7d15003778369 [false] [Pipeline] sh 05:03:14 + git log --format=format:%s -1 c8e33207e731f24c7f3ad998c4e7d15003778369 [Pipeline] echo 05:03:14 ========================================================= 05:03:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:03:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:03:14 + git log --format=format:%s -1 c8e33207e731f24c7f3ad998c4e7d15003778369 [Pipeline] echo 05:03:14 [semverPrep] GIT_COMMIT: c8e33207e731f24c7f3ad998c4e7d15003778369, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 05:03:15 [semverPrep] This is not a build commit. [Pipeline] sh 05:03:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:03:15 + grep -v github /etc/ssh/ssh_known_hosts 05:03:15 + [ -e /tmp/ssh_known_hosts ] 05:03:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:03:15 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:03:15 + sudo tee -a /etc/ssh/ssh_known_hosts 05:03:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:03:15 05:03:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:03:16 0.1.4: Pulling from edgex-devops/py-git-semver 05:03:16 b85a868b505f: Pulling fs layer 05:03:16 e2be974225ed: Pulling fs layer 05:03:16 339a4e72a1f5: Pulling fs layer 05:03:16 988bab9f4d93: Pulling fs layer 05:03:16 1469e6f7b9e6: Pulling fs layer 05:03:16 eaf3925da568: Pulling fs layer 05:03:16 bab4dde63d76: Pulling fs layer 05:03:16 bde34c3a00c8: Pulling fs layer 05:03:16 b352a97aabf1: Pulling fs layer 05:03:16 4872d77fe225: Pulling fs layer 05:03:16 5851b861e8e6: Pulling fs layer 05:03:16 bab4dde63d76: Waiting 05:03:16 bde34c3a00c8: Waiting 05:03:16 b352a97aabf1: Waiting 05:03:16 4872d77fe225: Waiting 05:03:16 5851b861e8e6: Waiting 05:03:16 1469e6f7b9e6: Waiting 05:03:16 eaf3925da568: Waiting 05:03:16 988bab9f4d93: Waiting 05:03:16 e2be974225ed: Download complete 05:03:16 988bab9f4d93: Download complete 05:03:16 339a4e72a1f5: Verifying Checksum 05:03:16 339a4e72a1f5: Download complete 05:03:16 1469e6f7b9e6: Verifying Checksum 05:03:16 1469e6f7b9e6: Download complete 05:03:16 eaf3925da568: Download complete 05:03:16 bde34c3a00c8: Download complete 05:03:16 b352a97aabf1: Download complete 05:03:16 4872d77fe225: Verifying Checksum 05:03:16 4872d77fe225: Download complete 05:03:16 5851b861e8e6: Download complete 05:03:16 b85a868b505f: Verifying Checksum 05:03:16 b85a868b505f: Download complete 05:03:16 bab4dde63d76: Verifying Checksum 05:03:16 bab4dde63d76: Download complete 05:03:17 b85a868b505f: Pull complete 05:03:17 e2be974225ed: Pull complete 05:03:18 339a4e72a1f5: Pull complete 05:03:18 988bab9f4d93: Pull complete 05:03:18 1469e6f7b9e6: Pull complete 05:03:18 eaf3925da568: Pull complete 05:03:20 bab4dde63d76: Pull complete 05:03:20 bde34c3a00c8: Pull complete 05:03:20 b352a97aabf1: Pull complete 05:03:20 4872d77fe225: Pull complete 05:03:20 5851b861e8e6: Pull complete 05:03:20 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:03:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:03:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:03:20 prd-ubuntu20.04-docker-8c-8g-6820 does not seem to be running inside a container 05:03:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-379 -v /w/workspace/xfoundry_device-modbus-go_PR-379:/w/workspace/xfoundry_device-modbus-go_PR-379:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-379@tmp:/w/workspace/xfoundry_device-modbus-go_PR-379@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:03:22 $ docker top 89ffe0cf708eab2cb1471326e4677e45a9facb3d008e65e3d88bff16f4eb30cc -eo pid,comm 05:03:22 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:03:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:03:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:03:22 [ssh-agent] Looking for ssh-agent implementation... 05:03:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:03:22 $ docker exec 89ffe0cf708eab2cb1471326e4677e45a9facb3d008e65e3d88bff16f4eb30cc ssh-agent 05:03:22 SSH_AUTH_SOCK=/tmp/ssh-YbeDdyqb8CAJ/agent.31 05:03:22 SSH_AGENT_PID=37 05:03:22 Running ssh-add (command line suppressed) 05:03:22 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-379@tmp/private_key_6788721784902547694.key (/w/workspace/xfoundry_device-modbus-go_PR-379@tmp/private_key_6788721784902547694.key) 05:03:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:03:23 + git tag --points-at HEAD [Pipeline] } 05:03:23 $ docker exec --env ******** --env ******** 89ffe0cf708eab2cb1471326e4677e45a9facb3d008e65e3d88bff16f4eb30cc ssh-agent -k 05:03:23 unset SSH_AUTH_SOCK; 05:03:23 unset SSH_AGENT_PID; 05:03:23 echo Agent pid 37 killed; 05:03:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:03:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:03:23 [ssh-agent] Looking for ssh-agent implementation... 05:03:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:03:23 $ docker exec 89ffe0cf708eab2cb1471326e4677e45a9facb3d008e65e3d88bff16f4eb30cc ssh-agent 05:03:23 SSH_AUTH_SOCK=/tmp/ssh-9onlXy6u1ACB/agent.69 05:03:23 SSH_AGENT_PID=75 05:03:23 Running ssh-add (command line suppressed) 05:03:23 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-379@tmp/private_key_11847526802805150189.key (/w/workspace/xfoundry_device-modbus-go_PR-379@tmp/private_key_11847526802805150189.key) 05:03:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:03:24 + git semver init 05:03:24 2022-10-03 05:03:24,175 [run_init] DEBUG init version:0.0.0 force:False 05:03:24 2022-10-03 05:03:24,177 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-379/.semver 05:03:24 2022-10-03 05:03:24,177 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-379/.semver 05:03:24 2022-10-03 05:03:24,177 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-379/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-379, universal_newlines=False, shell=None, istream=None) 05:03:25 2022-10-03 05:03:25,058 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-379/.git/info/exclude 05:03:25 2022-10-03 05:03:25,059 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-379/.semver/PR-379 with force:False 05:03:25 2022-10-03 05:03:25,059 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-379/.semver/PR-379 05:03:25 2022-10-03 05:03:25,064 [execute] INFO git cat-file --batch-check 05:03:25 2022-10-03 05:03:25,064 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-379/.semver, universal_newlines=False, shell=None, istream=) 05:03:25 2022-10-03 05:03:25,070 [execute] INFO git cat-file --batch 05:03:25 2022-10-03 05:03:25,070 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-379/.semver, universal_newlines=False, shell=None, istream=) 05:03:25 2022-10-03 05:03:25,075 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-379/.semver/PR-379 05:03:25 0.0.0 [Pipeline] } 05:03:25 $ docker exec --env ******** --env ******** 89ffe0cf708eab2cb1471326e4677e45a9facb3d008e65e3d88bff16f4eb30cc ssh-agent -k 05:03:25 unset SSH_AUTH_SOCK; 05:03:25 unset SSH_AGENT_PID; 05:03:25 echo Agent pid 75 killed; 05:03:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:03:25 + git semver [Pipeline] } 05:03:26 $ docker stop --time=1 89ffe0cf708eab2cb1471326e4677e45a9facb3d008e65e3d88bff16f4eb30cc 05:03:27 $ docker rm -f 89ffe0cf708eab2cb1471326e4677e45a9facb3d008e65e3d88bff16f4eb30cc [Pipeline] // withDockerContainer [Pipeline] sh 05:03:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:03:27 Stashed 1 file(s) [Pipeline] echo 05:03:27 [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:03:28 provisioning config files... 05:03:28 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-379@tmp/config11451268724304315588tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:03:28 ---> docker-login.sh 05:03:28 nexus3.edgexfoundry.org:10001 05:03:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:28 Configure a credential helper to remove this warning. See 05:03:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:28 05:03:28 Login Succeeded 05:03:28 nexus3.edgexfoundry.org:10002 05:03:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:28 Configure a credential helper to remove this warning. See 05:03:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:28 05:03:28 Login Succeeded 05:03:28 nexus3.edgexfoundry.org:10003 05:03:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:29 Configure a credential helper to remove this warning. See 05:03:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:29 05:03:29 Login Succeeded 05:03:29 nexus3.edgexfoundry.org:10004 05:03:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:29 Configure a credential helper to remove this warning. See 05:03:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:29 05:03:29 Login Succeeded 05:03:29 docker.io 05:03:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:29 Configure a credential helper to remove this warning. See 05:03:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:29 05:03:29 Login Succeeded 05:03:29 ---> docker-login.sh ends [Pipeline] } 05:03:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:03:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:03:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:03:29 ========================================================= 05:03:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:03:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:30 + 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:03:30 Sending build context to Docker daemon 6.173MB 05:03:30 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 05:03:30 Step 2/11 : FROM ${BASE} AS builder 05:03:30 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:03:30 2408cc74d12b: Pulling fs layer 05:03:30 ea60b727a1ce: Pulling fs layer 05:03:30 30c4a7721957: Pulling fs layer 05:03:30 370296b7ddb6: Pulling fs layer 05:03:30 7c6cee850709: Pulling fs layer 05:03:30 aa9baa53a306: Pulling fs layer 05:03:30 8b309c321861: Pulling fs layer 05:03:30 d8d76fd02f46: Pulling fs layer 05:03:30 fa31f396de31: Pulling fs layer 05:03:30 d8d76fd02f46: Waiting 05:03:30 aa9baa53a306: Waiting 05:03:30 8b309c321861: Waiting 05:03:30 370296b7ddb6: Waiting 05:03:30 7c6cee850709: Waiting 05:03:30 30c4a7721957: Verifying Checksum 05:03:30 30c4a7721957: Download complete 05:03:30 ea60b727a1ce: Verifying Checksum 05:03:30 ea60b727a1ce: Download complete 05:03:30 7c6cee850709: Download complete 05:03:30 aa9baa53a306: Verifying Checksum 05:03:30 aa9baa53a306: Download complete 05:03:30 2408cc74d12b: Download complete 05:03:30 8b309c321861: Verifying Checksum 05:03:30 2408cc74d12b: Pull complete 05:03:30 ea60b727a1ce: Pull complete 05:03:30 30c4a7721957: Pull complete 05:03:31 370296b7ddb6: Verifying Checksum 05:03:31 370296b7ddb6: Download complete 05:03:31 fa31f396de31: Verifying Checksum 05:03:31 fa31f396de31: Download complete 05:03:31 d8d76fd02f46: Download complete 05:03:34 370296b7ddb6: Pull complete 05:03:34 7c6cee850709: Pull complete 05:03:34 aa9baa53a306: Pull complete 05:03:35 8b309c321861: Pull complete 05:03:36 d8d76fd02f46: Pull complete 05:03:37 fa31f396de31: Pull complete 05:03:37 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 05:03:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:03:37 ---> cef68f9685f8 05:03:37 Step 3/11 : ARG ADD_BUILD_TAGS="" 05:03:38 ---> Running in 37f100bd8e0a 05:03:38 Removing intermediate container 37f100bd8e0a 05:03:38 ---> ea6dfb45b293 05:03:38 Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:03:38 ---> Running in 340984e58edf 05:03:38 Removing intermediate container 340984e58edf 05:03:38 ---> d7cfabf85ef9 05:03:38 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:03:39 ---> Running in 0fca618d403d 05:03:39 Removing intermediate container 0fca618d403d 05:03:39 ---> db98a1b81d6d 05:03:39 Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:03:39 ---> Running in 99f926ff94d7 05:03:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:03:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:03:41 (1/8) Installing openssh-keygen (9.0_p1-r2) 05:03:41 (2/8) Installing libedit (20210910.3.1-r0) 05:03:41 (3/8) Installing openssh-client-common (9.0_p1-r2) 05:03:41 (4/8) Installing openssh-client-default (9.0_p1-r2) 05:03:41 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 05:03:41 (6/8) Installing openssh-server-common (9.0_p1-r2) 05:03:41 (7/8) Installing openssh-server (9.0_p1-r2) 05:03:41 (8/8) Installing openssh (9.0_p1-r2) 05:03:41 Executing busybox-1.35.0-r13.trigger 05:03:41 OK: 217 MiB in 59 packages 05:03:42 Removing intermediate container 99f926ff94d7 05:03:42 ---> 394933c344a0 05:03:42 Step 7/11 : WORKDIR /device-modbus-go 05:03:42 ---> Running in e725bf2aa33b 05:03:42 Removing intermediate container e725bf2aa33b 05:03:42 ---> 8c8ab319fdfe 05:03:42 Step 8/11 : COPY go.mod vendor* ./ 05:03:42 ---> b43a0de53617 05:03:42 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:03:42 ---> Running in 8737521d6d28 05:03:43 Still waiting to schedule task 05:03:43 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:04:04 Removing intermediate container 8737521d6d28 05:04:04 ---> 89e107737bac 05:04:04 Step 10/11 : COPY . . 05:04:04 ---> 94969e70f9b0 05:04:04 Step 11/11 : RUN ${MAKE} 05:04:04 ---> Running in 65d162dca151 05:04:04 noop 05:04:04 Removing intermediate container 65d162dca151 05:04:04 ---> c1ba0c378f58 05:04:04 Successfully built c1ba0c378f58 05:04:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:04 + docker inspect -f . ci-base-image-x86_64 05:04:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:05 prd-ubuntu20.04-docker-8c-8g-6820 does not seem to be running inside a container 05:04:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-379 -v /w/workspace/xfoundry_device-modbus-go_PR-379:/w/workspace/xfoundry_device-modbus-go_PR-379:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-379@tmp:/w/workspace/xfoundry_device-modbus-go_PR-379@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-x86_64 cat 05:04:05 $ docker top 80b2062b6de07d010d6f4aa21dc80d28601b224fb0f7e9efbb29fe1a8887084c -eo pid,comm [Pipeline] { [Pipeline] sh 05:04:05 + go version 05:04:05 go version go1.18.3 linux/amd64 [Pipeline] } 05:04:05 $ docker stop --time=1 80b2062b6de07d010d6f4aa21dc80d28601b224fb0f7e9efbb29fe1a8887084c 05:04:07 $ docker rm -f 80b2062b6de07d010d6f4aa21dc80d28601b224fb0f7e9efbb29fe1a8887084c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:07 + docker inspect -f . ci-base-image-x86_64 05:04:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:07 prd-ubuntu20.04-docker-8c-8g-6820 does not seem to be running inside a container 05:04:08 $ 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-379 -v /w/workspace/xfoundry_device-modbus-go_PR-379:/w/workspace/xfoundry_device-modbus-go_PR-379:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-379@tmp:/w/workspace/xfoundry_device-modbus-go_PR-379@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-x86_64 cat 05:04:08 $ docker top 2e880e35ac27186b642ba1e4c43b4a1f2127579cc2aea3e766ddffad29c23f53 -eo pid,comm [Pipeline] { [Pipeline] sh 05:04:08 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-379 [Pipeline] fileExists [Pipeline] sh 05:04:09 + make test 05:04:09 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:04:09 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:04:19 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:04:19 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.016s coverage: 47.7% of statements 05:04: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:04:23 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:04:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:04:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:04:26 ./bin/test-attribution-txt.sh [Pipeline] echo 05:04:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:04:26 $ docker stop --time=1 2e880e35ac27186b642ba1e4c43b4a1f2127579cc2aea3e766ddffad29c23f53 05:04:28 $ docker rm -f 2e880e35ac27186b642ba1e4c43b4a1f2127579cc2aea3e766ddffad29c23f53 [Pipeline] // withDockerContainer [Pipeline] sh 05:04:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:04:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:04:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:04:30 + ls -al . 05:04:30 total 188 05:04:30 drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 05:04 . 05:04:30 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 05:03 .. 05:04:30 -rw-rw-r-- 1 jenkins jenkins 140 Oct 3 05:03 .dockerignore 05:04:30 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 05:04 .git 05:04:30 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:03 .github 05:04:30 -rw-rw-r-- 1 jenkins jenkins 331 Oct 3 05:03 .gitignore 05:04:30 -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 05:03 .golangci.yml 05:04:30 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 05:03 .semver 05:04:30 -rw-rw-r-- 1 jenkins jenkins 10121 Oct 3 05:03 Attribution.txt 05:04:30 -rw-rw-r-- 1 jenkins jenkins 10001 Oct 3 05:03 CHANGELOG.md 05:04:30 -rw-rw-r-- 1 jenkins jenkins 1606 Oct 3 05:03 Dockerfile 05:04:30 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 05:03 GOVERNANCE.md 05:04:30 -rw-rw-r-- 1 jenkins jenkins 680 Oct 3 05:03 Jenkinsfile 05:04:30 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 05:03 LICENSE 05:04:30 -rw-rw-r-- 1 jenkins jenkins 2101 Oct 3 05:03 Makefile 05:04:30 -rw-rw-r-- 1 jenkins jenkins 622 Oct 3 05:03 OWNERS.md 05:04:30 -rw-rw-r-- 1 jenkins jenkins 4061 Oct 3 05:03 README.md 05:04:30 -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 05:03 VERSION 05:04:30 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 05:03 bin 05:04:30 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:03 cmd 05:04:30 -rw-r--r-- 1 jenkins jenkins 23241 Oct 3 05:04 coverage.out 05:04:30 -rw-rw-r-- 1 jenkins jenkins 3643 Oct 3 05:03 go.mod 05:04:30 -rw-rw-r-- 1 jenkins jenkins 38288 Oct 3 05:03 go.sum 05:04:30 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:03 internal 05:04:30 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 05:03 simulator 05:04:30 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 05:03 snap 05:04:30 -rw-rw-r-- 1 jenkins jenkins 229 Oct 3 05:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:30 + 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=c8e33207e731f24c7f3ad998c4e7d15003778369 --label arch=amd64 --label version=0.0.0 . 05:04:30 Sending build context to Docker daemon 6.197MB 05:04:30 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 05:04:30 Step 2/24 : FROM ${BASE} AS builder 05:04:30 ---> c1ba0c378f58 05:04:30 Step 3/24 : ARG ADD_BUILD_TAGS="" 05:04:30 ---> Running in 106733781ab2 05:04:30 Removing intermediate container 106733781ab2 05:04:30 ---> 3e09af5d6147 05:04:30 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:04:30 ---> Running in 5f40a75fd391 05:04:30 Removing intermediate container 5f40a75fd391 05:04:30 ---> dee7357022ab 05:04:30 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:04:30 ---> Running in e996e4021fda 05:04:31 Removing intermediate container e996e4021fda 05:04:31 ---> f21397fde6d4 05:04:31 Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:04:31 ---> Running in 4117a27a573d 05:04:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:04:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:04:32 OK: 217 MiB in 59 packages 05:04:33 Removing intermediate container 4117a27a573d 05:04:33 ---> 544e89dd43a1 05:04:33 Step 7/24 : WORKDIR /device-modbus-go 05:04:33 ---> Running in 4b7eec1bf709 05:04:33 Removing intermediate container 4b7eec1bf709 05:04:33 ---> 47513bba11fe 05:04:33 Step 8/24 : COPY go.mod vendor* ./ 05:04:33 ---> ec0b40fcee0f 05:04:33 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:04:33 ---> Running in 36a7b70c677b 05:04:34 Removing intermediate container 36a7b70c677b 05:04:34 ---> fc4fe35c6bc9 05:04:34 Step 10/24 : COPY . . 05:04:34 ---> e3b56d127d09 05:04:34 Step 11/24 : RUN ${MAKE} 05:04:34 ---> Running in 1cb9a65e7736 05:04: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:04:52 Removing intermediate container 1cb9a65e7736 05:04:52 ---> d15c84e2e973 05:04:52 Step 12/24 : FROM alpine:3.14 05:04:53 3.14: Pulling from library/alpine 05:04:53 c7ed990a2339: Pulling fs layer 05:04:53 c7ed990a2339: Verifying Checksum 05:04:53 c7ed990a2339: Download complete 05:04:53 c7ed990a2339: Pull complete 05:04:53 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 05:04:53 Status: Downloaded newer image for alpine:3.14 05:04:53 ---> dd53f409bf0b 05:04:53 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:04:53 ---> Running in b2331ec1d0a3 05:04:53 Removing intermediate container b2331ec1d0a3 05:04:53 ---> 8940bf2aed5b 05:04:53 Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:04:53 ---> Running in 0f8854b47c0b 05:04:54 Removing intermediate container 0f8854b47c0b 05:04:54 ---> 2644cd038cfc 05:04:54 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 05:04:54 ---> Running in 81d13e444621 05:04:54 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:04:55 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:04:55 (1/6) Installing dumb-init (1.2.5-r1) 05:04:55 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:04:55 (3/6) Installing libsodium (1.0.18-r0) 05:04:55 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:04:56 (5/6) Installing libzmq (4.3.4-r0) 05:04:56 (6/6) Installing zeromq (4.3.4-r0) 05:04:56 Executing busybox-1.33.1-r8.trigger 05:04:56 OK: 8 MiB in 20 packages 05:04:56 Removing intermediate container 81d13e444621 05:04:56 ---> 22c97ba097b0 05:04:56 Step 16/24 : COPY --from=builder /device-modbus-go/cmd / 05:04:57 ---> ebed495c923a 05:04:57 Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / 05:04:57 ---> 1c3279e2edfc 05:04:57 Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:04:57 ---> 856372ec3911 05:04:57 Step 19/24 : EXPOSE 59901 05:04:57 ---> Running in f21713027700 05:04:57 Removing intermediate container f21713027700 05:04:57 ---> 3b87b2f6fffc 05:04:57 Step 20/24 : ENTRYPOINT ["/device-modbus"] 05:04:57 ---> Running in 003c707d7db1 05:04:57 Removing intermediate container 003c707d7db1 05:04:57 ---> bdad1d538750 05:04:57 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:04:57 ---> Running in 2d67050970cc 05:04:57 Removing intermediate container 2d67050970cc 05:04:57 ---> 73bf0f509f30 05:04:57 Step 22/24 : LABEL arch=amd64 05:04:57 ---> Running in 89c0be35610f 05:04:57 Removing intermediate container 89c0be35610f 05:04:57 ---> 785b26e795a0 05:04:57 Step 23/24 : LABEL git_sha=c8e33207e731f24c7f3ad998c4e7d15003778369 05:04:57 ---> Running in f4ab3e31d664 05:04:58 Removing intermediate container f4ab3e31d664 05:04:58 ---> ea21f6d204fb 05:04:58 Step 24/24 : LABEL version=0.0.0 05:04:58 ---> Running in 7e4f16e38993 05:04:58 Removing intermediate container 7e4f16e38993 05:04:58 ---> 0783de18b54b 05:04:58 [Warning] One or more build-args [ARCH] were not consumed 05:04:58 Successfully built 0783de18b54b 05:04:58 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:04:59 05:04:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:04:59 latest: Pulling from edgex-lftools-log-publisher 05:04:59 5eb5b503b376: Pulling fs layer 05:04:59 5c69ac0246d0: Pulling fs layer 05:04:59 ec43610c2a17: Pulling fs layer 05:04:59 3a2ae6a8a46f: Pulling fs layer 05:04:59 33b1e0a273af: Pulling fs layer 05:04:59 5d3b04190fa2: Pulling fs layer 05:04:59 2f39f015ded8: Pulling fs layer 05:04:59 3a2ae6a8a46f: Waiting 05:04:59 5d3b04190fa2: Waiting 05:04:59 2f39f015ded8: Waiting 05:04:59 33b1e0a273af: Waiting 05:04:59 5c69ac0246d0: Verifying Checksum 05:04:59 5c69ac0246d0: Download complete 05:04:59 3a2ae6a8a46f: Verifying Checksum 05:04:59 3a2ae6a8a46f: Download complete 05:04:59 33b1e0a273af: Verifying Checksum 05:04:59 33b1e0a273af: Download complete 05:04:59 ec43610c2a17: Verifying Checksum 05:04:59 ec43610c2a17: Download complete 05:04:59 5d3b04190fa2: Download complete 05:04:59 5eb5b503b376: Verifying Checksum 05:04:59 5eb5b503b376: Download complete 05:05:00 2f39f015ded8: Download complete 05:05:00 5eb5b503b376: Pull complete 05:05:00 5c69ac0246d0: Pull complete 05:05:01 ec43610c2a17: Pull complete 05:05:01 3a2ae6a8a46f: Pull complete 05:05:01 33b1e0a273af: Pull complete 05:05:01 5d3b04190fa2: Pull complete 05:05:05 2f39f015ded8: Pull complete 05:05:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:05:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:05:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:05 prd-ubuntu20.04-docker-8c-8g-6820 does not seem to be running inside a container 05:05:05 $ 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-379 -v /w/workspace/xfoundry_device-modbus-go_PR-379:/w/workspace/xfoundry_device-modbus-go_PR-379:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-379@tmp:/w/workspace/xfoundry_device-modbus-go_PR-379@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:latest cat 05:05:07 $ docker top 00115f66f8e858e4737f05fa288561da6458f93f9df9da7e0c968e6c169ff38a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:05:07 ---> job-cost.sh 05:05:07 lf-activate-venv: SKIPPING 05:05:07 INFO: No Stack... 05:05:08 INFO: Retrieving Pricing Info for: v3-standard-8 05:05:08 INFO: Archiving Costs [Pipeline] sh 05:05:08 + cat /w/workspace/xfoundry_device-modbus-go_PR-379/archives/cost.csv 05:05:08 + cut -d, -f6 [Pipeline] lock 05:05:08 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-379-1-stack-cost] 05:05:08 Resource [jenkins-edgexfoundry-device-modbus-go-PR-379-1-stack-cost] did not exist. Created. 05:05:08 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-379-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:05:09 + echo total: 0.2199999988079071 [Pipeline] stash 05:05:09 Stashed 1 file(s) [Pipeline] } 05:05:09 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-379-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:05:09 $ docker stop --time=1 00115f66f8e858e4737f05fa288561da6458f93f9df9da7e0c968e6c169ff38a 05:05:10 $ docker rm -f 00115f66f8e858e4737f05fa288561da6458f93f9df9da7e0c968e6c169ff38a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:05:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6824 in /w/workspace/xfoundry_device-modbus-go_PR-379 [Pipeline] { [Pipeline] ws 05:05:24 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 05:05:24 Selected Git installation does not exist. Using Default 05:05:24 The recommended git tool is: NONE 05:05:30 using credential edgex-jenkins-ssh 05:05:30 Cloning the remote Git repository 05:05:30 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:05:30 > git init /w/workspace/device-modbus-go/1 # timeout=10 05:05:30 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:05:30 > git --version # timeout=10 05:05:30 > git --version # 'git version 2.25.1' 05:05:30 using GIT_SSH to set credentials SSH Credentials for GitHub 05:05:30 Verifying host key using known hosts file 05:05:30 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:05:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:05:31 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:05:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:05:33 Merging remotes/origin/main commit 89c845d2fde685b2112bd4b33853dabf0a8ef293 into PR head commit c8e33207e731f24c7f3ad998c4e7d15003778369 05:05:32 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:05:32 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:05:32 using GIT_SSH to set credentials SSH Credentials for GitHub 05:05:32 Verifying host key using known hosts file 05:05:32 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:05:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/379/head:refs/remotes/origin/PR-379 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:05:33 Merge succeeded, producing c8e33207e731f24c7f3ad998c4e7d15003778369 05:05:33 Checking out Revision c8e33207e731f24c7f3ad998c4e7d15003778369 (PR-379) 05:05:34 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" 05:05:34 > git --version # timeout=10 05:05:34 > git --version # 'git version 2.25.1' 05:05:34 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:05:33 > git config core.sparsecheckout # timeout=10 05:05:33 > git checkout -f c8e33207e731f24c7f3ad998c4e7d15003778369 # timeout=10 05:05:33 > git remote # timeout=10 05:05:33 > git config --get remote.origin.url # timeout=10 05:05:33 using GIT_SSH to set credentials SSH Credentials for GitHub 05:05:33 Verifying host key using known hosts file 05:05:33 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 05:05:33 > git merge 89c845d2fde685b2112bd4b33853dabf0a8ef293 # timeout=10 05:05:33 > git rev-parse HEAD^{commit} # timeout=10 05:05:33 > git config core.sparsecheckout # timeout=10 05:05:33 > git checkout -f c8e33207e731f24c7f3ad998c4e7d15003778369 # timeout=10 05:05:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:05:35 % Total % Received % Xferd Average Speed Time Time Time Current 05:05:35 Dload Upload Total Spent Left Speed 05:05:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 91318 0 --:--:-- --:--:-- --:--:-- 91985 [Pipeline] sh 05:05:35 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:05:36 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:05:36 + sudo tee /etc/docker/daemon.new 05:05:36 { 05:05:36 "registry-mirrors": [ 05:05:36 "https://nexus3.edgexfoundry.org:10001" 05:05:36 ], 05:05:36 "bip": "10.250.0.254/24", 05:05:36 "hosts": [ 05:05:36 "tcp://0.0.0.0:5555", 05:05:36 "unix:///var/run/docker.sock" 05:05:36 ], 05:05:36 "mtu": 1458, 05:05:36 "selinux-enabled": true, 05:05:36 "seccomp-profile": "/etc/docker/seccomp.json" 05:05:36 } [Pipeline] sh 05:05:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:05:36 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:05:55 provisioning config files... 05:05:55 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config14935380126815022361tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:05:55 ---> docker-login.sh 05:05:55 nexus3.edgexfoundry.org:10001 05:05:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:56 Configure a credential helper to remove this warning. See 05:05:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:56 05:05:56 Login Succeeded 05:05:56 nexus3.edgexfoundry.org:10002 05:05:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:56 Configure a credential helper to remove this warning. See 05:05:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:56 05:05:56 Login Succeeded 05:05:56 nexus3.edgexfoundry.org:10003 05:05:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:56 Configure a credential helper to remove this warning. See 05:05:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:56 05:05:56 Login Succeeded 05:05:56 nexus3.edgexfoundry.org:10004 05:05:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:57 Configure a credential helper to remove this warning. See 05:05:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:57 05:05:57 Login Succeeded 05:05:57 docker.io 05:05:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:57 Configure a credential helper to remove this warning. See 05:05:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:57 05:05:57 Login Succeeded 05:05:57 ---> docker-login.sh ends [Pipeline] } 05:05:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:05:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:05:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:05:58 ========================================================= 05:05:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 05:05:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:58 + 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:05:58 Sending build context to Docker daemon 3.213MB 05:05:59 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 05:05:59 Step 2/11 : FROM ${BASE} AS builder 05:05:59 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:05:59 b3c136eddcbf: Pulling fs layer 05:05:59 c0a3192eca97: Pulling fs layer 05:05:59 a050256f5b6f: Pulling fs layer 05:05:59 656be50a0ddc: Pulling fs layer 05:05:59 2bbca73fdf42: Pulling fs layer 05:05:59 f607e4fc86c3: Pulling fs layer 05:05:59 4d572c569a2c: Pulling fs layer 05:05:59 fcf976331f73: Pulling fs layer 05:05:59 656be50a0ddc: Waiting 05:05:59 2bbca73fdf42: Waiting 05:05:59 f607e4fc86c3: Waiting 05:05:59 4d572c569a2c: Waiting 05:05:59 fcf976331f73: Waiting 05:05:59 a050256f5b6f: Verifying Checksum 05:05:59 a050256f5b6f: Download complete 05:05:59 c0a3192eca97: Verifying Checksum 05:05:59 c0a3192eca97: Download complete 05:05:59 2bbca73fdf42: Verifying Checksum 05:05:59 2bbca73fdf42: Download complete 05:05:59 f607e4fc86c3: Verifying Checksum 05:05:59 f607e4fc86c3: Download complete 05:05:59 b3c136eddcbf: Verifying Checksum 05:05:59 b3c136eddcbf: Download complete 05:06:00 b3c136eddcbf: Pull complete 05:06:00 fcf976331f73: Verifying Checksum 05:06:00 fcf976331f73: Download complete 05:06:01 c0a3192eca97: Pull complete 05:06:01 a050256f5b6f: Pull complete 05:06:01 4d572c569a2c: Verifying Checksum 05:06:01 4d572c569a2c: Download complete 05:06:02 656be50a0ddc: Verifying Checksum 05:06:02 656be50a0ddc: Download complete 05:06:14 656be50a0ddc: Pull complete 05:06:14 2bbca73fdf42: Pull complete 05:06:14 f607e4fc86c3: Pull complete 05:06:20 4d572c569a2c: Pull complete 05:06:22 fcf976331f73: Pull complete 05:06:22 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 05:06:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:06:22 ---> 3970a7415f9e 05:06:22 Step 3/11 : ARG ADD_BUILD_TAGS="" 05:06:25 ---> Running in cad436fa00b9 05:06:26 Removing intermediate container cad436fa00b9 05:06:26 ---> 4fd02c5bde43 05:06:26 Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:06:26 ---> Running in c1be6171722f 05:06:26 Removing intermediate container c1be6171722f 05:06:26 ---> 86f9f7830a92 05:06:26 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:06:26 ---> Running in cbe95c0eec85 05:06:28 Removing intermediate container cbe95c0eec85 05:06:28 ---> aa3674a587c3 05:06:28 Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:06:28 ---> Running in 28c117710d4d 05:06:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:06:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:06:31 (1/8) Installing openssh-keygen (9.0_p1-r2) 05:06:31 (2/8) Installing libedit (20210910.3.1-r0) 05:06:31 (3/8) Installing openssh-client-common (9.0_p1-r2) 05:06:31 (4/8) Installing openssh-client-default (9.0_p1-r2) 05:06:31 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 05:06:31 (6/8) Installing openssh-server-common (9.0_p1-r2) 05:06:31 (7/8) Installing openssh-server (9.0_p1-r2) 05:06:31 (8/8) Installing openssh (9.0_p1-r2) 05:06:32 Executing busybox-1.35.0-r13.trigger 05:06:32 OK: 228 MiB in 59 packages 05:06:33 Removing intermediate container 28c117710d4d 05:06:33 ---> 8d68deb11745 05:06:33 Step 7/11 : WORKDIR /device-modbus-go 05:06:33 ---> Running in e09160a26978 05:06:33 Removing intermediate container e09160a26978 05:06:33 ---> f7e51bc8b57a 05:06:33 Step 8/11 : COPY go.mod vendor* ./ 05:06:34 ---> 5f82887310ab 05:06:34 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:06:34 ---> Running in 855cace3a365 05:07:31 Removing intermediate container 855cace3a365 05:07:31 ---> 6f9b6ddb840d 05:07:31 Step 10/11 : COPY . . 05:07:31 ---> 13218d2658e9 05:07:31 Step 11/11 : RUN ${MAKE} 05:07:31 ---> Running in 5133ceb678f0 05:07:31 noop 05:07:31 Removing intermediate container 5133ceb678f0 05:07:31 ---> 4563dab513c3 05:07:31 Successfully built 4563dab513c3 05:07:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:31 + docker inspect -f . ci-base-image-arm64 05:07:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:07:31 prd-ubuntu20.04-docker-arm64-4c-16g-6824 does not seem to be running inside a container 05:07:31 $ 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 ******** ci-base-image-arm64 cat 05:07:33 $ docker top db10058fddb25f6aa524546463c0645c734589819db74bfa077e68c9f2113a80 -eo pid,comm [Pipeline] { [Pipeline] sh 05:07:34 + go version 05:07:34 go version go1.18.3 linux/arm64 [Pipeline] } 05:07:34 $ docker stop --time=1 db10058fddb25f6aa524546463c0645c734589819db74bfa077e68c9f2113a80 05:07:36 $ docker rm -f db10058fddb25f6aa524546463c0645c734589819db74bfa077e68c9f2113a80 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:37 + docker inspect -f . ci-base-image-arm64 05:07:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:07:37 prd-ubuntu20.04-docker-arm64-4c-16g-6824 does not seem to be running inside a container 05:07:37 $ 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 ******** ci-base-image-arm64 cat 05:07:39 $ docker top 2fc2a8dea22d5eb41d19812bdc5691c893df90dd0c4952fbc7802fa61c9a3044 -eo pid,comm [Pipeline] { [Pipeline] sh 05:07:40 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 05:07:40 + make test 05:07:40 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:07:42 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:09:19 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:09:19 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.065s coverage: 47.7% of statements 05:09:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:09:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:09:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:09:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:09:51 ./bin/test-attribution-txt.sh [Pipeline] echo 05:09:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:09:51 $ docker stop --time=1 2fc2a8dea22d5eb41d19812bdc5691c893df90dd0c4952fbc7802fa61c9a3044 05:09:53 $ docker rm -f 2fc2a8dea22d5eb41d19812bdc5691c893df90dd0c4952fbc7802fa61c9a3044 [Pipeline] // withDockerContainer [Pipeline] sh 05:09:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:09:55 Warning: overwriting stash ‘coverage-report’ 05:09:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:09:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:09:56 + ls -al . 05:09:56 total 184 05:09:56 drwxrwxr-x 9 jenkins jenkins 4096 Oct 3 05:07 . 05:09:56 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 05:05 .. 05:09:56 -rw-rw-r-- 1 jenkins jenkins 140 Oct 3 05:05 .dockerignore 05:09:56 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 05:05 .git 05:09:56 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:05 .github 05:09:56 -rw-rw-r-- 1 jenkins jenkins 331 Oct 3 05:05 .gitignore 05:09:56 -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 05:05 .golangci.yml 05:09:56 -rw-rw-r-- 1 jenkins jenkins 10121 Oct 3 05:05 Attribution.txt 05:09:56 -rw-rw-r-- 1 jenkins jenkins 10001 Oct 3 05:05 CHANGELOG.md 05:09:56 -rw-rw-r-- 1 jenkins jenkins 1606 Oct 3 05:05 Dockerfile 05:09:56 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 05:05 GOVERNANCE.md 05:09:56 -rw-rw-r-- 1 jenkins jenkins 680 Oct 3 05:05 Jenkinsfile 05:09:56 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 05:05 LICENSE 05:09:56 -rw-rw-r-- 1 jenkins jenkins 2101 Oct 3 05:05 Makefile 05:09:56 -rw-rw-r-- 1 jenkins jenkins 622 Oct 3 05:05 OWNERS.md 05:09:56 -rw-rw-r-- 1 jenkins jenkins 4061 Oct 3 05:05 README.md 05:09:56 -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 05:03 VERSION 05:09:56 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 05:05 bin 05:09:56 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:05 cmd 05:09:56 -rw-r--r-- 1 jenkins jenkins 23241 Oct 3 05:09 coverage.out 05:09:56 -rw-rw-r-- 1 jenkins jenkins 3643 Oct 3 05:05 go.mod 05:09:56 -rw-rw-r-- 1 jenkins jenkins 38288 Oct 3 05:05 go.sum 05:09:56 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:05 internal 05:09:56 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 05:05 simulator 05:09:56 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 05:05 snap 05:09:56 -rw-rw-r-- 1 jenkins jenkins 229 Oct 3 05:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:57 + 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=c8e33207e731f24c7f3ad998c4e7d15003778369 --label arch=arm64 --label version=0.0.0 . 05:09:57 Sending build context to Docker daemon 3.237MB 05:09:57 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 05:09:57 Step 2/24 : FROM ${BASE} AS builder 05:09:57 ---> 4563dab513c3 05:09:57 Step 3/24 : ARG ADD_BUILD_TAGS="" 05:09:57 ---> Running in b8dc6d45c6c8 05:09:58 Removing intermediate container b8dc6d45c6c8 05:09:58 ---> e25ccee9e343 05:09:58 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:09:58 ---> Running in 26dac363adbf 05:09:58 Removing intermediate container 26dac363adbf 05:09:58 ---> f1b0adcad260 05:09:58 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:09:58 ---> Running in e590dbb779a2 05:10:02 Removing intermediate container e590dbb779a2 05:10:02 ---> 0baaf9bd955d 05:10:02 Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:10:02 ---> Running in 3fbdc2289613 05:10:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:10:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:10:05 OK: 228 MiB in 59 packages 05:10:06 Removing intermediate container 3fbdc2289613 05:10:06 ---> 3d60c7e27dc7 05:10:06 Step 7/24 : WORKDIR /device-modbus-go 05:10:06 ---> Running in 44980bb07918 05:10:06 Removing intermediate container 44980bb07918 05:10:06 ---> dd8199a5eafa 05:10:06 Step 8/24 : COPY go.mod vendor* ./ 05:10:07 ---> 5d6986fc4118 05:10:07 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:10:07 ---> Running in 6ce4d7aaccec 05:10:10 Removing intermediate container 6ce4d7aaccec 05:10:10 ---> 6af867837ecb 05:10:10 Step 10/24 : COPY . . 05:10:11 ---> 0a120dbb89ea 05:10:11 Step 11/24 : RUN ${MAKE} 05:10:11 ---> Running in e6303fe8a5d5 05:10:12 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:13:04 Removing intermediate container e6303fe8a5d5 05:13:04 ---> 1c94c6419fa2 05:13:04 Step 12/24 : FROM alpine:3.14 05:13:04 3.14: Pulling from library/alpine 05:13:04 90cda3b7c325: Pulling fs layer 05:13:04 90cda3b7c325: Verifying Checksum 05:13:04 90cda3b7c325: Download complete 05:13:04 90cda3b7c325: Pull complete 05:13:04 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 05:13:04 Status: Downloaded newer image for alpine:3.14 05:13:04 ---> 376ba31ae3da 05:13:04 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:13:04 ---> Running in 2f4a806f02a1 05:13:04 Removing intermediate container 2f4a806f02a1 05:13:04 ---> 77d69d09b0b1 05:13:04 Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:13:04 ---> Running in 8910415a5971 05:13:04 Removing intermediate container 8910415a5971 05:13:04 ---> b831441f120d 05:13:04 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 05:13:04 ---> Running in dfc0de04d0aa 05:13:05 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:13:06 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:13:07 (1/6) Installing dumb-init (1.2.5-r1) 05:13:07 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:13:07 (3/6) Installing libsodium (1.0.18-r0) 05:13:07 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:13:07 (5/6) Installing libzmq (4.3.4-r0) 05:13:07 (6/6) Installing zeromq (4.3.4-r0) 05:13:08 Executing busybox-1.33.1-r8.trigger 05:13:08 OK: 8 MiB in 20 packages 05:13:09 Removing intermediate container dfc0de04d0aa 05:13:09 ---> faeb2b7397c1 05:13:09 Step 16/24 : COPY --from=builder /device-modbus-go/cmd / 05:13:10 ---> aa2364154504 05:13:10 Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / 05:13:10 ---> ddb60e50787c 05:13:10 Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:13:11 ---> f11f3e8598e3 05:13:11 Step 19/24 : EXPOSE 59901 05:13:11 ---> Running in a9d959f5a032 05:13:11 Removing intermediate container a9d959f5a032 05:13:11 ---> 7e0a95d8188a 05:13:11 Step 20/24 : ENTRYPOINT ["/device-modbus"] 05:13:11 ---> Running in f1d863b0fa11 05:13:13 Removing intermediate container f1d863b0fa11 05:13:13 ---> 45fef4ae1faf 05:13:13 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:13:13 ---> Running in 2b1367bd3e70 05:13:13 Removing intermediate container 2b1367bd3e70 05:13:13 ---> 070486e239e9 05:13:13 Step 22/24 : LABEL arch=arm64 05:13:13 ---> Running in f451731a26b3 05:13:13 Removing intermediate container f451731a26b3 05:13:13 ---> cfe86f549eec 05:13:13 Step 23/24 : LABEL git_sha=c8e33207e731f24c7f3ad998c4e7d15003778369 05:13:13 ---> Running in 96c85b4a4626 05:13:14 Removing intermediate container 96c85b4a4626 05:13:14 ---> 58f996f840e0 05:13:14 Step 24/24 : LABEL version=0.0.0 05:13:14 ---> Running in fbf244b78f50 05:13:14 Removing intermediate container fbf244b78f50 05:13:14 ---> be9b03733066 05:13:14 [Warning] One or more build-args [ARCH] were not consumed 05:13:14 Successfully built be9b03733066 05:13:14 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:13:16 05:13:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:13:16 arm64: Pulling from edgex-lftools-log-publisher 05:13:16 8998bd30e6a1: Pulling fs layer 05:13:16 04944245beec: Pulling fs layer 05:13:16 699f458cf7ca: Pulling fs layer 05:13:16 765212b225bb: Pulling fs layer 05:13:16 f23df028b6ca: Pulling fs layer 05:13:16 d65c8cfc05b1: Pulling fs layer 05:13:16 2437ff75d9bd: Pulling fs layer 05:13:16 f23df028b6ca: Waiting 05:13:16 765212b225bb: Waiting 05:13:16 d65c8cfc05b1: Waiting 05:13:16 2437ff75d9bd: Waiting 05:13:17 04944245beec: Verifying Checksum 05:13:17 04944245beec: Download complete 05:13:17 765212b225bb: Verifying Checksum 05:13:17 765212b225bb: Download complete 05:13:17 f23df028b6ca: Verifying Checksum 05:13:17 f23df028b6ca: Download complete 05:13:17 d65c8cfc05b1: Verifying Checksum 05:13:17 d65c8cfc05b1: Download complete 05:13:17 699f458cf7ca: Verifying Checksum 05:13:17 699f458cf7ca: Download complete 05:13:17 8998bd30e6a1: Verifying Checksum 05:13:17 8998bd30e6a1: Download complete 05:13:20 2437ff75d9bd: Verifying Checksum 05:13:20 2437ff75d9bd: Download complete 05:13:22 8998bd30e6a1: Pull complete 05:13:22 04944245beec: Pull complete 05:13:23 699f458cf7ca: Pull complete 05:13:24 765212b225bb: Pull complete 05:13:25 f23df028b6ca: Pull complete 05:13:25 d65c8cfc05b1: Pull complete 05:13:40 2437ff75d9bd: Pull complete 05:13:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:13:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:13:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:13:40 prd-ubuntu20.04-docker-arm64-4c-16g-6824 does not seem to be running inside a container 05:13:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:13:43 $ docker top 02a9f5663016edbf769e8365b69471788d8ec4c83e555be8761bc8949c13f50c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:13:44 ---> job-cost.sh 05:13:44 lf-activate-venv: SKIPPING 05:13:44 INFO: No Stack... 05:13:44 INFO: Retrieving Pricing Info for: v3-standard-4 05:13:45 INFO: Archiving Costs [Pipeline] sh 05:13:46 + cut -d, -f6 05:13:46 + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock 05:13:46 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-379-1-stack-cost] 05:13:46 Resource [jenkins-edgexfoundry-device-modbus-go-PR-379-1-stack-cost] did not exist. Created. 05:13:46 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-379-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:13:47 /w/workspace/device-modbus-go/1@tmp/durable-b779e2d5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:13:48 + echo total: 0.10999999940395355 [Pipeline] stash 05:13:48 Warning: overwriting stash ‘stack-cost’ 05:13:48 Stashed 1 file(s) [Pipeline] } 05:13:48 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-379-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:13:48 $ docker stop --time=1 02a9f5663016edbf769e8365b69471788d8ec4c83e555be8761bc8949c13f50c 05:13:49 $ docker rm -f 02a9f5663016edbf769e8365b69471788d8ec4c83e555be8761bc8949c13f50c [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:13:50 provisioning config files... 05:13:50 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-379@tmp/config12556751083728246566tmp [Pipeline] { [Pipeline] sh 05:13:51 + set +x 05:13:51 + bash -s -- 05:13:51 + curl -s https://codecov.io/bash 05:13:51 05:13:51 _____ _ 05:13:51 / ____| | | 05:13:51 | | ___ __| | ___ ___ _____ __ 05:13:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:13:51 | |___| (_) | (_| | __/ (_| (_) \ V / 05:13:51 \_____\___/ \__,_|\___|\___\___/ \_/ 05:13:51 Bash-1.0.6 05:13:51 05:13:51 05:13:51 ==> git version 2.25.1 found 05:13:51 ==> 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:13:51 Release-Date: 2020-01-08 05:13:51 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:13:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:13:51 ==> Jenkins CI detected. 05:13:51 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-379 05:13:51 project root: . 05:13:51 --> token set from env 05:13:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:13:51 ==> Running gcov in . (disable via -X gcov) 05:13:51 ==> Python coveragepy not found 05:13:51 ==> Searching for coverage reports in: 05:13:51 + . 05:13:51 -> Found 1 reports 05:13:51 ==> Detecting git/mercurial file structure 05:13:51 ==> Reading reports 05:13:51 + ./coverage.out bytes=23241 05:13:51 ==> Appending adjustments 05:13:51 https://docs.codecov.io/docs/fixing-reports 05:13:51 + Found adjustments 05:13:51 ==> Gzipping contents 05:13:51 4.0K /tmp/codecov.Xl2whL.gz 05:13:51 ==> Uploading reports 05:13:51 url: https://codecov.io 05:13:51 query: branch=PR-379&commit=c8e33207e731f24c7f3ad998c4e7d15003778369&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-379%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=379&job=&cmd_args= 05:13:51 -> Pinging Codecov 05:13:51 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-379&commit=c8e33207e731f24c7f3ad998c4e7d15003778369&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-379%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=379&job=&cmd_args= 05:13:51 -> Uploading to 05:13:51 https://storage.googleapis.com/codecov/v4/raw/2022-10-03/55DBCA73C666E3227836607328DD7E49/c8e33207e731f24c7f3ad998c4e7d15003778369/7563fe0a-d9fa-4542-8fde-373a3cded98a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221003%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221003T051351Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=45614fffba47e13dba8377784444b674a5da27e7e63f924acacaff78016d1f1b 05:13:51 % Total % Received % Xferd Average Speed Time Time Time Current 05:13:51 Dload Upload Total Spent Left Speed 05:13:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3930 0 0 100 3930 0 16239 --:--:-- --:--:-- --:--:-- 16239 05:13:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/c8e33207e731f24c7f3ad998c4e7d15003778369 [Pipeline] } 05:13:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:13:53 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-379/archives ] 05:13:53 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-379/archives 05:13:53 total 16 05:13:53 drwxr-xr-x 3 root root 4096 Oct 3 05:05 . 05:13:53 drwxrwxr-x 11 jenkins jenkins 4096 Oct 3 05:05 .. 05:13:53 drwxr-xr-x 2 root root 4096 Oct 3 05:05 cost 05:13:53 -rw-r--r-- 1 root root 88 Oct 3 05:05 cost.csv 05:13:53 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-379/archives 05:13:53 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-379/archives 05:13:53 total 16 05:13:53 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 05:05 . 05:13:53 drwxrwxr-x 11 jenkins jenkins 4096 Oct 3 05:05 .. 05:13:53 drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 05:05 cost 05:13:53 -rw-r--r-- 1 jenkins jenkins 88 Oct 3 05:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:13:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:13:54 ---> package-listing.sh 05:13:54 ++ facter osfamily 05:13:54 ++ tr '[:upper:]' '[:lower:]' 05:13:55 + OS_FAMILY=debian 05:13:55 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-379 05:13:55 + START_PACKAGES=/tmp/packages_start.txt 05:13:55 + END_PACKAGES=/tmp/packages_end.txt 05:13:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:13:55 + PACKAGES=/tmp/packages_start.txt 05:13:55 + '[' /w/workspace/xfoundry_device-modbus-go_PR-379 ']' 05:13:55 + PACKAGES=/tmp/packages_end.txt 05:13:55 + case "${OS_FAMILY}" in 05:13:55 + dpkg -l 05:13:55 + grep '^ii' 05:13:55 + '[' -f /tmp/packages_start.txt ']' 05:13:55 + '[' -f /tmp/packages_end.txt ']' 05:13:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:13:55 + '[' /w/workspace/xfoundry_device-modbus-go_PR-379 ']' 05:13:55 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-379/archives/ 05:13:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-379/archives/ [Pipeline] echo 05:13:55 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-379/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:13:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:13:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:13:56 prd-ubuntu20.04-docker-8c-8g-6820 does not seem to be running inside a container 05:13:56 $ 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-379/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-379 -v /w/workspace/xfoundry_device-modbus-go_PR-379:/w/workspace/xfoundry_device-modbus-go_PR-379:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-379@tmp:/w/workspace/xfoundry_device-modbus-go_PR-379@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:13:56 $ docker top 4d8e4271133cb6d5970bdbbe7461ea85271c01c30479d8d933b28e44ff34ab73 -eo pid,comm [Pipeline] { [Pipeline] sh 05:13:56 + touch /tmp/pre-build-complete [Pipeline] sh 05:13:57 + mkdir -p /var/log/sysstat [Pipeline] sh 05:13:57 + ls /var/log/sa-host 05:13:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:13:57 provisioning config files... 05:13:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-379@tmp/config5029629721697079513tmp [Pipeline] { [Pipeline] echo 05:13:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:13:58 ---> create-netrc.sh [Pipeline] } 05:13:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:13:58 ---> python-tools-install.sh [Pipeline] echo 05:13:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:13:58 ---> sudo-logs.sh 05:13:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:13:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:13:59 ---> job-cost.sh 05:13:59 lf-activate-venv: SKIPPING 05:13:59 DEBUG: total: 0.2199999988079071 05:13:59 INFO: Retrieving Stack Cost... 05:13:59 INFO: Retrieving Pricing Info for: v3-standard-8 05:14:00 INFO: Archiving Costs [Pipeline] echo 05:14:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:14:00 ---> logs-deploy.sh 05:14:00 lf-activate-venv: SKIPPING 05:14:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-379/1 05:14:00 INFO: archiving workspace using pattern(s): 05:14:01 Archives upload complete. 05:14:01 INFO: archiving logs to Nexus 05:14:02 ---> uname -a: 05:14:02 Linux prd-ubuntu20-04-docker-8c-8g-6820 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 05:14:02 05:14:02