Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b03dabf38b63f24493184e5a8112871062c4142f+fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc (892b4102345da8861df5844669cb87dc96f1ae67) 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-ssh4936429578438105862.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-ssh9321036199471810728.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-385/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-385/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6171360563712161026.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7044301625682736565.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-385/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-385/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14782383499237889815.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-116989 in /w/workspace/xfoundry_device-modbus-go_PR-385 [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-385 # 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/385/head:refs/remotes/origin/PR-385 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc into PR head commit b03dabf38b63f24493184e5a8112871062c4142f Merge succeeded, producing d3ef238f9a45dc53718d6f1d0613cb60ca9d1225 Checking out Revision d3ef238f9a45dc53718d6f1d0613cb60ca9d1225 (PR-385) > git config core.sparsecheckout # timeout=10 > git checkout -f b03dabf38b63f24493184e5a8112871062c4142f # 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 fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d3ef238f9a45dc53718d6f1d0613cb60ca9d1225 # timeout=10 Commit message: "Merge commit 'fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 93b59d13014c41a7c299f1b1afe91649b2914cf4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:53:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:53:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:53:14 ========================================================= 20:53:14 EdgeX Global Pipelines Version Info 20:53:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:53:15 ------------------- 20:53:15 stable info: 20:53:15 ------------------- 20:53:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:53:15 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 20:53:15 Message: update stable to v1.0.243 20:53:15 ------------------- 20:53:15 experimental info: 20:53:15 ------------------- 20:53:15 Commited By: **** collab-it+edgex@linuxfoundation.org 20:53:15 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 20:53:15 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:53:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 20:53:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 20:53:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:53:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:53:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:53:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:53:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:53:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:53:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:53:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:53:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:53:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 20:53:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:53:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:53:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:53:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:53:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:53:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:53:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:53:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:53:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:53:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:53:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:53:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:53:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:53:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:53:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:53:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-385 [Pipeline] echo 20:53:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-385 [Pipeline] echo 20:53:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-385 [Pipeline] echo 20:53:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d3ef238f9a45dc53718d6f1d0613cb60ca9d1225 [Pipeline] echo 20:53:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d3ef238 [Pipeline] echo 20:53:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:53:16 provisioning config files... 20:53:16 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config3357901331215130548tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:53:16 ---> docker-login.sh 20:53:16 nexus3.edgexfoundry.org:10001 20:53:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:16 Configure a credential helper to remove this warning. See 20:53:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:16 20:53:16 Login Succeeded 20:53:16 nexus3.edgexfoundry.org:10002 20:53:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:16 Configure a credential helper to remove this warning. See 20:53:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:16 20:53:16 Login Succeeded 20:53:16 nexus3.edgexfoundry.org:10003 20:53:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:17 Configure a credential helper to remove this warning. See 20:53:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:17 20:53:17 Login Succeeded 20:53:17 nexus3.edgexfoundry.org:10004 20:53:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:17 Configure a credential helper to remove this warning. See 20:53:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:17 20:53:17 Login Succeeded 20:53:17 docker.io 20:53:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:17 Configure a credential helper to remove this warning. See 20:53:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:17 20:53:17 Login Succeeded 20:53:17 ---> docker-login.sh ends [Pipeline] } 20:53:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:53:18 + git rev-list -1 --merges d3ef238f9a45dc53718d6f1d0613cb60ca9d1225~1..d3ef238f9a45dc53718d6f1d0613cb60ca9d1225 [Pipeline] echo 20:53:18 -----------> git rev-list -1 --merges d3ef238f9a45dc53718d6f1d0613cb60ca9d1225~1..d3ef238f9a45dc53718d6f1d0613cb60ca9d1225 d3ef238f9a45dc53718d6f1d0613cb60ca9d1225 20:53:18 d3ef238f9a45dc53718d6f1d0613cb60ca9d1225 [false] [Pipeline] sh 20:53:18 + git log --format=format:%s -1 d3ef238f9a45dc53718d6f1d0613cb60ca9d1225 [Pipeline] echo 20:53:18 ========================================================= 20:53:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:53:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:53:18 + git log --format=format:%s -1 d3ef238f9a45dc53718d6f1d0613cb60ca9d1225 [Pipeline] echo 20:53:18 [semverPrep] GIT_COMMIT: d3ef238f9a45dc53718d6f1d0613cb60ca9d1225, Commit Message: Merge commit 'fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc' into HEAD [Pipeline] echo 20:53:18 [semverPrep] This is not a build commit. [Pipeline] sh 20:53:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:53:19 + grep -v github /etc/ssh/ssh_known_hosts 20:53:19 + [ -e /tmp/ssh_known_hosts ] 20:53:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:53:19 + sudo tee -a /etc/ssh/ssh_known_hosts 20:53:19 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:53:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:53:19 20:53:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:53:19 0.1.4: Pulling from edgex-devops/py-git-semver 20:53:19 b85a868b505f: Pulling fs layer 20:53:19 e2be974225ed: Pulling fs layer 20:53:19 339a4e72a1f5: Pulling fs layer 20:53:19 988bab9f4d93: Pulling fs layer 20:53:19 1469e6f7b9e6: Pulling fs layer 20:53:19 eaf3925da568: Pulling fs layer 20:53:19 bab4dde63d76: Pulling fs layer 20:53:19 bde34c3a00c8: Pulling fs layer 20:53:19 b352a97aabf1: Pulling fs layer 20:53:19 4872d77fe225: Pulling fs layer 20:53:19 5851b861e8e6: Pulling fs layer 20:53:19 1469e6f7b9e6: Waiting 20:53:19 bab4dde63d76: Waiting 20:53:19 eaf3925da568: Waiting 20:53:19 988bab9f4d93: Waiting 20:53:19 bde34c3a00c8: Waiting 20:53:19 4872d77fe225: Waiting 20:53:19 b352a97aabf1: Waiting 20:53:19 5851b861e8e6: Waiting 20:53:19 e2be974225ed: Download complete 20:53:19 988bab9f4d93: Download complete 20:53:20 1469e6f7b9e6: Verifying Checksum 20:53:20 1469e6f7b9e6: Download complete 20:53:20 eaf3925da568: Download complete 20:53:20 339a4e72a1f5: Verifying Checksum 20:53:20 339a4e72a1f5: Download complete 20:53:20 bde34c3a00c8: Verifying Checksum 20:53:20 bde34c3a00c8: Download complete 20:53:20 b352a97aabf1: Download complete 20:53:20 4872d77fe225: Verifying Checksum 20:53:20 4872d77fe225: Download complete 20:53:20 b85a868b505f: Verifying Checksum 20:53:20 b85a868b505f: Download complete 20:53:20 bab4dde63d76: Verifying Checksum 20:53:20 bab4dde63d76: Download complete 20:53:21 b85a868b505f: Pull complete 20:53:21 e2be974225ed: Pull complete 20:53:22 339a4e72a1f5: Pull complete 20:53:22 988bab9f4d93: Pull complete 20:53:22 1469e6f7b9e6: Pull complete 20:53:22 eaf3925da568: Pull complete 20:53:24 bab4dde63d76: Pull complete 20:53:24 bde34c3a00c8: Pull complete 20:53:24 b352a97aabf1: Pull complete 20:53:24 4872d77fe225: Pull complete 20:53:24 5851b861e8e6: Pull complete 20:53:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:53:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:53:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:24 prd-ubuntu20.04-docker-8c-8g-116989 does not seem to be running inside a container 20:53:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@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-devops/py-git-semver:0.1.4 cat 20:53:27 $ docker top 1732f8f0184f6cab2a9f04b50040bf5c49c90da9fb155b34477fbd00ac5e58b3 -eo pid,comm 20:53:27 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:53:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:53:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:53:27 [ssh-agent] Looking for ssh-agent implementation... 20:53:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:53:27 $ docker exec 1732f8f0184f6cab2a9f04b50040bf5c49c90da9fb155b34477fbd00ac5e58b3 ssh-agent 20:53:27 SSH_AUTH_SOCK=/tmp/ssh-BHYJoIh7lJHD/agent.33 20:53:27 SSH_AGENT_PID=39 20:53:27 Running ssh-add (command line suppressed) 20:53:27 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_6477992603433683825.key (/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_6477992603433683825.key) 20:53:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:53:27 + git tag --points-at HEAD [Pipeline] } 20:53:27 $ docker exec --env ******** --env ******** 1732f8f0184f6cab2a9f04b50040bf5c49c90da9fb155b34477fbd00ac5e58b3 ssh-agent -k 20:53:28 unset SSH_AUTH_SOCK; 20:53:28 unset SSH_AGENT_PID; 20:53:28 echo Agent pid 39 killed; 20:53:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:53:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:53:28 [ssh-agent] Looking for ssh-agent implementation... 20:53:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:53:28 $ docker exec 1732f8f0184f6cab2a9f04b50040bf5c49c90da9fb155b34477fbd00ac5e58b3 ssh-agent 20:53:28 SSH_AUTH_SOCK=/tmp/ssh-b1O17PtpCqch/agent.71 20:53:28 SSH_AGENT_PID=77 20:53:28 Running ssh-add (command line suppressed) 20:53:28 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_7992413655137825298.key (/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_7992413655137825298.key) 20:53:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:53:28 + git semver init 20:53:29 2022-10-25 20:53:28,936 [run_init] DEBUG init version:0.0.0 force:False 20:53:29 2022-10-25 20:53:28,937 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-385/.semver 20:53:29 2022-10-25 20:53:28,938 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-385/.semver 20:53:29 2022-10-25 20:53:28,938 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-385/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-385, universal_newlines=False, shell=None, istream=None) 20:53:29 2022-10-25 20:53:29,890 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-385/.git/info/exclude 20:53:29 2022-10-25 20:53:29,891 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-385/.semver/PR-385 with force:False 20:53:29 2022-10-25 20:53:29,891 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-385/.semver/PR-385 20:53:29 2022-10-25 20:53:29,895 [execute] INFO git cat-file --batch-check 20:53:29 2022-10-25 20:53:29,896 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-385/.semver, universal_newlines=False, shell=None, istream=) 20:53:29 2022-10-25 20:53:29,902 [execute] INFO git cat-file --batch 20:53:29 2022-10-25 20:53:29,902 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-385/.semver, universal_newlines=False, shell=None, istream=) 20:53:29 2022-10-25 20:53:29,907 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-385/.semver/PR-385 20:53:29 0.0.0 [Pipeline] } 20:53:29 $ docker exec --env ******** --env ******** 1732f8f0184f6cab2a9f04b50040bf5c49c90da9fb155b34477fbd00ac5e58b3 ssh-agent -k 20:53:30 unset SSH_AUTH_SOCK; 20:53:30 unset SSH_AGENT_PID; 20:53:30 echo Agent pid 77 killed; 20:53:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:53:30 + git semver [Pipeline] } 20:53:30 $ docker stop --time=1 1732f8f0184f6cab2a9f04b50040bf5c49c90da9fb155b34477fbd00ac5e58b3 20:53:31 $ docker rm -f 1732f8f0184f6cab2a9f04b50040bf5c49c90da9fb155b34477fbd00ac5e58b3 [Pipeline] // withDockerContainer [Pipeline] sh 20:53:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:53:32 Stashed 1 file(s) [Pipeline] echo 20:53:32 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:53:32 provisioning config files... 20:53:32 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config14476802610783456834tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:53:32 ---> docker-login.sh 20:53:32 nexus3.edgexfoundry.org:10001 20:53:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:32 Configure a credential helper to remove this warning. See 20:53:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:32 20:53:32 Login Succeeded 20:53:32 nexus3.edgexfoundry.org:10002 20:53:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:32 Configure a credential helper to remove this warning. See 20:53:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:32 20:53:32 Login Succeeded 20:53:32 nexus3.edgexfoundry.org:10003 20:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:33 Configure a credential helper to remove this warning. See 20:53:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:33 20:53:33 Login Succeeded 20:53:33 nexus3.edgexfoundry.org:10004 20:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:33 Configure a credential helper to remove this warning. See 20:53:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:33 20:53:33 Login Succeeded 20:53:33 docker.io 20:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:33 Configure a credential helper to remove this warning. See 20:53:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:33 20:53:33 Login Succeeded 20:53:33 ---> docker-login.sh ends [Pipeline] } 20:53:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:53:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:53:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:53:33 ========================================================= 20:53:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:53:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:34 + 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 . 20:53:34 Sending build context to Docker daemon 6.228MB 20:53:34 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 20:53:34 Step 2/11 : FROM ${BASE} AS builder 20:53:34 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:53:34 213ec9aee27d: Pulling fs layer 20:53:34 4583459ba037: Pulling fs layer 20:53:34 93c1e223e6f2: Pulling fs layer 20:53:34 53926ce57604: Pulling fs layer 20:53:34 21b2b0c7a3f4: Pulling fs layer 20:53:34 30f14e443154: Pulling fs layer 20:53:34 801331c1e519: Pulling fs layer 20:53:34 99cc6dd402b0: Pulling fs layer 20:53:34 7d9ed39f4882: Pulling fs layer 20:53:34 30f14e443154: Waiting 20:53:34 801331c1e519: Waiting 20:53:34 99cc6dd402b0: Waiting 20:53:34 7d9ed39f4882: Waiting 20:53:34 21b2b0c7a3f4: Waiting 20:53:34 53926ce57604: Waiting 20:53:34 93c1e223e6f2: Download complete 20:53:34 4583459ba037: Download complete 20:53:34 21b2b0c7a3f4: Verifying Checksum 20:53:34 21b2b0c7a3f4: Download complete 20:53:34 30f14e443154: Download complete 20:53:34 213ec9aee27d: Download complete 20:53:34 801331c1e519: Verifying Checksum 20:53:34 801331c1e519: Download complete 20:53:34 213ec9aee27d: Pull complete 20:53:34 4583459ba037: Pull complete 20:53:34 93c1e223e6f2: Pull complete 20:53:35 99cc6dd402b0: Verifying Checksum 20:53:35 99cc6dd402b0: Download complete 20:53:35 7d9ed39f4882: Verifying Checksum 20:53:35 7d9ed39f4882: Download complete 20:53:35 53926ce57604: Verifying Checksum 20:53:35 53926ce57604: Download complete 20:53:39 53926ce57604: Pull complete 20:53:39 21b2b0c7a3f4: Pull complete 20:53:39 30f14e443154: Pull complete 20:53:39 801331c1e519: Pull complete 20:53:40 99cc6dd402b0: Pull complete 20:53:41 7d9ed39f4882: Pull complete 20:53:41 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 20:53:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:53:41 ---> 1dedd983c030 20:53:41 Step 3/11 : ARG ADD_BUILD_TAGS="" 20:53:47 ---> Running in faba3ba129a2 20:53:47 Removing intermediate container faba3ba129a2 20:53:47 ---> ca603c9fa1a5 20:53:47 Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:53:47 ---> Running in 2f73dd8edead 20:53:47 Removing intermediate container 2f73dd8edead 20:53:47 ---> 38e44c4e16e8 20:53:47 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:53:47 ---> Running in 085f3f3ced0b 20:53:47 Removing intermediate container 085f3f3ced0b 20:53:47 ---> 32bcdbd6f526 20:53:47 Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 20:53:47 ---> Running in f1547b0b9a85 20:53:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:53:47 Still waiting to schedule task 20:53:47 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 20:53:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:53:48 (1/8) Installing openssh-keygen (9.0_p1-r2) 20:53:48 (2/8) Installing libedit (20210910.3.1-r0) 20:53:49 (3/8) Installing openssh-client-common (9.0_p1-r2) 20:53:49 (4/8) Installing openssh-client-default (9.0_p1-r2) 20:53:50 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 20:53:50 (6/8) Installing openssh-server-common (9.0_p1-r2) 20:53:50 (7/8) Installing openssh-server (9.0_p1-r2) 20:53:51 (8/8) Installing openssh (9.0_p1-r2) 20:53:51 Executing busybox-1.35.0-r17.trigger 20:53:51 OK: 217 MiB in 59 packages 20:53:51 Removing intermediate container f1547b0b9a85 20:53:51 ---> fa34502e931d 20:53:51 Step 7/11 : WORKDIR /device-modbus-go 20:53:51 ---> Running in b58c82bb7d58 20:53:52 Removing intermediate container b58c82bb7d58 20:53:52 ---> 047ddb5fb2ec 20:53:52 Step 8/11 : COPY go.mod vendor* ./ 20:53:52 ---> 129aec36a6fc 20:53:52 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:53:52 ---> Running in ac66a46ac58b 20:54:18 Removing intermediate container ac66a46ac58b 20:54:18 ---> 083e01a14a97 20:54:18 Step 10/11 : COPY . . 20:54:18 ---> 7590a1339ef7 20:54:18 Step 11/11 : RUN ${MAKE} 20:54:18 ---> Running in 7d1552842174 20:54:18 noop 20:54:18 Removing intermediate container 7d1552842174 20:54:18 ---> 296e57301d79 20:54:18 Successfully built 296e57301d79 20:54:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:19 + docker inspect -f . ci-base-image-x86_64 20:54:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:54:19 prd-ubuntu20.04-docker-8c-8g-116989 does not seem to be running inside a container 20:54:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:54:19 $ docker top 74374bbf7cac79f13003a19384f288765b3a149f1355322be6c20b0ea4f760f4 -eo pid,comm [Pipeline] { [Pipeline] sh 20:54:19 + go version 20:54:19 go version go1.18.7 linux/amd64 [Pipeline] } 20:54:19 $ docker stop --time=1 74374bbf7cac79f13003a19384f288765b3a149f1355322be6c20b0ea4f760f4 20:54:21 $ docker rm -f 74374bbf7cac79f13003a19384f288765b3a149f1355322be6c20b0ea4f760f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:21 + docker inspect -f . ci-base-image-x86_64 20:54:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:54:21 prd-ubuntu20.04-docker-8c-8g-116989 does not seem to be running inside a container 20:54:21 $ 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-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:54:21 $ docker top c4fd2b1091d3e3fc43545975da83ca0675faf2f5b4badcccebcb5c258740d8ce -eo pid,comm [Pipeline] { [Pipeline] sh 20:54:22 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-385 [Pipeline] fileExists [Pipeline] sh 20:54:22 + make test 20:54:22 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:54:22 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:54:32 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:54:32 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.008s coverage: 47.7% of statements 20:54:39 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." 20:54:39 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:54:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:54:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:54:41 ./bin/test-attribution-txt.sh [Pipeline] echo 20:54:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:54:41 $ docker stop --time=1 c4fd2b1091d3e3fc43545975da83ca0675faf2f5b4badcccebcb5c258740d8ce 20:54:44 $ docker rm -f c4fd2b1091d3e3fc43545975da83ca0675faf2f5b4badcccebcb5c258740d8ce [Pipeline] // withDockerContainer [Pipeline] sh 20:54:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:54:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:54:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:54:45 + ls -al . 20:54:45 total 188 20:54:45 drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 20:54 . 20:54:45 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 20:53 .. 20:54:45 -rw-rw-r-- 1 jenkins jenkins 140 Oct 25 20:53 .dockerignore 20:54:45 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 20:54 .git 20:54:45 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 20:53 .github 20:54:45 -rw-rw-r-- 1 jenkins jenkins 331 Oct 25 20:53 .gitignore 20:54:45 -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 20:53 .golangci.yml 20:54:45 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 20:53 .semver 20:54:45 -rw-rw-r-- 1 jenkins jenkins 10121 Oct 25 20:53 Attribution.txt 20:54:45 -rw-rw-r-- 1 jenkins jenkins 10001 Oct 25 20:53 CHANGELOG.md 20:54:45 -rw-rw-r-- 1 jenkins jenkins 1606 Oct 25 20:53 Dockerfile 20:54:45 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 20:53 GOVERNANCE.md 20:54:45 -rw-rw-r-- 1 jenkins jenkins 680 Oct 25 20:53 Jenkinsfile 20:54:45 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 20:53 LICENSE 20:54:45 -rw-rw-r-- 1 jenkins jenkins 2101 Oct 25 20:53 Makefile 20:54:45 -rw-rw-r-- 1 jenkins jenkins 622 Oct 25 20:53 OWNERS.md 20:54:45 -rw-rw-r-- 1 jenkins jenkins 4061 Oct 25 20:53 README.md 20:54:45 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 20:53 VERSION 20:54:45 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 20:53 bin 20:54:45 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 20:53 cmd 20:54:45 -rw-r--r-- 1 jenkins jenkins 23241 Oct 25 20:54 coverage.out 20:54:45 -rw-rw-r-- 1 jenkins jenkins 3643 Oct 25 20:53 go.mod 20:54:45 -rw-rw-r-- 1 jenkins jenkins 38465 Oct 25 20:53 go.sum 20:54:45 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 20:53 internal 20:54:45 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 20:53 simulator 20:54:45 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 20:53 snap 20:54:45 -rw-rw-r-- 1 jenkins jenkins 229 Oct 25 20:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:46 + 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=d3ef238f9a45dc53718d6f1d0613cb60ca9d1225 --label arch=amd64 --label version=0.0.0 . 20:54:46 Sending build context to Docker daemon 6.252MB 20:54:46 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 20:54:46 Step 2/24 : FROM ${BASE} AS builder 20:54:46 ---> 296e57301d79 20:54:46 Step 3/24 : ARG ADD_BUILD_TAGS="" 20:54:46 ---> Running in 1eaeb0484561 20:54:46 Removing intermediate container 1eaeb0484561 20:54:46 ---> 702408d00eef 20:54:46 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:54:46 ---> Running in 3589f664acd4 20:54:46 Removing intermediate container 3589f664acd4 20:54:46 ---> 7fef034e25c7 20:54:46 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:54:46 ---> Running in be0de961ccd4 20:54:46 Removing intermediate container be0de961ccd4 20:54:46 ---> 9a8e2ae713d5 20:54:46 Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 20:54:46 ---> Running in a4c20eb26979 20:54:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:54:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:54:48 OK: 217 MiB in 59 packages 20:54:48 Removing intermediate container a4c20eb26979 20:54:48 ---> a2601864291e 20:54:48 Step 7/24 : WORKDIR /device-modbus-go 20:54:48 ---> Running in 7e611a878f54 20:54:48 Removing intermediate container 7e611a878f54 20:54:48 ---> 63c093f5f506 20:54:48 Step 8/24 : COPY go.mod vendor* ./ 20:54:48 ---> c271c709f2cc 20:54:48 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:54:48 ---> Running in 9e970ac7c8d5 20:54:49 Removing intermediate container 9e970ac7c8d5 20:54:49 ---> 2988983e3ba3 20:54:49 Step 10/24 : COPY . . 20:54:49 ---> 195f72495f64 20:54:49 Step 11/24 : RUN ${MAKE} 20:54:49 ---> Running in 7425fec63515 20:54:49 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 20:55:11 Removing intermediate container 7425fec63515 20:55:11 ---> 78d2846f9fef 20:55:11 Step 12/24 : FROM alpine:3.14 20:55:11 3.14: Pulling from library/alpine 20:55:11 c7ed990a2339: Pulling fs layer 20:55:11 c7ed990a2339: Verifying Checksum 20:55:11 c7ed990a2339: Download complete 20:55:12 c7ed990a2339: Pull complete 20:55:12 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 20:55:12 Status: Downloaded newer image for alpine:3.14 20:55:12 ---> dd53f409bf0b 20:55:12 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 20:55:12 ---> Running in 32672bbbb592 20:55:12 Removing intermediate container 32672bbbb592 20:55:12 ---> f5d6a961a782 20:55:12 Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:55:12 ---> Running in d1e3f818b899 20:55:12 Removing intermediate container d1e3f818b899 20:55:12 ---> 347bd7c6a494 20:55:12 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 20:55:12 ---> Running in 5453fabd4689 20:55:13 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:55:13 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:55:13 (1/6) Installing dumb-init (1.2.5-r1) 20:55:14 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:55:14 (3/6) Installing libsodium (1.0.18-r0) 20:55:15 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:55:15 (5/6) Installing libzmq (4.3.4-r0) 20:55:15 (6/6) Installing zeromq (4.3.4-r0) 20:55:16 Executing busybox-1.33.1-r8.trigger 20:55:16 OK: 8 MiB in 20 packages 20:55:16 Removing intermediate container 5453fabd4689 20:55:16 ---> 51eaa25e6568 20:55:16 Step 16/24 : COPY --from=builder /device-modbus-go/cmd / 20:55:17 ---> 2b63f067801e 20:55:17 Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / 20:55:17 ---> c6083242f9c9 20:55:17 Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / 20:55:17 ---> 1d7da36edbef 20:55:17 Step 19/24 : EXPOSE 59901 20:55:17 ---> Running in 3ff57296e20e 20:55:17 Removing intermediate container 3ff57296e20e 20:55:17 ---> 1a9717126703 20:55:17 Step 20/24 : ENTRYPOINT ["/device-modbus"] 20:55:17 ---> Running in ba9ba10129bf 20:55:17 Removing intermediate container ba9ba10129bf 20:55:17 ---> 83e3d4fe35b8 20:55:17 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:55:17 ---> Running in 7877a566c43b 20:55:17 Removing intermediate container 7877a566c43b 20:55:17 ---> aae58a6c2422 20:55:17 Step 22/24 : LABEL arch=amd64 20:55:17 ---> Running in 4978e790ee1f 20:55:17 Removing intermediate container 4978e790ee1f 20:55:17 ---> 976a74d1710c 20:55:17 Step 23/24 : LABEL git_sha=d3ef238f9a45dc53718d6f1d0613cb60ca9d1225 20:55:17 ---> Running in 94157ddc9e6f 20:55:18 Removing intermediate container 94157ddc9e6f 20:55:18 ---> 8a91d26ddc04 20:55:18 Step 24/24 : LABEL version=0.0.0 20:55:18 ---> Running in b4c171c249f4 20:55:18 Removing intermediate container b4c171c249f4 20:55:18 ---> 6efeef24bcd9 20:55:18 [Warning] One or more build-args [ARCH] were not consumed 20:55:18 Successfully built 6efeef24bcd9 20:55:18 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 20:55:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:55:18 20:55:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:55:18 latest: Pulling from edgex-lftools-log-publisher 20:55:18 5eb5b503b376: Pulling fs layer 20:55:18 5c69ac0246d0: Pulling fs layer 20:55:18 ec43610c2a17: Pulling fs layer 20:55:18 3a2ae6a8a46f: Pulling fs layer 20:55:18 33b1e0a273af: Pulling fs layer 20:55:18 5d3b04190fa2: Pulling fs layer 20:55:18 2f39f015ded8: Pulling fs layer 20:55:18 3a2ae6a8a46f: Waiting 20:55:18 33b1e0a273af: Waiting 20:55:18 5d3b04190fa2: Waiting 20:55:18 5c69ac0246d0: Verifying Checksum 20:55:18 5c69ac0246d0: Download complete 20:55:18 3a2ae6a8a46f: Verifying Checksum 20:55:18 3a2ae6a8a46f: Download complete 20:55:18 33b1e0a273af: Verifying Checksum 20:55:18 33b1e0a273af: Download complete 20:55:18 ec43610c2a17: Verifying Checksum 20:55:18 ec43610c2a17: Download complete 20:55:18 5d3b04190fa2: Verifying Checksum 20:55:18 5d3b04190fa2: Download complete 20:55:19 5eb5b503b376: Verifying Checksum 20:55:19 5eb5b503b376: Download complete 20:55:19 2f39f015ded8: Download complete 20:55:20 5eb5b503b376: Pull complete 20:55:20 5c69ac0246d0: Pull complete 20:55:20 ec43610c2a17: Pull complete 20:55:20 3a2ae6a8a46f: Pull complete 20:55:21 33b1e0a273af: Pull complete 20:55:21 5d3b04190fa2: Pull complete 20:55:25 2f39f015ded8: Pull complete 20:55:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:55:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:55:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:55:25 prd-ubuntu20.04-docker-8c-8g-116989 does not seem to be running inside a container 20:55:25 $ 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-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:55:28 $ docker top 034982d17799036dd180bf0000fd9d4f47aa72ed50a48a0f2a04e16e5b4f4749 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:55:29 ---> job-cost.sh 20:55:29 lf-activate-venv: SKIPPING 20:55:29 INFO: No Stack... 20:55:29 INFO: Retrieving Pricing Info for: v3-standard-8 20:55:29 INFO: Archiving Costs [Pipeline] sh 20:55:29 + cat /w/workspace/xfoundry_device-modbus-go_PR-385/archives/cost.csv 20:55:29 + cut -d, -f6 [Pipeline] lock 20:55:29 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-385-3-stack-cost] 20:55:29 Resource [jenkins-edgexfoundry-device-modbus-go-PR-385-3-stack-cost] did not exist. Created. 20:55:29 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-385-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:55:30 + echo total: 0.2199999988079071 [Pipeline] stash 20:55:30 Stashed 1 file(s) [Pipeline] } 20:55:30 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-385-3-stack-cost] [Pipeline] // lock [Pipeline] } 20:55:30 $ docker stop --time=1 034982d17799036dd180bf0000fd9d4f47aa72ed50a48a0f2a04e16e5b4f4749 20:55:31 $ docker rm -f 034982d17799036dd180bf0000fd9d4f47aa72ed50a48a0f2a04e16e5b4f4749 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:00:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-116991 in /w/workspace/xfoundry_device-modbus-go_PR-385 [Pipeline] { [Pipeline] ws 21:00:46 Running in /w/workspace/device-modbus-go/3 [Pipeline] { [Pipeline] checkout 21:00:46 Selected Git installation does not exist. Using Default 21:00:46 The recommended git tool is: NONE 21:00:51 using credential edgex-jenkins-ssh 21:00:51 Cloning the remote Git repository 21:00:51 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 21:00:51 > git init /w/workspace/device-modbus-go/3 # timeout=10 21:00:51 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 21:00:51 > git --version # timeout=10 21:00:51 > git --version # 'git version 2.25.1' 21:00:51 using GIT_SSH to set credentials SSH Credentials for GitHub 21:00:51 Verifying host key using known hosts file 21:00: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. 21:00:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:00:52 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 21:00:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:00:54 Merging remotes/origin/main commit fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc into PR head commit b03dabf38b63f24493184e5a8112871062c4142f 21:00:54 Merge succeeded, producing 22aa8c183b26e4a16e52f2baeddb31158928fe47 21:00:54 Checking out Revision 22aa8c183b26e4a16e52f2baeddb31158928fe47 (PR-385) 21:00:53 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 21:00:53 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 21:00:53 using GIT_SSH to set credentials SSH Credentials for GitHub 21:00:53 Verifying host key using known hosts file 21:00:53 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 21:00:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/385/head:refs/remotes/origin/PR-385 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:00:54 > git config core.sparsecheckout # timeout=10 21:00:54 > git checkout -f b03dabf38b63f24493184e5a8112871062c4142f # timeout=10 21:00:54 > git remote # timeout=10 21:00:54 > git config --get remote.origin.url # timeout=10 21:00:54 using GIT_SSH to set credentials SSH Credentials for GitHub 21:00:54 Verifying host key using known hosts file 21:00: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. 21:00:54 > git merge fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc # timeout=10 21:00:54 > git rev-parse HEAD^{commit} # timeout=10 21:00:54 > git config core.sparsecheckout # timeout=10 21:00:54 > git checkout -f 22aa8c183b26e4a16e52f2baeddb31158928fe47 # timeout=10 21:00:58 Commit message: "Merge commit 'fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc' into HEAD" 21:00:58 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:00:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:00:59 % Total % Received % Xferd Average Speed Time Time Time Current 21:00:59 Dload Upload Total Spent Left Speed 21:00:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 65295 0 --:--:-- --:--:-- --:--:-- 65635 21:00:58 > git rev-list --no-walk 93b59d13014c41a7c299f1b1afe91649b2914cf4 # timeout=10 [Pipeline] sh 21:00:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:01:00 + sudo tee /etc/docker/daemon.new 21:01:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:01:00 { 21:01:00 "registry-mirrors": [ 21:01:00 "https://nexus3.edgexfoundry.org:10001" 21:01:00 ], 21:01:00 "bip": "10.250.0.254/24", 21:01:00 "hosts": [ 21:01:00 "tcp://0.0.0.0:5555", 21:01:00 "unix:///var/run/docker.sock" 21:01:00 ], 21:01:00 "mtu": 1458, 21:01:00 "selinux-enabled": true, 21:01:00 "seccomp-profile": "/etc/docker/seccomp.json" 21:01:00 } [Pipeline] sh 21:01:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:01:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:01:19 provisioning config files... 21:01:19 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/3@tmp/config17821663972859439261tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:01:19 ---> docker-login.sh 21:01:19 nexus3.edgexfoundry.org:10001 21:01:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:20 Configure a credential helper to remove this warning. See 21:01:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:20 21:01:20 Login Succeeded 21:01:20 nexus3.edgexfoundry.org:10002 21:01:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:20 Configure a credential helper to remove this warning. See 21:01:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:20 21:01:20 Login Succeeded 21:01:20 nexus3.edgexfoundry.org:10003 21:01:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:21 Configure a credential helper to remove this warning. See 21:01:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:21 21:01:21 Login Succeeded 21:01:21 nexus3.edgexfoundry.org:10004 21:01:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:21 Configure a credential helper to remove this warning. See 21:01:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:21 21:01:21 Login Succeeded 21:01:21 docker.io 21:01:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:22 Configure a credential helper to remove this warning. See 21:01:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:22 21:01:22 Login Succeeded 21:01:22 ---> docker-login.sh ends [Pipeline] } 21:01:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:01:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:01:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:01:22 ========================================================= 21:01:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:01:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:22 + 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 . 21:01:23 Sending build context to Docker daemon 3.252MB 21:01:23 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 21:01:23 Step 2/11 : FROM ${BASE} AS builder 21:01:23 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:01:23 9b18e9b68314: Pulling fs layer 21:01:23 d32db5db7311: Pulling fs layer 21:01:23 d0c4b47475fc: Pulling fs layer 21:01:23 5831b945b038: Pulling fs layer 21:01:23 86bbec2aaacd: Pulling fs layer 21:01:23 e10730c5d714: Pulling fs layer 21:01:23 5dd5c2283517: Pulling fs layer 21:01:23 d5ac0230b979: Pulling fs layer 21:01:23 5831b945b038: Waiting 21:01:23 86bbec2aaacd: Waiting 21:01:23 5dd5c2283517: Waiting 21:01:23 d5ac0230b979: Waiting 21:01:23 e10730c5d714: Waiting 21:01:23 d0c4b47475fc: Download complete 21:01:23 d32db5db7311: Download complete 21:01:23 86bbec2aaacd: Verifying Checksum 21:01:23 86bbec2aaacd: Download complete 21:01:23 e10730c5d714: Verifying Checksum 21:01:23 e10730c5d714: Download complete 21:01:23 9b18e9b68314: Verifying Checksum 21:01:23 9b18e9b68314: Download complete 21:01:24 9b18e9b68314: Pull complete 21:01:24 d5ac0230b979: Verifying Checksum 21:01:24 d5ac0230b979: Download complete 21:01:24 d32db5db7311: Pull complete 21:01:25 d0c4b47475fc: Pull complete 21:01:25 5dd5c2283517: Verifying Checksum 21:01:25 5dd5c2283517: Download complete 21:01:26 5831b945b038: Download complete 21:01:38 5831b945b038: Pull complete 21:01:38 86bbec2aaacd: Pull complete 21:01:38 e10730c5d714: Pull complete 21:01:45 5dd5c2283517: Pull complete 21:01:46 d5ac0230b979: Pull complete 21:01:46 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 21:01:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:01:46 ---> 59b3b1a385d4 21:01:46 Step 3/11 : ARG ADD_BUILD_TAGS="" 21:01:48 ---> Running in 2f05b823b758 21:01:48 Removing intermediate container 2f05b823b758 21:01:48 ---> 3de2363bbe7a 21:01:48 Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:01:48 ---> Running in 84224d175047 21:01:49 Removing intermediate container 84224d175047 21:01:49 ---> 6cefef1105d9 21:01:49 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:01:49 ---> Running in 04e4dacb4fd2 21:01:51 Removing intermediate container 04e4dacb4fd2 21:01:51 ---> 6046ca5f336d 21:01:51 Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 21:01:51 ---> Running in 308800d4c9d9 21:01:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:01:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:01:53 (1/8) Installing openssh-keygen (9.0_p1-r2) 21:01:54 (2/8) Installing libedit (20210910.3.1-r0) 21:01:54 (3/8) Installing openssh-client-common (9.0_p1-r2) 21:01:55 (4/8) Installing openssh-client-default (9.0_p1-r2) 21:01:55 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 21:01:55 (6/8) Installing openssh-server-common (9.0_p1-r2) 21:01:56 (7/8) Installing openssh-server (9.0_p1-r2) 21:01:56 (8/8) Installing openssh (9.0_p1-r2) 21:01:57 Executing busybox-1.35.0-r17.trigger 21:01:57 OK: 228 MiB in 59 packages 21:01:58 Removing intermediate container 308800d4c9d9 21:01:58 ---> ea1590baed75 21:01:58 Step 7/11 : WORKDIR /device-modbus-go 21:01:58 ---> Running in 8e6539bcaa3c 21:01:58 Removing intermediate container 8e6539bcaa3c 21:01:58 ---> dd2676f3aeac 21:01:58 Step 8/11 : COPY go.mod vendor* ./ 21:01:59 ---> 8e255719488d 21:01:59 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:01:59 ---> Running in e5a5987ef855 21:02:55 Removing intermediate container e5a5987ef855 21:02:55 ---> 68b78f680f84 21:02:55 Step 10/11 : COPY . . 21:02:55 ---> 9247e35640df 21:02:55 Step 11/11 : RUN ${MAKE} 21:02:55 ---> Running in 83911640586a 21:02:55 noop 21:02:55 Removing intermediate container 83911640586a 21:02:55 ---> 5c2e424aa278 21:02:55 Successfully built 5c2e424aa278 21:02:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:56 + docker inspect -f . ci-base-image-arm64 21:02:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:02:56 prd-ubuntu20.04-docker-arm64-4c-16g-116991 does not seem to be running inside a container 21:02:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:02:57 $ docker top e450cee0792e92fe0b4e8164b121ab1ee546e083b5b1c911446ff5fc5ee309ce -eo pid,comm [Pipeline] { [Pipeline] sh 21:02:58 + go version 21:02:58 go version go1.18.7 linux/arm64 [Pipeline] } 21:02:58 $ docker stop --time=1 e450cee0792e92fe0b4e8164b121ab1ee546e083b5b1c911446ff5fc5ee309ce 21:03:00 $ docker rm -f e450cee0792e92fe0b4e8164b121ab1ee546e083b5b1c911446ff5fc5ee309ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:00 + docker inspect -f . ci-base-image-arm64 21:03:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:00 prd-ubuntu20.04-docker-arm64-4c-16g-116991 does not seem to be running inside a container 21:03:00 $ 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/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:03:01 $ docker top e52ecd273729fa58f0ba9d9f76558363e8f9761f2065e0ecd94d1e8900d0038f -eo pid,comm [Pipeline] { [Pipeline] sh 21:03:02 + git config --global --add safe.directory /w/workspace/device-modbus-go/3 [Pipeline] fileExists [Pipeline] sh 21:03:02 + make test 21:03:02 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 21:03:04 ? github.com/edgexfoundry/device-modbus-go [no test files] 21:04:26 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 21:04:28 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.059s coverage: 47.7% of statements 21:04:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:04:28 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:04:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:04:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:04:51 ./bin/test-attribution-txt.sh [Pipeline] echo 21:04:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:04:51 $ docker stop --time=1 e52ecd273729fa58f0ba9d9f76558363e8f9761f2065e0ecd94d1e8900d0038f 21:04:52 $ docker rm -f e52ecd273729fa58f0ba9d9f76558363e8f9761f2065e0ecd94d1e8900d0038f [Pipeline] // withDockerContainer [Pipeline] sh 21:04:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:04:53 Warning: overwriting stash ‘coverage-report’ 21:04:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:04:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:04:54 + ls -al . 21:04:54 total 184 21:04:54 drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 21:03 . 21:04:54 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 21:00 .. 21:04:54 -rw-rw-r-- 1 jenkins jenkins 140 Oct 25 21:00 .dockerignore 21:04:54 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 21:00 .git 21:04:54 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 21:00 .github 21:04:54 -rw-rw-r-- 1 jenkins jenkins 331 Oct 25 21:00 .gitignore 21:04:54 -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 21:00 .golangci.yml 21:04:54 -rw-rw-r-- 1 jenkins jenkins 10121 Oct 25 21:00 Attribution.txt 21:04:54 -rw-rw-r-- 1 jenkins jenkins 10001 Oct 25 21:00 CHANGELOG.md 21:04:54 -rw-rw-r-- 1 jenkins jenkins 1606 Oct 25 21:00 Dockerfile 21:04:54 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 21:00 GOVERNANCE.md 21:04:54 -rw-rw-r-- 1 jenkins jenkins 680 Oct 25 21:00 Jenkinsfile 21:04:54 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 21:00 LICENSE 21:04:54 -rw-rw-r-- 1 jenkins jenkins 2101 Oct 25 21:00 Makefile 21:04:54 -rw-rw-r-- 1 jenkins jenkins 622 Oct 25 21:00 OWNERS.md 21:04:54 -rw-rw-r-- 1 jenkins jenkins 4061 Oct 25 21:00 README.md 21:04:54 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 20:53 VERSION 21:04:54 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 21:00 bin 21:04:54 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 21:00 cmd 21:04:54 -rw-r--r-- 1 jenkins jenkins 23241 Oct 25 21:04 coverage.out 21:04:54 -rw-rw-r-- 1 jenkins jenkins 3643 Oct 25 21:00 go.mod 21:04:54 -rw-rw-r-- 1 jenkins jenkins 38465 Oct 25 21:00 go.sum 21:04:54 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 21:00 internal 21:04:54 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 21:00 simulator 21:04:54 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 21:00 snap 21:04:54 -rw-rw-r-- 1 jenkins jenkins 229 Oct 25 21:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:55 + 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=22aa8c183b26e4a16e52f2baeddb31158928fe47 --label arch=arm64 --label version=0.0.0 . 21:04:55 Sending build context to Docker daemon 3.276MB 21:04:55 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 21:04:55 Step 2/24 : FROM ${BASE} AS builder 21:04:55 ---> 5c2e424aa278 21:04:55 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:04:55 ---> Running in f35ef150c5e7 21:04:56 Removing intermediate container f35ef150c5e7 21:04:56 ---> 4a6125ccb940 21:04:56 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:04:56 ---> Running in 2dca77dd3f2b 21:04:56 Removing intermediate container 2dca77dd3f2b 21:04:56 ---> fc3e65ec7687 21:04:56 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:04:56 ---> Running in 69936c6b2da0 21:04:57 Removing intermediate container 69936c6b2da0 21:04:57 ---> effb0460ee08 21:04:57 Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 21:04:57 ---> Running in 097f1f4cfa40 21:04:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:04:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:05:00 OK: 228 MiB in 59 packages 21:05:01 Removing intermediate container 097f1f4cfa40 21:05:01 ---> 106f5795377a 21:05:01 Step 7/24 : WORKDIR /device-modbus-go 21:05:01 ---> Running in 7c5dc934ee83 21:05:01 Removing intermediate container 7c5dc934ee83 21:05:01 ---> 8c28d4fb6258 21:05:01 Step 8/24 : COPY go.mod vendor* ./ 21:05:02 ---> da72e5ba3953 21:05:02 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:05:02 ---> Running in fbd0e67bc8bd 21:05:04 Removing intermediate container fbd0e67bc8bd 21:05:04 ---> ddf001b47a6d 21:05:04 Step 10/24 : COPY . . 21:05:06 ---> a47ca48f962a 21:05:06 Step 11/24 : RUN ${MAKE} 21:05:06 ---> Running in 8b366374d3af 21:05:07 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 21:07:44 Removing intermediate container 8b366374d3af 21:07:44 ---> c38b8b34fe31 21:07:44 Step 12/24 : FROM alpine:3.14 21:07:44 3.14: Pulling from library/alpine 21:07:44 90cda3b7c325: Pulling fs layer 21:07:44 90cda3b7c325: Verifying Checksum 21:07:44 90cda3b7c325: Pull complete 21:07:44 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 21:07:44 Status: Downloaded newer image for alpine:3.14 21:07:44 ---> 376ba31ae3da 21:07:44 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 21:07:44 ---> Running in efbe6553a3f7 21:07:44 Removing intermediate container efbe6553a3f7 21:07:44 ---> d267e13dc10c 21:07:44 Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:07:44 ---> Running in 1245017e26e5 21:07:44 Removing intermediate container 1245017e26e5 21:07:44 ---> 7561f81f679e 21:07:44 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 21:07:44 ---> Running in 6c30552411ad 21:07:44 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 21:07:44 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 21:07:44 (1/6) Installing dumb-init (1.2.5-r1) 21:07:44 (2/6) Installing libgcc (10.3.1_git20210424-r2) 21:07:44 (3/6) Installing libsodium (1.0.18-r0) 21:07:44 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 21:07:44 (5/6) Installing libzmq (4.3.4-r0) 21:07:44 (6/6) Installing zeromq (4.3.4-r0) 21:07:44 Executing busybox-1.33.1-r8.trigger 21:07:44 OK: 8 MiB in 20 packages 21:07:44 Removing intermediate container 6c30552411ad 21:07:44 ---> b9c53d5ec454 21:07:44 Step 16/24 : COPY --from=builder /device-modbus-go/cmd / 21:07:44 ---> 141dd5cf5a54 21:07:44 Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / 21:07:44 ---> 738fad0afc53 21:07:44 Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / 21:07:44 ---> b4699bd79941 21:07:44 Step 19/24 : EXPOSE 59901 21:07:44 ---> Running in 8e553b55452b 21:07:44 Removing intermediate container 8e553b55452b 21:07:44 ---> 07fcae4e6478 21:07:44 Step 20/24 : ENTRYPOINT ["/device-modbus"] 21:07:44 ---> Running in da9458190c59 21:07:44 Removing intermediate container da9458190c59 21:07:44 ---> 8ece7aba3b85 21:07:44 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:07:44 ---> Running in 0db60e75ab17 21:07:44 Removing intermediate container 0db60e75ab17 21:07:44 ---> 1befb4f0db6d 21:07:44 Step 22/24 : LABEL arch=arm64 21:07:44 ---> Running in 20f30d5810d7 21:07:44 Removing intermediate container 20f30d5810d7 21:07:44 ---> 0dc8b4008c0c 21:07:44 Step 23/24 : LABEL git_sha=22aa8c183b26e4a16e52f2baeddb31158928fe47 21:07:44 ---> Running in 084cbe4a9a19 21:07:44 Removing intermediate container 084cbe4a9a19 21:07:44 ---> c33ae01cbf8f 21:07:44 Step 24/24 : LABEL version=0.0.0 21:07:44 ---> Running in 4eb953ced1b1 21:07:44 Removing intermediate container 4eb953ced1b1 21:07:44 ---> 3f4e9b27bb2a 21:07:44 [Warning] One or more build-args [ARCH] were not consumed 21:07:44 Successfully built 3f4e9b27bb2a 21:07:44 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 21:07:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:07:44 21:07:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:07:45 arm64: Pulling from edgex-lftools-log-publisher 21:07:45 8998bd30e6a1: Pulling fs layer 21:07:45 04944245beec: Pulling fs layer 21:07:45 699f458cf7ca: Pulling fs layer 21:07:45 765212b225bb: Pulling fs layer 21:07:45 f23df028b6ca: Pulling fs layer 21:07:45 d65c8cfc05b1: Pulling fs layer 21:07:45 2437ff75d9bd: Pulling fs layer 21:07:45 765212b225bb: Waiting 21:07:45 f23df028b6ca: Waiting 21:07:45 d65c8cfc05b1: Waiting 21:07:45 2437ff75d9bd: Waiting 21:07:45 04944245beec: Verifying Checksum 21:07:45 04944245beec: Download complete 21:07:45 765212b225bb: Download complete 21:07:45 f23df028b6ca: Verifying Checksum 21:07:45 f23df028b6ca: Download complete 21:07:45 d65c8cfc05b1: Verifying Checksum 21:07:45 d65c8cfc05b1: Download complete 21:07:45 699f458cf7ca: Verifying Checksum 21:07:45 699f458cf7ca: Download complete 21:07:45 8998bd30e6a1: Verifying Checksum 21:07:45 8998bd30e6a1: Download complete 21:07:47 2437ff75d9bd: Verifying Checksum 21:07:47 2437ff75d9bd: Download complete 21:07:49 8998bd30e6a1: Pull complete 21:07:51 04944245beec: Pull complete 21:07:52 699f458cf7ca: Pull complete 21:07:52 765212b225bb: Pull complete 21:07:53 f23df028b6ca: Pull complete 21:07:53 d65c8cfc05b1: Pull complete 21:08:08 2437ff75d9bd: Pull complete 21:08:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:08:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:08:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:08 prd-ubuntu20.04-docker-arm64-4c-16g-116991 does not seem to be running inside a container 21:08:09 $ 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/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:08:11 $ docker top 0e00da195829c80053196bb827bd4d6db375a19a020e3ab0ef41826816981b07 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:08:12 ---> job-cost.sh 21:08:12 lf-activate-venv: SKIPPING 21:08:12 INFO: No Stack... 21:08:12 INFO: Retrieving Pricing Info for: v3-standard-4 21:08:13 INFO: Archiving Costs [Pipeline] sh 21:08:13 + cat /w/workspace/device-modbus-go/3/archives/cost.csv 21:08:13 + cut -d, -f6 [Pipeline] lock 21:08:14 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-385-3-stack-cost] 21:08:14 Resource [jenkins-edgexfoundry-device-modbus-go-PR-385-3-stack-cost] did not exist. Created. 21:08:14 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-385-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:08:14 /w/workspace/device-modbus-go/3@tmp/durable-6123afde/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:08:15 + echo total: 0.10999999940395355 [Pipeline] stash 21:08:15 Warning: overwriting stash ‘stack-cost’ 21:08:15 Stashed 1 file(s) [Pipeline] } 21:08:15 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-385-3-stack-cost] [Pipeline] // lock [Pipeline] } 21:08:15 $ docker stop --time=1 0e00da195829c80053196bb827bd4d6db375a19a020e3ab0ef41826816981b07 21:08:17 $ docker rm -f 0e00da195829c80053196bb827bd4d6db375a19a020e3ab0ef41826816981b07 [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 21:08:17 provisioning config files... 21:08:17 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config6539535678858827603tmp [Pipeline] { [Pipeline] sh 21:08:17 + set +x 21:08:17 + curl -s https://codecov.io/bash 21:08:17 + bash -s -- 21:08:17 21:08:17 _____ _ 21:08:17 / ____| | | 21:08:17 | | ___ __| | ___ ___ _____ __ 21:08:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:08:17 | |___| (_) | (_| | __/ (_| (_) \ V / 21:08:17 \_____\___/ \__,_|\___|\___\___/ \_/ 21:08:17 Bash-1.0.6 21:08:17 21:08:17 21:08:17 ==> git version 2.25.1 found 21:08:17 ==> 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 21:08:17 Release-Date: 2020-01-08 21:08:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:08:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:08:17 ==> Jenkins CI detected. 21:08:17 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-385 21:08:17 project root: . 21:08:17 --> token set from env 21:08:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:08:17 ==> Running gcov in . (disable via -X gcov) 21:08:17 ==> Python coveragepy not found 21:08:17 ==> Searching for coverage reports in: 21:08:17 + . 21:08:17 -> Found 1 reports 21:08:17 ==> Detecting git/mercurial file structure 21:08:17 ==> Reading reports 21:08:17 + ./coverage.out bytes=23241 21:08:17 ==> Appending adjustments 21:08:17 https://docs.codecov.io/docs/fixing-reports 21:08:18 + Found adjustments 21:08:18 ==> Gzipping contents 21:08:18 4.0K /tmp/codecov.9xoB98.gz 21:08:18 ==> Uploading reports 21:08:18 url: https://codecov.io 21:08:18 query: branch=PR-385&commit=d3ef238f9a45dc53718d6f1d0613cb60ca9d1225&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-385%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=385&job=&cmd_args= 21:08:18 -> Pinging Codecov 21:08:18 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-385&commit=d3ef238f9a45dc53718d6f1d0613cb60ca9d1225&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-385%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=385&job=&cmd_args= 21:08:18 -> Uploading to 21:08:18 https://storage.googleapis.com/codecov/v4/raw/2022-10-25/55DBCA73C666E3227836607328DD7E49/d3ef238f9a45dc53718d6f1d0613cb60ca9d1225/730f8714-9983-4019-903b-d22fc5923865.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221025T210818Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=70dea8486d2a4edad4bfade4d1df92b76886a6e8bac0ee1c3d45ab3792fd0b05 21:08:18 % Total % Received % Xferd Average Speed Time Time Time Current 21:08:18 Dload Upload Total Spent Left Speed 21:08:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3904 0 0 100 3904 0 16683 --:--:-- --:--:-- --:--:-- 16683 21:08:18 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/d3ef238f9a45dc53718d6f1d0613cb60ca9d1225 [Pipeline] } 21:08:18 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 21:08:19 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-385/archives ] 21:08:19 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-385/archives 21:08:19 total 16 21:08:19 drwxr-xr-x 3 root root 4096 Oct 25 20:55 . 21:08:19 drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 20:55 .. 21:08:19 drwxr-xr-x 2 root root 4096 Oct 25 20:55 cost 21:08:19 -rw-r--r-- 1 root root 88 Oct 25 20:55 cost.csv 21:08:19 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-385/archives 21:08:19 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-385/archives 21:08:19 total 16 21:08:19 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 20:55 . 21:08:19 drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 20:55 .. 21:08:19 drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 20:55 cost 21:08:19 -rw-r--r-- 1 jenkins jenkins 88 Oct 25 20:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:08:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:08:20 ---> package-listing.sh 21:08:20 ++ facter osfamily 21:08:20 ++ tr '[:upper:]' '[:lower:]' 21:08:20 + OS_FAMILY=debian 21:08:20 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-385 21:08:20 + START_PACKAGES=/tmp/packages_start.txt 21:08:20 + END_PACKAGES=/tmp/packages_end.txt 21:08:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:08:20 + PACKAGES=/tmp/packages_start.txt 21:08:20 + '[' /w/workspace/xfoundry_device-modbus-go_PR-385 ']' 21:08:20 + PACKAGES=/tmp/packages_end.txt 21:08:20 + case "${OS_FAMILY}" in 21:08:20 + dpkg -l 21:08:20 + grep '^ii' 21:08:20 + '[' -f /tmp/packages_start.txt ']' 21:08:20 + '[' -f /tmp/packages_end.txt ']' 21:08:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:08:20 + '[' /w/workspace/xfoundry_device-modbus-go_PR-385 ']' 21:08:20 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-385/archives/ 21:08:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-385/archives/ [Pipeline] echo 21:08:20 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-385/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:08:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:08:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:21 prd-ubuntu20.04-docker-8c-8g-116989 does not seem to be running inside a container 21:08:21 $ 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-385/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-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:08:21 $ docker top 4147fcc7b54e766651cd073172f0ca4f7be084748b7cd7d671d211e4cc212324 -eo pid,comm [Pipeline] { [Pipeline] sh 21:08:22 + touch /tmp/pre-build-complete [Pipeline] sh 21:08:22 + mkdir -p /var/log/sysstat [Pipeline] sh 21:08:22 + ls /var/log/sa-host 21:08:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:08:22 provisioning config files... 21:08:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config2027238497597363203tmp [Pipeline] { [Pipeline] echo 21:08:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:08:23 ---> create-netrc.sh [Pipeline] } 21:08:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:08:23 ---> python-tools-install.sh [Pipeline] echo 21:08:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:08:23 ---> sudo-logs.sh 21:08:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:08:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:08:24 ---> job-cost.sh 21:08:24 lf-activate-venv: SKIPPING 21:08:24 DEBUG: total: 0.2199999988079071 21:08:24 INFO: Retrieving Stack Cost... 21:08:24 INFO: Retrieving Pricing Info for: v3-standard-8 21:08:24 INFO: Archiving Costs [Pipeline] echo 21:08:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:08:25 ---> logs-deploy.sh 21:08:25 lf-activate-venv: SKIPPING 21:08:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-385/3 21:08:25 INFO: archiving workspace using pattern(s): 21:08:26 Archives upload complete. 21:08:26 INFO: archiving logs to Nexus 21:08:26 ---> uname -a: 21:08:26 Linux prd-ubuntu20-04-docker-8c-8g-116989 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 21:08:26 21:08:26