Pull request #384 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9+9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 (cc08fd061a50b26d20ce64ce098051bd9dbdc71c) 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-ssh11408941987959559858.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16758749687482817942.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-384/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-384/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12414227542868780422.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-384/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17677803110618400726.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10459999000357877033.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-384/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-384/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh382961136703509323.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9181 in /w/workspace/xfoundry_device-modbus-go_PR-384 [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-384 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/384/head:refs/remotes/origin/PR-384 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 into PR head commit 2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 Merge succeeded, producing 2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 Checking out Revision 2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 (PR-384) 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 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:04:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:04:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:04:44 ========================================================= 05:04:44 EdgeX Global Pipelines Version Info 05:04:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:04:45 ------------------- 05:04:45 stable info: 05:04:45 ------------------- 05:04:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:04:45 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 05:04:45 Message: update stable to v1.0.243 05:04:45 ------------------- 05:04:45 experimental info: 05:04:45 ------------------- 05:04:45 Commited By: **** collab-it+edgex@linuxfoundation.org 05:04:45 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 05:04:45 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:04:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:04:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:04:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:04:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:04:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:04:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:04:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:04:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:04:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:04:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:04:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:04:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:04:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:04:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:04:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:04:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:04:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:04:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:04:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:04:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:04:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:04:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:04:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:04:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:04:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:04:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:04:47 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:04:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-384 [Pipeline] echo 05:04:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-384 [Pipeline] echo 05:04:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-384 [Pipeline] echo 05:04:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 [Pipeline] echo 05:04:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2b9c4bb [Pipeline] echo 05:04:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:04:47 provisioning config files... 05:04:47 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-384@tmp/config4914025072484014985tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:47 ---> docker-login.sh 05:04:47 nexus3.edgexfoundry.org:10001 05:04:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:48 Configure a credential helper to remove this warning. See 05:04:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:48 05:04:48 Login Succeeded 05:04:48 nexus3.edgexfoundry.org:10002 05:04:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:48 Configure a credential helper to remove this warning. See 05:04:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:48 05:04:48 Login Succeeded 05:04:48 nexus3.edgexfoundry.org:10003 05:04:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:48 Configure a credential helper to remove this warning. See 05:04:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:48 05:04:48 Login Succeeded 05:04:48 nexus3.edgexfoundry.org:10004 05:04:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:48 Configure a credential helper to remove this warning. See 05:04:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:48 05:04:48 Login Succeeded 05:04:48 docker.io 05:04:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:48 Configure a credential helper to remove this warning. See 05:04:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:48 05:04:48 Login Succeeded 05:04:48 ---> docker-login.sh ends [Pipeline] } 05:04:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:04:49 + git rev-list -1 --merges 2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9~1..2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 [Pipeline] echo 05:04:49 -----------> git rev-list -1 --merges 2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9~1..2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 [false] [Pipeline] sh 05:04:50 + git log --format=format:%s -1 2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 [Pipeline] echo 05:04:50 ========================================================= 05:04:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:04:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:04:50 + git log --format=format:%s -1 2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 [Pipeline] echo 05:04:50 [semverPrep] GIT_COMMIT: 2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 05:04:50 [semverPrep] This is not a build commit. [Pipeline] sh 05:04:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:04:50 + grep -v github /etc/ssh/ssh_known_hosts 05:04:50 + [ -e /tmp/ssh_known_hosts ] 05:04:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:04:50 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:04:50 sudo tee -a /etc/ssh/ssh_known_hosts 05:04:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:04:51 05:04:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:04:51 0.1.4: Pulling from edgex-devops/py-git-semver 05:04:51 b85a868b505f: Pulling fs layer 05:04:51 e2be974225ed: Pulling fs layer 05:04:51 339a4e72a1f5: Pulling fs layer 05:04:51 988bab9f4d93: Pulling fs layer 05:04:51 1469e6f7b9e6: Pulling fs layer 05:04:51 eaf3925da568: Pulling fs layer 05:04:51 bab4dde63d76: Pulling fs layer 05:04:51 bde34c3a00c8: Pulling fs layer 05:04:51 b352a97aabf1: Pulling fs layer 05:04:51 4872d77fe225: Pulling fs layer 05:04:51 5851b861e8e6: Pulling fs layer 05:04:51 988bab9f4d93: Waiting 05:04:51 1469e6f7b9e6: Waiting 05:04:51 eaf3925da568: Waiting 05:04:51 bab4dde63d76: Waiting 05:04:51 bde34c3a00c8: Waiting 05:04:51 b352a97aabf1: Waiting 05:04:51 4872d77fe225: Waiting 05:04:51 5851b861e8e6: Waiting 05:04:51 e2be974225ed: Verifying Checksum 05:04:51 e2be974225ed: Download complete 05:04:51 988bab9f4d93: Verifying Checksum 05:04:51 988bab9f4d93: Download complete 05:04:51 1469e6f7b9e6: Verifying Checksum 05:04:51 1469e6f7b9e6: Download complete 05:04:51 339a4e72a1f5: Verifying Checksum 05:04:51 339a4e72a1f5: Download complete 05:04:51 eaf3925da568: Verifying Checksum 05:04:51 eaf3925da568: Download complete 05:04:51 bde34c3a00c8: Verifying Checksum 05:04:51 bde34c3a00c8: Download complete 05:04:51 b352a97aabf1: Verifying Checksum 05:04:51 b352a97aabf1: Download complete 05:04:51 4872d77fe225: Verifying Checksum 05:04:51 4872d77fe225: Download complete 05:04:51 5851b861e8e6: Verifying Checksum 05:04:51 5851b861e8e6: Download complete 05:04:51 b85a868b505f: Verifying Checksum 05:04:51 b85a868b505f: Download complete 05:04:52 bab4dde63d76: Verifying Checksum 05:04:52 bab4dde63d76: Download complete 05:04:53 b85a868b505f: Pull complete 05:04:53 e2be974225ed: Pull complete 05:04:53 339a4e72a1f5: Pull complete 05:04:53 988bab9f4d93: Pull complete 05:04:54 1469e6f7b9e6: Pull complete 05:04:54 eaf3925da568: Pull complete 05:04:56 bab4dde63d76: Pull complete 05:04:56 bde34c3a00c8: Pull complete 05:04:56 b352a97aabf1: Pull complete 05:04:56 4872d77fe225: Pull complete 05:04:56 5851b861e8e6: Pull complete 05:04:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:04:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:04:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:56 prd-ubuntu20.04-docker-8c-8g-9181 does not seem to be running inside a container 05:04:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-384 -v /w/workspace/xfoundry_device-modbus-go_PR-384:/w/workspace/xfoundry_device-modbus-go_PR-384:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-384@tmp:/w/workspace/xfoundry_device-modbus-go_PR-384@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:04:59 $ docker top 91b129f232fb67494298ac9ab9484b08693a38ba2978bb824710bf72f90c3785 -eo pid,comm 05:04:59 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:04:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:04:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:04:59 [ssh-agent] Looking for ssh-agent implementation... 05:04:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:59 $ docker exec 91b129f232fb67494298ac9ab9484b08693a38ba2978bb824710bf72f90c3785 ssh-agent 05:05:00 SSH_AUTH_SOCK=/tmp/ssh-BQ70p4hrbazT/agent.32 05:05:00 SSH_AGENT_PID=38 05:05:00 Running ssh-add (command line suppressed) 05:05:00 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-384@tmp/private_key_4627092328399605870.key (/w/workspace/xfoundry_device-modbus-go_PR-384@tmp/private_key_4627092328399605870.key) 05:05:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:05:00 + git tag --points-at HEAD [Pipeline] } 05:05:00 $ docker exec --env ******** --env ******** 91b129f232fb67494298ac9ab9484b08693a38ba2978bb824710bf72f90c3785 ssh-agent -k 05:05:00 unset SSH_AUTH_SOCK; 05:05:00 unset SSH_AGENT_PID; 05:05:00 echo Agent pid 38 killed; 05:05:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:05:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:05:00 [ssh-agent] Looking for ssh-agent implementation... 05:05:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:05:00 $ docker exec 91b129f232fb67494298ac9ab9484b08693a38ba2978bb824710bf72f90c3785 ssh-agent 05:05:00 SSH_AUTH_SOCK=/tmp/ssh-BpsUIt7LMtGJ/agent.70 05:05:00 SSH_AGENT_PID=76 05:05:00 Running ssh-add (command line suppressed) 05:05:01 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-384@tmp/private_key_11439598819397870052.key (/w/workspace/xfoundry_device-modbus-go_PR-384@tmp/private_key_11439598819397870052.key) 05:05:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:05:01 + git semver init 05:05:01 2022-10-24 05:05:01,631 [run_init] DEBUG init version:0.0.0 force:False 05:05:01 2022-10-24 05:05:01,632 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-384/.semver 05:05:01 2022-10-24 05:05:01,633 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-384/.semver 05:05:01 2022-10-24 05:05:01,633 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-384/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-384, universal_newlines=False, shell=None, istream=None) 05:05:02 2022-10-24 05:05:02,575 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-384/.git/info/exclude 05:05:02 2022-10-24 05:05:02,576 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-384/.semver/PR-384 with force:False 05:05:02 2022-10-24 05:05:02,576 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-384/.semver/PR-384 05:05:02 2022-10-24 05:05:02,580 [execute] INFO git cat-file --batch-check 05:05:02 2022-10-24 05:05:02,580 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-384/.semver, universal_newlines=False, shell=None, istream=) 05:05:02 2022-10-24 05:05:02,586 [execute] INFO git cat-file --batch 05:05:02 2022-10-24 05:05:02,587 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-384/.semver, universal_newlines=False, shell=None, istream=) 05:05:02 2022-10-24 05:05:02,591 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-384/.semver/PR-384 05:05:02 0.0.0 [Pipeline] } 05:05:02 $ docker exec --env ******** --env ******** 91b129f232fb67494298ac9ab9484b08693a38ba2978bb824710bf72f90c3785 ssh-agent -k 05:05:02 unset SSH_AUTH_SOCK; 05:05:02 unset SSH_AGENT_PID; 05:05:02 echo Agent pid 76 killed; 05:05:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:05:03 + git semver [Pipeline] } 05:05:03 $ docker stop --time=1 91b129f232fb67494298ac9ab9484b08693a38ba2978bb824710bf72f90c3785 05:05:04 $ docker rm -f 91b129f232fb67494298ac9ab9484b08693a38ba2978bb824710bf72f90c3785 [Pipeline] // withDockerContainer [Pipeline] sh 05:05:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:05:05 Stashed 1 file(s) [Pipeline] echo 05:05:05 [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:05:06 provisioning config files... 05:05:06 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-384@tmp/config9281779257016817557tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:05:06 ---> docker-login.sh 05:05:06 nexus3.edgexfoundry.org:10001 05:05:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:06 Configure a credential helper to remove this warning. See 05:05:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:06 05:05:06 Login Succeeded 05:05:06 nexus3.edgexfoundry.org:10002 05:05:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:06 Configure a credential helper to remove this warning. See 05:05:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:06 05:05:06 Login Succeeded 05:05:06 nexus3.edgexfoundry.org:10003 05:05:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:06 Configure a credential helper to remove this warning. See 05:05:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:06 05:05:06 Login Succeeded 05:05:06 nexus3.edgexfoundry.org:10004 05:05:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:06 Configure a credential helper to remove this warning. See 05:05:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:06 05:05:06 Login Succeeded 05:05:06 docker.io 05:05:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:07 Configure a credential helper to remove this warning. See 05:05:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:07 05:05:07 Login Succeeded 05:05:07 ---> docker-login.sh ends [Pipeline] } 05:05:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:05:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:05:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:05:07 ========================================================= 05:05:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:05:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:07 + 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:05:07 Sending build context to Docker daemon 6.199MB 05:05:07 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 05:05:07 Step 2/11 : FROM ${BASE} AS builder 05:05:07 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:05:07 213ec9aee27d: Pulling fs layer 05:05:07 4583459ba037: Pulling fs layer 05:05:07 93c1e223e6f2: Pulling fs layer 05:05:07 53926ce57604: Pulling fs layer 05:05:07 21b2b0c7a3f4: Pulling fs layer 05:05:07 30f14e443154: Pulling fs layer 05:05:07 801331c1e519: Pulling fs layer 05:05:07 99cc6dd402b0: Pulling fs layer 05:05:07 7d9ed39f4882: Pulling fs layer 05:05:07 53926ce57604: Waiting 05:05:07 21b2b0c7a3f4: Waiting 05:05:07 99cc6dd402b0: Waiting 05:05:07 30f14e443154: Waiting 05:05:07 801331c1e519: Waiting 05:05:07 7d9ed39f4882: Waiting 05:05:07 93c1e223e6f2: Verifying Checksum 05:05:07 93c1e223e6f2: Download complete 05:05:07 4583459ba037: Verifying Checksum 05:05:07 4583459ba037: Download complete 05:05:07 21b2b0c7a3f4: Verifying Checksum 05:05:07 21b2b0c7a3f4: Download complete 05:05:08 30f14e443154: Verifying Checksum 05:05:08 30f14e443154: Download complete 05:05:08 213ec9aee27d: Verifying Checksum 05:05:08 213ec9aee27d: Download complete 05:05:08 801331c1e519: Verifying Checksum 05:05:08 801331c1e519: Download complete 05:05:08 213ec9aee27d: Pull complete 05:05:08 4583459ba037: Pull complete 05:05:08 93c1e223e6f2: Pull complete 05:05:09 7d9ed39f4882: Verifying Checksum 05:05:09 7d9ed39f4882: Download complete 05:05:09 53926ce57604: Verifying Checksum 05:05:09 53926ce57604: Download complete 05:05:09 99cc6dd402b0: Verifying Checksum 05:05:09 99cc6dd402b0: Download complete 05:05:13 53926ce57604: Pull complete 05:05:13 21b2b0c7a3f4: Pull complete 05:05:13 30f14e443154: Pull complete 05:05:13 801331c1e519: Pull complete 05:05:15 99cc6dd402b0: Pull complete 05:05:15 7d9ed39f4882: Pull complete 05:05:15 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 05:05:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:05:15 ---> 1dedd983c030 05:05:15 Step 3/11 : ARG ADD_BUILD_TAGS="" 05:05:19 ---> Running in ed74767317af 05:05:19 Removing intermediate container ed74767317af 05:05:19 ---> 4467fc2ff3f4 05:05:19 Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:05:19 ---> Running in e34eca164476 05:05:19 Removing intermediate container e34eca164476 05:05:19 ---> 634dba74083a 05:05:19 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:05:19 ---> Running in f337bbd93570 05:05:20 Removing intermediate container f337bbd93570 05:05:20 ---> b5f011aee083 05:05:20 Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:05:20 ---> Running in e05461e48436 05:05:20 Still waiting to schedule task 05:05:20 ‘prd-ubuntu20.04-docker-arm64-4c-16g-9183’ is offline 05:05:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:05:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:05:21 (1/8) Installing openssh-keygen (9.0_p1-r2) 05:05:22 (2/8) Installing libedit (20210910.3.1-r0) 05:05:22 (3/8) Installing openssh-client-common (9.0_p1-r2) 05:05:22 (4/8) Installing openssh-client-default (9.0_p1-r2) 05:05:22 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 05:05:22 (6/8) Installing openssh-server-common (9.0_p1-r2) 05:05:22 (7/8) Installing openssh-server (9.0_p1-r2) 05:05:22 (8/8) Installing openssh (9.0_p1-r2) 05:05:22 Executing busybox-1.35.0-r17.trigger 05:05:22 OK: 217 MiB in 59 packages 05:05:23 Removing intermediate container e05461e48436 05:05:23 ---> 0e951e62557d 05:05:23 Step 7/11 : WORKDIR /device-modbus-go 05:05:23 ---> Running in 557a04008a4c 05:05:23 Removing intermediate container 557a04008a4c 05:05:23 ---> 23c7179fd3e2 05:05:23 Step 8/11 : COPY go.mod vendor* ./ 05:05:23 ---> b420d2a69bd7 05:05:23 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:05:23 ---> Running in 6259edf13982 05:05:50 Removing intermediate container 6259edf13982 05:05:50 ---> d802f1e6f9fe 05:05:50 Step 10/11 : COPY . . 05:05:50 ---> a7604baf3300 05:05:50 Step 11/11 : RUN ${MAKE} 05:05:50 ---> Running in 6060d6e9f2d0 05:05:50 noop 05:05:50 Removing intermediate container 6060d6e9f2d0 05:05:50 ---> 9daaccffd208 05:05:50 Successfully built 9daaccffd208 05:05:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:50 + docker inspect -f . ci-base-image-x86_64 05:05:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:50 prd-ubuntu20.04-docker-8c-8g-9181 does not seem to be running inside a container 05:05:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-384 -v /w/workspace/xfoundry_device-modbus-go_PR-384:/w/workspace/xfoundry_device-modbus-go_PR-384:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-384@tmp:/w/workspace/xfoundry_device-modbus-go_PR-384@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:05:51 $ docker top d62d02b0faba39d836b7cec50f719e6ae4020c4d2d3a47eecf5228e9b4599397 -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:51 + go version 05:05:51 go version go1.18.7 linux/amd64 [Pipeline] } 05:05:51 $ docker stop --time=1 d62d02b0faba39d836b7cec50f719e6ae4020c4d2d3a47eecf5228e9b4599397 05:05:52 $ docker rm -f d62d02b0faba39d836b7cec50f719e6ae4020c4d2d3a47eecf5228e9b4599397 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:53 + docker inspect -f . ci-base-image-x86_64 05:05:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:53 prd-ubuntu20.04-docker-8c-8g-9181 does not seem to be running inside a container 05:05:53 $ 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-384 -v /w/workspace/xfoundry_device-modbus-go_PR-384:/w/workspace/xfoundry_device-modbus-go_PR-384:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-384@tmp:/w/workspace/xfoundry_device-modbus-go_PR-384@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:05:54 $ docker top 49612eaf80f7315f194e0291842708b12259224ee386de19fe53d2905f8572c2 -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:54 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-384 [Pipeline] fileExists [Pipeline] sh 05:05:54 + make test 05:05:54 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:05:55 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:06:05 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:06:05 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 47.7% of statements 05:06:10 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:06:10 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:06:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:06:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:06:13 ./bin/test-attribution-txt.sh [Pipeline] echo 05:06:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:06:13 $ docker stop --time=1 49612eaf80f7315f194e0291842708b12259224ee386de19fe53d2905f8572c2 05:06:16 $ docker rm -f 49612eaf80f7315f194e0291842708b12259224ee386de19fe53d2905f8572c2 [Pipeline] // withDockerContainer [Pipeline] sh 05:06:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:06:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:06:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:06:18 + ls -al . 05:06:18 total 188 05:06:18 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 05:05 . 05:06:18 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 05:04 .. 05:06:18 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 05:04 .dockerignore 05:06:18 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 05:06 .git 05:06:18 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 05:04 .github 05:06:18 -rw-rw-r-- 1 jenkins jenkins 331 Oct 24 05:04 .gitignore 05:06:18 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 05:04 .golangci.yml 05:06:18 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 05:05 .semver 05:06:18 -rw-rw-r-- 1 jenkins jenkins 10121 Oct 24 05:04 Attribution.txt 05:06:18 -rw-rw-r-- 1 jenkins jenkins 10001 Oct 24 05:04 CHANGELOG.md 05:06:18 -rw-rw-r-- 1 jenkins jenkins 1606 Oct 24 05:04 Dockerfile 05:06:18 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 05:04 GOVERNANCE.md 05:06:18 -rw-rw-r-- 1 jenkins jenkins 680 Oct 24 05:04 Jenkinsfile 05:06:18 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 05:04 LICENSE 05:06:18 -rw-rw-r-- 1 jenkins jenkins 2101 Oct 24 05:04 Makefile 05:06:18 -rw-rw-r-- 1 jenkins jenkins 622 Oct 24 05:04 OWNERS.md 05:06:18 -rw-rw-r-- 1 jenkins jenkins 4061 Oct 24 05:04 README.md 05:06:18 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 05:05 VERSION 05:06:18 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 05:04 bin 05:06:18 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 05:04 cmd 05:06:18 -rw-r--r-- 1 jenkins jenkins 23241 Oct 24 05:06 coverage.out 05:06:18 -rw-rw-r-- 1 jenkins jenkins 3643 Oct 24 05:04 go.mod 05:06:18 -rw-rw-r-- 1 jenkins jenkins 38288 Oct 24 05:04 go.sum 05:06:18 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 05:04 internal 05:06:18 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 05:04 simulator 05:06:18 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 05:04 snap 05:06:18 -rw-rw-r-- 1 jenkins jenkins 229 Oct 24 05:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:18 + 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=2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 --label arch=amd64 --label version=0.0.0 . 05:06:18 Sending build context to Docker daemon 6.223MB 05:06:18 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 05:06:18 Step 2/24 : FROM ${BASE} AS builder 05:06:18 ---> 9daaccffd208 05:06:18 Step 3/24 : ARG ADD_BUILD_TAGS="" 05:06:18 ---> Running in e472a408c28f 05:06:18 Removing intermediate container e472a408c28f 05:06:18 ---> 770282ca5e79 05:06:18 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:06:18 ---> Running in aba4396a8f2d 05:06:18 Removing intermediate container aba4396a8f2d 05:06:18 ---> e3f1d1e7d1f6 05:06:18 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:06:18 ---> Running in 8de1000a30fd 05:06:19 Removing intermediate container 8de1000a30fd 05:06:19 ---> 9171481f5806 05:06:19 Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:06:19 ---> Running in 6de1ed8687f6 05:06:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:06:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:06:21 OK: 217 MiB in 59 packages 05:06:21 Removing intermediate container 6de1ed8687f6 05:06:21 ---> 1d8c64609d0f 05:06:21 Step 7/24 : WORKDIR /device-modbus-go 05:06:21 ---> Running in 7a9683040db4 05:06:21 Removing intermediate container 7a9683040db4 05:06:21 ---> 8b246e8573ea 05:06:21 Step 8/24 : COPY go.mod vendor* ./ 05:06:21 ---> f746a1741eb3 05:06:21 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:06:21 ---> Running in a5507cde8e27 05:06:22 Removing intermediate container a5507cde8e27 05:06:22 ---> 214f6d3fb3a7 05:06:22 Step 10/24 : COPY . . 05:06:22 ---> 451822c2278f 05:06:22 Step 11/24 : RUN ${MAKE} 05:06:22 ---> Running in 8fc24c9cf316 05:06:22 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:06:49 Removing intermediate container 8fc24c9cf316 05:06:49 ---> bd92be37a919 05:06:49 Step 12/24 : FROM alpine:3.14 05:06:49 3.14: Pulling from library/alpine 05:06:49 c7ed990a2339: Pulling fs layer 05:06:49 c7ed990a2339: Download complete 05:06:49 c7ed990a2339: Pull complete 05:06:49 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 05:06:49 Status: Downloaded newer image for alpine:3.14 05:06:49 ---> dd53f409bf0b 05:06:49 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:06:49 ---> Running in f626347e0053 05:06:49 Removing intermediate container f626347e0053 05:06:49 ---> 3301b3ec8b33 05:06:49 Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:06:49 ---> Running in d913019c1fe4 05:06:50 Removing intermediate container d913019c1fe4 05:06:50 ---> dcedc6e4d9d5 05:06:50 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 05:06:50 ---> Running in 7303dad5dc62 05:06:51 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:06:52 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:06:52 (1/6) Installing dumb-init (1.2.5-r1) 05:06:52 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:06:52 (3/6) Installing libsodium (1.0.18-r0) 05:06:52 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:06:53 (5/6) Installing libzmq (4.3.4-r0) 05:06:53 (6/6) Installing zeromq (4.3.4-r0) 05:06:53 Executing busybox-1.33.1-r8.trigger 05:06:53 OK: 8 MiB in 20 packages 05:06:54 Removing intermediate container 7303dad5dc62 05:06:54 ---> 5696e22f6d1b 05:06:54 Step 16/24 : COPY --from=builder /device-modbus-go/cmd / 05:06:55 ---> 1b8849b0d3da 05:06:55 Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / 05:06:55 ---> ac0c087e360b 05:06:55 Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:06:55 ---> 2d31f3452801 05:06:55 Step 19/24 : EXPOSE 59901 05:06:55 ---> Running in b195778b024a 05:06:56 Removing intermediate container b195778b024a 05:06:56 ---> 601816390cba 05:06:56 Step 20/24 : ENTRYPOINT ["/device-modbus"] 05:06:56 ---> Running in be2de3d3eb99 05:06:56 Removing intermediate container be2de3d3eb99 05:06:56 ---> 447ccff9246c 05:06:56 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:06:56 ---> Running in be0358eb43ae 05:06:56 Removing intermediate container be0358eb43ae 05:06:56 ---> 55c1d9ae9940 05:06:56 Step 22/24 : LABEL arch=amd64 05:06:56 ---> Running in 55fd516142fc 05:06:56 Removing intermediate container 55fd516142fc 05:06:56 ---> f08b56e62618 05:06:56 Step 23/24 : LABEL git_sha=2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 05:06:56 ---> Running in 566f16d285b8 05:06:56 Removing intermediate container 566f16d285b8 05:06:56 ---> 2ebb791848ca 05:06:56 Step 24/24 : LABEL version=0.0.0 05:06:56 ---> Running in d491d37c36b2 05:06:56 Removing intermediate container d491d37c36b2 05:06:56 ---> 198414f01135 05:06:56 [Warning] One or more build-args [ARCH] were not consumed 05:06:57 Successfully built 198414f01135 05:06:57 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:57 05:06:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:58 latest: Pulling from edgex-lftools-log-publisher 05:06:58 5eb5b503b376: Pulling fs layer 05:06:58 5c69ac0246d0: Pulling fs layer 05:06:58 ec43610c2a17: Pulling fs layer 05:06:58 3a2ae6a8a46f: Pulling fs layer 05:06:58 33b1e0a273af: Pulling fs layer 05:06:58 5d3b04190fa2: Pulling fs layer 05:06:58 2f39f015ded8: Pulling fs layer 05:06:58 33b1e0a273af: Waiting 05:06:58 3a2ae6a8a46f: Waiting 05:06:58 5d3b04190fa2: Waiting 05:06:58 2f39f015ded8: Waiting 05:06:58 5c69ac0246d0: Download complete 05:06:58 3a2ae6a8a46f: Verifying Checksum 05:06:58 3a2ae6a8a46f: Download complete 05:06:58 33b1e0a273af: Verifying Checksum 05:06:58 33b1e0a273af: Download complete 05:06:58 ec43610c2a17: Verifying Checksum 05:06:58 ec43610c2a17: Download complete 05:06:58 5d3b04190fa2: Verifying Checksum 05:06:58 5d3b04190fa2: Download complete 05:06:58 5eb5b503b376: Verifying Checksum 05:06:58 5eb5b503b376: Download complete 05:06:59 2f39f015ded8: Download complete 05:06:59 5eb5b503b376: Pull complete 05:06:59 5c69ac0246d0: Pull complete 05:07:00 ec43610c2a17: Pull complete 05:07:00 3a2ae6a8a46f: Pull complete 05:07:00 33b1e0a273af: Pull complete 05:07:00 5d3b04190fa2: Pull complete 05:07:05 2f39f015ded8: Pull complete 05:07:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:07:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:07:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:07:05 prd-ubuntu20.04-docker-8c-8g-9181 does not seem to be running inside a container 05:07:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-384 -v /w/workspace/xfoundry_device-modbus-go_PR-384:/w/workspace/xfoundry_device-modbus-go_PR-384:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-384@tmp:/w/workspace/xfoundry_device-modbus-go_PR-384@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:07:08 $ docker top 1514e693430028d87ebfa9e36726b59a945d144c0b29cd55ead33fa5b39de236 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:07:09 ---> job-cost.sh 05:07:09 lf-activate-venv: SKIPPING 05:07:09 INFO: No Stack... 05:07:09 INFO: Retrieving Pricing Info for: v3-standard-8 05:07:10 INFO: Archiving Costs [Pipeline] sh 05:07:10 + cat /w/workspace/xfoundry_device-modbus-go_PR-384/archives/cost.csv 05:07:10 + cut -d, -f6 [Pipeline] lock 05:07:10 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-384-1-stack-cost] 05:07:10 Resource [jenkins-edgexfoundry-device-modbus-go-PR-384-1-stack-cost] did not exist. Created. 05:07:10 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-384-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:07:10 + echo total: 0.2199999988079071 [Pipeline] stash 05:07:11 Stashed 1 file(s) [Pipeline] } 05:07:11 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-384-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:07:11 $ docker stop --time=1 1514e693430028d87ebfa9e36726b59a945d144c0b29cd55ead33fa5b39de236 05:07:12 $ docker rm -f 1514e693430028d87ebfa9e36726b59a945d144c0b29cd55ead33fa5b39de236 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:07:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9186 in /w/workspace/xfoundry_device-modbus-go_PR-384 [Pipeline] { [Pipeline] ws 05:07:45 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 05:07:45 Selected Git installation does not exist. Using Default 05:07:45 The recommended git tool is: NONE 05:07:50 using credential edgex-jenkins-ssh 05:07:50 Cloning the remote Git repository 05:07:50 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:07:51 > git init /w/workspace/device-modbus-go/1 # timeout=10 05:07:51 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:07:51 > git --version # timeout=10 05:07:51 > git --version # 'git version 2.25.1' 05:07:51 using GIT_SSH to set credentials SSH Credentials for GitHub 05:07:51 Verifying host key using known hosts file 05:07:51 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:07:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:07:52 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:07:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:07:54 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:07:54 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:07:54 using GIT_SSH to set credentials SSH Credentials for GitHub 05:07:54 Verifying host key using known hosts file 05:07:54 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:07:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/384/head:refs/remotes/origin/PR-384 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:07:54 Merging remotes/origin/main commit 9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 into PR head commit 2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 05:07:54 Merge succeeded, producing 2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 05:07:54 Checking out Revision 2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 (PR-384) 05:07:55 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 05:07:55 > git --version # timeout=10 05:07:55 > git --version # 'git version 2.25.1' 05:07:55 fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 05:07:54 > git config core.sparsecheckout # timeout=10 05:07:54 > git checkout -f 2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 # timeout=10 05:07:54 > git remote # timeout=10 05:07:54 > git config --get remote.origin.url # timeout=10 05:07:54 using GIT_SSH to set credentials SSH Credentials for GitHub 05:07:54 Verifying host key using known hosts file 05:07:54 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:07:54 > git merge 9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 # timeout=10 05:07:54 > git rev-parse HEAD^{commit} # timeout=10 05:07:54 > git config core.sparsecheckout # timeout=10 05:07:54 > git checkout -f 2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:07:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:07:56 % Total % Received % Xferd Average Speed Time Time Time Current 05:07:56 Dload Upload Total Spent Left Speed 05:07:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 173k 0 --:--:-- --:--:-- --:--:-- 173k [Pipeline] sh 05:07:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:07:58 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:07:58 + sudo tee /etc/docker/daemon.new 05:07:58 { 05:07:58 "registry-mirrors": [ 05:07:58 "https://nexus3.edgexfoundry.org:10001" 05:07:58 ], 05:07:58 "bip": "10.250.0.254/24", 05:07:58 "hosts": [ 05:07:58 "tcp://0.0.0.0:5555", 05:07:58 "unix:///var/run/docker.sock" 05:07:58 ], 05:07:58 "mtu": 1458, 05:07:58 "selinux-enabled": true, 05:07:58 "seccomp-profile": "/etc/docker/seccomp.json" 05:07:58 } [Pipeline] sh 05:07:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:07:58 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:08:17 provisioning config files... 05:08:17 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config918852939396999358tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:08:17 ---> docker-login.sh 05:08:17 nexus3.edgexfoundry.org:10001 05:08:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:18 Configure a credential helper to remove this warning. See 05:08:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:18 05:08:18 Login Succeeded 05:08:18 nexus3.edgexfoundry.org:10002 05:08:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:18 Configure a credential helper to remove this warning. See 05:08:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:18 05:08:18 Login Succeeded 05:08:18 nexus3.edgexfoundry.org:10003 05:08:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:18 Configure a credential helper to remove this warning. See 05:08:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:18 05:08:18 Login Succeeded 05:08:18 nexus3.edgexfoundry.org:10004 05:08:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:19 Configure a credential helper to remove this warning. See 05:08:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:19 05:08:19 Login Succeeded 05:08:19 docker.io 05:08:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:19 Configure a credential helper to remove this warning. See 05:08:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:19 05:08:19 Login Succeeded 05:08:19 ---> docker-login.sh ends [Pipeline] } 05:08:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:08:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:08:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:08:20 ========================================================= 05:08:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 05:08:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:20 + 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:08:21 Sending build context to Docker daemon 3.228MB 05:08:21 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 05:08:21 Step 2/11 : FROM ${BASE} AS builder 05:08:21 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:08:21 9b18e9b68314: Pulling fs layer 05:08:21 d32db5db7311: Pulling fs layer 05:08:21 d0c4b47475fc: Pulling fs layer 05:08:21 5831b945b038: Pulling fs layer 05:08:21 86bbec2aaacd: Pulling fs layer 05:08:21 e10730c5d714: Pulling fs layer 05:08:21 5dd5c2283517: Pulling fs layer 05:08:21 d5ac0230b979: Pulling fs layer 05:08:21 e10730c5d714: Waiting 05:08:21 5dd5c2283517: Waiting 05:08:21 d5ac0230b979: Waiting 05:08:21 5831b945b038: Waiting 05:08:21 86bbec2aaacd: Waiting 05:08:21 d0c4b47475fc: Download complete 05:08:21 d32db5db7311: Verifying Checksum 05:08:21 d32db5db7311: Download complete 05:08:21 86bbec2aaacd: Download complete 05:08:21 e10730c5d714: Verifying Checksum 05:08:21 e10730c5d714: Download complete 05:08:21 9b18e9b68314: Download complete 05:08:22 9b18e9b68314: Pull complete 05:08:22 d5ac0230b979: Verifying Checksum 05:08:22 d5ac0230b979: Download complete 05:08:22 d32db5db7311: Pull complete 05:08:23 d0c4b47475fc: Pull complete 05:08:23 5dd5c2283517: Verifying Checksum 05:08:23 5dd5c2283517: Download complete 05:08:24 5831b945b038: Verifying Checksum 05:08:24 5831b945b038: Download complete 05:08:39 5831b945b038: Pull complete 05:08:39 86bbec2aaacd: Pull complete 05:08:39 e10730c5d714: Pull complete 05:08:43 5dd5c2283517: Pull complete 05:08:46 d5ac0230b979: Pull complete 05:08:46 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 05:08:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:08:46 ---> 59b3b1a385d4 05:08:46 Step 3/11 : ARG ADD_BUILD_TAGS="" 05:08:48 ---> Running in 879420819c7f 05:08:48 Removing intermediate container 879420819c7f 05:08:48 ---> d45879ea5048 05:08:48 Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:08:48 ---> Running in 08a1f5fc9415 05:08:48 Removing intermediate container 08a1f5fc9415 05:08:48 ---> ea003897bcba 05:08:48 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:08:49 ---> Running in 8b5a96f555cb 05:08:51 Removing intermediate container 8b5a96f555cb 05:08:51 ---> 6d15c3351e08 05:08:51 Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:08:51 ---> Running in c0cfdff1090b 05:08:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:08:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:08:54 (1/8) Installing openssh-keygen (9.0_p1-r2) 05:08:54 (2/8) Installing libedit (20210910.3.1-r0) 05:08:54 (3/8) Installing openssh-client-common (9.0_p1-r2) 05:08:54 (4/8) Installing openssh-client-default (9.0_p1-r2) 05:08:54 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 05:08:54 (6/8) Installing openssh-server-common (9.0_p1-r2) 05:08:55 (7/8) Installing openssh-server (9.0_p1-r2) 05:08:55 (8/8) Installing openssh (9.0_p1-r2) 05:08:55 Executing busybox-1.35.0-r17.trigger 05:08:55 OK: 228 MiB in 59 packages 05:08:56 Removing intermediate container c0cfdff1090b 05:08:56 ---> 48849a0e5512 05:08:56 Step 7/11 : WORKDIR /device-modbus-go 05:08:56 ---> Running in 46fe6dfd3812 05:08:56 Removing intermediate container 46fe6dfd3812 05:08:56 ---> b6b7993d33c2 05:08:56 Step 8/11 : COPY go.mod vendor* ./ 05:08:57 ---> d0e594bbab6e 05:08:57 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:08:57 ---> Running in 8fec3a0bc20b 05:09:53 Removing intermediate container 8fec3a0bc20b 05:09:53 ---> 3fabcabf023d 05:09:53 Step 10/11 : COPY . . 05:09:53 ---> 538f66142b29 05:09:53 Step 11/11 : RUN ${MAKE} 05:09:53 ---> Running in 435f81a5a0d8 05:09:53 noop 05:09:53 Removing intermediate container 435f81a5a0d8 05:09:53 ---> 170469ccf0c3 05:09:53 Successfully built 170469ccf0c3 05:09:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:54 + docker inspect -f . ci-base-image-arm64 05:09:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:09:54 prd-ubuntu20.04-docker-arm64-4c-16g-9186 does not seem to be running inside a container 05:09:54 $ 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:09:56 $ docker top 1caee7ea8fa409c4515044dc07d6fdbd93e173b71faf4d9ebcb6c5548eac6678 -eo pid,comm [Pipeline] { [Pipeline] sh 05:09:56 + go version 05:09:56 go version go1.18.7 linux/arm64 [Pipeline] } 05:09:57 $ docker stop --time=1 1caee7ea8fa409c4515044dc07d6fdbd93e173b71faf4d9ebcb6c5548eac6678 05:09:58 $ docker rm -f 1caee7ea8fa409c4515044dc07d6fdbd93e173b71faf4d9ebcb6c5548eac6678 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:59 + docker inspect -f . ci-base-image-arm64 05:09:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:09:59 prd-ubuntu20.04-docker-arm64-4c-16g-9186 does not seem to be running inside a container 05:09:59 $ 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:10:01 $ docker top 4047a68784d6a0d2a3030278931e3b0b83fee13f022dc765f7ac4674a76b9ec9 -eo pid,comm [Pipeline] { [Pipeline] sh 05:10:02 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 05:10:02 + make test 05:10:02 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:10:04 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:11:41 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:11:41 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.091s coverage: 47.7% of statements 05:11:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:11:41 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:12:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:12:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:12:07 ./bin/test-attribution-txt.sh [Pipeline] echo 05:12:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:12:07 $ docker stop --time=1 4047a68784d6a0d2a3030278931e3b0b83fee13f022dc765f7ac4674a76b9ec9 05:12:09 $ docker rm -f 4047a68784d6a0d2a3030278931e3b0b83fee13f022dc765f7ac4674a76b9ec9 [Pipeline] // withDockerContainer [Pipeline] sh 05:12:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:12:10 Warning: overwriting stash ‘coverage-report’ 05:12:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:12:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:12:12 + ls -al . 05:12:12 total 184 05:12:12 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 05:10 . 05:12:12 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 05:07 .. 05:12:12 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 05:07 .dockerignore 05:12:12 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 05:07 .git 05:12:12 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 05:07 .github 05:12:12 -rw-rw-r-- 1 jenkins jenkins 331 Oct 24 05:07 .gitignore 05:12:12 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 05:07 .golangci.yml 05:12:12 -rw-rw-r-- 1 jenkins jenkins 10121 Oct 24 05:07 Attribution.txt 05:12:12 -rw-rw-r-- 1 jenkins jenkins 10001 Oct 24 05:07 CHANGELOG.md 05:12:12 -rw-rw-r-- 1 jenkins jenkins 1606 Oct 24 05:07 Dockerfile 05:12:12 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 05:07 GOVERNANCE.md 05:12:12 -rw-rw-r-- 1 jenkins jenkins 680 Oct 24 05:07 Jenkinsfile 05:12:12 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 05:07 LICENSE 05:12:12 -rw-rw-r-- 1 jenkins jenkins 2101 Oct 24 05:07 Makefile 05:12:12 -rw-rw-r-- 1 jenkins jenkins 622 Oct 24 05:07 OWNERS.md 05:12:12 -rw-rw-r-- 1 jenkins jenkins 4061 Oct 24 05:07 README.md 05:12:12 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 05:05 VERSION 05:12:12 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 05:07 bin 05:12:12 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 05:07 cmd 05:12:12 -rw-r--r-- 1 jenkins jenkins 23241 Oct 24 05:11 coverage.out 05:12:12 -rw-rw-r-- 1 jenkins jenkins 3643 Oct 24 05:07 go.mod 05:12:12 -rw-rw-r-- 1 jenkins jenkins 38288 Oct 24 05:07 go.sum 05:12:12 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 05:07 internal 05:12:12 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 05:07 simulator 05:12:12 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 05:07 snap 05:12:12 -rw-rw-r-- 1 jenkins jenkins 229 Oct 24 05:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:12 + 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=2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 --label arch=arm64 --label version=0.0.0 . 05:12:12 Sending build context to Docker daemon 3.252MB 05:12:12 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 05:12:12 Step 2/24 : FROM ${BASE} AS builder 05:12:12 ---> 170469ccf0c3 05:12:12 Step 3/24 : ARG ADD_BUILD_TAGS="" 05:12:13 ---> Running in 06c25dbc198b 05:12:13 Removing intermediate container 06c25dbc198b 05:12:13 ---> ed6fee7c5d18 05:12:13 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:12:13 ---> Running in 956a39485261 05:12:13 Removing intermediate container 956a39485261 05:12:13 ---> 3234a1926070 05:12:13 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:12:13 ---> Running in 7d13e01d8169 05:12:15 Removing intermediate container 7d13e01d8169 05:12:15 ---> 2f0b9f6e4b84 05:12:15 Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:12:16 ---> Running in 47d9860a68ee 05:12:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:12:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:12:19 OK: 228 MiB in 59 packages 05:12:20 Removing intermediate container 47d9860a68ee 05:12:20 ---> a1ca6aa89d18 05:12:20 Step 7/24 : WORKDIR /device-modbus-go 05:12:20 ---> Running in b8fcc69f11be 05:12:21 Removing intermediate container b8fcc69f11be 05:12:21 ---> b43a6161bcff 05:12:21 Step 8/24 : COPY go.mod vendor* ./ 05:12:22 ---> 156f27c15c6f 05:12:22 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:12:22 ---> Running in 2e9730d4ffa1 05:12:24 Removing intermediate container 2e9730d4ffa1 05:12:24 ---> 9db0e42c6d05 05:12:24 Step 10/24 : COPY . . 05:12:25 ---> c98b2755462a 05:12:25 Step 11/24 : RUN ${MAKE} 05:12:25 ---> Running in 7256d8177299 05:12:26 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:15:03 Removing intermediate container 7256d8177299 05:15:03 ---> d43b72812841 05:15:03 Step 12/24 : FROM alpine:3.14 05:15:03 3.14: Pulling from library/alpine 05:15:03 90cda3b7c325: Pulling fs layer 05:15:03 90cda3b7c325: Download complete 05:15:03 90cda3b7c325: Pull complete 05:15:03 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 05:15:03 Status: Downloaded newer image for alpine:3.14 05:15:03 ---> 376ba31ae3da 05:15:03 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:15:03 ---> Running in b024acd1e3ea 05:15:03 Removing intermediate container b024acd1e3ea 05:15:03 ---> 9b07a57ce989 05:15:03 Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:15:03 ---> Running in 8b944db30a6e 05:15:03 Removing intermediate container 8b944db30a6e 05:15:03 ---> e422a2c6de4f 05:15:03 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 05:15:03 ---> Running in 4ffbc0fa2db2 05:15:03 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:15:03 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:15:03 (1/6) Installing dumb-init (1.2.5-r1) 05:15:03 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:15:03 (3/6) Installing libsodium (1.0.18-r0) 05:15:03 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:15:04 (5/6) Installing libzmq (4.3.4-r0) 05:15:04 (6/6) Installing zeromq (4.3.4-r0) 05:15:04 Executing busybox-1.33.1-r8.trigger 05:15:04 OK: 8 MiB in 20 packages 05:15:05 Removing intermediate container 4ffbc0fa2db2 05:15:05 ---> 1657808803d0 05:15:05 Step 16/24 : COPY --from=builder /device-modbus-go/cmd / 05:15:06 ---> 9b4d6ef3cb78 05:15:06 Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / 05:15:07 ---> 2ccd4817092d 05:15:07 Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:15:07 ---> bb1dbf2d3880 05:15:07 Step 19/24 : EXPOSE 59901 05:15:07 ---> Running in 61f740e803d9 05:15:07 Removing intermediate container 61f740e803d9 05:15:07 ---> 3697842bee4b 05:15:07 Step 20/24 : ENTRYPOINT ["/device-modbus"] 05:15:07 ---> Running in ab1201ad2583 05:15:08 Removing intermediate container ab1201ad2583 05:15:08 ---> 3c7c3d991483 05:15:08 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:15:08 ---> Running in 96dbe6a9dc18 05:15:08 Removing intermediate container 96dbe6a9dc18 05:15:08 ---> 70f5ada11565 05:15:08 Step 22/24 : LABEL arch=arm64 05:15:08 ---> Running in 91947b128626 05:15:08 Removing intermediate container 91947b128626 05:15:08 ---> 233a76b23c89 05:15:08 Step 23/24 : LABEL git_sha=2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 05:15:08 ---> Running in 029bb4935fc3 05:15:09 Removing intermediate container 029bb4935fc3 05:15:09 ---> be9c4e672415 05:15:09 Step 24/24 : LABEL version=0.0.0 05:15:09 ---> Running in f461b426dee2 05:15:09 Removing intermediate container f461b426dee2 05:15:09 ---> 7d9f8b1da5a1 05:15:09 [Warning] One or more build-args [ARCH] were not consumed 05:15:09 Successfully built 7d9f8b1da5a1 05:15:09 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:15:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:15:10 05:15:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:15:11 arm64: Pulling from edgex-lftools-log-publisher 05:15:11 8998bd30e6a1: Pulling fs layer 05:15:11 04944245beec: Pulling fs layer 05:15:11 699f458cf7ca: Pulling fs layer 05:15:11 765212b225bb: Pulling fs layer 05:15:11 f23df028b6ca: Pulling fs layer 05:15:11 d65c8cfc05b1: Pulling fs layer 05:15:11 2437ff75d9bd: Pulling fs layer 05:15:11 f23df028b6ca: Waiting 05:15:11 d65c8cfc05b1: Waiting 05:15:11 765212b225bb: Waiting 05:15:11 2437ff75d9bd: Waiting 05:15:11 04944245beec: Verifying Checksum 05:15:11 04944245beec: Download complete 05:15:11 765212b225bb: Verifying Checksum 05:15:11 765212b225bb: Download complete 05:15:11 f23df028b6ca: Download complete 05:15:11 d65c8cfc05b1: Verifying Checksum 05:15:11 d65c8cfc05b1: Download complete 05:15:11 699f458cf7ca: Verifying Checksum 05:15:11 699f458cf7ca: Download complete 05:15:11 8998bd30e6a1: Verifying Checksum 05:15:11 8998bd30e6a1: Download complete 05:15:14 2437ff75d9bd: Download complete 05:15:15 8998bd30e6a1: Pull complete 05:15:16 04944245beec: Pull complete 05:15:17 699f458cf7ca: Pull complete 05:15:17 765212b225bb: Pull complete 05:15:18 f23df028b6ca: Pull complete 05:15:18 d65c8cfc05b1: Pull complete 05:15:33 2437ff75d9bd: Pull complete 05:15:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:15:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:15:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:15:33 prd-ubuntu20.04-docker-arm64-4c-16g-9186 does not seem to be running inside a container 05:15:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:15:36 $ docker top df7d8c2d88c5979325b7c46f0b71f7d4802f93cb027fe5cbcdecacb85a80ace3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:15:37 ---> job-cost.sh 05:15:37 lf-activate-venv: SKIPPING 05:15:37 INFO: No Stack... 05:15:38 INFO: Retrieving Pricing Info for: v3-standard-4 05:15:39 INFO: Archiving Costs [Pipeline] sh 05:15:39 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 05:15:39 + cut -d, -f6 [Pipeline] lock 05:15:39 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-384-1-stack-cost] 05:15:39 Resource [jenkins-edgexfoundry-device-modbus-go-PR-384-1-stack-cost] did not exist. Created. 05:15:39 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-384-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:15:40 /w/workspace/device-modbus-go/1@tmp/durable-f8c15ae4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:15:41 + echo total: 0.10999999940395355 [Pipeline] stash 05:15:41 Warning: overwriting stash ‘stack-cost’ 05:15:41 Stashed 1 file(s) [Pipeline] } 05:15:41 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-384-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:15:41 $ docker stop --time=1 df7d8c2d88c5979325b7c46f0b71f7d4802f93cb027fe5cbcdecacb85a80ace3 05:15:43 $ docker rm -f df7d8c2d88c5979325b7c46f0b71f7d4802f93cb027fe5cbcdecacb85a80ace3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:15:44 provisioning config files... 05:15:44 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-384@tmp/config3586480426974931926tmp [Pipeline] { [Pipeline] sh 05:15:44 + set +x 05:15:44 + curl -s https://codecov.io/bash 05:15:44 + bash -s -- 05:15:44 05:15:44 _____ _ 05:15:44 / ____| | | 05:15:44 | | ___ __| | ___ ___ _____ __ 05:15:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:15:44 | |___| (_) | (_| | __/ (_| (_) \ V / 05:15:44 \_____\___/ \__,_|\___|\___\___/ \_/ 05:15:44 Bash-1.0.6 05:15:44 05:15:44 05:15:44 ==> git version 2.25.1 found 05:15:44 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:15:44 Release-Date: 2020-01-08 05:15:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:15:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:15:44 ==> Jenkins CI detected. 05:15:44 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-384 05:15:44 project root: . 05:15:44 --> token set from env 05:15:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:15:44 ==> Running gcov in . (disable via -X gcov) 05:15:44 ==> Python coveragepy not found 05:15:44 ==> Searching for coverage reports in: 05:15:44 + . 05:15:44 -> Found 1 reports 05:15:44 ==> Detecting git/mercurial file structure 05:15:44 ==> Reading reports 05:15:44 + ./coverage.out bytes=23241 05:15:44 ==> Appending adjustments 05:15:44 https://docs.codecov.io/docs/fixing-reports 05:15:45 + Found adjustments 05:15:45 ==> Gzipping contents 05:15:45 4.0K /tmp/codecov.mGrW6v.gz 05:15:45 ==> Uploading reports 05:15:45 url: https://codecov.io 05:15:45 query: branch=PR-384&commit=2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-384%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=384&job=&cmd_args= 05:15:45 -> Pinging Codecov 05:15:45 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-384&commit=2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-384%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=384&job=&cmd_args= 05:15:45 -> Uploading to 05:15:45 https://storage.googleapis.com/codecov/v4/raw/2022-10-24/55DBCA73C666E3227836607328DD7E49/2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9/66dab1f8-3b2c-46cd-bbac-7c237e35ce95.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221024T051545Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=077c2fdf22ea089791b933e94704b1c38c815d420cf5bb651a2fbe6d05d538bc 05:15:45 % Total % Received % Xferd Average Speed Time Time Time Current 05:15:45 Dload Upload Total Spent Left Speed 05:15:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3923 0 0 100 3923 0 17591 --:--:-- --:--:-- --:--:-- 17591 05:15:45 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/2b9c4bbe5b08fc98dffc012aaa607d19bcd5b7a9 [Pipeline] } 05:15:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:15:47 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-384/archives ] 05:15:47 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-384/archives 05:15:47 total 16 05:15:47 drwxr-xr-x 3 root root 4096 Oct 24 05:07 . 05:15:47 drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 05:07 .. 05:15:47 drwxr-xr-x 2 root root 4096 Oct 24 05:07 cost 05:15:47 -rw-r--r-- 1 root root 88 Oct 24 05:07 cost.csv 05:15:47 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-384/archives 05:15:47 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-384/archives 05:15:47 total 16 05:15:47 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 05:07 . 05:15:47 drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 05:07 .. 05:15:47 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 05:07 cost 05:15:47 -rw-r--r-- 1 jenkins jenkins 88 Oct 24 05:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:15:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:15:48 ---> package-listing.sh 05:15:48 ++ facter osfamily 05:15:48 ++ tr '[:upper:]' '[:lower:]' 05:15:48 + OS_FAMILY=debian 05:15:48 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-384 05:15:48 + START_PACKAGES=/tmp/packages_start.txt 05:15:48 + END_PACKAGES=/tmp/packages_end.txt 05:15:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:15:48 + PACKAGES=/tmp/packages_start.txt 05:15:48 + '[' /w/workspace/xfoundry_device-modbus-go_PR-384 ']' 05:15:48 + PACKAGES=/tmp/packages_end.txt 05:15:48 + case "${OS_FAMILY}" in 05:15:48 + dpkg -l 05:15:48 + grep '^ii' 05:15:48 + '[' -f /tmp/packages_start.txt ']' 05:15:48 + '[' -f /tmp/packages_end.txt ']' 05:15:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:15:48 + '[' /w/workspace/xfoundry_device-modbus-go_PR-384 ']' 05:15:48 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-384/archives/ 05:15:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-384/archives/ [Pipeline] echo 05:15:48 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-384/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:15:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:15:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:15:49 prd-ubuntu20.04-docker-8c-8g-9181 does not seem to be running inside a container 05:15:49 $ 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-384/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-384 -v /w/workspace/xfoundry_device-modbus-go_PR-384:/w/workspace/xfoundry_device-modbus-go_PR-384:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-384@tmp:/w/workspace/xfoundry_device-modbus-go_PR-384@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:15:50 $ docker top 54f0c30eb607ff9b7e3956b76da5109e75a48a08487519d595d47656ce6ea21b -eo pid,comm [Pipeline] { [Pipeline] sh 05:15:50 + touch /tmp/pre-build-complete [Pipeline] sh 05:15:50 + mkdir -p /var/log/sysstat [Pipeline] sh 05:15:51 + ls /var/log/sa-host 05:15:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:15:51 provisioning config files... 05:15:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-384@tmp/config18003352724836416193tmp [Pipeline] { [Pipeline] echo 05:15:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:15:51 ---> create-netrc.sh [Pipeline] } 05:15:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:15:52 ---> python-tools-install.sh [Pipeline] echo 05:15:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:15:52 ---> sudo-logs.sh 05:15:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:15:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:15:52 ---> job-cost.sh 05:15:52 lf-activate-venv: SKIPPING 05:15:52 DEBUG: total: 0.2199999988079071 05:15:52 INFO: Retrieving Stack Cost... 05:15:53 INFO: Retrieving Pricing Info for: v3-standard-8 05:15:53 INFO: Archiving Costs [Pipeline] echo 05:15:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:15:54 ---> logs-deploy.sh 05:15:54 lf-activate-venv: SKIPPING 05:15:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-384/1 05:15:54 INFO: archiving workspace using pattern(s): 05:15:55 Archives upload complete. 05:15:55 INFO: archiving logs to Nexus