Pull request #381 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6a78104ac050c760b055c1f7913c83c47b8815d5+5f9383f46e2f188912b2110fac411a008f731f06 (39b72c78df02c4080b7f150949e3ab561b4ce435) 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-ssh13441616883993700625.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-ssh1347405115971747378.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-381/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-381/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9822785823550600215.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-381/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10072960641874839590.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-ssh4198077507621310366.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-381/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-381/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11270289802679900345.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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-7485 in /w/workspace/xfoundry_device-modbus-go_PR-381 [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-381 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 5f9383f46e2f188912b2110fac411a008f731f06 into PR head commit 6a78104ac050c760b055c1f7913c83c47b8815d5 > 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/381/head:refs/remotes/origin/PR-381 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6a78104ac050c760b055c1f7913c83c47b8815d5 # timeout=10 Merge succeeded, producing 6a78104ac050c760b055c1f7913c83c47b8815d5 Checking out Revision 6a78104ac050c760b055c1f7913c83c47b8815d5 (PR-381) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:03:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:03:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:03:19 ========================================================= 05:03:19 EdgeX Global Pipelines Version Info 05:03:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 5f9383f46e2f188912b2110fac411a008f731f06 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6a78104ac050c760b055c1f7913c83c47b8815d5 # timeout=10 05:03:20 ------------------- 05:03:20 stable info: 05:03:20 ------------------- 05:03:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:03:20 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 05:03:20 Message: update stable to v1.0.239 05:03:21 ------------------- 05:03:21 experimental info: 05:03:21 ------------------- 05:03:21 Commited By: **** collab-it+edgex@linuxfoundation.org 05:03:21 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 05:03:21 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:03:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:03:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:03:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:03:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:03:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:03:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:03:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:03:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:03:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:03:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:03:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:03:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:03:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:03:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:03:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:03:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:03:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:03:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:03:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:03:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:03:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:03:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:03:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:03:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:03:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:03:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:03:22 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:03:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-381 [Pipeline] echo 05:03:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-381 [Pipeline] echo 05:03:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-381 [Pipeline] echo 05:03:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6a78104ac050c760b055c1f7913c83c47b8815d5 [Pipeline] echo 05:03:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6a78104 [Pipeline] echo 05:03:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:03:22 provisioning config files... 05:03:22 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-381@tmp/config16780816577487315192tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:03:23 ---> docker-login.sh 05:03:23 nexus3.edgexfoundry.org:10001 05:03:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:23 Configure a credential helper to remove this warning. See 05:03:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:23 05:03:23 Login Succeeded 05:03:23 nexus3.edgexfoundry.org:10002 05:03:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:23 Configure a credential helper to remove this warning. See 05:03:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:23 05:03:23 Login Succeeded 05:03:23 nexus3.edgexfoundry.org:10003 05:03:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:24 Configure a credential helper to remove this warning. See 05:03:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:24 05:03:24 Login Succeeded 05:03:24 nexus3.edgexfoundry.org:10004 05:03:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:24 Configure a credential helper to remove this warning. See 05:03:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:24 05:03:24 Login Succeeded 05:03:24 docker.io 05:03:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:24 Configure a credential helper to remove this warning. See 05:03:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:24 05:03:24 Login Succeeded 05:03:24 ---> docker-login.sh ends [Pipeline] } 05:03:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:03:25 + git rev-list -1 --merges 6a78104ac050c760b055c1f7913c83c47b8815d5~1..6a78104ac050c760b055c1f7913c83c47b8815d5 [Pipeline] echo 05:03:25 -----------> git rev-list -1 --merges 6a78104ac050c760b055c1f7913c83c47b8815d5~1..6a78104ac050c760b055c1f7913c83c47b8815d5 6a78104ac050c760b055c1f7913c83c47b8815d5 [false] [Pipeline] sh 05:03:25 + git log --format=format:%s -1 6a78104ac050c760b055c1f7913c83c47b8815d5 [Pipeline] echo 05:03:25 ========================================================= 05:03:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:03:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:03:25 + git log --format=format:%s -1 6a78104ac050c760b055c1f7913c83c47b8815d5 [Pipeline] echo 05:03:26 [semverPrep] GIT_COMMIT: 6a78104ac050c760b055c1f7913c83c47b8815d5, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 05:03:26 [semverPrep] This is not a build commit. [Pipeline] sh 05:03:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:03:26 + grep -v github /etc/ssh/ssh_known_hosts 05:03:26 + [ -e /tmp/ssh_known_hosts ] 05:03:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:03:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:03:26 + sudo tee -a /etc/ssh/ssh_known_hosts 05:03:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:03:26 05:03:26 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:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:03:27 0.1.4: Pulling from edgex-devops/py-git-semver 05:03:27 b85a868b505f: Pulling fs layer 05:03:27 e2be974225ed: Pulling fs layer 05:03:27 339a4e72a1f5: Pulling fs layer 05:03:27 988bab9f4d93: Pulling fs layer 05:03:27 1469e6f7b9e6: Pulling fs layer 05:03:27 eaf3925da568: Pulling fs layer 05:03:27 bab4dde63d76: Pulling fs layer 05:03:27 bde34c3a00c8: Pulling fs layer 05:03:27 b352a97aabf1: Pulling fs layer 05:03:27 4872d77fe225: Pulling fs layer 05:03:27 5851b861e8e6: Pulling fs layer 05:03:27 988bab9f4d93: Waiting 05:03:27 1469e6f7b9e6: Waiting 05:03:27 eaf3925da568: Waiting 05:03:27 bab4dde63d76: Waiting 05:03:27 bde34c3a00c8: Waiting 05:03:27 b352a97aabf1: Waiting 05:03:27 4872d77fe225: Waiting 05:03:27 5851b861e8e6: Waiting 05:03:27 e2be974225ed: Verifying Checksum 05:03:27 e2be974225ed: Download complete 05:03:27 988bab9f4d93: Download complete 05:03:27 1469e6f7b9e6: Verifying Checksum 05:03:27 1469e6f7b9e6: Download complete 05:03:27 339a4e72a1f5: Verifying Checksum 05:03:27 339a4e72a1f5: Download complete 05:03:27 eaf3925da568: Download complete 05:03:27 bde34c3a00c8: Verifying Checksum 05:03:27 bde34c3a00c8: Download complete 05:03:27 b352a97aabf1: Verifying Checksum 05:03:27 b352a97aabf1: Download complete 05:03:27 4872d77fe225: Download complete 05:03:27 5851b861e8e6: Verifying Checksum 05:03:27 5851b861e8e6: Download complete 05:03:27 b85a868b505f: Download complete 05:03:27 bab4dde63d76: Download complete 05:03:28 b85a868b505f: Pull complete 05:03:28 e2be974225ed: Pull complete 05:03:29 339a4e72a1f5: Pull complete 05:03:29 988bab9f4d93: Pull complete 05:03:29 1469e6f7b9e6: Pull complete 05:03:29 eaf3925da568: Pull complete 05:03:31 bab4dde63d76: Pull complete 05:03:31 bde34c3a00c8: Pull complete 05:03:31 b352a97aabf1: Pull complete 05:03:31 4872d77fe225: Pull complete 05:03:31 5851b861e8e6: Pull complete 05:03:31 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:03:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:03:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:03:32 prd-ubuntu20.04-docker-8c-8g-7485 does not seem to be running inside a container 05:03:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-381 -v /w/workspace/xfoundry_device-modbus-go_PR-381:/w/workspace/xfoundry_device-modbus-go_PR-381:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-381@tmp:/w/workspace/xfoundry_device-modbus-go_PR-381@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:33 $ docker top babf7b83df08abeac5c1ee4c502a9af2aae4cb6ae7528ff9c395b7dac4abaab5 -eo pid,comm 05:03:33 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:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:03:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:03:33 [ssh-agent] Looking for ssh-agent implementation... 05:03:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:03:33 $ docker exec babf7b83df08abeac5c1ee4c502a9af2aae4cb6ae7528ff9c395b7dac4abaab5 ssh-agent 05:03:33 SSH_AUTH_SOCK=/tmp/ssh-2BbMCxtcsvFU/agent.32 05:03:33 SSH_AGENT_PID=38 05:03:33 Running ssh-add (command line suppressed) 05:03:33 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-381@tmp/private_key_14810041014496217776.key (/w/workspace/xfoundry_device-modbus-go_PR-381@tmp/private_key_14810041014496217776.key) 05:03:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:03:34 + git tag --points-at HEAD [Pipeline] } 05:03:34 $ docker exec --env ******** --env ******** babf7b83df08abeac5c1ee4c502a9af2aae4cb6ae7528ff9c395b7dac4abaab5 ssh-agent -k 05:03:34 unset SSH_AUTH_SOCK; 05:03:34 unset SSH_AGENT_PID; 05:03:34 echo Agent pid 38 killed; 05:03:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:03:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:03:34 [ssh-agent] Looking for ssh-agent implementation... 05:03:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:03:34 $ docker exec babf7b83df08abeac5c1ee4c502a9af2aae4cb6ae7528ff9c395b7dac4abaab5 ssh-agent 05:03:34 SSH_AUTH_SOCK=/tmp/ssh-nSzLPSr6CXOC/agent.71 05:03:34 SSH_AGENT_PID=77 05:03:34 Running ssh-add (command line suppressed) 05:03:34 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-381@tmp/private_key_9050225040402578049.key (/w/workspace/xfoundry_device-modbus-go_PR-381@tmp/private_key_9050225040402578049.key) 05:03:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:03:35 + git semver init 05:03:35 2022-10-10 05:03:35,252 [run_init] DEBUG init version:0.0.0 force:False 05:03:35 2022-10-10 05:03:35,253 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-381/.semver 05:03:35 2022-10-10 05:03:35,253 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-381/.semver 05:03:35 2022-10-10 05:03:35,253 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-381/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-381, universal_newlines=False, shell=None, istream=None) 05:03:36 2022-10-10 05:03:36,125 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-381/.git/info/exclude 05:03:36 2022-10-10 05:03:36,126 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-381/.semver/PR-381 with force:False 05:03:36 2022-10-10 05:03:36,126 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-381/.semver/PR-381 05:03:36 2022-10-10 05:03:36,130 [execute] INFO git cat-file --batch-check 05:03:36 2022-10-10 05:03:36,130 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-381/.semver, universal_newlines=False, shell=None, istream=) 05:03:36 2022-10-10 05:03:36,136 [execute] INFO git cat-file --batch 05:03:36 2022-10-10 05:03:36,136 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-381/.semver, universal_newlines=False, shell=None, istream=) 05:03:36 2022-10-10 05:03:36,141 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-381/.semver/PR-381 05:03:36 0.0.0 [Pipeline] } 05:03:36 $ docker exec --env ******** --env ******** babf7b83df08abeac5c1ee4c502a9af2aae4cb6ae7528ff9c395b7dac4abaab5 ssh-agent -k 05:03:36 unset SSH_AUTH_SOCK; 05:03:36 unset SSH_AGENT_PID; 05:03:36 echo Agent pid 77 killed; 05:03:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:03:36 + git semver [Pipeline] } 05:03:37 $ docker stop --time=1 babf7b83df08abeac5c1ee4c502a9af2aae4cb6ae7528ff9c395b7dac4abaab5 05:03:38 $ docker rm -f babf7b83df08abeac5c1ee4c502a9af2aae4cb6ae7528ff9c395b7dac4abaab5 [Pipeline] // withDockerContainer [Pipeline] sh 05:03:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:03:39 Stashed 1 file(s) [Pipeline] echo 05:03:39 [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:39 provisioning config files... 05:03:39 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-381@tmp/config15125128815655933169tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:03:40 ---> docker-login.sh 05:03:40 nexus3.edgexfoundry.org:10001 05:03:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:40 Configure a credential helper to remove this warning. See 05:03:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:40 05:03:40 Login Succeeded 05:03:40 nexus3.edgexfoundry.org:10002 05:03:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:40 Configure a credential helper to remove this warning. See 05:03:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:40 05:03:40 Login Succeeded 05:03:40 nexus3.edgexfoundry.org:10003 05:03:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:40 Configure a credential helper to remove this warning. See 05:03:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:40 05:03:40 Login Succeeded 05:03:40 nexus3.edgexfoundry.org:10004 05:03:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:40 Configure a credential helper to remove this warning. See 05:03:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:40 05:03:40 Login Succeeded 05:03:40 docker.io 05:03:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:40 Configure a credential helper to remove this warning. See 05:03:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:40 05:03:40 Login Succeeded 05:03:40 ---> docker-login.sh ends [Pipeline] } 05:03:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:03:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:03:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:03:41 ========================================================= 05:03:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:03:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:41 + 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:41 Sending build context to Docker daemon 6.176MB 05:03:41 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 05:03:41 Step 2/11 : FROM ${BASE} AS builder 05:03:41 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:03:41 2408cc74d12b: Pulling fs layer 05:03:41 ea60b727a1ce: Pulling fs layer 05:03:41 30c4a7721957: Pulling fs layer 05:03:41 370296b7ddb6: Pulling fs layer 05:03:41 7c6cee850709: Pulling fs layer 05:03:41 aa9baa53a306: Pulling fs layer 05:03:41 8b309c321861: Pulling fs layer 05:03:41 d8d76fd02f46: Pulling fs layer 05:03:41 fa31f396de31: Pulling fs layer 05:03:41 7c6cee850709: Waiting 05:03:41 370296b7ddb6: Waiting 05:03:41 fa31f396de31: Waiting 05:03:41 aa9baa53a306: Waiting 05:03:41 8b309c321861: Waiting 05:03:41 d8d76fd02f46: Waiting 05:03:41 30c4a7721957: Verifying Checksum 05:03:41 30c4a7721957: Download complete 05:03:41 ea60b727a1ce: Verifying Checksum 05:03:41 ea60b727a1ce: Download complete 05:03:41 7c6cee850709: Download complete 05:03:41 aa9baa53a306: Download complete 05:03:41 2408cc74d12b: Verifying Checksum 05:03:41 2408cc74d12b: Download complete 05:03:41 8b309c321861: Download complete 05:03:41 2408cc74d12b: Pull complete 05:03:42 ea60b727a1ce: Pull complete 05:03:42 30c4a7721957: Pull complete 05:03:42 fa31f396de31: Verifying Checksum 05:03:42 fa31f396de31: Download complete 05:03:42 370296b7ddb6: Verifying Checksum 05:03:42 370296b7ddb6: Download complete 05:03:42 d8d76fd02f46: Verifying Checksum 05:03:42 d8d76fd02f46: Download complete 05:03:46 370296b7ddb6: Pull complete 05:03:46 7c6cee850709: Pull complete 05:03:46 aa9baa53a306: Pull complete 05:03:46 8b309c321861: Pull complete 05:03:48 d8d76fd02f46: Pull complete 05:03:48 fa31f396de31: Pull complete 05:03:48 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 05:03:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:03:48 ---> cef68f9685f8 05:03:48 Step 3/11 : ARG ADD_BUILD_TAGS="" 05:03:50 ---> Running in e3fb6ccedf14 05:03:50 Removing intermediate container e3fb6ccedf14 05:03:50 ---> 1cda3ab0025a 05:03:50 Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:03:50 ---> Running in 4dee19d16159 05:03:50 Removing intermediate container 4dee19d16159 05:03:50 ---> 90e62c743b3e 05:03:50 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:03:50 ---> Running in e7a98725a858 05:03:51 Removing intermediate container e7a98725a858 05:03:51 ---> 70d8728ffe0e 05:03:51 Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:03:51 ---> Running in 28ffe30ad070 05:03:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:03:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:03:52 (1/8) Installing openssh-keygen (9.0_p1-r2) 05:03:52 (2/8) Installing libedit (20210910.3.1-r0) 05:03:52 (3/8) Installing openssh-client-common (9.0_p1-r2) 05:03:52 (4/8) Installing openssh-client-default (9.0_p1-r2) 05:03:53 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 05:03:53 (6/8) Installing openssh-server-common (9.0_p1-r2) 05:03:53 (7/8) Installing openssh-server (9.0_p1-r2) 05:03:53 (8/8) Installing openssh (9.0_p1-r2) 05:03:53 Executing busybox-1.35.0-r13.trigger 05:03:53 OK: 217 MiB in 59 packages 05:03:53 Removing intermediate container 28ffe30ad070 05:03:53 ---> 689980592921 05:03:53 Step 7/11 : WORKDIR /device-modbus-go 05:03:53 ---> Running in dade390a3692 05:03:53 Removing intermediate container dade390a3692 05:03:53 ---> 0b474bcf74bf 05:03:53 Step 8/11 : COPY go.mod vendor* ./ 05:03:53 ---> aad7c9cddc98 05:03:53 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:03:54 ---> Running in 96841ae2181a 05:03:54 Still waiting to schedule task 05:03:54 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:04:16 Removing intermediate container 96841ae2181a 05:04:16 ---> 0f7d29becd45 05:04:16 Step 10/11 : COPY . . 05:04:16 ---> c474dec00836 05:04:16 Step 11/11 : RUN ${MAKE} 05:04:16 ---> Running in 02c2bf9b8689 05:04:16 noop 05:04:16 Removing intermediate container 02c2bf9b8689 05:04:16 ---> c1c1377d89e8 05:04:16 Successfully built c1c1377d89e8 05:04:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:16 + docker inspect -f . ci-base-image-x86_64 05:04:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:16 prd-ubuntu20.04-docker-8c-8g-7485 does not seem to be running inside a container 05:04:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-381 -v /w/workspace/xfoundry_device-modbus-go_PR-381:/w/workspace/xfoundry_device-modbus-go_PR-381:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-381@tmp:/w/workspace/xfoundry_device-modbus-go_PR-381@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:17 $ docker top 912d61069105aae10d4b6e41bb40258186509bb90f59ee34c3c89cfe701d7bc9 -eo pid,comm [Pipeline] { [Pipeline] sh 05:04:17 + go version 05:04:17 go version go1.18.3 linux/amd64 [Pipeline] } 05:04:17 $ docker stop --time=1 912d61069105aae10d4b6e41bb40258186509bb90f59ee34c3c89cfe701d7bc9 05:04:18 $ docker rm -f 912d61069105aae10d4b6e41bb40258186509bb90f59ee34c3c89cfe701d7bc9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:19 + docker inspect -f . ci-base-image-x86_64 05:04:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:19 prd-ubuntu20.04-docker-8c-8g-7485 does not seem to be running inside a container 05:04:19 $ 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-381 -v /w/workspace/xfoundry_device-modbus-go_PR-381:/w/workspace/xfoundry_device-modbus-go_PR-381:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-381@tmp:/w/workspace/xfoundry_device-modbus-go_PR-381@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:20 $ docker top 1259ae4790269d10a278aaaa0e2b6bb653c65e59fa21a0824fca6040a86c0681 -eo pid,comm [Pipeline] { [Pipeline] sh 05:04:20 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-381 [Pipeline] fileExists [Pipeline] sh 05:04:20 + make test 05:04:20 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:04:21 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:04:29 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:04:29 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.7% of statements 05:04:35 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:35 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:04:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:04:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:04:38 ./bin/test-attribution-txt.sh [Pipeline] echo 05:04:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:04:38 $ docker stop --time=1 1259ae4790269d10a278aaaa0e2b6bb653c65e59fa21a0824fca6040a86c0681 05:04:40 $ docker rm -f 1259ae4790269d10a278aaaa0e2b6bb653c65e59fa21a0824fca6040a86c0681 [Pipeline] // withDockerContainer [Pipeline] sh 05:04:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:04:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:04:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:04:42 + ls -al . 05:04:42 total 188 05:04:42 drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 05:04 . 05:04:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 05:03 .. 05:04:42 -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 05:03 .dockerignore 05:04:42 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 05:04 .git 05:04:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 05:03 .github 05:04:42 -rw-rw-r-- 1 jenkins jenkins 331 Oct 10 05:03 .gitignore 05:04:42 -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 05:03 .golangci.yml 05:04:42 drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 05:03 .semver 05:04:42 -rw-rw-r-- 1 jenkins jenkins 10121 Oct 10 05:03 Attribution.txt 05:04:42 -rw-rw-r-- 1 jenkins jenkins 10001 Oct 10 05:03 CHANGELOG.md 05:04:42 -rw-rw-r-- 1 jenkins jenkins 1606 Oct 10 05:03 Dockerfile 05:04:42 -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 05:03 GOVERNANCE.md 05:04:42 -rw-rw-r-- 1 jenkins jenkins 680 Oct 10 05:03 Jenkinsfile 05:04:42 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 05:03 LICENSE 05:04:42 -rw-rw-r-- 1 jenkins jenkins 2101 Oct 10 05:03 Makefile 05:04:42 -rw-rw-r-- 1 jenkins jenkins 622 Oct 10 05:03 OWNERS.md 05:04:42 -rw-rw-r-- 1 jenkins jenkins 4061 Oct 10 05:03 README.md 05:04:42 -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 05:03 VERSION 05:04:42 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 05:03 bin 05:04:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 05:03 cmd 05:04:42 -rw-r--r-- 1 jenkins jenkins 23241 Oct 10 05:04 coverage.out 05:04:42 -rw-rw-r-- 1 jenkins jenkins 3643 Oct 10 05:03 go.mod 05:04:42 -rw-rw-r-- 1 jenkins jenkins 38288 Oct 10 05:03 go.sum 05:04:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 05:03 internal 05:04:42 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 05:03 simulator 05:04:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 05:03 snap 05:04:42 -rw-rw-r-- 1 jenkins jenkins 229 Oct 10 05:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:42 + 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=6a78104ac050c760b055c1f7913c83c47b8815d5 --label arch=amd64 --label version=0.0.0 . 05:04:42 Sending build context to Docker daemon 6.2MB 05:04:42 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 05:04:42 Step 2/24 : FROM ${BASE} AS builder 05:04:42 ---> c1c1377d89e8 05:04:42 Step 3/24 : ARG ADD_BUILD_TAGS="" 05:04:42 ---> Running in 544e8c5daff8 05:04:42 Removing intermediate container 544e8c5daff8 05:04:42 ---> c99c05f58aa5 05:04:42 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:04:42 ---> Running in 1533fb3250fa 05:04:42 Removing intermediate container 1533fb3250fa 05:04:42 ---> 5d884c8f96e0 05:04:42 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:04:42 ---> Running in 9f68bbbfbc60 05:04:43 Removing intermediate container 9f68bbbfbc60 05:04:43 ---> 7b936ee22cb2 05:04:43 Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:04:43 ---> Running in 63be3fe7e446 05:04:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:04:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:04:44 OK: 217 MiB in 59 packages 05:04:44 Removing intermediate container 63be3fe7e446 05:04:44 ---> 2f36fda5676a 05:04:44 Step 7/24 : WORKDIR /device-modbus-go 05:04:44 ---> Running in 7a648e0067b5 05:04:44 Removing intermediate container 7a648e0067b5 05:04:44 ---> 52cf061090e7 05:04:44 Step 8/24 : COPY go.mod vendor* ./ 05:04:45 ---> 20665a0b1dbd 05:04:45 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:04:45 ---> Running in 16ec1014cf50 05:04:45 Removing intermediate container 16ec1014cf50 05:04:45 ---> faece01a745e 05:04:45 Step 10/24 : COPY . . 05:04:46 ---> 03044f4412b7 05:04:46 Step 11/24 : RUN ${MAKE} 05:04:46 ---> Running in 08e93adae1ea 05:04:46 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 05:05:08 Removing intermediate container 08e93adae1ea 05:05:08 ---> 34a5449873fa 05:05:08 Step 12/24 : FROM alpine:3.14 05:05:08 3.14: Pulling from library/alpine 05:05:08 c7ed990a2339: Pulling fs layer 05:05:08 c7ed990a2339: Verifying Checksum 05:05:08 c7ed990a2339: Download complete 05:05:08 c7ed990a2339: Pull complete 05:05:08 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 05:05:08 Status: Downloaded newer image for alpine:3.14 05:05:08 ---> dd53f409bf0b 05:05:08 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:05:08 ---> Running in 5ebf6ef1a542 05:05:08 Removing intermediate container 5ebf6ef1a542 05:05:08 ---> 8081e462ab29 05:05:08 Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:05:08 ---> Running in e422f789fa21 05:05:08 Removing intermediate container e422f789fa21 05:05:08 ---> eb75645cdec4 05:05:08 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 05:05:08 ---> Running in 89df44a46a67 05:05:08 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:05:08 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:05:08 (1/6) Installing dumb-init (1.2.5-r1) 05:05:08 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:05:08 (3/6) Installing libsodium (1.0.18-r0) 05:05:08 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:05:08 (5/6) Installing libzmq (4.3.4-r0) 05:05:08 (6/6) Installing zeromq (4.3.4-r0) 05:05:08 Executing busybox-1.33.1-r8.trigger 05:05:08 OK: 8 MiB in 20 packages 05:05:08 Removing intermediate container 89df44a46a67 05:05:08 ---> e9d5ea9ec87d 05:05:08 Step 16/24 : COPY --from=builder /device-modbus-go/cmd / 05:05:09 ---> 8aa5a36cc074 05:05:09 Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / 05:05:09 ---> 08f10764af0f 05:05:09 Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:05:09 ---> 15ae0f735e3f 05:05:09 Step 19/24 : EXPOSE 59901 05:05:09 ---> Running in 0a404acd5cdd 05:05:09 Removing intermediate container 0a404acd5cdd 05:05:09 ---> 71b4db9af90c 05:05:09 Step 20/24 : ENTRYPOINT ["/device-modbus"] 05:05:09 ---> Running in 05e7d27d5c5c 05:05:09 Removing intermediate container 05e7d27d5c5c 05:05:09 ---> 3b4970c0360b 05:05:09 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:05:09 ---> Running in 324368ad988a 05:05:09 Removing intermediate container 324368ad988a 05:05:09 ---> 5de250c33654 05:05:09 Step 22/24 : LABEL arch=amd64 05:05:09 ---> Running in f34befadf5e8 05:05:10 Removing intermediate container f34befadf5e8 05:05:10 ---> e6bd478355a8 05:05:10 Step 23/24 : LABEL git_sha=6a78104ac050c760b055c1f7913c83c47b8815d5 05:05:10 ---> Running in ffd4f3824ebd 05:05:10 Removing intermediate container ffd4f3824ebd 05:05:10 ---> eadc3bb76a3f 05:05:10 Step 24/24 : LABEL version=0.0.0 05:05:10 ---> Running in 34336f16ddde 05:05:10 Removing intermediate container 34336f16ddde 05:05:10 ---> 073dc2b2fc26 05:05:10 [Warning] One or more build-args [ARCH] were not consumed 05:05:10 Successfully built 073dc2b2fc26 05:05:10 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:05:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:05:10 05:05:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:05:11 latest: Pulling from edgex-lftools-log-publisher 05:05:11 5eb5b503b376: Pulling fs layer 05:05:11 5c69ac0246d0: Pulling fs layer 05:05:11 ec43610c2a17: Pulling fs layer 05:05:11 3a2ae6a8a46f: Pulling fs layer 05:05:11 33b1e0a273af: Pulling fs layer 05:05:11 5d3b04190fa2: Pulling fs layer 05:05:11 2f39f015ded8: Pulling fs layer 05:05:11 3a2ae6a8a46f: Waiting 05:05:11 33b1e0a273af: Waiting 05:05:11 5d3b04190fa2: Waiting 05:05:11 2f39f015ded8: Waiting 05:05:11 5c69ac0246d0: Download complete 05:05:11 3a2ae6a8a46f: Verifying Checksum 05:05:11 3a2ae6a8a46f: Download complete 05:05:11 ec43610c2a17: Verifying Checksum 05:05:11 ec43610c2a17: Download complete 05:05:11 33b1e0a273af: Verifying Checksum 05:05:11 33b1e0a273af: Download complete 05:05:11 5d3b04190fa2: Download complete 05:05:11 5eb5b503b376: Verifying Checksum 05:05:11 5eb5b503b376: Download complete 05:05:12 2f39f015ded8: Download complete 05:05:12 5eb5b503b376: Pull complete 05:05:12 5c69ac0246d0: Pull complete 05:05:13 ec43610c2a17: Pull complete 05:05:13 3a2ae6a8a46f: Pull complete 05:05:13 33b1e0a273af: Pull complete 05:05:13 5d3b04190fa2: Pull complete 05:05:17 2f39f015ded8: Pull complete 05:05:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:05:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:05:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:17 prd-ubuntu20.04-docker-8c-8g-7485 does not seem to be running inside a container 05:05:17 $ 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-381 -v /w/workspace/xfoundry_device-modbus-go_PR-381:/w/workspace/xfoundry_device-modbus-go_PR-381:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-381@tmp:/w/workspace/xfoundry_device-modbus-go_PR-381@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:20 $ docker top 44fa7af25f650b2d6bcccb7c05c08ac84d6ed1087c2cd8549ef6b889663a7806 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:05:20 ---> job-cost.sh 05:05:20 lf-activate-venv: SKIPPING 05:05:20 INFO: No Stack... 05:05:21 INFO: Retrieving Pricing Info for: v3-standard-8 05:05:21 INFO: Archiving Costs [Pipeline] sh 05:05:21 + cat /w/workspace/xfoundry_device-modbus-go_PR-381/archives/cost.csv 05:05:21 + cut -d, -f6 [Pipeline] lock 05:05:21 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-381-1-stack-cost] 05:05:21 Resource [jenkins-edgexfoundry-device-modbus-go-PR-381-1-stack-cost] did not exist. Created. 05:05:21 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-381-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:05:22 + echo total: 0.2199999988079071 [Pipeline] stash 05:05:22 Stashed 1 file(s) [Pipeline] } 05:05:22 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-381-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:05:22 $ docker stop --time=1 44fa7af25f650b2d6bcccb7c05c08ac84d6ed1087c2cd8549ef6b889663a7806 05:05:23 $ docker rm -f 44fa7af25f650b2d6bcccb7c05c08ac84d6ed1087c2cd8549ef6b889663a7806 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:05:25 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7488 in /w/workspace/xfoundry_device-modbus-go_PR-381 [Pipeline] { [Pipeline] ws 05:05:25 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 05:05:25 Selected Git installation does not exist. Using Default 05:05:25 The recommended git tool is: NONE 05:05:31 using credential edgex-jenkins-ssh 05:05:31 Cloning the remote Git repository 05:05:31 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:05:31 > git init /w/workspace/device-modbus-go/1 # timeout=10 05:05:31 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:05:31 > git --version # timeout=10 05:05:31 > git --version # 'git version 2.25.1' 05:05:31 using GIT_SSH to set credentials SSH Credentials for GitHub 05:05:31 Verifying host key using known hosts file 05:05:31 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:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:05:32 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:05:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:05:34 Merging remotes/origin/main commit 5f9383f46e2f188912b2110fac411a008f731f06 into PR head commit 6a78104ac050c760b055c1f7913c83c47b8815d5 05:05:34 Merge succeeded, producing 6a78104ac050c760b055c1f7913c83c47b8815d5 05:05:34 Checking out Revision 6a78104ac050c760b055c1f7913c83c47b8815d5 (PR-381) 05:05:33 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:05:33 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 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 fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/381/head:refs/remotes/origin/PR-381 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:05:34 > git config core.sparsecheckout # timeout=10 05:05:34 > git checkout -f 6a78104ac050c760b055c1f7913c83c47b8815d5 # timeout=10 05:05:34 > git remote # timeout=10 05:05:34 > git config --get remote.origin.url # timeout=10 05:05:34 using GIT_SSH to set credentials SSH Credentials for GitHub 05:05:34 Verifying host key using known hosts file 05:05:34 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:34 > git merge 5f9383f46e2f188912b2110fac411a008f731f06 # timeout=10 05:05:34 > git rev-parse HEAD^{commit} # timeout=10 05:05:34 > git config core.sparsecheckout # timeout=10 05:05:34 > git checkout -f 6a78104ac050c760b055c1f7913c83c47b8815d5 # timeout=10 05:05:35 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 05:05:35 > git --version # timeout=10 05:05:35 > git --version # 'git version 2.25.1' 05:05:35 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:05:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:05:36 % Total % Received % Xferd Average Speed Time Time Time Current 05:05:36 Dload Upload Total Spent Left Speed 05:05:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 61174 0 --:--:-- --:--:-- --:--:-- 61174 [Pipeline] sh 05:05:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:05:37 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:05:37 + sudo tee /etc/docker/daemon.new 05:05:37 { 05:05:37 "registry-mirrors": [ 05:05:37 "https://nexus3.edgexfoundry.org:10001" 05:05:37 ], 05:05:37 "bip": "10.250.0.254/24", 05:05:37 "hosts": [ 05:05:37 "tcp://0.0.0.0:5555", 05:05:37 "unix:///var/run/docker.sock" 05:05:37 ], 05:05:37 "mtu": 1458, 05:05:37 "selinux-enabled": true, 05:05:37 "seccomp-profile": "/etc/docker/seccomp.json" 05:05:37 } [Pipeline] sh 05:05:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:05:37 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:05:56 provisioning config files... 05:05:56 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config4580803388339785361tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:05:56 ---> docker-login.sh 05:05:56 nexus3.edgexfoundry.org:10001 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 nexus3.edgexfoundry.org:10002 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 nexus3.edgexfoundry.org:10003 05:05:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:58 Configure a credential helper to remove this warning. See 05:05:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:58 05:05:58 Login Succeeded 05:05:58 nexus3.edgexfoundry.org:10004 05:05:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:58 Configure a credential helper to remove this warning. See 05:05:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:58 05:05:58 Login Succeeded 05:05:58 docker.io 05:05:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:59 Configure a credential helper to remove this warning. See 05:05:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:59 05:05:59 Login Succeeded 05:05:59 ---> docker-login.sh ends [Pipeline] } 05:05:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:05:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:05:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:05:59 ========================================================= 05:05:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 05:05:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:00 + 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:06:00 Sending build context to Docker daemon 3.212MB 05:06:00 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 05:06:00 Step 2/11 : FROM ${BASE} AS builder 05:06:00 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:06:00 b3c136eddcbf: Pulling fs layer 05:06:00 c0a3192eca97: Pulling fs layer 05:06:00 a050256f5b6f: Pulling fs layer 05:06:00 656be50a0ddc: Pulling fs layer 05:06:00 2bbca73fdf42: Pulling fs layer 05:06:00 f607e4fc86c3: Pulling fs layer 05:06:00 4d572c569a2c: Pulling fs layer 05:06:00 fcf976331f73: Pulling fs layer 05:06:00 2bbca73fdf42: Waiting 05:06:00 f607e4fc86c3: Waiting 05:06:00 4d572c569a2c: Waiting 05:06:00 fcf976331f73: Waiting 05:06:00 a050256f5b6f: Verifying Checksum 05:06:00 a050256f5b6f: Download complete 05:06:00 c0a3192eca97: Verifying Checksum 05:06:00 c0a3192eca97: Download complete 05:06:00 2bbca73fdf42: Verifying Checksum 05:06:00 2bbca73fdf42: Download complete 05:06:00 f607e4fc86c3: Verifying Checksum 05:06:00 f607e4fc86c3: Download complete 05:06:00 b3c136eddcbf: Verifying Checksum 05:06:00 b3c136eddcbf: Download complete 05:06:01 b3c136eddcbf: Pull complete 05:06:01 fcf976331f73: Verifying Checksum 05:06:01 fcf976331f73: Download complete 05:06:02 c0a3192eca97: Pull complete 05:06:02 a050256f5b6f: Pull complete 05:06:02 4d572c569a2c: Download complete 05:06:03 656be50a0ddc: Verifying Checksum 05:06:03 656be50a0ddc: Download complete 05:06:15 656be50a0ddc: Pull complete 05:06:15 2bbca73fdf42: Pull complete 05:06:15 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:24 ---> Running in 06ce1ac90b35 05:06:24 Removing intermediate container 06ce1ac90b35 05:06:24 ---> 19fdce2612f1 05:06:24 Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:06:24 ---> Running in 1915b955e640 05:06:24 Removing intermediate container 1915b955e640 05:06:24 ---> 77c0fce50907 05:06:24 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:06:24 ---> Running in 4591c398cd45 05:06:27 Removing intermediate container 4591c398cd45 05:06:27 ---> 587934116d26 05:06:27 Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:06:27 ---> Running in 5bf6bb6c4632 05:06:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:06:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:06:30 (1/8) Installing openssh-keygen (9.0_p1-r2) 05:06:30 (2/8) Installing libedit (20210910.3.1-r0) 05:06:30 (3/8) Installing openssh-client-common (9.0_p1-r2) 05:06:30 (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:31 Executing busybox-1.35.0-r13.trigger 05:06:31 OK: 228 MiB in 59 packages 05:06:32 Removing intermediate container 5bf6bb6c4632 05:06:32 ---> 70995c4b2921 05:06:32 Step 7/11 : WORKDIR /device-modbus-go 05:06:32 ---> Running in 49261af12fa2 05:06:32 Removing intermediate container 49261af12fa2 05:06:32 ---> aebe31f1830e 05:06:32 Step 8/11 : COPY go.mod vendor* ./ 05:06:33 ---> ca034685cf4d 05:06:33 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:06:33 ---> Running in f28b662da3d4 05:07:29 Removing intermediate container f28b662da3d4 05:07:29 ---> 3bf68458c3c5 05:07:29 Step 10/11 : COPY . . 05:07:29 ---> cab02119fb72 05:07:29 Step 11/11 : RUN ${MAKE} 05:07:29 ---> Running in 7f1e4ca523b2 05:07:29 noop 05:07:29 Removing intermediate container 7f1e4ca523b2 05:07:29 ---> f6644c5d1ec1 05:07:29 Successfully built f6644c5d1ec1 05:07:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:30 + docker inspect -f . ci-base-image-arm64 05:07:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:07:30 prd-ubuntu20.04-docker-arm64-4c-16g-7488 does not seem to be running inside a container 05:07:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:07:31 $ docker top dd8c7fb9e4a0cecd01e1a0346aed6021b26762fefe17b549366d4df9f9a6e80b -eo pid,comm [Pipeline] { [Pipeline] sh 05:07:32 + go version 05:07:32 go version go1.18.3 linux/arm64 [Pipeline] } 05:07:32 $ docker stop --time=1 dd8c7fb9e4a0cecd01e1a0346aed6021b26762fefe17b549366d4df9f9a6e80b 05:07:34 $ docker rm -f dd8c7fb9e4a0cecd01e1a0346aed6021b26762fefe17b549366d4df9f9a6e80b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:35 + docker inspect -f . ci-base-image-arm64 05:07:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:07:35 prd-ubuntu20.04-docker-arm64-4c-16g-7488 does not seem to be running inside a container 05:07:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:07:36 $ docker top 2bf6dfcbec628c17b8301d9fd637a131ceb78cd57fb1b22772520a53f962cbd1 -eo pid,comm [Pipeline] { [Pipeline] sh 05:07:37 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 05:07:37 + make test 05:07:37 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:07:39 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:09:16 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:09:16 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.057s coverage: 47.7% of statements 05:09:16 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:09:16 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:09:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:09:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:09:24 ./bin/test-attribution-txt.sh [Pipeline] echo 05:09:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:09:24 $ docker stop --time=1 2bf6dfcbec628c17b8301d9fd637a131ceb78cd57fb1b22772520a53f962cbd1 05:09:26 $ docker rm -f 2bf6dfcbec628c17b8301d9fd637a131ceb78cd57fb1b22772520a53f962cbd1 [Pipeline] // withDockerContainer [Pipeline] sh 05:09:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:09:27 Warning: overwriting stash ‘coverage-report’ 05:09:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:09:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:09:28 + ls -al . 05:09:28 total 184 05:09:28 drwxrwxr-x 9 jenkins jenkins 4096 Oct 10 05:07 . 05:09:28 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 05:05 .. 05:09:28 -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 05:05 .dockerignore 05:09:28 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 05:05 .git 05:09:28 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 05:05 .github 05:09:28 -rw-rw-r-- 1 jenkins jenkins 331 Oct 10 05:05 .gitignore 05:09:28 -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 05:05 .golangci.yml 05:09:28 -rw-rw-r-- 1 jenkins jenkins 10121 Oct 10 05:05 Attribution.txt 05:09:28 -rw-rw-r-- 1 jenkins jenkins 10001 Oct 10 05:05 CHANGELOG.md 05:09:28 -rw-rw-r-- 1 jenkins jenkins 1606 Oct 10 05:05 Dockerfile 05:09:28 -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 05:05 GOVERNANCE.md 05:09:28 -rw-rw-r-- 1 jenkins jenkins 680 Oct 10 05:05 Jenkinsfile 05:09:28 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 05:05 LICENSE 05:09:28 -rw-rw-r-- 1 jenkins jenkins 2101 Oct 10 05:05 Makefile 05:09:28 -rw-rw-r-- 1 jenkins jenkins 622 Oct 10 05:05 OWNERS.md 05:09:28 -rw-rw-r-- 1 jenkins jenkins 4061 Oct 10 05:05 README.md 05:09:28 -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 05:03 VERSION 05:09:28 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 05:05 bin 05:09:28 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 05:05 cmd 05:09:28 -rw-r--r-- 1 jenkins jenkins 23241 Oct 10 05:09 coverage.out 05:09:28 -rw-rw-r-- 1 jenkins jenkins 3643 Oct 10 05:05 go.mod 05:09:28 -rw-rw-r-- 1 jenkins jenkins 38288 Oct 10 05:05 go.sum 05:09:28 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 05:05 internal 05:09:28 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 05:05 simulator 05:09:28 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 05:05 snap 05:09:28 -rw-rw-r-- 1 jenkins jenkins 229 Oct 10 05:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:28 + 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=6a78104ac050c760b055c1f7913c83c47b8815d5 --label arch=arm64 --label version=0.0.0 . 05:09:29 Sending build context to Docker daemon 3.236MB 05:09:29 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 05:09:29 Step 2/24 : FROM ${BASE} AS builder 05:09:29 ---> f6644c5d1ec1 05:09:29 Step 3/24 : ARG ADD_BUILD_TAGS="" 05:09:29 ---> Running in c22b44f34259 05:09:29 Removing intermediate container c22b44f34259 05:09:29 ---> a1f466e4595c 05:09:29 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:09:29 ---> Running in f66aa8513205 05:09:30 Removing intermediate container f66aa8513205 05:09:30 ---> b5332a01264f 05:09:30 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:09:30 ---> Running in e5293c738756 05:09:31 Removing intermediate container e5293c738756 05:09:31 ---> f28d8350078e 05:09:31 Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:09:31 ---> Running in 12f8fcbc03b9 05:09:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:09:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:09:34 OK: 228 MiB in 59 packages 05:09:35 Removing intermediate container 12f8fcbc03b9 05:09:35 ---> 31f0995840e2 05:09:35 Step 7/24 : WORKDIR /device-modbus-go 05:09:35 ---> Running in 2a0998fade74 05:09:36 Removing intermediate container 2a0998fade74 05:09:36 ---> 81a083bfeba0 05:09:36 Step 8/24 : COPY go.mod vendor* ./ 05:09:36 ---> 367b29abd75f 05:09:36 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:09:36 ---> Running in 20c3cf393a6f 05:09:38 Removing intermediate container 20c3cf393a6f 05:09:38 ---> 3010d3a08e9c 05:09:38 Step 10/24 : COPY . . 05:09:39 ---> 8d3e7fa08640 05:09:39 Step 11/24 : RUN ${MAKE} 05:09:39 ---> Running in f3c5a90e526a 05:09:40 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:12:32 Removing intermediate container f3c5a90e526a 05:12:32 ---> 1ab9cf106373 05:12:32 Step 12/24 : FROM alpine:3.14 05:12:32 3.14: Pulling from library/alpine 05:12:32 90cda3b7c325: Pulling fs layer 05:12:32 90cda3b7c325: Verifying Checksum 05:12:32 90cda3b7c325: Download complete 05:12:32 90cda3b7c325: Pull complete 05:12:32 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 05:12:32 Status: Downloaded newer image for alpine:3.14 05:12:32 ---> 376ba31ae3da 05:12:32 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:12:32 ---> Running in 59a03f41ba0e 05:12:32 Removing intermediate container 59a03f41ba0e 05:12:32 ---> efada0625adf 05:12:32 Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:12:32 ---> Running in 73a52ceefce2 05:12:32 Removing intermediate container 73a52ceefce2 05:12:32 ---> 2107c247e801 05:12:32 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 05:12:32 ---> Running in 41ab49142dd1 05:12:32 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:12:32 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:12:32 (1/6) Installing dumb-init (1.2.5-r1) 05:12:32 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:12:32 (3/6) Installing libsodium (1.0.18-r0) 05:12:32 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:12:32 (5/6) Installing libzmq (4.3.4-r0) 05:12:32 (6/6) Installing zeromq (4.3.4-r0) 05:12:32 Executing busybox-1.33.1-r8.trigger 05:12:32 OK: 8 MiB in 20 packages 05:12:32 Removing intermediate container 41ab49142dd1 05:12:32 ---> 9f96f2d799b9 05:12:32 Step 16/24 : COPY --from=builder /device-modbus-go/cmd / 05:12:32 ---> ae453f96b874 05:12:32 Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / 05:12:32 ---> f9544545c333 05:12:32 Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:12:32 ---> eac999a7cdd7 05:12:32 Step 19/24 : EXPOSE 59901 05:12:32 ---> Running in a37997e11102 05:12:32 Removing intermediate container a37997e11102 05:12:32 ---> 063c97780405 05:12:32 Step 20/24 : ENTRYPOINT ["/device-modbus"] 05:12:32 ---> Running in 08390441504d 05:12:32 Removing intermediate container 08390441504d 05:12:32 ---> 8fed0a63341a 05:12:32 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:12:32 ---> Running in d2e51cfb3056 05:12:32 Removing intermediate container d2e51cfb3056 05:12:32 ---> 0034ca5b0a31 05:12:32 Step 22/24 : LABEL arch=arm64 05:12:32 ---> Running in f3972e66fe50 05:12:32 Removing intermediate container f3972e66fe50 05:12:32 ---> ded006af0bb3 05:12:32 Step 23/24 : LABEL git_sha=6a78104ac050c760b055c1f7913c83c47b8815d5 05:12:32 ---> Running in feca7f16724d 05:12:32 Removing intermediate container feca7f16724d 05:12:32 ---> 8ed1554d0532 05:12:32 Step 24/24 : LABEL version=0.0.0 05:12:32 ---> Running in c649c81a0d35 05:12:32 Removing intermediate container c649c81a0d35 05:12:32 ---> 001832537728 05:12:32 [Warning] One or more build-args [ARCH] were not consumed 05:12:32 Successfully built 001832537728 05:12:32 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:12:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:12:32 05:12:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:12:33 arm64: Pulling from edgex-lftools-log-publisher 05:12:33 8998bd30e6a1: Pulling fs layer 05:12:33 04944245beec: Pulling fs layer 05:12:33 699f458cf7ca: Pulling fs layer 05:12:33 765212b225bb: Pulling fs layer 05:12:33 f23df028b6ca: Pulling fs layer 05:12:33 d65c8cfc05b1: Pulling fs layer 05:12:33 2437ff75d9bd: Pulling fs layer 05:12:33 765212b225bb: Waiting 05:12:33 f23df028b6ca: Waiting 05:12:33 d65c8cfc05b1: Waiting 05:12:33 2437ff75d9bd: Waiting 05:12:33 04944245beec: Verifying Checksum 05:12:33 04944245beec: Download complete 05:12:33 765212b225bb: Verifying Checksum 05:12:33 765212b225bb: Download complete 05:12:33 f23df028b6ca: Download complete 05:12:33 d65c8cfc05b1: Verifying Checksum 05:12:33 d65c8cfc05b1: Download complete 05:12:33 699f458cf7ca: Download complete 05:12:34 8998bd30e6a1: Download complete 05:12:36 2437ff75d9bd: Verifying Checksum 05:12:36 2437ff75d9bd: Download complete 05:12:38 8998bd30e6a1: Pull complete 05:12:38 04944245beec: Pull complete 05:12:39 699f458cf7ca: Pull complete 05:12:39 765212b225bb: Pull complete 05:12:40 f23df028b6ca: Pull complete 05:12:41 d65c8cfc05b1: Pull complete 05:12:56 2437ff75d9bd: Pull complete 05:12:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:12:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:12:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:12:56 prd-ubuntu20.04-docker-arm64-4c-16g-7488 does not seem to be running inside a container 05:12:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:12:59 $ docker top 41add7f0801bc4d9d4e79bc0d9f73789464273e08c686ca083520414b152cefc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:13:00 ---> job-cost.sh 05:13:00 lf-activate-venv: SKIPPING 05:13:00 INFO: No Stack... 05:13:00 INFO: Retrieving Pricing Info for: v3-standard-4 05:13:01 INFO: Archiving Costs [Pipeline] sh 05:13:02 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 05:13:02 + cut -d, -f6 [Pipeline] lock 05:13:02 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-381-1-stack-cost] 05:13:02 Resource [jenkins-edgexfoundry-device-modbus-go-PR-381-1-stack-cost] did not exist. Created. 05:13:02 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-381-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:13:02 /w/workspace/device-modbus-go/1@tmp/durable-e9c59734/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:13:03 + echo total: 0.10999999940395355 [Pipeline] stash 05:13:03 Warning: overwriting stash ‘stack-cost’ 05:13:03 Stashed 1 file(s) [Pipeline] } 05:13:03 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-381-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:13:03 $ docker stop --time=1 41add7f0801bc4d9d4e79bc0d9f73789464273e08c686ca083520414b152cefc 05:13:05 $ docker rm -f 41add7f0801bc4d9d4e79bc0d9f73789464273e08c686ca083520414b152cefc [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:06 provisioning config files... 05:13:06 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-381@tmp/config13129537995704984583tmp [Pipeline] { [Pipeline] sh 05:13:06 + set +x 05:13:06 + curl -s https://codecov.io/bash 05:13:06 + bash -s -- 05:13:06 05:13:06 _____ _ 05:13:06 / ____| | | 05:13:06 | | ___ __| | ___ ___ _____ __ 05:13:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:13:06 | |___| (_) | (_| | __/ (_| (_) \ V / 05:13:06 \_____\___/ \__,_|\___|\___\___/ \_/ 05:13:06 Bash-1.0.6 05:13:06 05:13:06 05:13:06 ==> git version 2.25.1 found 05:13:06 ==> 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:06 Release-Date: 2020-01-08 05:13:06 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:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:13:06 ==> Jenkins CI detected. 05:13:06 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-381 05:13:06 project root: . 05:13:06 --> token set from env 05:13:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:13:06 ==> Running gcov in . (disable via -X gcov) 05:13:06 ==> Python coveragepy not found 05:13:06 ==> Searching for coverage reports in: 05:13:06 + . 05:13:06 -> Found 1 reports 05:13:06 ==> Detecting git/mercurial file structure 05:13:06 ==> Reading reports 05:13:06 + ./coverage.out bytes=23241 05:13:06 ==> Appending adjustments 05:13:06 https://docs.codecov.io/docs/fixing-reports 05:13:06 + Found adjustments 05:13:06 ==> Gzipping contents 05:13:06 4.0K /tmp/codecov.piPK8v.gz 05:13:06 ==> Uploading reports 05:13:06 url: https://codecov.io 05:13:06 query: branch=PR-381&commit=6a78104ac050c760b055c1f7913c83c47b8815d5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-381%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=381&job=&cmd_args= 05:13:06 -> Pinging Codecov 05:13:06 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-381&commit=6a78104ac050c760b055c1f7913c83c47b8815d5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-381%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=381&job=&cmd_args= 05:13:07 -> Uploading to 05:13:07 https://storage.googleapis.com/codecov/v4/raw/2022-10-10/55DBCA73C666E3227836607328DD7E49/6a78104ac050c760b055c1f7913c83c47b8815d5/cb0df913-adce-42ae-b0cb-59778955e2ed.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221010%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221010T051307Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3814c5cf3f25a2f5eee8bf051703b16291d076ff90de0e28a54cf23d4ec97a2f 05:13:07 % Total % Received % Xferd Average Speed Time Time Time Current 05:13:07 Dload Upload Total Spent Left Speed 05:13:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3911 0 0 100 3911 0 18023 --:--:-- --:--:-- --:--:-- 18023 05:13:07 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/6a78104ac050c760b055c1f7913c83c47b8815d5 [Pipeline] } 05:13:07 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:09 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-381/archives ] 05:13:09 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-381/archives 05:13:09 total 16 05:13:09 drwxr-xr-x 3 root root 4096 Oct 10 05:05 . 05:13:09 drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 05:05 .. 05:13:09 drwxr-xr-x 2 root root 4096 Oct 10 05:05 cost 05:13:09 -rw-r--r-- 1 root root 88 Oct 10 05:05 cost.csv 05:13:09 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-381/archives 05:13:09 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-381/archives 05:13:09 total 16 05:13:09 drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 05:05 . 05:13:09 drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 05:05 .. 05:13:09 drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 05:05 cost 05:13:09 -rw-r--r-- 1 jenkins jenkins 88 Oct 10 05:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:13:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:13:10 ---> package-listing.sh 05:13:10 ++ facter osfamily 05:13:10 ++ tr '[:upper:]' '[:lower:]' 05:13:10 + OS_FAMILY=debian 05:13:10 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-381 05:13:10 + START_PACKAGES=/tmp/packages_start.txt 05:13:10 + END_PACKAGES=/tmp/packages_end.txt 05:13:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:13:10 + PACKAGES=/tmp/packages_start.txt 05:13:10 + '[' /w/workspace/xfoundry_device-modbus-go_PR-381 ']' 05:13:10 + PACKAGES=/tmp/packages_end.txt 05:13:10 + case "${OS_FAMILY}" in 05:13:10 + dpkg -l 05:13:10 + grep '^ii' 05:13:10 + '[' -f /tmp/packages_start.txt ']' 05:13:10 + '[' -f /tmp/packages_end.txt ']' 05:13:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:13:10 + '[' /w/workspace/xfoundry_device-modbus-go_PR-381 ']' 05:13:10 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-381/archives/ 05:13:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-381/archives/ [Pipeline] echo 05:13:10 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-381/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:13:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:13:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:13:11 prd-ubuntu20.04-docker-8c-8g-7485 does not seem to be running inside a container 05:13:11 $ 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-381/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-381 -v /w/workspace/xfoundry_device-modbus-go_PR-381:/w/workspace/xfoundry_device-modbus-go_PR-381:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-381@tmp:/w/workspace/xfoundry_device-modbus-go_PR-381@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:11 $ docker top 0144944f3f04da119c57f841c91ba26e0eb4f0d80608758e548bb9d5475d8412 -eo pid,comm [Pipeline] { [Pipeline] sh 05:13:12 + touch /tmp/pre-build-complete [Pipeline] sh 05:13:12 + mkdir -p /var/log/sysstat [Pipeline] sh 05:13:12 + ls /var/log/sa-host 05:13:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:13:13 provisioning config files... 05:13:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-381@tmp/config16148574773058694075tmp [Pipeline] { [Pipeline] echo 05:13:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:13:13 ---> create-netrc.sh [Pipeline] } 05:13:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:13:13 ---> python-tools-install.sh [Pipeline] echo 05:13:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:13:14 ---> sudo-logs.sh 05:13:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:13:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:13:14 ---> job-cost.sh 05:13:14 lf-activate-venv: SKIPPING 05:13:14 DEBUG: total: 0.2199999988079071 05:13:14 INFO: Retrieving Stack Cost... 05:13:14 INFO: Retrieving Pricing Info for: v3-standard-8 05:13:15 INFO: Archiving Costs [Pipeline] echo 05:13:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:13:15 ---> logs-deploy.sh 05:13:15 lf-activate-venv: SKIPPING 05:13:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-381/1 05:13:15 INFO: archiving workspace using pattern(s): 05:13:16 Archives upload complete. 05:13:16 INFO: archiving logs to Nexus