Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from eaaa96216d254802e4dc56b9feee2ee1b24579f4+d8591ecd48deb848f04d859b76795416a9cfa4fb (f5f07f39fa4b047ee824391df52382fa389f5755) 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-ssh13221298344358149361.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh11890962022486579112.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh15639425198412405151.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh11344981167645058970.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-ssh514814182492466462.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-118154 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 d8591ecd48deb848f04d859b76795416a9cfa4fb into PR head commit eaaa96216d254802e4dc56b9feee2ee1b24579f4 Merge succeeded, producing 72ab01b7228fed9c42ec2754587b0b39743cc893 Checking out Revision 72ab01b7228fed9c42ec2754587b0b39743cc893 (PR-385) > git config core.sparsecheckout # timeout=10 > git checkout -f eaaa96216d254802e4dc56b9feee2ee1b24579f4 # 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 d8591ecd48deb848f04d859b76795416a9cfa4fb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 72ab01b7228fed9c42ec2754587b0b39743cc893 # timeout=10 Commit message: "Merge commit 'd8591ecd48deb848f04d859b76795416a9cfa4fb' into HEAD" > git rev-list --no-walk eaaa96216d254802e4dc56b9feee2ee1b24579f4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-03T20:52:25.596Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-03T20:52:25.647Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-03T20:52:25.663Z] ========================================================= [2022-11-03T20:52:25.663Z] EdgeX Global Pipelines Version Info [2022-11-03T20:52:25.663Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-03T20:52:26.374Z] ------------------- [2022-11-03T20:52:26.375Z] stable info: [2022-11-03T20:52:26.375Z] ------------------- [2022-11-03T20:52:26.375Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-03T20:52:26.375Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-03T20:52:26.375Z] Message: update stable to v1.0.244 [2022-11-03T20:52:26.944Z] ------------------- [2022-11-03T20:52:26.944Z] experimental info: [2022-11-03T20:52:26.944Z] ------------------- [2022-11-03T20:52:26.944Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-03T20:52:26.944Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-03T20:52:26.944Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-03T20:52:27.101Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-11-03T20:52:27.112Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-11-03T20:52:27.125Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-03T20:52:27.140Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-03T20:52:27.150Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-03T20:52:27.162Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-03T20:52:27.173Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-03T20:52:27.185Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-03T20:52:27.197Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-03T20:52:27.208Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-03T20:52:27.219Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-03T20:52:27.232Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-11-03T20:52:27.246Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-03T20:52:27.260Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-03T20:52:27.273Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-03T20:52:27.286Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-03T20:52:27.297Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-03T20:52:27.307Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-03T20:52:27.315Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-03T20:52:27.323Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-03T20:52:27.331Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-11-03T20:52:27.339Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-11-03T20:52:27.349Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-03T20:52:27.357Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-03T20:52:27.365Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-03T20:52:27.373Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-03T20:52:27.381Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-03T20:52:27.389Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-385 [Pipeline] echo [2022-11-03T20:52:27.404Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-385 [Pipeline] echo [2022-11-03T20:52:27.415Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-385 [Pipeline] echo [2022-11-03T20:52:27.428Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 72ab01b7228fed9c42ec2754587b0b39743cc893 [Pipeline] echo [2022-11-03T20:52:27.440Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 72ab01b [Pipeline] echo [2022-11-03T20:52:27.450Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-03T20:52:27.489Z] provisioning config files... [2022-11-03T20:52:27.502Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config2554743939253360923tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-03T20:52:27.801Z] ---> docker-login.sh [2022-11-03T20:52:27.802Z] nexus3.edgexfoundry.org:10001 [2022-11-03T20:52:28.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T20:52:28.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T20:52:28.322Z] Configure a credential helper to remove this warning. See [2022-11-03T20:52:28.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T20:52:28.322Z] [2022-11-03T20:52:28.322Z] Login Succeeded [2022-11-03T20:52:28.322Z] nexus3.edgexfoundry.org:10002 [2022-11-03T20:52:28.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T20:52:28.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T20:52:28.322Z] Configure a credential helper to remove this warning. See [2022-11-03T20:52:28.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T20:52:28.322Z] [2022-11-03T20:52:28.322Z] Login Succeeded [2022-11-03T20:52:28.322Z] nexus3.edgexfoundry.org:10003 [2022-11-03T20:52:28.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T20:52:28.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T20:52:28.581Z] Configure a credential helper to remove this warning. See [2022-11-03T20:52:28.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T20:52:28.581Z] [2022-11-03T20:52:28.581Z] Login Succeeded [2022-11-03T20:52:28.581Z] nexus3.edgexfoundry.org:10004 [2022-11-03T20:52:28.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T20:52:28.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T20:52:28.581Z] Configure a credential helper to remove this warning. See [2022-11-03T20:52:28.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T20:52:28.581Z] [2022-11-03T20:52:28.581Z] Login Succeeded [2022-11-03T20:52:28.581Z] docker.io [2022-11-03T20:52:28.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T20:52:29.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T20:52:29.099Z] Configure a credential helper to remove this warning. See [2022-11-03T20:52:29.099Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T20:52:29.099Z] [2022-11-03T20:52:29.099Z] Login Succeeded [2022-11-03T20:52:29.099Z] ---> docker-login.sh ends [Pipeline] } [2022-11-03T20:52:29.107Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-03T20:52:29.478Z] + git rev-list -1 --merges 72ab01b7228fed9c42ec2754587b0b39743cc893~1..72ab01b7228fed9c42ec2754587b0b39743cc893 [Pipeline] echo [2022-11-03T20:52:29.507Z] -----------> git rev-list -1 --merges 72ab01b7228fed9c42ec2754587b0b39743cc893~1..72ab01b7228fed9c42ec2754587b0b39743cc893 72ab01b7228fed9c42ec2754587b0b39743cc893 [2022-11-03T20:52:29.507Z] 72ab01b7228fed9c42ec2754587b0b39743cc893 [false] [Pipeline] sh [2022-11-03T20:52:29.794Z] + git log --format=format:%s -1 72ab01b7228fed9c42ec2754587b0b39743cc893 [Pipeline] echo [2022-11-03T20:52:29.809Z] ========================================================= [2022-11-03T20:52:29.809Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-03T20:52:29.809Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-03T20:52:30.127Z] + git log --format=format:%s -1 72ab01b7228fed9c42ec2754587b0b39743cc893 [Pipeline] echo [2022-11-03T20:52:30.142Z] [semverPrep] GIT_COMMIT: 72ab01b7228fed9c42ec2754587b0b39743cc893, Commit Message: Merge commit 'd8591ecd48deb848f04d859b76795416a9cfa4fb' into HEAD [Pipeline] echo [2022-11-03T20:52:30.150Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-03T20:52:30.513Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-03T20:52:30.513Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-03T20:52:30.513Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-03T20:52:30.513Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-03T20:52:30.513Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-03T20:52:30.513Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-03T20:52:30.513Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T20:52:30.920Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-03T20:52:30.920Z] [2022-11-03T20:52:30.920Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T20:52:31.262Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-03T20:52:31.262Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-03T20:52:31.262Z] b85a868b505f: Pulling fs layer [2022-11-03T20:52:31.262Z] e2be974225ed: Pulling fs layer [2022-11-03T20:52:31.262Z] 339a4e72a1f5: Pulling fs layer [2022-11-03T20:52:31.262Z] 988bab9f4d93: Pulling fs layer [2022-11-03T20:52:31.262Z] 1469e6f7b9e6: Pulling fs layer [2022-11-03T20:52:31.262Z] eaf3925da568: Pulling fs layer [2022-11-03T20:52:31.262Z] bab4dde63d76: Pulling fs layer [2022-11-03T20:52:31.262Z] bde34c3a00c8: Pulling fs layer [2022-11-03T20:52:31.262Z] b352a97aabf1: Pulling fs layer [2022-11-03T20:52:31.262Z] 4872d77fe225: Pulling fs layer [2022-11-03T20:52:31.262Z] 5851b861e8e6: Pulling fs layer [2022-11-03T20:52:31.262Z] 988bab9f4d93: Waiting [2022-11-03T20:52:31.262Z] 1469e6f7b9e6: Waiting [2022-11-03T20:52:31.262Z] bab4dde63d76: Waiting [2022-11-03T20:52:31.262Z] eaf3925da568: Waiting [2022-11-03T20:52:31.262Z] bde34c3a00c8: Waiting [2022-11-03T20:52:31.262Z] b352a97aabf1: Waiting [2022-11-03T20:52:31.262Z] 5851b861e8e6: Waiting [2022-11-03T20:52:31.262Z] 4872d77fe225: Waiting [2022-11-03T20:52:31.262Z] e2be974225ed: Download complete [2022-11-03T20:52:31.262Z] 988bab9f4d93: Verifying Checksum [2022-11-03T20:52:31.262Z] 988bab9f4d93: Download complete [2022-11-03T20:52:31.526Z] 339a4e72a1f5: Verifying Checksum [2022-11-03T20:52:31.526Z] 339a4e72a1f5: Download complete [2022-11-03T20:52:31.526Z] 1469e6f7b9e6: Verifying Checksum [2022-11-03T20:52:31.526Z] 1469e6f7b9e6: Download complete [2022-11-03T20:52:31.526Z] eaf3925da568: Download complete [2022-11-03T20:52:31.526Z] bde34c3a00c8: Verifying Checksum [2022-11-03T20:52:31.526Z] bde34c3a00c8: Download complete [2022-11-03T20:52:31.526Z] b352a97aabf1: Download complete [2022-11-03T20:52:31.526Z] 4872d77fe225: Download complete [2022-11-03T20:52:31.526Z] 5851b861e8e6: Verifying Checksum [2022-11-03T20:52:31.526Z] 5851b861e8e6: Download complete [2022-11-03T20:52:31.526Z] b85a868b505f: Verifying Checksum [2022-11-03T20:52:31.526Z] b85a868b505f: Download complete [2022-11-03T20:52:31.785Z] bab4dde63d76: Verifying Checksum [2022-11-03T20:52:31.785Z] bab4dde63d76: Download complete [2022-11-03T20:52:32.722Z] b85a868b505f: Pull complete [2022-11-03T20:52:32.722Z] e2be974225ed: Pull complete [2022-11-03T20:52:33.290Z] 339a4e72a1f5: Pull complete [2022-11-03T20:52:33.290Z] 988bab9f4d93: Pull complete [2022-11-03T20:52:33.551Z] 1469e6f7b9e6: Pull complete [2022-11-03T20:52:33.551Z] eaf3925da568: Pull complete [2022-11-03T20:52:35.460Z] bab4dde63d76: Pull complete [2022-11-03T20:52:35.460Z] bde34c3a00c8: Pull complete [2022-11-03T20:52:35.460Z] b352a97aabf1: Pull complete [2022-11-03T20:52:35.460Z] 4872d77fe225: Pull complete [2022-11-03T20:52:35.725Z] 5851b861e8e6: Pull complete [2022-11-03T20:52:35.725Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-03T20:52:35.725Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-03T20:52:35.725Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T20:52:35.810Z] prd-ubuntu20.04-docker-8c-8g-118154 does not seem to be running inside a container [2022-11-03T20:52:35.831Z] $ 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 [2022-11-03T20:52:37.204Z] $ docker top fc96f2eb405b7bee8d4b90b3aae4dcef73968dc4144d607d351f9b45e3d127ac -eo pid,comm [2022-11-03T20:52:37.270Z] 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). [2022-11-03T20:52:37.270Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-03T20:52:37.311Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-03T20:52:37.311Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-03T20:52:37.426Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-03T20:52:37.421Z] $ docker exec fc96f2eb405b7bee8d4b90b3aae4dcef73968dc4144d607d351f9b45e3d127ac ssh-agent [2022-11-03T20:52:37.542Z] SSH_AUTH_SOCK=/tmp/ssh-6pDOSL7BTVIr/agent.31 [2022-11-03T20:52:37.542Z] SSH_AGENT_PID=37 [2022-11-03T20:52:37.548Z] Running ssh-add (command line suppressed) [2022-11-03T20:52:37.638Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_9324167164454422427.key (/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_9324167164454422427.key) [2022-11-03T20:52:37.659Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-03T20:52:37.946Z] + git tag --points-at HEAD [Pipeline] } [2022-11-03T20:52:37.951Z] $ docker exec --env ******** --env ******** fc96f2eb405b7bee8d4b90b3aae4dcef73968dc4144d607d351f9b45e3d127ac ssh-agent -k [2022-11-03T20:52:38.053Z] unset SSH_AUTH_SOCK; [2022-11-03T20:52:38.053Z] unset SSH_AGENT_PID; [2022-11-03T20:52:38.053Z] echo Agent pid 37 killed; [2022-11-03T20:52:38.071Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-03T20:52:38.098Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-03T20:52:38.098Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-03T20:52:38.215Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-03T20:52:38.210Z] $ docker exec fc96f2eb405b7bee8d4b90b3aae4dcef73968dc4144d607d351f9b45e3d127ac ssh-agent [2022-11-03T20:52:38.338Z] SSH_AUTH_SOCK=/tmp/ssh-K0PJ8pVClQvk/agent.69 [2022-11-03T20:52:38.338Z] SSH_AGENT_PID=75 [2022-11-03T20:52:38.343Z] Running ssh-add (command line suppressed) [2022-11-03T20:52:38.428Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_3898150982945989599.key (/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_3898150982945989599.key) [2022-11-03T20:52:38.449Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-03T20:52:38.735Z] + git semver init [2022-11-03T20:52:38.994Z] 2022-11-03 20:52:38,921 [run_init] DEBUG init version:0.0.0 force:False [2022-11-03T20:52:38.994Z] 2022-11-03 20:52:38,922 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-385/.semver [2022-11-03T20:52:38.994Z] 2022-11-03 20:52:38,922 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-385/.semver [2022-11-03T20:52:38.994Z] 2022-11-03 20:52:38,923 [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) [2022-11-03T20:52:39.932Z] 2022-11-03 20:52:39,829 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-385/.git/info/exclude [2022-11-03T20:52:39.932Z] 2022-11-03 20:52:39,830 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-385/.semver/PR-385 with force:False [2022-11-03T20:52:39.932Z] 2022-11-03 20:52:39,830 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-385/.semver/PR-385 [2022-11-03T20:52:39.932Z] 2022-11-03 20:52:39,834 [execute] INFO git cat-file --batch-check [2022-11-03T20:52:39.933Z] 2022-11-03 20:52:39,835 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-385/.semver, universal_newlines=False, shell=None, istream=) [2022-11-03T20:52:39.933Z] 2022-11-03 20:52:39,841 [execute] INFO git cat-file --batch [2022-11-03T20:52:39.933Z] 2022-11-03 20:52:39,841 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-385/.semver, universal_newlines=False, shell=None, istream=) [2022-11-03T20:52:39.933Z] 2022-11-03 20:52:39,846 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-385/.semver/PR-385 [2022-11-03T20:52:39.933Z] 0.0.0 [Pipeline] } [2022-11-03T20:52:39.935Z] $ docker exec --env ******** --env ******** fc96f2eb405b7bee8d4b90b3aae4dcef73968dc4144d607d351f9b45e3d127ac ssh-agent -k [2022-11-03T20:52:40.030Z] unset SSH_AUTH_SOCK; [2022-11-03T20:52:40.030Z] unset SSH_AGENT_PID; [2022-11-03T20:52:40.030Z] echo Agent pid 75 killed; [2022-11-03T20:52:40.045Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-03T20:52:40.349Z] + git semver [Pipeline] } [2022-11-03T20:52:40.616Z] $ docker stop --time=1 fc96f2eb405b7bee8d4b90b3aae4dcef73968dc4144d607d351f9b45e3d127ac [2022-11-03T20:52:41.945Z] $ docker rm -f fc96f2eb405b7bee8d4b90b3aae4dcef73968dc4144d607d351f9b45e3d127ac [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-03T20:52:42.292Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-03T20:52:42.477Z] Stashed 1 file(s) [Pipeline] echo [2022-11-03T20:52:42.480Z] [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 [2022-11-03T20:52:42.605Z] provisioning config files... [2022-11-03T20:52:42.614Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config3593137864790159884tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-03T20:52:42.910Z] ---> docker-login.sh [2022-11-03T20:52:42.910Z] nexus3.edgexfoundry.org:10001 [2022-11-03T20:52:42.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T20:52:42.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T20:52:42.910Z] Configure a credential helper to remove this warning. See [2022-11-03T20:52:42.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T20:52:42.910Z] [2022-11-03T20:52:42.910Z] Login Succeeded [2022-11-03T20:52:42.910Z] nexus3.edgexfoundry.org:10002 [2022-11-03T20:52:42.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T20:52:42.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T20:52:42.910Z] Configure a credential helper to remove this warning. See [2022-11-03T20:52:42.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T20:52:42.910Z] [2022-11-03T20:52:42.910Z] Login Succeeded [2022-11-03T20:52:42.910Z] nexus3.edgexfoundry.org:10003 [2022-11-03T20:52:43.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T20:52:43.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T20:52:43.170Z] Configure a credential helper to remove this warning. See [2022-11-03T20:52:43.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T20:52:43.170Z] [2022-11-03T20:52:43.170Z] Login Succeeded [2022-11-03T20:52:43.170Z] nexus3.edgexfoundry.org:10004 [2022-11-03T20:52:43.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T20:52:43.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T20:52:43.170Z] Configure a credential helper to remove this warning. See [2022-11-03T20:52:43.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T20:52:43.170Z] [2022-11-03T20:52:43.170Z] Login Succeeded [2022-11-03T20:52:43.170Z] docker.io [2022-11-03T20:52:43.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T20:52:43.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T20:52:43.689Z] Configure a credential helper to remove this warning. See [2022-11-03T20:52:43.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T20:52:43.689Z] [2022-11-03T20:52:43.689Z] Login Succeeded [2022-11-03T20:52:43.689Z] ---> docker-login.sh ends [Pipeline] } [2022-11-03T20:52:43.697Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-03T20:52:43.755Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-03T20:52:43.767Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-03T20:52:43.774Z] ========================================================= [2022-11-03T20:52:43.774Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-03T20:52:43.774Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T20:52:44.080Z] + 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 . [2022-11-03T20:52:44.080Z] Sending build context to Docker daemon 6.245MB [2022-11-03T20:52:44.080Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-11-03T20:52:44.080Z] Step 2/10 : FROM ${BASE} AS builder [2022-11-03T20:52:44.080Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-03T20:52:44.080Z] 213ec9aee27d: Pulling fs layer [2022-11-03T20:52:44.080Z] 4583459ba037: Pulling fs layer [2022-11-03T20:52:44.080Z] 93c1e223e6f2: Pulling fs layer [2022-11-03T20:52:44.080Z] 53926ce57604: Pulling fs layer [2022-11-03T20:52:44.080Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-03T20:52:44.080Z] 22ff95d597cd: Pulling fs layer [2022-11-03T20:52:44.080Z] 12d6caf4c0d1: Pulling fs layer [2022-11-03T20:52:44.080Z] 96b7cbca73a9: Pulling fs layer [2022-11-03T20:52:44.080Z] a7acece74701: Pulling fs layer [2022-11-03T20:52:44.080Z] 53926ce57604: Waiting [2022-11-03T20:52:44.080Z] 21b2b0c7a3f4: Waiting [2022-11-03T20:52:44.080Z] 22ff95d597cd: Waiting [2022-11-03T20:52:44.080Z] 12d6caf4c0d1: Waiting [2022-11-03T20:52:44.080Z] 96b7cbca73a9: Waiting [2022-11-03T20:52:44.080Z] a7acece74701: Waiting [2022-11-03T20:52:44.080Z] 93c1e223e6f2: Verifying Checksum [2022-11-03T20:52:44.080Z] 93c1e223e6f2: Download complete [2022-11-03T20:52:44.080Z] 4583459ba037: Download complete [2022-11-03T20:52:44.080Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-03T20:52:44.080Z] 21b2b0c7a3f4: Download complete [2022-11-03T20:52:44.342Z] 22ff95d597cd: Download complete [2022-11-03T20:52:44.342Z] 213ec9aee27d: Download complete [2022-11-03T20:52:44.342Z] 12d6caf4c0d1: Verifying Checksum [2022-11-03T20:52:44.342Z] 12d6caf4c0d1: Download complete [2022-11-03T20:52:44.342Z] 213ec9aee27d: Pull complete [2022-11-03T20:52:44.609Z] 4583459ba037: Pull complete [2022-11-03T20:52:44.609Z] 93c1e223e6f2: Pull complete [2022-11-03T20:52:44.870Z] a7acece74701: Verifying Checksum [2022-11-03T20:52:44.870Z] a7acece74701: Download complete [2022-11-03T20:52:44.870Z] 96b7cbca73a9: Verifying Checksum [2022-11-03T20:52:44.870Z] 96b7cbca73a9: Download complete [2022-11-03T20:52:45.129Z] 53926ce57604: Verifying Checksum [2022-11-03T20:52:45.129Z] 53926ce57604: Download complete [2022-11-03T20:52:48.414Z] 53926ce57604: Pull complete [2022-11-03T20:52:48.673Z] 21b2b0c7a3f4: Pull complete [2022-11-03T20:52:48.673Z] 22ff95d597cd: Pull complete [2022-11-03T20:52:48.673Z] 12d6caf4c0d1: Pull complete [2022-11-03T20:52:51.200Z] 96b7cbca73a9: Pull complete [2022-11-03T20:52:51.460Z] a7acece74701: Pull complete [2022-11-03T20:52:51.460Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-03T20:52:51.460Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-03T20:52:51.460Z] ---> db6d94c90886 [2022-11-03T20:52:51.460Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2022-11-03T20:52:53.376Z] ---> Running in ba0fd35b7e73 [2022-11-03T20:52:53.376Z] Removing intermediate container ba0fd35b7e73 [2022-11-03T20:52:53.376Z] ---> 57c61f9cef52 [2022-11-03T20:52:53.376Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-03T20:52:53.376Z] ---> Running in eb690eee7d0f [2022-11-03T20:52:53.376Z] Removing intermediate container eb690eee7d0f [2022-11-03T20:52:53.376Z] ---> 328896f2f0d8 [2022-11-03T20:52:53.376Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-11-03T20:52:53.635Z] ---> Running in 02ff187b6479 [2022-11-03T20:52:53.894Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-03T20:52:53.894Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-03T20:52:54.154Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-11-03T20:52:54.154Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-11-03T20:52:54.154Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-11-03T20:52:54.154Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-11-03T20:52:54.154Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-11-03T20:52:54.415Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-11-03T20:52:54.415Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-11-03T20:52:54.415Z] (8/8) Installing openssh (9.0_p1-r2) [2022-11-03T20:52:54.415Z] Executing busybox-1.35.0-r17.trigger [2022-11-03T20:52:54.415Z] OK: 217 MiB in 59 packages [2022-11-03T20:52:54.675Z] Removing intermediate container 02ff187b6479 [2022-11-03T20:52:54.675Z] ---> 32cab15a8c20 [2022-11-03T20:52:54.675Z] Step 6/10 : WORKDIR /device-modbus-go [2022-11-03T20:52:54.937Z] ---> Running in 0dccb49e897d [2022-11-03T20:52:54.937Z] Removing intermediate container 0dccb49e897d [2022-11-03T20:52:54.937Z] ---> b298d09461eb [2022-11-03T20:52:54.937Z] Step 7/10 : COPY go.mod vendor* ./ [2022-11-03T20:52:54.937Z] ---> 84aa49c15e8c [2022-11-03T20:52:54.937Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-03T20:52:55.196Z] ---> Running in c9b51060a888 [2022-11-03T20:52:57.570Z] Still waiting to schedule task [2022-11-03T20:52:57.570Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-11-03T20:53:13.277Z] Removing intermediate container c9b51060a888 [2022-11-03T20:53:13.277Z] ---> e642808192c2 [2022-11-03T20:53:13.277Z] Step 9/10 : COPY . . [2022-11-03T20:53:13.277Z] ---> 854b16a7071b [2022-11-03T20:53:13.277Z] Step 10/10 : RUN ${MAKE} [2022-11-03T20:53:13.277Z] ---> Running in c3a605e54b06 [2022-11-03T20:53:13.535Z] noop [2022-11-03T20:53:13.794Z] Removing intermediate container c3a605e54b06 [2022-11-03T20:53:13.794Z] ---> 04c8ad8f757f [2022-11-03T20:53:13.794Z] Successfully built 04c8ad8f757f [2022-11-03T20:53:13.794Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T20:53:14.106Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-03T20:53:14.106Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T20:53:14.167Z] prd-ubuntu20.04-docker-8c-8g-118154 does not seem to be running inside a container [2022-11-03T20:53:14.196Z] $ 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 [2022-11-03T20:53:14.584Z] $ docker top c5c3a8323ff7070f17c1c7c859bcfbe638f2125d8c1a5dbce6d2a3ef972cbf8d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-03T20:53:14.922Z] + go version [2022-11-03T20:53:14.922Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-03T20:53:14.938Z] $ docker stop --time=1 c5c3a8323ff7070f17c1c7c859bcfbe638f2125d8c1a5dbce6d2a3ef972cbf8d [2022-11-03T20:53:16.240Z] $ docker rm -f c5c3a8323ff7070f17c1c7c859bcfbe638f2125d8c1a5dbce6d2a3ef972cbf8d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T20:53:16.636Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-03T20:53:16.636Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T20:53:16.696Z] prd-ubuntu20.04-docker-8c-8g-118154 does not seem to be running inside a container [2022-11-03T20:53:16.730Z] $ 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 [2022-11-03T20:53:17.075Z] $ docker top eb956f77d8b6c7b68fbbef9859fbbb305cb8980f83c7e82d47d264d92863beb2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-03T20:53:17.416Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-385 [Pipeline] fileExists [Pipeline] sh [2022-11-03T20:53:17.715Z] + make test [2022-11-03T20:53:17.715Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-11-03T20:53:17.973Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-11-03T20:53:26.077Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-11-03T20:53:26.077Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 47.7% of statements [2022-11-03T20:53:32.633Z] 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." [2022-11-03T20:53:32.633Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-03T20:53:35.160Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-03T20:53:35.160Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-03T20:53:35.160Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-03T20:53:35.430Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-03T20:53:35.449Z] $ docker stop --time=1 eb956f77d8b6c7b68fbbef9859fbbb305cb8980f83c7e82d47d264d92863beb2 [2022-11-03T20:53:37.220Z] $ docker rm -f eb956f77d8b6c7b68fbbef9859fbbb305cb8980f83c7e82d47d264d92863beb2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-03T20:53:37.636Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-03T20:53:37.685Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-03T20:53:38.160Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-03T20:53:38.441Z] + ls -al . [2022-11-03T20:53:38.441Z] total 196 [2022-11-03T20:53:38.441Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 3 20:53 . [2022-11-03T20:53:38.441Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 20:52 .. [2022-11-03T20:53:38.441Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 3 20:52 .dockerignore [2022-11-03T20:53:38.441Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 3 20:53 .git [2022-11-03T20:53:38.441Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 20:52 .github [2022-11-03T20:53:38.441Z] -rw-rw-r-- 1 jenkins jenkins 331 Nov 3 20:52 .gitignore [2022-11-03T20:53:38.441Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 3 20:52 .golangci.yml [2022-11-03T20:53:38.441Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 3 20:52 .semver [2022-11-03T20:53:38.441Z] -rw-rw-r-- 1 jenkins jenkins 10121 Nov 3 20:52 Attribution.txt [2022-11-03T20:53:38.441Z] -rw-rw-r-- 1 jenkins jenkins 11576 Nov 3 20:52 CHANGELOG.md [2022-11-03T20:53:38.441Z] -rw-rw-r-- 1 jenkins jenkins 1428 Nov 3 20:52 Dockerfile [2022-11-03T20:53:38.441Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 3 20:52 GOVERNANCE.md [2022-11-03T20:53:38.441Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 3 20:52 Jenkinsfile [2022-11-03T20:53:38.441Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 3 20:52 LICENSE [2022-11-03T20:53:38.441Z] -rw-rw-r-- 1 jenkins jenkins 2101 Nov 3 20:52 Makefile [2022-11-03T20:53:38.441Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 3 20:52 OWNERS.md [2022-11-03T20:53:38.441Z] -rw-rw-r-- 1 jenkins jenkins 4061 Nov 3 20:52 README.md [2022-11-03T20:53:38.441Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 3 20:52 VERSION [2022-11-03T20:53:38.441Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 20:52 bin [2022-11-03T20:53:38.441Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 20:52 cmd [2022-11-03T20:53:38.441Z] -rw-r--r-- 1 jenkins jenkins 23241 Nov 3 20:53 coverage.out [2022-11-03T20:53:38.441Z] -rw-rw-r-- 1 jenkins jenkins 3632 Nov 3 20:52 go.mod [2022-11-03T20:53:38.441Z] -rw-rw-r-- 1 jenkins jenkins 45486 Nov 3 20:52 go.sum [2022-11-03T20:53:38.441Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 20:52 internal [2022-11-03T20:53:38.441Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 20:52 simulator [2022-11-03T20:53:38.441Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 20:52 snap [2022-11-03T20:53:38.441Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 3 20:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T20:53:38.744Z] + 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=72ab01b7228fed9c42ec2754587b0b39743cc893 --label arch=amd64 --label version=0.0.0 . [2022-11-03T20:53:38.744Z] Sending build context to Docker daemon 6.269MB [2022-11-03T20:53:38.744Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2022-11-03T20:53:38.744Z] Step 2/22 : FROM ${BASE} AS builder [2022-11-03T20:53:38.744Z] ---> 04c8ad8f757f [2022-11-03T20:53:38.744Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2022-11-03T20:53:38.744Z] ---> Running in 91cef44daecb [2022-11-03T20:53:39.004Z] Removing intermediate container 91cef44daecb [2022-11-03T20:53:39.004Z] ---> 7c7125ebd8dd [2022-11-03T20:53:39.004Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-03T20:53:39.004Z] ---> Running in ed32832efbe4 [2022-11-03T20:53:39.004Z] Removing intermediate container ed32832efbe4 [2022-11-03T20:53:39.004Z] ---> 06b50c4e876c [2022-11-03T20:53:39.004Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-11-03T20:53:39.004Z] ---> Running in 111e9dbb9d60 [2022-11-03T20:53:39.572Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-03T20:53:39.572Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-03T20:53:39.830Z] OK: 217 MiB in 59 packages [2022-11-03T20:53:40.089Z] Removing intermediate container 111e9dbb9d60 [2022-11-03T20:53:40.089Z] ---> f2565e55c8e8 [2022-11-03T20:53:40.089Z] Step 6/22 : WORKDIR /device-modbus-go [2022-11-03T20:53:40.089Z] ---> Running in 4f931f6992a9 [2022-11-03T20:53:40.348Z] Removing intermediate container 4f931f6992a9 [2022-11-03T20:53:40.348Z] ---> 9428f7072dae [2022-11-03T20:53:40.348Z] Step 7/22 : COPY go.mod vendor* ./ [2022-11-03T20:53:40.348Z] ---> 05954e918cbf [2022-11-03T20:53:40.348Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-03T20:53:40.607Z] ---> Running in 55b7518d1a11 [2022-11-03T20:53:41.175Z] Removing intermediate container 55b7518d1a11 [2022-11-03T20:53:41.175Z] ---> bca8ff6da595 [2022-11-03T20:53:41.175Z] Step 9/22 : COPY . . [2022-11-03T20:53:41.434Z] ---> 4b6194fa6c55 [2022-11-03T20:53:41.434Z] Step 10/22 : RUN ${MAKE} [2022-11-03T20:53:41.434Z] ---> Running in 1dcd586f1955 [2022-11-03T20:53:41.692Z] 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 [2022-11-03T20:53:59.772Z] Removing intermediate container 1dcd586f1955 [2022-11-03T20:53:59.772Z] ---> c1713cae5e6d [2022-11-03T20:53:59.772Z] Step 11/22 : FROM alpine:3.14 [2022-11-03T20:54:00.031Z] 3.14: Pulling from library/alpine [2022-11-03T20:54:00.031Z] c7ed990a2339: Pulling fs layer [2022-11-03T20:54:00.290Z] c7ed990a2339: Verifying Checksum [2022-11-03T20:54:00.290Z] c7ed990a2339: Download complete [2022-11-03T20:54:00.548Z] c7ed990a2339: Pull complete [2022-11-03T20:54:00.548Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-11-03T20:54:00.548Z] Status: Downloaded newer image for alpine:3.14 [2022-11-03T20:54:00.548Z] ---> dd53f409bf0b [2022-11-03T20:54:00.548Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-11-03T20:54:00.548Z] ---> Running in bbf2c882ad35 [2022-11-03T20:54:00.548Z] Removing intermediate container bbf2c882ad35 [2022-11-03T20:54:00.548Z] ---> c3060467ee5a [2022-11-03T20:54:00.548Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-03T20:54:00.548Z] ---> Running in d16087ef928a [2022-11-03T20:54:00.807Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-11-03T20:54:01.066Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-11-03T20:54:01.326Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-03T20:54:01.326Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-11-03T20:54:01.326Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-03T20:54:01.326Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-11-03T20:54:01.326Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-03T20:54:01.326Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-03T20:54:01.326Z] Executing busybox-1.33.1-r8.trigger [2022-11-03T20:54:01.326Z] OK: 8 MiB in 20 packages [2022-11-03T20:54:01.894Z] Removing intermediate container d16087ef928a [2022-11-03T20:54:01.894Z] ---> 184fa30f8c69 [2022-11-03T20:54:01.894Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2022-11-03T20:54:02.467Z] ---> 598522f5091b [2022-11-03T20:54:02.467Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2022-11-03T20:54:02.467Z] ---> c523add08824 [2022-11-03T20:54:02.467Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-11-03T20:54:02.726Z] ---> 46fa31332870 [2022-11-03T20:54:02.726Z] Step 17/22 : EXPOSE 59901 [2022-11-03T20:54:02.726Z] ---> Running in 996e3e0b0ba5 [2022-11-03T20:54:02.726Z] Removing intermediate container 996e3e0b0ba5 [2022-11-03T20:54:02.726Z] ---> 97a767afa9aa [2022-11-03T20:54:02.726Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2022-11-03T20:54:02.726Z] ---> Running in 42d3925fb397 [2022-11-03T20:54:02.986Z] Removing intermediate container 42d3925fb397 [2022-11-03T20:54:02.986Z] ---> 6a5eb6214f62 [2022-11-03T20:54:02.986Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-03T20:54:02.987Z] ---> Running in d9735b293906 [2022-11-03T20:54:02.987Z] Removing intermediate container d9735b293906 [2022-11-03T20:54:02.987Z] ---> ed035e268161 [2022-11-03T20:54:02.987Z] Step 20/22 : LABEL arch=amd64 [2022-11-03T20:54:02.987Z] ---> Running in db8fe901e06f [2022-11-03T20:54:02.987Z] Removing intermediate container db8fe901e06f [2022-11-03T20:54:02.987Z] ---> b2428d1f9886 [2022-11-03T20:54:02.987Z] Step 21/22 : LABEL git_sha=72ab01b7228fed9c42ec2754587b0b39743cc893 [2022-11-03T20:54:03.245Z] ---> Running in 3e7a2de9fa12 [2022-11-03T20:54:03.245Z] Removing intermediate container 3e7a2de9fa12 [2022-11-03T20:54:03.245Z] ---> 38c5933f34f6 [2022-11-03T20:54:03.245Z] Step 22/22 : LABEL version=0.0.0 [2022-11-03T20:54:03.245Z] ---> Running in 80602f9e36c8 [2022-11-03T20:54:03.245Z] Removing intermediate container 80602f9e36c8 [2022-11-03T20:54:03.245Z] ---> 8e46774efbff [2022-11-03T20:54:03.245Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-03T20:54:03.245Z] Successfully built 8e46774efbff [2022-11-03T20:54:03.245Z] 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 [2022-11-03T20:54:03.682Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-03T20:54:03.682Z] [2022-11-03T20:54:03.682Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T20:54:03.978Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-03T20:54:03.978Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-03T20:54:03.978Z] 5eb5b503b376: Pulling fs layer [2022-11-03T20:54:03.978Z] 5c69ac0246d0: Pulling fs layer [2022-11-03T20:54:03.978Z] ec43610c2a17: Pulling fs layer [2022-11-03T20:54:03.978Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-03T20:54:03.978Z] 33b1e0a273af: Pulling fs layer [2022-11-03T20:54:03.978Z] 5d3b04190fa2: Pulling fs layer [2022-11-03T20:54:03.978Z] 2f39f015ded8: Pulling fs layer [2022-11-03T20:54:03.978Z] 33b1e0a273af: Waiting [2022-11-03T20:54:03.978Z] 5d3b04190fa2: Waiting [2022-11-03T20:54:03.978Z] 2f39f015ded8: Waiting [2022-11-03T20:54:03.978Z] 3a2ae6a8a46f: Waiting [2022-11-03T20:54:03.978Z] 5c69ac0246d0: Download complete [2022-11-03T20:54:03.978Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-03T20:54:03.978Z] 3a2ae6a8a46f: Download complete [2022-11-03T20:54:03.978Z] 33b1e0a273af: Verifying Checksum [2022-11-03T20:54:03.978Z] 33b1e0a273af: Download complete [2022-11-03T20:54:03.978Z] 5d3b04190fa2: Verifying Checksum [2022-11-03T20:54:03.978Z] 5d3b04190fa2: Download complete [2022-11-03T20:54:04.236Z] ec43610c2a17: Verifying Checksum [2022-11-03T20:54:04.236Z] ec43610c2a17: Download complete [2022-11-03T20:54:04.236Z] 5eb5b503b376: Verifying Checksum [2022-11-03T20:54:04.236Z] 5eb5b503b376: Download complete [2022-11-03T20:54:04.805Z] 2f39f015ded8: Download complete [2022-11-03T20:54:05.369Z] 5eb5b503b376: Pull complete [2022-11-03T20:54:05.369Z] 5c69ac0246d0: Pull complete [2022-11-03T20:54:05.935Z] ec43610c2a17: Pull complete [2022-11-03T20:54:06.871Z] 3a2ae6a8a46f: Pull complete [2022-11-03T20:54:06.871Z] 33b1e0a273af: Pull complete [2022-11-03T20:54:06.871Z] 5d3b04190fa2: Pull complete [2022-11-03T20:54:11.054Z] 2f39f015ded8: Pull complete [2022-11-03T20:54:11.054Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-03T20:54:11.054Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-03T20:54:11.054Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T20:54:11.123Z] prd-ubuntu20.04-docker-8c-8g-118154 does not seem to be running inside a container [2022-11-03T20:54:11.160Z] $ 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 [2022-11-03T20:54:12.819Z] $ docker top 605cd4b96a35ac6d55ccfb4614596b15a8ac59156525e26a18fa65cdcc63d363 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-03T20:54:13.201Z] ---> job-cost.sh [2022-11-03T20:54:13.201Z] lf-activate-venv: SKIPPING [2022-11-03T20:54:13.201Z] INFO: No Stack... [2022-11-03T20:54:13.460Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-03T20:54:13.722Z] INFO: Archiving Costs [Pipeline] sh [2022-11-03T20:54:14.012Z] + + cat /w/workspace/xfoundry_device-modbus-go_PR-385/archives/cost.csv [2022-11-03T20:54:14.012Z] cut -d, -f6 [Pipeline] lock [2022-11-03T20:54:14.025Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-385-6-stack-cost] [2022-11-03T20:54:14.032Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-385-6-stack-cost] did not exist. Created. [2022-11-03T20:54:14.032Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-385-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-03T20:54:14.328Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-03T20:54:14.359Z] Stashed 1 file(s) [Pipeline] } [2022-11-03T20:54:14.365Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-385-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-03T20:54:14.391Z] $ docker stop --time=1 605cd4b96a35ac6d55ccfb4614596b15a8ac59156525e26a18fa65cdcc63d363 [2022-11-03T20:54:15.578Z] $ docker rm -f 605cd4b96a35ac6d55ccfb4614596b15a8ac59156525e26a18fa65cdcc63d363 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-03T20:54:28.470Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118155 in /w/workspace/xfoundry_device-modbus-go_PR-385 [Pipeline] { [Pipeline] ws [2022-11-03T20:54:28.482Z] Running in /w/workspace/device-modbus-go/6 [Pipeline] { [Pipeline] checkout [2022-11-03T20:54:28.517Z] Selected Git installation does not exist. Using Default [2022-11-03T20:54:28.517Z] The recommended git tool is: NONE [2022-11-03T20:54:33.312Z] using credential edgex-jenkins-ssh [2022-11-03T20:54:33.332Z] Cloning the remote Git repository [2022-11-03T20:54:33.370Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-11-03T20:54:33.439Z] > git init /w/workspace/device-modbus-go/6 # timeout=10 [2022-11-03T20:54:33.580Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-11-03T20:54:33.581Z] > git --version # timeout=10 [2022-11-03T20:54:33.604Z] > git --version # 'git version 2.25.1' [2022-11-03T20:54:33.605Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-03T20:54:33.653Z] Verifying host key using known hosts file [2022-11-03T20:54:33.833Z] 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. [2022-11-03T20:54:33.845Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-03T20:54:34.963Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-11-03T20:54:34.981Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-03T20:54:35.737Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-11-03T20:54:35.784Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-11-03T20:54:35.785Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-03T20:54:35.791Z] Verifying host key using known hosts file [2022-11-03T20:54:35.798Z] 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. [2022-11-03T20:54:35.810Z] > 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 [2022-11-03T20:54:36.380Z] Merging remotes/origin/main commit d8591ecd48deb848f04d859b76795416a9cfa4fb into PR head commit eaaa96216d254802e4dc56b9feee2ee1b24579f4 [2022-11-03T20:54:36.669Z] Merge succeeded, producing 20faf77341d833bc8a60dc3a81cef820b11b5559 [2022-11-03T20:54:36.669Z] Checking out Revision 20faf77341d833bc8a60dc3a81cef820b11b5559 (PR-385) [2022-11-03T20:54:36.399Z] > git config core.sparsecheckout # timeout=10 [2022-11-03T20:54:36.420Z] > git checkout -f eaaa96216d254802e4dc56b9feee2ee1b24579f4 # timeout=10 [2022-11-03T20:54:36.540Z] > git remote # timeout=10 [2022-11-03T20:54:36.557Z] > git config --get remote.origin.url # timeout=10 [2022-11-03T20:54:36.573Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-03T20:54:36.578Z] Verifying host key using known hosts file [2022-11-03T20:54:36.581Z] 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. [2022-11-03T20:54:36.592Z] > git merge d8591ecd48deb848f04d859b76795416a9cfa4fb # timeout=10 [2022-11-03T20:54:36.651Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-03T20:54:36.676Z] > git config core.sparsecheckout # timeout=10 [2022-11-03T20:54:36.693Z] > git checkout -f 20faf77341d833bc8a60dc3a81cef820b11b5559 # timeout=10 [2022-11-03T20:54:40.181Z] Commit message: "Merge commit 'd8591ecd48deb848f04d859b76795416a9cfa4fb' into HEAD" [2022-11-03T20:54:40.190Z] > git rev-list --no-walk eaaa96216d254802e4dc56b9feee2ee1b24579f4 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-03T20:54:41.254Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-03T20:54:41.254Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-03T20:54:41.254Z] Dload Upload Total Spent Left Speed [2022-11-03T20:54:41.254Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 84013 0 --:--:-- --:--:-- --:--:-- 84013 [Pipeline] sh [2022-11-03T20:54:41.926Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-03T20:54:42.250Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-03T20:54:42.250Z] + sudo tee /etc/docker/daemon.new [2022-11-03T20:54:42.250Z] { [2022-11-03T20:54:42.250Z] "registry-mirrors": [ [2022-11-03T20:54:42.250Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-03T20:54:42.250Z] ], [2022-11-03T20:54:42.250Z] "bip": "10.250.0.254/24", [2022-11-03T20:54:42.250Z] "hosts": [ [2022-11-03T20:54:42.250Z] "tcp://0.0.0.0:5555", [2022-11-03T20:54:42.250Z] "unix:///var/run/docker.sock" [2022-11-03T20:54:42.250Z] ], [2022-11-03T20:54:42.250Z] "mtu": 1458, [2022-11-03T20:54:42.250Z] "selinux-enabled": true, [2022-11-03T20:54:42.250Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-03T20:54:42.250Z] } [Pipeline] sh [2022-11-03T20:54:42.587Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-03T20:54:42.915Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-03T20:55:01.183Z] provisioning config files... [2022-11-03T20:55:01.208Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/6@tmp/config2609499067653149910tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-03T20:55:01.555Z] ---> docker-login.sh [2022-11-03T20:55:01.556Z] nexus3.edgexfoundry.org:10001 [2022-11-03T20:55:02.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T20:55:02.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T20:55:02.146Z] Configure a credential helper to remove this warning. See [2022-11-03T20:55:02.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T20:55:02.146Z] [2022-11-03T20:55:02.146Z] Login Succeeded [2022-11-03T20:55:02.146Z] nexus3.edgexfoundry.org:10002 [2022-11-03T20:55:02.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T20:55:02.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T20:55:02.416Z] Configure a credential helper to remove this warning. See [2022-11-03T20:55:02.416Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T20:55:02.416Z] [2022-11-03T20:55:02.416Z] Login Succeeded [2022-11-03T20:55:02.416Z] nexus3.edgexfoundry.org:10003 [2022-11-03T20:55:02.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T20:55:02.955Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T20:55:02.955Z] Configure a credential helper to remove this warning. See [2022-11-03T20:55:02.955Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T20:55:02.955Z] [2022-11-03T20:55:02.955Z] Login Succeeded [2022-11-03T20:55:02.955Z] nexus3.edgexfoundry.org:10004 [2022-11-03T20:55:03.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T20:55:03.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T20:55:03.224Z] Configure a credential helper to remove this warning. See [2022-11-03T20:55:03.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T20:55:03.224Z] [2022-11-03T20:55:03.224Z] Login Succeeded [2022-11-03T20:55:03.224Z] docker.io [2022-11-03T20:55:03.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T20:55:03.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T20:55:03.764Z] Configure a credential helper to remove this warning. See [2022-11-03T20:55:03.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T20:55:03.764Z] [2022-11-03T20:55:03.764Z] Login Succeeded [2022-11-03T20:55:03.764Z] ---> docker-login.sh ends [Pipeline] } [2022-11-03T20:55:03.777Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-03T20:55:03.915Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-03T20:55:03.925Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-03T20:55:03.932Z] ========================================================= [2022-11-03T20:55:03.932Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-03T20:55:03.932Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T20:55:04.264Z] + 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 . [2022-11-03T20:55:04.541Z] Sending build context to Docker daemon 3.252MB [2022-11-03T20:55:04.541Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-11-03T20:55:04.541Z] Step 2/10 : FROM ${BASE} AS builder [2022-11-03T20:55:04.810Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-03T20:55:04.810Z] 9b18e9b68314: Pulling fs layer [2022-11-03T20:55:04.810Z] 35d82f9e3411: Pulling fs layer [2022-11-03T20:55:04.810Z] e16973657156: Pulling fs layer [2022-11-03T20:55:04.810Z] fc693d55d65f: Pulling fs layer [2022-11-03T20:55:04.810Z] 7e9fc2657dce: Pulling fs layer [2022-11-03T20:55:04.810Z] dda99020689f: Pulling fs layer [2022-11-03T20:55:04.810Z] db1c61fa0a46: Pulling fs layer [2022-11-03T20:55:04.810Z] 891c053d2c06: Pulling fs layer [2022-11-03T20:55:04.810Z] dda99020689f: Waiting [2022-11-03T20:55:04.810Z] db1c61fa0a46: Waiting [2022-11-03T20:55:04.810Z] 891c053d2c06: Waiting [2022-11-03T20:55:04.810Z] fc693d55d65f: Waiting [2022-11-03T20:55:04.810Z] 7e9fc2657dce: Waiting [2022-11-03T20:55:04.810Z] e16973657156: Verifying Checksum [2022-11-03T20:55:04.810Z] e16973657156: Download complete [2022-11-03T20:55:04.810Z] 35d82f9e3411: Download complete [2022-11-03T20:55:04.810Z] 7e9fc2657dce: Download complete [2022-11-03T20:55:04.810Z] dda99020689f: Verifying Checksum [2022-11-03T20:55:04.810Z] dda99020689f: Download complete [2022-11-03T20:55:04.810Z] 9b18e9b68314: Verifying Checksum [2022-11-03T20:55:04.810Z] 9b18e9b68314: Download complete [2022-11-03T20:55:05.782Z] 9b18e9b68314: Pull complete [2022-11-03T20:55:05.782Z] 891c053d2c06: Verifying Checksum [2022-11-03T20:55:05.782Z] 891c053d2c06: Download complete [2022-11-03T20:55:06.073Z] 35d82f9e3411: Pull complete [2022-11-03T20:55:06.344Z] e16973657156: Pull complete [2022-11-03T20:55:07.330Z] db1c61fa0a46: Verifying Checksum [2022-11-03T20:55:07.330Z] db1c61fa0a46: Download complete [2022-11-03T20:55:07.598Z] fc693d55d65f: Verifying Checksum [2022-11-03T20:55:07.598Z] fc693d55d65f: Download complete [2022-11-03T20:55:19.923Z] fc693d55d65f: Pull complete [2022-11-03T20:55:19.923Z] 7e9fc2657dce: Pull complete [2022-11-03T20:55:19.923Z] dda99020689f: Pull complete [2022-11-03T20:55:26.589Z] db1c61fa0a46: Pull complete [2022-11-03T20:55:28.020Z] 891c053d2c06: Pull complete [2022-11-03T20:55:28.020Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-03T20:55:28.020Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-03T20:55:28.020Z] ---> f96f9c87975a [2022-11-03T20:55:28.020Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2022-11-03T20:55:29.979Z] ---> Running in d296ab4e4db1 [2022-11-03T20:55:30.247Z] Removing intermediate container d296ab4e4db1 [2022-11-03T20:55:30.247Z] ---> ef496e673319 [2022-11-03T20:55:30.247Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-03T20:55:30.247Z] ---> Running in 33f62be1006a [2022-11-03T20:55:30.522Z] Removing intermediate container 33f62be1006a [2022-11-03T20:55:30.522Z] ---> b19a620351b3 [2022-11-03T20:55:30.522Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-11-03T20:55:30.522Z] ---> Running in 77306923aa78 [2022-11-03T20:55:31.945Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-03T20:55:31.945Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-03T20:55:32.908Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-11-03T20:55:32.908Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-11-03T20:55:32.908Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-11-03T20:55:33.176Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-11-03T20:55:33.176Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-11-03T20:55:33.176Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-11-03T20:55:33.176Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-11-03T20:55:33.176Z] (8/8) Installing openssh (9.0_p1-r2) [2022-11-03T20:55:33.176Z] Executing busybox-1.35.0-r17.trigger [2022-11-03T20:55:33.176Z] OK: 228 MiB in 59 packages [2022-11-03T20:55:34.148Z] Removing intermediate container 77306923aa78 [2022-11-03T20:55:34.148Z] ---> 7c6f6d026cc3 [2022-11-03T20:55:34.148Z] Step 6/10 : WORKDIR /device-modbus-go [2022-11-03T20:55:34.415Z] ---> Running in 7196f9fcab2c [2022-11-03T20:55:34.683Z] Removing intermediate container 7196f9fcab2c [2022-11-03T20:55:34.683Z] ---> 4f3873bc8205 [2022-11-03T20:55:34.683Z] Step 7/10 : COPY go.mod vendor* ./ [2022-11-03T20:55:34.955Z] ---> fa1675017fb7 [2022-11-03T20:55:34.955Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-03T20:55:35.222Z] ---> Running in 81642e4e516d [2022-11-03T20:56:31.649Z] Removing intermediate container 81642e4e516d [2022-11-03T20:56:31.649Z] ---> d9db6ecf5dd2 [2022-11-03T20:56:31.649Z] Step 9/10 : COPY . . [2022-11-03T20:56:31.649Z] ---> c6edc13450a0 [2022-11-03T20:56:31.649Z] Step 10/10 : RUN ${MAKE} [2022-11-03T20:56:31.649Z] ---> Running in c4a46d5e9a7b [2022-11-03T20:56:31.649Z] noop [2022-11-03T20:56:31.649Z] Removing intermediate container c4a46d5e9a7b [2022-11-03T20:56:31.649Z] ---> dd2dd6be3eb5 [2022-11-03T20:56:31.649Z] Successfully built dd2dd6be3eb5 [2022-11-03T20:56:31.650Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T20:56:31.995Z] + docker inspect -f . ci-base-image-arm64 [2022-11-03T20:56:31.996Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T20:56:32.174Z] prd-ubuntu20.04-docker-arm64-4c-16g-118155 does not seem to be running inside a container [2022-11-03T20:56:32.238Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/6 -v /w/workspace/device-modbus-go/6:/w/workspace/device-modbus-go/6:rw,z -v /w/workspace/device-modbus-go/6@tmp:/w/workspace/device-modbus-go/6@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 ******** ci-base-image-arm64 cat [2022-11-03T20:56:33.423Z] $ docker top 0b94be24b95c189089bf22a395912db46e971c41c86e5304fdb1067572482eb0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-03T20:56:34.246Z] + go version [2022-11-03T20:56:34.246Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-03T20:56:34.273Z] $ docker stop --time=1 0b94be24b95c189089bf22a395912db46e971c41c86e5304fdb1067572482eb0 [2022-11-03T20:56:35.878Z] $ docker rm -f 0b94be24b95c189089bf22a395912db46e971c41c86e5304fdb1067572482eb0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T20:56:36.378Z] + docker inspect -f . ci-base-image-arm64 [2022-11-03T20:56:36.378Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T20:56:36.557Z] prd-ubuntu20.04-docker-arm64-4c-16g-118155 does not seem to be running inside a container [2022-11-03T20:56:36.624Z] $ 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/6 -v /w/workspace/device-modbus-go/6:/w/workspace/device-modbus-go/6:rw,z -v /w/workspace/device-modbus-go/6@tmp:/w/workspace/device-modbus-go/6@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 ******** ci-base-image-arm64 cat [2022-11-03T20:56:37.728Z] $ docker top 6c88cbada8ef456754e83338bf7c06e8e66f2bac2bae70aee3353b8f48efb0a4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-03T20:56:38.208Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/6 [Pipeline] fileExists [Pipeline] sh [2022-11-03T20:56:38.534Z] + make test [2022-11-03T20:56:38.534Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-11-03T20:56:40.485Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-11-03T20:58:02.123Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-11-03T20:58:02.123Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.064s coverage: 47.7% of statements [2022-11-03T20:58:02.123Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-03T20:58:02.123Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-03T20:58:20.360Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-03T20:58:20.360Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-03T20:58:20.360Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-03T20:58:20.378Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-03T20:58:20.395Z] $ docker stop --time=1 6c88cbada8ef456754e83338bf7c06e8e66f2bac2bae70aee3353b8f48efb0a4 [2022-11-03T20:58:22.105Z] $ docker rm -f 6c88cbada8ef456754e83338bf7c06e8e66f2bac2bae70aee3353b8f48efb0a4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-03T20:58:22.990Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-03T20:58:23.005Z] Warning: overwriting stash ‘coverage-report’ [2022-11-03T20:58:23.388Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-03T20:58:23.756Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-03T20:58:24.074Z] + ls -al . [2022-11-03T20:58:24.074Z] total 192 [2022-11-03T20:58:24.074Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 3 20:56 . [2022-11-03T20:58:24.074Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 20:54 .. [2022-11-03T20:58:24.074Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 3 20:54 .dockerignore [2022-11-03T20:58:24.074Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 3 20:54 .git [2022-11-03T20:58:24.074Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 20:54 .github [2022-11-03T20:58:24.074Z] -rw-rw-r-- 1 jenkins jenkins 331 Nov 3 20:54 .gitignore [2022-11-03T20:58:24.074Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 3 20:54 .golangci.yml [2022-11-03T20:58:24.074Z] -rw-rw-r-- 1 jenkins jenkins 10121 Nov 3 20:54 Attribution.txt [2022-11-03T20:58:24.074Z] -rw-rw-r-- 1 jenkins jenkins 11576 Nov 3 20:54 CHANGELOG.md [2022-11-03T20:58:24.074Z] -rw-rw-r-- 1 jenkins jenkins 1428 Nov 3 20:54 Dockerfile [2022-11-03T20:58:24.074Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 3 20:54 GOVERNANCE.md [2022-11-03T20:58:24.074Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 3 20:54 Jenkinsfile [2022-11-03T20:58:24.074Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 3 20:54 LICENSE [2022-11-03T20:58:24.074Z] -rw-rw-r-- 1 jenkins jenkins 2101 Nov 3 20:54 Makefile [2022-11-03T20:58:24.074Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 3 20:54 OWNERS.md [2022-11-03T20:58:24.074Z] -rw-rw-r-- 1 jenkins jenkins 4061 Nov 3 20:54 README.md [2022-11-03T20:58:24.074Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 3 20:52 VERSION [2022-11-03T20:58:24.074Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 20:54 bin [2022-11-03T20:58:24.074Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 20:54 cmd [2022-11-03T20:58:24.074Z] -rw-r--r-- 1 jenkins jenkins 23241 Nov 3 20:57 coverage.out [2022-11-03T20:58:24.074Z] -rw-rw-r-- 1 jenkins jenkins 3632 Nov 3 20:54 go.mod [2022-11-03T20:58:24.074Z] -rw-rw-r-- 1 jenkins jenkins 45486 Nov 3 20:54 go.sum [2022-11-03T20:58:24.074Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 20:54 internal [2022-11-03T20:58:24.074Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 20:54 simulator [2022-11-03T20:58:24.074Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 20:54 snap [2022-11-03T20:58:24.074Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 3 20:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T20:58:24.409Z] + 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=20faf77341d833bc8a60dc3a81cef820b11b5559 --label arch=arm64 --label version=0.0.0 . [2022-11-03T20:58:24.677Z] Sending build context to Docker daemon 3.276MB [2022-11-03T20:58:24.677Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2022-11-03T20:58:24.677Z] Step 2/22 : FROM ${BASE} AS builder [2022-11-03T20:58:24.677Z] ---> dd2dd6be3eb5 [2022-11-03T20:58:24.677Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2022-11-03T20:58:24.944Z] ---> Running in ebe022b4af18 [2022-11-03T20:58:25.210Z] Removing intermediate container ebe022b4af18 [2022-11-03T20:58:25.210Z] ---> 91f1754af3f1 [2022-11-03T20:58:25.210Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-03T20:58:25.210Z] ---> Running in b9aa07433303 [2022-11-03T20:58:25.482Z] Removing intermediate container b9aa07433303 [2022-11-03T20:58:25.482Z] ---> c63a363f2cec [2022-11-03T20:58:25.482Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-11-03T20:58:25.482Z] ---> Running in 55b397bc6e42 [2022-11-03T20:58:26.446Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-03T20:58:27.024Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-03T20:58:27.978Z] OK: 228 MiB in 59 packages [2022-11-03T20:58:28.563Z] Removing intermediate container 55b397bc6e42 [2022-11-03T20:58:28.563Z] ---> 9e129caa99f3 [2022-11-03T20:58:28.563Z] Step 6/22 : WORKDIR /device-modbus-go [2022-11-03T20:58:28.563Z] ---> Running in 8648027f96db [2022-11-03T20:58:28.830Z] Removing intermediate container 8648027f96db [2022-11-03T20:58:28.830Z] ---> c216d09c0427 [2022-11-03T20:58:28.830Z] Step 7/22 : COPY go.mod vendor* ./ [2022-11-03T20:58:29.413Z] ---> 32b2a252aca2 [2022-11-03T20:58:29.413Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-03T20:58:29.413Z] ---> Running in 960f8dab1ea5 [2022-11-03T20:58:31.363Z] Removing intermediate container 960f8dab1ea5 [2022-11-03T20:58:31.363Z] ---> a1bb1065213f [2022-11-03T20:58:31.363Z] Step 9/22 : COPY . . [2022-11-03T20:58:31.952Z] ---> 6dcc68773bee [2022-11-03T20:58:31.952Z] Step 10/22 : RUN ${MAKE} [2022-11-03T20:58:32.219Z] ---> Running in 335675903af6 [2022-11-03T20:58:33.200Z] 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 [2022-11-03T21:01:10.139Z] Removing intermediate container 335675903af6 [2022-11-03T21:01:10.139Z] ---> 90599fdcde95 [2022-11-03T21:01:10.139Z] Step 11/22 : FROM alpine:3.14 [2022-11-03T21:01:10.139Z] 3.14: Pulling from library/alpine [2022-11-03T21:01:10.139Z] 90cda3b7c325: Pulling fs layer [2022-11-03T21:01:10.139Z] 90cda3b7c325: Verifying Checksum [2022-11-03T21:01:10.139Z] 90cda3b7c325: Download complete [2022-11-03T21:01:10.139Z] 90cda3b7c325: Pull complete [2022-11-03T21:01:10.139Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-11-03T21:01:10.139Z] Status: Downloaded newer image for alpine:3.14 [2022-11-03T21:01:10.139Z] ---> 376ba31ae3da [2022-11-03T21:01:10.139Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-11-03T21:01:10.139Z] ---> Running in f641dbcd7568 [2022-11-03T21:01:10.139Z] Removing intermediate container f641dbcd7568 [2022-11-03T21:01:10.139Z] ---> 2182293fc015 [2022-11-03T21:01:10.139Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-03T21:01:10.139Z] ---> Running in e3d2203655fa [2022-11-03T21:01:10.139Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-11-03T21:01:10.139Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-11-03T21:01:10.139Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-03T21:01:10.139Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-11-03T21:01:10.139Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-03T21:01:10.139Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-11-03T21:01:10.139Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-03T21:01:10.139Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-03T21:01:10.139Z] Executing busybox-1.33.1-r8.trigger [2022-11-03T21:01:10.139Z] OK: 8 MiB in 20 packages [2022-11-03T21:01:10.139Z] Removing intermediate container e3d2203655fa [2022-11-03T21:01:10.139Z] ---> 7e9fc4c2b228 [2022-11-03T21:01:10.139Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2022-11-03T21:01:10.139Z] ---> 859284db0217 [2022-11-03T21:01:10.139Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2022-11-03T21:01:10.139Z] ---> e3c3bec5e1de [2022-11-03T21:01:10.139Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-11-03T21:01:10.139Z] ---> 6067fdd04f0e [2022-11-03T21:01:10.139Z] Step 17/22 : EXPOSE 59901 [2022-11-03T21:01:10.139Z] ---> Running in 4479ace635a1 [2022-11-03T21:01:10.139Z] Removing intermediate container 4479ace635a1 [2022-11-03T21:01:10.139Z] ---> 7a11946f229a [2022-11-03T21:01:10.139Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2022-11-03T21:01:10.139Z] ---> Running in dfc915d503a7 [2022-11-03T21:01:10.139Z] Removing intermediate container dfc915d503a7 [2022-11-03T21:01:10.139Z] ---> 17a4c0da81b0 [2022-11-03T21:01:10.139Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-03T21:01:10.139Z] ---> Running in 1934a7a22d15 [2022-11-03T21:01:10.139Z] Removing intermediate container 1934a7a22d15 [2022-11-03T21:01:10.139Z] ---> 32d43cc91c3c [2022-11-03T21:01:10.139Z] Step 20/22 : LABEL arch=arm64 [2022-11-03T21:01:10.139Z] ---> Running in c6d6a780d587 [2022-11-03T21:01:10.139Z] Removing intermediate container c6d6a780d587 [2022-11-03T21:01:10.139Z] ---> 586693d78c04 [2022-11-03T21:01:10.139Z] Step 21/22 : LABEL git_sha=20faf77341d833bc8a60dc3a81cef820b11b5559 [2022-11-03T21:01:10.139Z] ---> Running in 8ef66d584eb2 [2022-11-03T21:01:10.139Z] Removing intermediate container 8ef66d584eb2 [2022-11-03T21:01:10.139Z] ---> 905977370f02 [2022-11-03T21:01:10.139Z] Step 22/22 : LABEL version=0.0.0 [2022-11-03T21:01:10.139Z] ---> Running in c284a099ebcb [2022-11-03T21:01:10.139Z] Removing intermediate container c284a099ebcb [2022-11-03T21:01:10.139Z] ---> 014f9149b1f3 [2022-11-03T21:01:10.139Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-03T21:01:10.139Z] Successfully built 014f9149b1f3 [2022-11-03T21:01:10.139Z] 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 [2022-11-03T21:01:10.599Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-03T21:01:10.599Z] [2022-11-03T21:01:10.599Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T21:01:10.937Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-03T21:01:10.937Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-03T21:01:10.937Z] 8998bd30e6a1: Pulling fs layer [2022-11-03T21:01:10.937Z] 04944245beec: Pulling fs layer [2022-11-03T21:01:10.937Z] 699f458cf7ca: Pulling fs layer [2022-11-03T21:01:10.938Z] 765212b225bb: Pulling fs layer [2022-11-03T21:01:10.938Z] f23df028b6ca: Pulling fs layer [2022-11-03T21:01:10.938Z] d65c8cfc05b1: Pulling fs layer [2022-11-03T21:01:10.938Z] 2437ff75d9bd: Pulling fs layer [2022-11-03T21:01:10.938Z] 765212b225bb: Waiting [2022-11-03T21:01:10.938Z] f23df028b6ca: Waiting [2022-11-03T21:01:10.938Z] d65c8cfc05b1: Waiting [2022-11-03T21:01:10.938Z] 2437ff75d9bd: Waiting [2022-11-03T21:01:11.207Z] 04944245beec: Verifying Checksum [2022-11-03T21:01:11.207Z] 04944245beec: Download complete [2022-11-03T21:01:11.207Z] 765212b225bb: Verifying Checksum [2022-11-03T21:01:11.207Z] 765212b225bb: Download complete [2022-11-03T21:01:11.207Z] f23df028b6ca: Verifying Checksum [2022-11-03T21:01:11.207Z] f23df028b6ca: Download complete [2022-11-03T21:01:11.207Z] d65c8cfc05b1: Verifying Checksum [2022-11-03T21:01:11.207Z] d65c8cfc05b1: Download complete [2022-11-03T21:01:11.509Z] 699f458cf7ca: Verifying Checksum [2022-11-03T21:01:11.509Z] 699f458cf7ca: Download complete [2022-11-03T21:01:11.795Z] 8998bd30e6a1: Verifying Checksum [2022-11-03T21:01:11.795Z] 8998bd30e6a1: Download complete [2022-11-03T21:01:13.785Z] 2437ff75d9bd: Verifying Checksum [2022-11-03T21:01:13.785Z] 2437ff75d9bd: Download complete [2022-11-03T21:01:15.742Z] 8998bd30e6a1: Pull complete [2022-11-03T21:01:16.334Z] 04944245beec: Pull complete [2022-11-03T21:01:17.751Z] 699f458cf7ca: Pull complete [2022-11-03T21:01:17.751Z] 765212b225bb: Pull complete [2022-11-03T21:01:18.717Z] f23df028b6ca: Pull complete [2022-11-03T21:01:18.718Z] d65c8cfc05b1: Pull complete [2022-11-03T21:01:33.705Z] 2437ff75d9bd: Pull complete [2022-11-03T21:01:33.705Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-03T21:01:33.705Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-03T21:01:33.705Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T21:01:33.890Z] prd-ubuntu20.04-docker-arm64-4c-16g-118155 does not seem to be running inside a container [2022-11-03T21:01:33.955Z] $ 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/6 -v /w/workspace/device-modbus-go/6:/w/workspace/device-modbus-go/6:rw,z -v /w/workspace/device-modbus-go/6@tmp:/w/workspace/device-modbus-go/6@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:arm64 cat [2022-11-03T21:01:36.440Z] $ docker top 7945925d2047cebc5e94b77efac09ace026ec0c534ef2a985d39e41f3621c5ca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-03T21:01:37.281Z] ---> job-cost.sh [2022-11-03T21:01:37.281Z] lf-activate-venv: SKIPPING [2022-11-03T21:01:37.281Z] INFO: No Stack... [2022-11-03T21:01:37.860Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-03T21:01:38.440Z] INFO: Archiving Costs [Pipeline] sh [2022-11-03T21:01:38.760Z] + cut -d, -f6 [2022-11-03T21:01:38.760Z] + cat /w/workspace/device-modbus-go/6/archives/cost.csv [Pipeline] lock [2022-11-03T21:01:39.082Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-385-6-stack-cost] [2022-11-03T21:01:39.089Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-385-6-stack-cost] did not exist. Created. [2022-11-03T21:01:39.089Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-385-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-03T21:01:39.424Z] /w/workspace/device-modbus-go/6@tmp/durable-261f4afc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-03T21:01:40.071Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-03T21:01:40.085Z] Warning: overwriting stash ‘stack-cost’ [2022-11-03T21:01:40.126Z] Stashed 1 file(s) [Pipeline] } [2022-11-03T21:01:40.132Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-385-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-03T21:01:40.155Z] $ docker stop --time=1 7945925d2047cebc5e94b77efac09ace026ec0c534ef2a985d39e41f3621c5ca [2022-11-03T21:01:41.644Z] $ docker rm -f 7945925d2047cebc5e94b77efac09ace026ec0c534ef2a985d39e41f3621c5ca [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 [2022-11-03T21:01:42.005Z] provisioning config files... [2022-11-03T21:01:42.013Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config15117709268169366019tmp [Pipeline] { [Pipeline] sh [2022-11-03T21:01:42.298Z] + set +x [2022-11-03T21:01:42.298Z] + curl -s https://codecov.io/bash [2022-11-03T21:01:42.298Z] + bash -s -- [2022-11-03T21:01:42.298Z] [2022-11-03T21:01:42.298Z] _____ _ [2022-11-03T21:01:42.298Z] / ____| | | [2022-11-03T21:01:42.298Z] | | ___ __| | ___ ___ _____ __ [2022-11-03T21:01:42.298Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-03T21:01:42.298Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-03T21:01:42.298Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-03T21:01:42.298Z] Bash-1.0.6 [2022-11-03T21:01:42.298Z] [2022-11-03T21:01:42.298Z] [2022-11-03T21:01:42.298Z] ==> git version 2.25.1 found [2022-11-03T21:01:42.298Z] ==> 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 [2022-11-03T21:01:42.298Z] Release-Date: 2020-01-08 [2022-11-03T21:01:42.298Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-11-03T21:01:42.298Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-03T21:01:42.298Z] ==> Jenkins CI detected. [2022-11-03T21:01:42.298Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-385 [2022-11-03T21:01:42.298Z] project root: . [2022-11-03T21:01:42.298Z] --> token set from env [2022-11-03T21:01:42.298Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-03T21:01:42.298Z] ==> Running gcov in . (disable via -X gcov) [2022-11-03T21:01:42.298Z] ==> Python coveragepy not found [2022-11-03T21:01:42.298Z] ==> Searching for coverage reports in: [2022-11-03T21:01:42.298Z] + . [2022-11-03T21:01:42.298Z] -> Found 1 reports [2022-11-03T21:01:42.298Z] ==> Detecting git/mercurial file structure [2022-11-03T21:01:42.298Z] ==> Reading reports [2022-11-03T21:01:42.298Z] + ./coverage.out bytes=23241 [2022-11-03T21:01:42.298Z] ==> Appending adjustments [2022-11-03T21:01:42.298Z] https://docs.codecov.io/docs/fixing-reports [2022-11-03T21:01:42.557Z] + Found adjustments [2022-11-03T21:01:42.557Z] ==> Gzipping contents [2022-11-03T21:01:42.558Z] 4.0K /tmp/codecov.vadsBm.gz [2022-11-03T21:01:42.558Z] ==> Uploading reports [2022-11-03T21:01:42.558Z] url: https://codecov.io [2022-11-03T21:01:42.558Z] query: branch=PR-385&commit=72ab01b7228fed9c42ec2754587b0b39743cc893&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-385%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=385&job=&cmd_args= [2022-11-03T21:01:42.558Z] -> Pinging Codecov [2022-11-03T21:01:42.558Z] 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=72ab01b7228fed9c42ec2754587b0b39743cc893&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-385%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=385&job=&cmd_args= [2022-11-03T21:01:42.816Z] -> Uploading to [2022-11-03T21:01:42.816Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-03/55DBCA73C666E3227836607328DD7E49/72ab01b7228fed9c42ec2754587b0b39743cc893/2780bba5-d305-4597-ab47-15555723a6b1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221103%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221103T210142Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d6c6aec342385d6f6be357039c1c86baaea28e4d5dc07ac2d39e7f29968af7dd [2022-11-03T21:01:42.816Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-03T21:01:42.816Z] Dload Upload Total Spent Left Speed [2022-11-03T21:01:43.075Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3923 0 0 100 3923 0 16693 --:--:-- --:--:-- --:--:-- 16693 [2022-11-03T21:01:43.075Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/72ab01b7228fed9c42ec2754587b0b39743cc893 [Pipeline] } [2022-11-03T21:01:43.082Z] 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 [2022-11-03T21:01:43.775Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-385/archives ] [2022-11-03T21:01:43.775Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-385/archives [2022-11-03T21:01:43.775Z] total 16 [2022-11-03T21:01:43.775Z] drwxr-xr-x 3 root root 4096 Nov 3 20:54 . [2022-11-03T21:01:43.775Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 3 20:54 .. [2022-11-03T21:01:43.775Z] drwxr-xr-x 2 root root 4096 Nov 3 20:54 cost [2022-11-03T21:01:43.775Z] -rw-r--r-- 1 root root 88 Nov 3 20:54 cost.csv [2022-11-03T21:01:43.775Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-385/archives [2022-11-03T21:01:43.775Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-385/archives [2022-11-03T21:01:43.775Z] total 16 [2022-11-03T21:01:43.775Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 3 20:54 . [2022-11-03T21:01:43.775Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 3 20:54 .. [2022-11-03T21:01:43.775Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 3 20:54 cost [2022-11-03T21:01:43.775Z] -rw-r--r-- 1 jenkins jenkins 88 Nov 3 20:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-03T21:01:44.066Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T21:01:44.925Z] ---> package-listing.sh [2022-11-03T21:01:44.925Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-03T21:01:44.925Z] ++ facter osfamily [2022-11-03T21:01:45.184Z] + OS_FAMILY=debian [2022-11-03T21:01:45.184Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-385 [2022-11-03T21:01:45.184Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-03T21:01:45.184Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-03T21:01:45.184Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-03T21:01:45.184Z] + PACKAGES=/tmp/packages_start.txt [2022-11-03T21:01:45.184Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-385 ']' [2022-11-03T21:01:45.184Z] + PACKAGES=/tmp/packages_end.txt [2022-11-03T21:01:45.184Z] + case "${OS_FAMILY}" in [2022-11-03T21:01:45.184Z] + dpkg -l [2022-11-03T21:01:45.184Z] + grep '^ii' [2022-11-03T21:01:45.184Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-03T21:01:45.184Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-03T21:01:45.184Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-03T21:01:45.184Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-385 ']' [2022-11-03T21:01:45.184Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-385/archives/ [2022-11-03T21:01:45.184Z] + 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 [2022-11-03T21:01:45.194Z] 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 [2022-11-03T21:01:45.470Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T21:01:46.026Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-03T21:01:46.026Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T21:01:46.092Z] prd-ubuntu20.04-docker-8c-8g-118154 does not seem to be running inside a container [2022-11-03T21:01:46.134Z] $ 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 [2022-11-03T21:01:46.419Z] $ docker top 5b2affb1e1e130039be1216fc92a90872948629d0e5764dc669e5d30408dc185 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-03T21:01:46.751Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-03T21:01:47.036Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-03T21:01:47.319Z] + ls /var/log/sa-host [2022-11-03T21:01:47.319Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-03T21:01:47.455Z] provisioning config files... [2022-11-03T21:01:47.464Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config8144401523205595710tmp [Pipeline] { [Pipeline] echo [2022-11-03T21:01:47.477Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T21:01:47.757Z] ---> create-netrc.sh [Pipeline] } [2022-11-03T21:01:47.764Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-03T21:01:48.096Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-03T21:01:48.104Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T21:01:48.387Z] ---> sudo-logs.sh [2022-11-03T21:01:48.387Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-03T21:01:48.413Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T21:01:48.693Z] ---> job-cost.sh [2022-11-03T21:01:48.693Z] lf-activate-venv: SKIPPING [2022-11-03T21:01:48.693Z] DEBUG: total: 0.2199999988079071 [2022-11-03T21:01:48.693Z] INFO: Retrieving Stack Cost... [2022-11-03T21:01:48.952Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-03T21:01:49.520Z] INFO: Archiving Costs [Pipeline] echo [2022-11-03T21:01:49.530Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T21:01:49.810Z] ---> logs-deploy.sh [2022-11-03T21:01:49.810Z] lf-activate-venv: SKIPPING [2022-11-03T21:01:49.810Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-385/6 [2022-11-03T21:01:49.810Z] INFO: archiving workspace using pattern(s): [2022-11-03T21:01:50.749Z] Archives upload complete. [2022-11-03T21:01:50.749Z] INFO: archiving logs to Nexus