Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b03dabf38b63f24493184e5a8112871062c4142f+fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc (892b4102345da8861df5844669cb87dc96f1ae67) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4936429578438105862.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh9321036199471810728.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-385/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-385/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6171360563712161026.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7044301625682736565.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-385/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-385/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14782383499237889815.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-116989 in /w/workspace/xfoundry_device-modbus-go_PR-385 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-385 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/385/head:refs/remotes/origin/PR-385 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc into PR head commit b03dabf38b63f24493184e5a8112871062c4142f Merge succeeded, producing d3ef238f9a45dc53718d6f1d0613cb60ca9d1225 Checking out Revision d3ef238f9a45dc53718d6f1d0613cb60ca9d1225 (PR-385) > git config core.sparsecheckout # timeout=10 > git checkout -f b03dabf38b63f24493184e5a8112871062c4142f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d3ef238f9a45dc53718d6f1d0613cb60ca9d1225 # timeout=10 Commit message: "Merge commit 'fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 93b59d13014c41a7c299f1b1afe91649b2914cf4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-25T20:53:14.331Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-25T20:53:14.389Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-25T20:53:14.406Z] ========================================================= [2022-10-25T20:53:14.406Z] EdgeX Global Pipelines Version Info [2022-10-25T20:53:14.406Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-25T20:53:15.099Z] ------------------- [2022-10-25T20:53:15.099Z] stable info: [2022-10-25T20:53:15.099Z] ------------------- [2022-10-25T20:53:15.099Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-25T20:53:15.099Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T20:53:15.099Z] Message: update stable to v1.0.243 [2022-10-25T20:53:15.668Z] ------------------- [2022-10-25T20:53:15.668Z] experimental info: [2022-10-25T20:53:15.668Z] ------------------- [2022-10-25T20:53:15.668Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-25T20:53:15.668Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T20:53:15.668Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-25T20:53:15.832Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-10-25T20:53:15.846Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-10-25T20:53:15.860Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-25T20:53:15.873Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-25T20:53:15.887Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-25T20:53:15.896Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-25T20:53:15.904Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-25T20:53:15.912Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-25T20:53:15.929Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-25T20:53:15.939Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-25T20:53:15.950Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-25T20:53:15.963Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-10-25T20:53:15.976Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-25T20:53:15.987Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-25T20:53:15.998Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-25T20:53:16.010Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-25T20:53:16.023Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T20:53:16.034Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T20:53:16.046Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-25T20:53:16.058Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-25T20:53:16.066Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-25T20:53:16.075Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-25T20:53:16.083Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-25T20:53:16.092Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-25T20:53:16.100Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-25T20:53:16.109Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-25T20:53:16.117Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-25T20:53:16.127Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-385 [Pipeline] echo [2022-10-25T20:53:16.138Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-385 [Pipeline] echo [2022-10-25T20:53:16.150Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-385 [Pipeline] echo [2022-10-25T20:53:16.161Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d3ef238f9a45dc53718d6f1d0613cb60ca9d1225 [Pipeline] echo [2022-10-25T20:53:16.175Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d3ef238 [Pipeline] echo [2022-10-25T20:53:16.185Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T20:53:16.223Z] provisioning config files... [2022-10-25T20:53:16.237Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config3357901331215130548tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T20:53:16.534Z] ---> docker-login.sh [2022-10-25T20:53:16.534Z] nexus3.edgexfoundry.org:10001 [2022-10-25T20:53:16.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T20:53:16.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T20:53:16.794Z] Configure a credential helper to remove this warning. See [2022-10-25T20:53:16.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T20:53:16.794Z] [2022-10-25T20:53:16.794Z] Login Succeeded [2022-10-25T20:53:16.794Z] nexus3.edgexfoundry.org:10002 [2022-10-25T20:53:16.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T20:53:16.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T20:53:16.794Z] Configure a credential helper to remove this warning. See [2022-10-25T20:53:16.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T20:53:16.794Z] [2022-10-25T20:53:16.794Z] Login Succeeded [2022-10-25T20:53:16.794Z] nexus3.edgexfoundry.org:10003 [2022-10-25T20:53:17.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T20:53:17.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T20:53:17.054Z] Configure a credential helper to remove this warning. See [2022-10-25T20:53:17.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T20:53:17.054Z] [2022-10-25T20:53:17.054Z] Login Succeeded [2022-10-25T20:53:17.054Z] nexus3.edgexfoundry.org:10004 [2022-10-25T20:53:17.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T20:53:17.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T20:53:17.054Z] Configure a credential helper to remove this warning. See [2022-10-25T20:53:17.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T20:53:17.054Z] [2022-10-25T20:53:17.054Z] Login Succeeded [2022-10-25T20:53:17.054Z] docker.io [2022-10-25T20:53:17.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T20:53:17.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T20:53:17.626Z] Configure a credential helper to remove this warning. See [2022-10-25T20:53:17.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T20:53:17.626Z] [2022-10-25T20:53:17.626Z] Login Succeeded [2022-10-25T20:53:17.626Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T20:53:17.634Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-25T20:53:18.067Z] + git rev-list -1 --merges d3ef238f9a45dc53718d6f1d0613cb60ca9d1225~1..d3ef238f9a45dc53718d6f1d0613cb60ca9d1225 [Pipeline] echo [2022-10-25T20:53:18.094Z] -----------> git rev-list -1 --merges d3ef238f9a45dc53718d6f1d0613cb60ca9d1225~1..d3ef238f9a45dc53718d6f1d0613cb60ca9d1225 d3ef238f9a45dc53718d6f1d0613cb60ca9d1225 [2022-10-25T20:53:18.094Z] d3ef238f9a45dc53718d6f1d0613cb60ca9d1225 [false] [Pipeline] sh [2022-10-25T20:53:18.378Z] + git log --format=format:%s -1 d3ef238f9a45dc53718d6f1d0613cb60ca9d1225 [Pipeline] echo [2022-10-25T20:53:18.394Z] ========================================================= [2022-10-25T20:53:18.394Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-25T20:53:18.394Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T20:53:18.716Z] + git log --format=format:%s -1 d3ef238f9a45dc53718d6f1d0613cb60ca9d1225 [Pipeline] echo [2022-10-25T20:53:18.727Z] [semverPrep] GIT_COMMIT: d3ef238f9a45dc53718d6f1d0613cb60ca9d1225, Commit Message: Merge commit 'fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc' into HEAD [Pipeline] echo [2022-10-25T20:53:18.736Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-25T20:53:19.077Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-25T20:53:19.077Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-25T20:53:19.077Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-25T20:53:19.077Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-25T20:53:19.077Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-25T20:53:19.077Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-25T20:53:19.077Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T20:53:19.445Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T20:53:19.445Z] [2022-10-25T20:53:19.445Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T20:53:19.755Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T20:53:19.755Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-25T20:53:19.755Z] b85a868b505f: Pulling fs layer [2022-10-25T20:53:19.755Z] e2be974225ed: Pulling fs layer [2022-10-25T20:53:19.755Z] 339a4e72a1f5: Pulling fs layer [2022-10-25T20:53:19.755Z] 988bab9f4d93: Pulling fs layer [2022-10-25T20:53:19.755Z] 1469e6f7b9e6: Pulling fs layer [2022-10-25T20:53:19.755Z] eaf3925da568: Pulling fs layer [2022-10-25T20:53:19.755Z] bab4dde63d76: Pulling fs layer [2022-10-25T20:53:19.755Z] bde34c3a00c8: Pulling fs layer [2022-10-25T20:53:19.755Z] b352a97aabf1: Pulling fs layer [2022-10-25T20:53:19.755Z] 4872d77fe225: Pulling fs layer [2022-10-25T20:53:19.755Z] 5851b861e8e6: Pulling fs layer [2022-10-25T20:53:19.755Z] 1469e6f7b9e6: Waiting [2022-10-25T20:53:19.755Z] bab4dde63d76: Waiting [2022-10-25T20:53:19.755Z] eaf3925da568: Waiting [2022-10-25T20:53:19.755Z] 988bab9f4d93: Waiting [2022-10-25T20:53:19.755Z] bde34c3a00c8: Waiting [2022-10-25T20:53:19.755Z] 4872d77fe225: Waiting [2022-10-25T20:53:19.755Z] b352a97aabf1: Waiting [2022-10-25T20:53:19.755Z] 5851b861e8e6: Waiting [2022-10-25T20:53:19.755Z] e2be974225ed: Download complete [2022-10-25T20:53:19.755Z] 988bab9f4d93: Download complete [2022-10-25T20:53:20.015Z] 1469e6f7b9e6: Verifying Checksum [2022-10-25T20:53:20.015Z] 1469e6f7b9e6: Download complete [2022-10-25T20:53:20.015Z] eaf3925da568: Download complete [2022-10-25T20:53:20.015Z] 339a4e72a1f5: Verifying Checksum [2022-10-25T20:53:20.015Z] 339a4e72a1f5: Download complete [2022-10-25T20:53:20.015Z] bde34c3a00c8: Verifying Checksum [2022-10-25T20:53:20.015Z] bde34c3a00c8: Download complete [2022-10-25T20:53:20.015Z] b352a97aabf1: Download complete [2022-10-25T20:53:20.015Z] 4872d77fe225: Verifying Checksum [2022-10-25T20:53:20.015Z] 4872d77fe225: Download complete [2022-10-25T20:53:20.015Z] b85a868b505f: Verifying Checksum [2022-10-25T20:53:20.015Z] b85a868b505f: Download complete [2022-10-25T20:53:20.275Z] bab4dde63d76: Verifying Checksum [2022-10-25T20:53:20.275Z] bab4dde63d76: Download complete [2022-10-25T20:53:21.209Z] b85a868b505f: Pull complete [2022-10-25T20:53:21.467Z] e2be974225ed: Pull complete [2022-10-25T20:53:22.034Z] 339a4e72a1f5: Pull complete [2022-10-25T20:53:22.034Z] 988bab9f4d93: Pull complete [2022-10-25T20:53:22.294Z] 1469e6f7b9e6: Pull complete [2022-10-25T20:53:22.294Z] eaf3925da568: Pull complete [2022-10-25T20:53:24.195Z] bab4dde63d76: Pull complete [2022-10-25T20:53:24.195Z] bde34c3a00c8: Pull complete [2022-10-25T20:53:24.195Z] b352a97aabf1: Pull complete [2022-10-25T20:53:24.454Z] 4872d77fe225: Pull complete [2022-10-25T20:53:24.454Z] 5851b861e8e6: Pull complete [2022-10-25T20:53:24.454Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-25T20:53:24.454Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T20:53:24.454Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T20:53:24.554Z] prd-ubuntu20.04-docker-8c-8g-116989 does not seem to be running inside a container [2022-10-25T20:53:24.571Z] $ 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-10-25T20:53:27.217Z] $ docker top 1732f8f0184f6cab2a9f04b50040bf5c49c90da9fb155b34477fbd00ac5e58b3 -eo pid,comm [2022-10-25T20:53:27.295Z] 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-10-25T20:53:27.295Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-25T20:53:27.331Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T20:53:27.331Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T20:53:27.460Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T20:53:27.451Z] $ docker exec 1732f8f0184f6cab2a9f04b50040bf5c49c90da9fb155b34477fbd00ac5e58b3 ssh-agent [2022-10-25T20:53:27.570Z] SSH_AUTH_SOCK=/tmp/ssh-BHYJoIh7lJHD/agent.33 [2022-10-25T20:53:27.570Z] SSH_AGENT_PID=39 [2022-10-25T20:53:27.576Z] Running ssh-add (command line suppressed) [2022-10-25T20:53:27.665Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_6477992603433683825.key (/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_6477992603433683825.key) [2022-10-25T20:53:27.692Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T20:53:27.978Z] + git tag --points-at HEAD [Pipeline] } [2022-10-25T20:53:27.994Z] $ docker exec --env ******** --env ******** 1732f8f0184f6cab2a9f04b50040bf5c49c90da9fb155b34477fbd00ac5e58b3 ssh-agent -k [2022-10-25T20:53:28.089Z] unset SSH_AUTH_SOCK; [2022-10-25T20:53:28.089Z] unset SSH_AGENT_PID; [2022-10-25T20:53:28.089Z] echo Agent pid 39 killed; [2022-10-25T20:53:28.109Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-25T20:53:28.138Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T20:53:28.138Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T20:53:28.252Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T20:53:28.244Z] $ docker exec 1732f8f0184f6cab2a9f04b50040bf5c49c90da9fb155b34477fbd00ac5e58b3 ssh-agent [2022-10-25T20:53:28.351Z] SSH_AUTH_SOCK=/tmp/ssh-b1O17PtpCqch/agent.71 [2022-10-25T20:53:28.351Z] SSH_AGENT_PID=77 [2022-10-25T20:53:28.357Z] Running ssh-add (command line suppressed) [2022-10-25T20:53:28.448Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_7992413655137825298.key (/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_7992413655137825298.key) [2022-10-25T20:53:28.473Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T20:53:28.761Z] + git semver init [2022-10-25T20:53:29.021Z] 2022-10-25 20:53:28,936 [run_init] DEBUG init version:0.0.0 force:False [2022-10-25T20:53:29.021Z] 2022-10-25 20:53:28,937 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-385/.semver [2022-10-25T20:53:29.021Z] 2022-10-25 20:53:28,938 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-385/.semver [2022-10-25T20:53:29.021Z] 2022-10-25 20:53:28,938 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-385/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-385, universal_newlines=False, shell=None, istream=None) [2022-10-25T20:53:29.959Z] 2022-10-25 20:53:29,890 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-385/.git/info/exclude [2022-10-25T20:53:29.959Z] 2022-10-25 20:53:29,891 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-385/.semver/PR-385 with force:False [2022-10-25T20:53:29.959Z] 2022-10-25 20:53:29,891 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-385/.semver/PR-385 [2022-10-25T20:53:29.959Z] 2022-10-25 20:53:29,895 [execute] INFO git cat-file --batch-check [2022-10-25T20:53:29.959Z] 2022-10-25 20:53:29,896 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-385/.semver, universal_newlines=False, shell=None, istream=) [2022-10-25T20:53:29.959Z] 2022-10-25 20:53:29,902 [execute] INFO git cat-file --batch [2022-10-25T20:53:29.959Z] 2022-10-25 20:53:29,902 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-385/.semver, universal_newlines=False, shell=None, istream=) [2022-10-25T20:53:29.959Z] 2022-10-25 20:53:29,907 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-385/.semver/PR-385 [2022-10-25T20:53:29.959Z] 0.0.0 [Pipeline] } [2022-10-25T20:53:29.960Z] $ docker exec --env ******** --env ******** 1732f8f0184f6cab2a9f04b50040bf5c49c90da9fb155b34477fbd00ac5e58b3 ssh-agent -k [2022-10-25T20:53:30.053Z] unset SSH_AUTH_SOCK; [2022-10-25T20:53:30.053Z] unset SSH_AGENT_PID; [2022-10-25T20:53:30.053Z] echo Agent pid 77 killed; [2022-10-25T20:53:30.072Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-25T20:53:30.378Z] + git semver [Pipeline] } [2022-10-25T20:53:30.643Z] $ docker stop --time=1 1732f8f0184f6cab2a9f04b50040bf5c49c90da9fb155b34477fbd00ac5e58b3 [2022-10-25T20:53:31.936Z] $ docker rm -f 1732f8f0184f6cab2a9f04b50040bf5c49c90da9fb155b34477fbd00ac5e58b3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T20:53:32.280Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-25T20:53:32.449Z] Stashed 1 file(s) [Pipeline] echo [2022-10-25T20:53:32.452Z] [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-10-25T20:53:32.561Z] provisioning config files... [2022-10-25T20:53:32.570Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config14476802610783456834tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T20:53:32.867Z] ---> docker-login.sh [2022-10-25T20:53:32.867Z] nexus3.edgexfoundry.org:10001 [2022-10-25T20:53:32.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T20:53:32.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T20:53:32.867Z] Configure a credential helper to remove this warning. See [2022-10-25T20:53:32.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T20:53:32.867Z] [2022-10-25T20:53:32.867Z] Login Succeeded [2022-10-25T20:53:32.867Z] nexus3.edgexfoundry.org:10002 [2022-10-25T20:53:32.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T20:53:32.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T20:53:32.867Z] Configure a credential helper to remove this warning. See [2022-10-25T20:53:32.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T20:53:32.867Z] [2022-10-25T20:53:32.867Z] Login Succeeded [2022-10-25T20:53:32.867Z] nexus3.edgexfoundry.org:10003 [2022-10-25T20:53:33.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T20:53:33.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T20:53:33.126Z] Configure a credential helper to remove this warning. See [2022-10-25T20:53:33.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T20:53:33.126Z] [2022-10-25T20:53:33.126Z] Login Succeeded [2022-10-25T20:53:33.126Z] nexus3.edgexfoundry.org:10004 [2022-10-25T20:53:33.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T20:53:33.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T20:53:33.126Z] Configure a credential helper to remove this warning. See [2022-10-25T20:53:33.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T20:53:33.126Z] [2022-10-25T20:53:33.126Z] Login Succeeded [2022-10-25T20:53:33.126Z] docker.io [2022-10-25T20:53:33.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T20:53:33.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T20:53:33.695Z] Configure a credential helper to remove this warning. See [2022-10-25T20:53:33.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T20:53:33.695Z] [2022-10-25T20:53:33.695Z] Login Succeeded [2022-10-25T20:53:33.695Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T20:53:33.701Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-25T20:53:33.755Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T20:53:33.765Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T20:53:33.771Z] ========================================================= [2022-10-25T20:53:33.771Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-25T20:53:33.771Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T20:53:34.069Z] + 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-10-25T20:53:34.069Z] Sending build context to Docker daemon 6.228MB [2022-10-25T20:53:34.069Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T20:53:34.069Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-25T20:53:34.069Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-25T20:53:34.069Z] 213ec9aee27d: Pulling fs layer [2022-10-25T20:53:34.069Z] 4583459ba037: Pulling fs layer [2022-10-25T20:53:34.069Z] 93c1e223e6f2: Pulling fs layer [2022-10-25T20:53:34.069Z] 53926ce57604: Pulling fs layer [2022-10-25T20:53:34.069Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-25T20:53:34.069Z] 30f14e443154: Pulling fs layer [2022-10-25T20:53:34.069Z] 801331c1e519: Pulling fs layer [2022-10-25T20:53:34.069Z] 99cc6dd402b0: Pulling fs layer [2022-10-25T20:53:34.069Z] 7d9ed39f4882: Pulling fs layer [2022-10-25T20:53:34.069Z] 30f14e443154: Waiting [2022-10-25T20:53:34.069Z] 801331c1e519: Waiting [2022-10-25T20:53:34.069Z] 99cc6dd402b0: Waiting [2022-10-25T20:53:34.069Z] 7d9ed39f4882: Waiting [2022-10-25T20:53:34.069Z] 21b2b0c7a3f4: Waiting [2022-10-25T20:53:34.069Z] 53926ce57604: Waiting [2022-10-25T20:53:34.069Z] 93c1e223e6f2: Download complete [2022-10-25T20:53:34.069Z] 4583459ba037: Download complete [2022-10-25T20:53:34.069Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-25T20:53:34.069Z] 21b2b0c7a3f4: Download complete [2022-10-25T20:53:34.069Z] 30f14e443154: Download complete [2022-10-25T20:53:34.338Z] 213ec9aee27d: Download complete [2022-10-25T20:53:34.338Z] 801331c1e519: Verifying Checksum [2022-10-25T20:53:34.338Z] 801331c1e519: Download complete [2022-10-25T20:53:34.338Z] 213ec9aee27d: Pull complete [2022-10-25T20:53:34.616Z] 4583459ba037: Pull complete [2022-10-25T20:53:34.616Z] 93c1e223e6f2: Pull complete [2022-10-25T20:53:35.202Z] 99cc6dd402b0: Verifying Checksum [2022-10-25T20:53:35.202Z] 99cc6dd402b0: Download complete [2022-10-25T20:53:35.202Z] 7d9ed39f4882: Verifying Checksum [2022-10-25T20:53:35.202Z] 7d9ed39f4882: Download complete [2022-10-25T20:53:35.202Z] 53926ce57604: Verifying Checksum [2022-10-25T20:53:35.202Z] 53926ce57604: Download complete [2022-10-25T20:53:39.406Z] 53926ce57604: Pull complete [2022-10-25T20:53:39.406Z] 21b2b0c7a3f4: Pull complete [2022-10-25T20:53:39.406Z] 30f14e443154: Pull complete [2022-10-25T20:53:39.406Z] 801331c1e519: Pull complete [2022-10-25T20:53:40.788Z] 99cc6dd402b0: Pull complete [2022-10-25T20:53:41.721Z] 7d9ed39f4882: Pull complete [2022-10-25T20:53:41.721Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-25T20:53:41.721Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-25T20:53:41.721Z] ---> 1dedd983c030 [2022-10-25T20:53:41.721Z] Step 3/11 : ARG ADD_BUILD_TAGS="" [2022-10-25T20:53:47.007Z] ---> Running in faba3ba129a2 [2022-10-25T20:53:47.007Z] Removing intermediate container faba3ba129a2 [2022-10-25T20:53:47.007Z] ---> ca603c9fa1a5 [2022-10-25T20:53:47.007Z] Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T20:53:47.007Z] ---> Running in 2f73dd8edead [2022-10-25T20:53:47.007Z] Removing intermediate container 2f73dd8edead [2022-10-25T20:53:47.007Z] ---> 38e44c4e16e8 [2022-10-25T20:53:47.007Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T20:53:47.007Z] ---> Running in 085f3f3ced0b [2022-10-25T20:53:47.007Z] Removing intermediate container 085f3f3ced0b [2022-10-25T20:53:47.007Z] ---> 32bcdbd6f526 [2022-10-25T20:53:47.007Z] Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-25T20:53:47.266Z] ---> Running in f1547b0b9a85 [2022-10-25T20:53:47.526Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T20:53:47.533Z] Still waiting to schedule task [2022-10-25T20:53:47.534Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-25T20:53:47.786Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T20:53:48.356Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-10-25T20:53:48.924Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-10-25T20:53:49.183Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-10-25T20:53:49.748Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-10-25T20:53:50.006Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-10-25T20:53:50.266Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-10-25T20:53:50.525Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-10-25T20:53:51.092Z] (8/8) Installing openssh (9.0_p1-r2) [2022-10-25T20:53:51.350Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T20:53:51.350Z] OK: 217 MiB in 59 packages [2022-10-25T20:53:51.917Z] Removing intermediate container f1547b0b9a85 [2022-10-25T20:53:51.917Z] ---> fa34502e931d [2022-10-25T20:53:51.917Z] Step 7/11 : WORKDIR /device-modbus-go [2022-10-25T20:53:51.917Z] ---> Running in b58c82bb7d58 [2022-10-25T20:53:52.207Z] Removing intermediate container b58c82bb7d58 [2022-10-25T20:53:52.207Z] ---> 047ddb5fb2ec [2022-10-25T20:53:52.207Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-25T20:53:52.207Z] ---> 129aec36a6fc [2022-10-25T20:53:52.207Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T20:53:52.207Z] ---> Running in ac66a46ac58b [2022-10-25T20:54:18.799Z] Removing intermediate container ac66a46ac58b [2022-10-25T20:54:18.799Z] ---> 083e01a14a97 [2022-10-25T20:54:18.799Z] Step 10/11 : COPY . . [2022-10-25T20:54:18.799Z] ---> 7590a1339ef7 [2022-10-25T20:54:18.799Z] Step 11/11 : RUN ${MAKE} [2022-10-25T20:54:18.799Z] ---> Running in 7d1552842174 [2022-10-25T20:54:18.799Z] noop [2022-10-25T20:54:18.799Z] Removing intermediate container 7d1552842174 [2022-10-25T20:54:18.799Z] ---> 296e57301d79 [2022-10-25T20:54:18.799Z] Successfully built 296e57301d79 [2022-10-25T20:54:18.799Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T20:54:19.103Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T20:54:19.103Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T20:54:19.166Z] prd-ubuntu20.04-docker-8c-8g-116989 does not seem to be running inside a container [2022-10-25T20:54:19.211Z] $ 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-10-25T20:54:19.550Z] $ docker top 74374bbf7cac79f13003a19384f288765b3a149f1355322be6c20b0ea4f760f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T20:54:19.875Z] + go version [2022-10-25T20:54:19.876Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-25T20:54:19.896Z] $ docker stop --time=1 74374bbf7cac79f13003a19384f288765b3a149f1355322be6c20b0ea4f760f4 [2022-10-25T20:54:21.141Z] $ docker rm -f 74374bbf7cac79f13003a19384f288765b3a149f1355322be6c20b0ea4f760f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T20:54:21.534Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T20:54:21.534Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T20:54:21.603Z] prd-ubuntu20.04-docker-8c-8g-116989 does not seem to be running inside a container [2022-10-25T20:54:21.638Z] $ 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-10-25T20:54:21.966Z] $ docker top c4fd2b1091d3e3fc43545975da83ca0675faf2f5b4badcccebcb5c258740d8ce -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T20:54:22.300Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-385 [Pipeline] fileExists [Pipeline] sh [2022-10-25T20:54:22.602Z] + make test [2022-10-25T20:54:22.602Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-25T20:54:22.860Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-10-25T20:54:32.821Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-10-25T20:54:32.821Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.008s coverage: 47.7% of statements [2022-10-25T20:54:39.375Z] 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-10-25T20:54:39.375Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-25T20:54:41.902Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-25T20:54:41.902Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-25T20:54:41.902Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-25T20:54:41.916Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-25T20:54:41.939Z] $ docker stop --time=1 c4fd2b1091d3e3fc43545975da83ca0675faf2f5b4badcccebcb5c258740d8ce [2022-10-25T20:54:44.504Z] $ docker rm -f c4fd2b1091d3e3fc43545975da83ca0675faf2f5b4badcccebcb5c258740d8ce [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T20:54:44.929Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-25T20:54:44.992Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-25T20:54:45.430Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-25T20:54:45.713Z] + ls -al . [2022-10-25T20:54:45.713Z] total 188 [2022-10-25T20:54:45.713Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 20:54 . [2022-10-25T20:54:45.713Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 20:53 .. [2022-10-25T20:54:45.713Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 25 20:53 .dockerignore [2022-10-25T20:54:45.713Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 20:54 .git [2022-10-25T20:54:45.713Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 20:53 .github [2022-10-25T20:54:45.713Z] -rw-rw-r-- 1 jenkins jenkins 331 Oct 25 20:53 .gitignore [2022-10-25T20:54:45.713Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 20:53 .golangci.yml [2022-10-25T20:54:45.713Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 20:53 .semver [2022-10-25T20:54:45.713Z] -rw-rw-r-- 1 jenkins jenkins 10121 Oct 25 20:53 Attribution.txt [2022-10-25T20:54:45.713Z] -rw-rw-r-- 1 jenkins jenkins 10001 Oct 25 20:53 CHANGELOG.md [2022-10-25T20:54:45.713Z] -rw-rw-r-- 1 jenkins jenkins 1606 Oct 25 20:53 Dockerfile [2022-10-25T20:54:45.713Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 20:53 GOVERNANCE.md [2022-10-25T20:54:45.713Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 25 20:53 Jenkinsfile [2022-10-25T20:54:45.713Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 20:53 LICENSE [2022-10-25T20:54:45.713Z] -rw-rw-r-- 1 jenkins jenkins 2101 Oct 25 20:53 Makefile [2022-10-25T20:54:45.713Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 25 20:53 OWNERS.md [2022-10-25T20:54:45.713Z] -rw-rw-r-- 1 jenkins jenkins 4061 Oct 25 20:53 README.md [2022-10-25T20:54:45.713Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 20:53 VERSION [2022-10-25T20:54:45.713Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 20:53 bin [2022-10-25T20:54:45.713Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 20:53 cmd [2022-10-25T20:54:45.713Z] -rw-r--r-- 1 jenkins jenkins 23241 Oct 25 20:54 coverage.out [2022-10-25T20:54:45.713Z] -rw-rw-r-- 1 jenkins jenkins 3643 Oct 25 20:53 go.mod [2022-10-25T20:54:45.713Z] -rw-rw-r-- 1 jenkins jenkins 38465 Oct 25 20:53 go.sum [2022-10-25T20:54:45.713Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 20:53 internal [2022-10-25T20:54:45.713Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 20:53 simulator [2022-10-25T20:54:45.713Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 20:53 snap [2022-10-25T20:54:45.713Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 25 20:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T20:54:46.013Z] + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=d3ef238f9a45dc53718d6f1d0613cb60ca9d1225 --label arch=amd64 --label version=0.0.0 . [2022-10-25T20:54:46.013Z] Sending build context to Docker daemon 6.252MB [2022-10-25T20:54:46.013Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T20:54:46.013Z] Step 2/24 : FROM ${BASE} AS builder [2022-10-25T20:54:46.013Z] ---> 296e57301d79 [2022-10-25T20:54:46.013Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-10-25T20:54:46.271Z] ---> Running in 1eaeb0484561 [2022-10-25T20:54:46.271Z] Removing intermediate container 1eaeb0484561 [2022-10-25T20:54:46.271Z] ---> 702408d00eef [2022-10-25T20:54:46.271Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T20:54:46.271Z] ---> Running in 3589f664acd4 [2022-10-25T20:54:46.271Z] Removing intermediate container 3589f664acd4 [2022-10-25T20:54:46.271Z] ---> 7fef034e25c7 [2022-10-25T20:54:46.271Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T20:54:46.271Z] ---> Running in be0de961ccd4 [2022-10-25T20:54:46.837Z] Removing intermediate container be0de961ccd4 [2022-10-25T20:54:46.837Z] ---> 9a8e2ae713d5 [2022-10-25T20:54:46.837Z] Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-25T20:54:46.837Z] ---> Running in a4c20eb26979 [2022-10-25T20:54:47.094Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T20:54:47.660Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T20:54:48.232Z] OK: 217 MiB in 59 packages [2022-10-25T20:54:48.490Z] Removing intermediate container a4c20eb26979 [2022-10-25T20:54:48.490Z] ---> a2601864291e [2022-10-25T20:54:48.490Z] Step 7/24 : WORKDIR /device-modbus-go [2022-10-25T20:54:48.490Z] ---> Running in 7e611a878f54 [2022-10-25T20:54:48.490Z] Removing intermediate container 7e611a878f54 [2022-10-25T20:54:48.490Z] ---> 63c093f5f506 [2022-10-25T20:54:48.490Z] Step 8/24 : COPY go.mod vendor* ./ [2022-10-25T20:54:48.753Z] ---> c271c709f2cc [2022-10-25T20:54:48.753Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T20:54:48.753Z] ---> Running in 9e970ac7c8d5 [2022-10-25T20:54:49.318Z] Removing intermediate container 9e970ac7c8d5 [2022-10-25T20:54:49.318Z] ---> 2988983e3ba3 [2022-10-25T20:54:49.318Z] Step 10/24 : COPY . . [2022-10-25T20:54:49.575Z] ---> 195f72495f64 [2022-10-25T20:54:49.575Z] Step 11/24 : RUN ${MAKE} [2022-10-25T20:54:49.575Z] ---> Running in 7425fec63515 [2022-10-25T20:54:49.833Z] 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-10-25T20:55:11.742Z] Removing intermediate container 7425fec63515 [2022-10-25T20:55:11.742Z] ---> 78d2846f9fef [2022-10-25T20:55:11.742Z] Step 12/24 : FROM alpine:3.14 [2022-10-25T20:55:11.742Z] 3.14: Pulling from library/alpine [2022-10-25T20:55:11.742Z] c7ed990a2339: Pulling fs layer [2022-10-25T20:55:11.742Z] c7ed990a2339: Verifying Checksum [2022-10-25T20:55:11.742Z] c7ed990a2339: Download complete [2022-10-25T20:55:12.000Z] c7ed990a2339: Pull complete [2022-10-25T20:55:12.000Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-10-25T20:55:12.000Z] Status: Downloaded newer image for alpine:3.14 [2022-10-25T20:55:12.000Z] ---> dd53f409bf0b [2022-10-25T20:55:12.000Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-10-25T20:55:12.000Z] ---> Running in 32672bbbb592 [2022-10-25T20:55:12.000Z] Removing intermediate container 32672bbbb592 [2022-10-25T20:55:12.000Z] ---> f5d6a961a782 [2022-10-25T20:55:12.000Z] Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T20:55:12.000Z] ---> Running in d1e3f818b899 [2022-10-25T20:55:12.566Z] Removing intermediate container d1e3f818b899 [2022-10-25T20:55:12.566Z] ---> 347bd7c6a494 [2022-10-25T20:55:12.566Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-25T20:55:12.566Z] ---> Running in 5453fabd4689 [2022-10-25T20:55:13.136Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-10-25T20:55:13.394Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-10-25T20:55:13.962Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-25T20:55:14.221Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-10-25T20:55:14.788Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-25T20:55:15.045Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-10-25T20:55:15.612Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-25T20:55:15.872Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-25T20:55:16.133Z] Executing busybox-1.33.1-r8.trigger [2022-10-25T20:55:16.133Z] OK: 8 MiB in 20 packages [2022-10-25T20:55:16.707Z] Removing intermediate container 5453fabd4689 [2022-10-25T20:55:16.707Z] ---> 51eaa25e6568 [2022-10-25T20:55:16.707Z] Step 16/24 : COPY --from=builder /device-modbus-go/cmd / [2022-10-25T20:55:17.273Z] ---> 2b63f067801e [2022-10-25T20:55:17.273Z] Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / [2022-10-25T20:55:17.531Z] ---> c6083242f9c9 [2022-10-25T20:55:17.531Z] Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-10-25T20:55:17.531Z] ---> 1d7da36edbef [2022-10-25T20:55:17.531Z] Step 19/24 : EXPOSE 59901 [2022-10-25T20:55:17.531Z] ---> Running in 3ff57296e20e [2022-10-25T20:55:17.531Z] Removing intermediate container 3ff57296e20e [2022-10-25T20:55:17.531Z] ---> 1a9717126703 [2022-10-25T20:55:17.531Z] Step 20/24 : ENTRYPOINT ["/device-modbus"] [2022-10-25T20:55:17.788Z] ---> Running in ba9ba10129bf [2022-10-25T20:55:17.789Z] Removing intermediate container ba9ba10129bf [2022-10-25T20:55:17.789Z] ---> 83e3d4fe35b8 [2022-10-25T20:55:17.789Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-25T20:55:17.789Z] ---> Running in 7877a566c43b [2022-10-25T20:55:17.789Z] Removing intermediate container 7877a566c43b [2022-10-25T20:55:17.789Z] ---> aae58a6c2422 [2022-10-25T20:55:17.789Z] Step 22/24 : LABEL arch=amd64 [2022-10-25T20:55:17.789Z] ---> Running in 4978e790ee1f [2022-10-25T20:55:17.789Z] Removing intermediate container 4978e790ee1f [2022-10-25T20:55:17.789Z] ---> 976a74d1710c [2022-10-25T20:55:17.789Z] Step 23/24 : LABEL git_sha=d3ef238f9a45dc53718d6f1d0613cb60ca9d1225 [2022-10-25T20:55:17.789Z] ---> Running in 94157ddc9e6f [2022-10-25T20:55:18.046Z] Removing intermediate container 94157ddc9e6f [2022-10-25T20:55:18.046Z] ---> 8a91d26ddc04 [2022-10-25T20:55:18.046Z] Step 24/24 : LABEL version=0.0.0 [2022-10-25T20:55:18.046Z] ---> Running in b4c171c249f4 [2022-10-25T20:55:18.046Z] Removing intermediate container b4c171c249f4 [2022-10-25T20:55:18.046Z] ---> 6efeef24bcd9 [2022-10-25T20:55:18.046Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-25T20:55:18.046Z] Successfully built 6efeef24bcd9 [2022-10-25T20:55:18.046Z] 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-10-25T20:55:18.458Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T20:55:18.458Z] [2022-10-25T20:55:18.458Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T20:55:18.750Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T20:55:18.750Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-25T20:55:18.750Z] 5eb5b503b376: Pulling fs layer [2022-10-25T20:55:18.750Z] 5c69ac0246d0: Pulling fs layer [2022-10-25T20:55:18.750Z] ec43610c2a17: Pulling fs layer [2022-10-25T20:55:18.750Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-25T20:55:18.750Z] 33b1e0a273af: Pulling fs layer [2022-10-25T20:55:18.750Z] 5d3b04190fa2: Pulling fs layer [2022-10-25T20:55:18.750Z] 2f39f015ded8: Pulling fs layer [2022-10-25T20:55:18.750Z] 3a2ae6a8a46f: Waiting [2022-10-25T20:55:18.750Z] 33b1e0a273af: Waiting [2022-10-25T20:55:18.750Z] 5d3b04190fa2: Waiting [2022-10-25T20:55:18.750Z] 5c69ac0246d0: Verifying Checksum [2022-10-25T20:55:18.750Z] 5c69ac0246d0: Download complete [2022-10-25T20:55:18.750Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-25T20:55:18.750Z] 3a2ae6a8a46f: Download complete [2022-10-25T20:55:18.750Z] 33b1e0a273af: Verifying Checksum [2022-10-25T20:55:18.750Z] 33b1e0a273af: Download complete [2022-10-25T20:55:18.750Z] ec43610c2a17: Verifying Checksum [2022-10-25T20:55:18.750Z] ec43610c2a17: Download complete [2022-10-25T20:55:18.750Z] 5d3b04190fa2: Verifying Checksum [2022-10-25T20:55:18.750Z] 5d3b04190fa2: Download complete [2022-10-25T20:55:19.010Z] 5eb5b503b376: Verifying Checksum [2022-10-25T20:55:19.010Z] 5eb5b503b376: Download complete [2022-10-25T20:55:19.577Z] 2f39f015ded8: Download complete [2022-10-25T20:55:20.143Z] 5eb5b503b376: Pull complete [2022-10-25T20:55:20.401Z] 5c69ac0246d0: Pull complete [2022-10-25T20:55:20.659Z] ec43610c2a17: Pull complete [2022-10-25T20:55:20.917Z] 3a2ae6a8a46f: Pull complete [2022-10-25T20:55:21.174Z] 33b1e0a273af: Pull complete [2022-10-25T20:55:21.174Z] 5d3b04190fa2: Pull complete [2022-10-25T20:55:25.357Z] 2f39f015ded8: Pull complete [2022-10-25T20:55:25.357Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-25T20:55:25.357Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T20:55:25.357Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T20:55:25.429Z] prd-ubuntu20.04-docker-8c-8g-116989 does not seem to be running inside a container [2022-10-25T20:55:25.465Z] $ 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-10-25T20:55:28.632Z] $ docker top 034982d17799036dd180bf0000fd9d4f47aa72ed50a48a0f2a04e16e5b4f4749 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T20:55:29.003Z] ---> job-cost.sh [2022-10-25T20:55:29.003Z] lf-activate-venv: SKIPPING [2022-10-25T20:55:29.003Z] INFO: No Stack... [2022-10-25T20:55:29.262Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-25T20:55:29.531Z] INFO: Archiving Costs [Pipeline] sh [2022-10-25T20:55:29.822Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-385/archives/cost.csv [2022-10-25T20:55:29.822Z] + cut -d, -f6 [Pipeline] lock [2022-10-25T20:55:29.837Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-385-3-stack-cost] [2022-10-25T20:55:29.843Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-385-3-stack-cost] did not exist. Created. [2022-10-25T20:55:29.843Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-385-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-25T20:55:30.149Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-25T20:55:30.177Z] Stashed 1 file(s) [Pipeline] } [2022-10-25T20:55:30.184Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-385-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-25T20:55:30.209Z] $ docker stop --time=1 034982d17799036dd180bf0000fd9d4f47aa72ed50a48a0f2a04e16e5b4f4749 [2022-10-25T20:55:31.383Z] $ docker rm -f 034982d17799036dd180bf0000fd9d4f47aa72ed50a48a0f2a04e16e5b4f4749 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-25T21:00:45.989Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-116991 in /w/workspace/xfoundry_device-modbus-go_PR-385 [Pipeline] { [Pipeline] ws [2022-10-25T21:00:46.001Z] Running in /w/workspace/device-modbus-go/3 [Pipeline] { [Pipeline] checkout [2022-10-25T21:00:46.037Z] Selected Git installation does not exist. Using Default [2022-10-25T21:00:46.037Z] The recommended git tool is: NONE [2022-10-25T21:00:51.176Z] using credential edgex-jenkins-ssh [2022-10-25T21:00:51.192Z] Cloning the remote Git repository [2022-10-25T21:00:51.226Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-10-25T21:00:51.293Z] > git init /w/workspace/device-modbus-go/3 # timeout=10 [2022-10-25T21:00:51.423Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-10-25T21:00:51.424Z] > git --version # timeout=10 [2022-10-25T21:00:51.444Z] > git --version # 'git version 2.25.1' [2022-10-25T21:00:51.448Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T21:00:51.490Z] Verifying host key using known hosts file [2022-10-25T21:00:51.682Z] 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-10-25T21:00:51.693Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-25T21:00:52.833Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-10-25T21:00:52.859Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-25T21:00:54.379Z] Merging remotes/origin/main commit fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc into PR head commit b03dabf38b63f24493184e5a8112871062c4142f [2022-10-25T21:00:54.671Z] Merge succeeded, producing 22aa8c183b26e4a16e52f2baeddb31158928fe47 [2022-10-25T21:00:54.672Z] Checking out Revision 22aa8c183b26e4a16e52f2baeddb31158928fe47 (PR-385) [2022-10-25T21:00:53.687Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-10-25T21:00:53.730Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-10-25T21:00:53.731Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T21:00:53.737Z] Verifying host key using known hosts file [2022-10-25T21:00:53.744Z] 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-10-25T21:00:53.757Z] > 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-10-25T21:00:54.391Z] > git config core.sparsecheckout # timeout=10 [2022-10-25T21:00:54.409Z] > git checkout -f b03dabf38b63f24493184e5a8112871062c4142f # timeout=10 [2022-10-25T21:00:54.507Z] > git remote # timeout=10 [2022-10-25T21:00:54.526Z] > git config --get remote.origin.url # timeout=10 [2022-10-25T21:00:54.550Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T21:00:54.555Z] Verifying host key using known hosts file [2022-10-25T21:00:54.559Z] 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-10-25T21:00:54.569Z] > git merge fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc # timeout=10 [2022-10-25T21:00:54.647Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-25T21:00:54.684Z] > git config core.sparsecheckout # timeout=10 [2022-10-25T21:00:54.708Z] > git checkout -f 22aa8c183b26e4a16e52f2baeddb31158928fe47 # timeout=10 [2022-10-25T21:00:58.214Z] Commit message: "Merge commit 'fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc' into HEAD" [2022-10-25T21:00:58.245Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T21:00:59.139Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-25T21:00:59.139Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-25T21:00:59.139Z] Dload Upload Total Spent Left Speed [2022-10-25T21:00:59.139Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 65295 0 --:--:-- --:--:-- --:--:-- 65635 [2022-10-25T21:00:58.217Z] > git rev-list --no-walk 93b59d13014c41a7c299f1b1afe91649b2914cf4 # timeout=10 [Pipeline] sh [2022-10-25T21:00:59.983Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-25T21:01:00.329Z] + sudo tee /etc/docker/daemon.new [2022-10-25T21:01:00.329Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-25T21:01:00.329Z] { [2022-10-25T21:01:00.329Z] "registry-mirrors": [ [2022-10-25T21:01:00.329Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-25T21:01:00.329Z] ], [2022-10-25T21:01:00.329Z] "bip": "10.250.0.254/24", [2022-10-25T21:01:00.329Z] "hosts": [ [2022-10-25T21:01:00.329Z] "tcp://0.0.0.0:5555", [2022-10-25T21:01:00.329Z] "unix:///var/run/docker.sock" [2022-10-25T21:01:00.329Z] ], [2022-10-25T21:01:00.329Z] "mtu": 1458, [2022-10-25T21:01:00.329Z] "selinux-enabled": true, [2022-10-25T21:01:00.329Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-25T21:01:00.329Z] } [Pipeline] sh [2022-10-25T21:01:00.661Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-25T21:01:00.994Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T21:01:19.289Z] provisioning config files... [2022-10-25T21:01:19.314Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/3@tmp/config17821663972859439261tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T21:01:19.676Z] ---> docker-login.sh [2022-10-25T21:01:19.676Z] nexus3.edgexfoundry.org:10001 [2022-10-25T21:01:19.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T21:01:20.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T21:01:20.541Z] Configure a credential helper to remove this warning. See [2022-10-25T21:01:20.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T21:01:20.541Z] [2022-10-25T21:01:20.541Z] Login Succeeded [2022-10-25T21:01:20.541Z] nexus3.edgexfoundry.org:10002 [2022-10-25T21:01:20.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T21:01:20.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T21:01:20.811Z] Configure a credential helper to remove this warning. See [2022-10-25T21:01:20.811Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T21:01:20.811Z] [2022-10-25T21:01:20.811Z] Login Succeeded [2022-10-25T21:01:20.811Z] nexus3.edgexfoundry.org:10003 [2022-10-25T21:01:21.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T21:01:21.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T21:01:21.081Z] Configure a credential helper to remove this warning. See [2022-10-25T21:01:21.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T21:01:21.081Z] [2022-10-25T21:01:21.081Z] Login Succeeded [2022-10-25T21:01:21.081Z] nexus3.edgexfoundry.org:10004 [2022-10-25T21:01:21.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T21:01:21.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T21:01:21.352Z] Configure a credential helper to remove this warning. See [2022-10-25T21:01:21.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T21:01:21.352Z] [2022-10-25T21:01:21.352Z] Login Succeeded [2022-10-25T21:01:21.352Z] docker.io [2022-10-25T21:01:21.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T21:01:22.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T21:01:22.213Z] Configure a credential helper to remove this warning. See [2022-10-25T21:01:22.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T21:01:22.213Z] [2022-10-25T21:01:22.213Z] Login Succeeded [2022-10-25T21:01:22.213Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T21:01:22.227Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-25T21:01:22.385Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T21:01:22.396Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T21:01:22.403Z] ========================================================= [2022-10-25T21:01:22.403Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-25T21:01:22.403Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T21:01:22.740Z] + 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-10-25T21:01:23.011Z] Sending build context to Docker daemon 3.252MB [2022-10-25T21:01:23.011Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T21:01:23.011Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-25T21:01:23.287Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-25T21:01:23.287Z] 9b18e9b68314: Pulling fs layer [2022-10-25T21:01:23.287Z] d32db5db7311: Pulling fs layer [2022-10-25T21:01:23.287Z] d0c4b47475fc: Pulling fs layer [2022-10-25T21:01:23.287Z] 5831b945b038: Pulling fs layer [2022-10-25T21:01:23.287Z] 86bbec2aaacd: Pulling fs layer [2022-10-25T21:01:23.287Z] e10730c5d714: Pulling fs layer [2022-10-25T21:01:23.287Z] 5dd5c2283517: Pulling fs layer [2022-10-25T21:01:23.287Z] d5ac0230b979: Pulling fs layer [2022-10-25T21:01:23.287Z] 5831b945b038: Waiting [2022-10-25T21:01:23.287Z] 86bbec2aaacd: Waiting [2022-10-25T21:01:23.287Z] 5dd5c2283517: Waiting [2022-10-25T21:01:23.287Z] d5ac0230b979: Waiting [2022-10-25T21:01:23.287Z] e10730c5d714: Waiting [2022-10-25T21:01:23.287Z] d0c4b47475fc: Download complete [2022-10-25T21:01:23.287Z] d32db5db7311: Download complete [2022-10-25T21:01:23.287Z] 86bbec2aaacd: Verifying Checksum [2022-10-25T21:01:23.287Z] 86bbec2aaacd: Download complete [2022-10-25T21:01:23.287Z] e10730c5d714: Verifying Checksum [2022-10-25T21:01:23.287Z] e10730c5d714: Download complete [2022-10-25T21:01:23.287Z] 9b18e9b68314: Verifying Checksum [2022-10-25T21:01:23.287Z] 9b18e9b68314: Download complete [2022-10-25T21:01:24.272Z] 9b18e9b68314: Pull complete [2022-10-25T21:01:24.544Z] d5ac0230b979: Verifying Checksum [2022-10-25T21:01:24.544Z] d5ac0230b979: Download complete [2022-10-25T21:01:24.813Z] d32db5db7311: Pull complete [2022-10-25T21:01:25.090Z] d0c4b47475fc: Pull complete [2022-10-25T21:01:25.685Z] 5dd5c2283517: Verifying Checksum [2022-10-25T21:01:25.685Z] 5dd5c2283517: Download complete [2022-10-25T21:01:26.276Z] 5831b945b038: Download complete [2022-10-25T21:01:38.618Z] 5831b945b038: Pull complete [2022-10-25T21:01:38.618Z] 86bbec2aaacd: Pull complete [2022-10-25T21:01:38.618Z] e10730c5d714: Pull complete [2022-10-25T21:01:45.286Z] 5dd5c2283517: Pull complete [2022-10-25T21:01:46.264Z] d5ac0230b979: Pull complete [2022-10-25T21:01:46.264Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-25T21:01:46.264Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-25T21:01:46.264Z] ---> 59b3b1a385d4 [2022-10-25T21:01:46.264Z] Step 3/11 : ARG ADD_BUILD_TAGS="" [2022-10-25T21:01:48.229Z] ---> Running in 2f05b823b758 [2022-10-25T21:01:48.818Z] Removing intermediate container 2f05b823b758 [2022-10-25T21:01:48.818Z] ---> 3de2363bbe7a [2022-10-25T21:01:48.818Z] Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T21:01:48.818Z] ---> Running in 84224d175047 [2022-10-25T21:01:49.087Z] Removing intermediate container 84224d175047 [2022-10-25T21:01:49.087Z] ---> 6cefef1105d9 [2022-10-25T21:01:49.087Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T21:01:49.087Z] ---> Running in 04e4dacb4fd2 [2022-10-25T21:01:51.031Z] Removing intermediate container 04e4dacb4fd2 [2022-10-25T21:01:51.031Z] ---> 6046ca5f336d [2022-10-25T21:01:51.031Z] Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-25T21:01:51.031Z] ---> Running in 308800d4c9d9 [2022-10-25T21:01:51.991Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T21:01:52.576Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T21:01:53.985Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-10-25T21:01:54.252Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-10-25T21:01:54.520Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-10-25T21:01:55.107Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-10-25T21:01:55.692Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-10-25T21:01:55.959Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-10-25T21:01:56.226Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-10-25T21:01:56.809Z] (8/8) Installing openssh (9.0_p1-r2) [2022-10-25T21:01:57.076Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T21:01:57.345Z] OK: 228 MiB in 59 packages [2022-10-25T21:01:58.309Z] Removing intermediate container 308800d4c9d9 [2022-10-25T21:01:58.309Z] ---> ea1590baed75 [2022-10-25T21:01:58.309Z] Step 7/11 : WORKDIR /device-modbus-go [2022-10-25T21:01:58.309Z] ---> Running in 8e6539bcaa3c [2022-10-25T21:01:58.579Z] Removing intermediate container 8e6539bcaa3c [2022-10-25T21:01:58.579Z] ---> dd2676f3aeac [2022-10-25T21:01:58.579Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-25T21:01:59.164Z] ---> 8e255719488d [2022-10-25T21:01:59.164Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T21:01:59.164Z] ---> Running in e5a5987ef855 [2022-10-25T21:02:55.793Z] Removing intermediate container e5a5987ef855 [2022-10-25T21:02:55.793Z] ---> 68b78f680f84 [2022-10-25T21:02:55.793Z] Step 10/11 : COPY . . [2022-10-25T21:02:55.793Z] ---> 9247e35640df [2022-10-25T21:02:55.793Z] Step 11/11 : RUN ${MAKE} [2022-10-25T21:02:55.793Z] ---> Running in 83911640586a [2022-10-25T21:02:55.793Z] noop [2022-10-25T21:02:55.793Z] Removing intermediate container 83911640586a [2022-10-25T21:02:55.793Z] ---> 5c2e424aa278 [2022-10-25T21:02:55.793Z] Successfully built 5c2e424aa278 [2022-10-25T21:02:55.793Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T21:02:56.143Z] + docker inspect -f . ci-base-image-arm64 [2022-10-25T21:02:56.143Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T21:02:56.316Z] prd-ubuntu20.04-docker-arm64-4c-16g-116991 does not seem to be running inside a container [2022-10-25T21:02:56.374Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-25T21:02:57.569Z] $ docker top e450cee0792e92fe0b4e8164b121ab1ee546e083b5b1c911446ff5fc5ee309ce -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T21:02:58.408Z] + go version [2022-10-25T21:02:58.408Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-25T21:02:58.421Z] $ docker stop --time=1 e450cee0792e92fe0b4e8164b121ab1ee546e083b5b1c911446ff5fc5ee309ce [2022-10-25T21:03:00.035Z] $ docker rm -f e450cee0792e92fe0b4e8164b121ab1ee546e083b5b1c911446ff5fc5ee309ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T21:03:00.574Z] + docker inspect -f . ci-base-image-arm64 [2022-10-25T21:03:00.574Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T21:03:00.737Z] prd-ubuntu20.04-docker-arm64-4c-16g-116991 does not seem to be running inside a container [2022-10-25T21:03:00.793Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-25T21:03:01.967Z] $ docker top e52ecd273729fa58f0ba9d9f76558363e8f9761f2065e0ecd94d1e8900d0038f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T21:03:02.489Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/3 [Pipeline] fileExists [Pipeline] sh [2022-10-25T21:03:02.821Z] + make test [2022-10-25T21:03:02.821Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-25T21:03:04.773Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-10-25T21:04:26.410Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-10-25T21:04:28.364Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.059s coverage: 47.7% of statements [2022-10-25T21:04:28.948Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-25T21:04:28.948Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-25T21:04:51.042Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-25T21:04:51.042Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-25T21:04:51.042Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-25T21:04:51.060Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-25T21:04:51.068Z] $ docker stop --time=1 e52ecd273729fa58f0ba9d9f76558363e8f9761f2065e0ecd94d1e8900d0038f [2022-10-25T21:04:52.847Z] $ docker rm -f e52ecd273729fa58f0ba9d9f76558363e8f9761f2065e0ecd94d1e8900d0038f [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T21:04:53.749Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-25T21:04:53.773Z] Warning: overwriting stash ‘coverage-report’ [2022-10-25T21:04:54.167Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T21:04:54.551Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-25T21:04:54.872Z] + ls -al . [2022-10-25T21:04:54.872Z] total 184 [2022-10-25T21:04:54.872Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 21:03 . [2022-10-25T21:04:54.872Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 21:00 .. [2022-10-25T21:04:54.872Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 25 21:00 .dockerignore [2022-10-25T21:04:54.872Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 21:00 .git [2022-10-25T21:04:54.872Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 21:00 .github [2022-10-25T21:04:54.872Z] -rw-rw-r-- 1 jenkins jenkins 331 Oct 25 21:00 .gitignore [2022-10-25T21:04:54.872Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 21:00 .golangci.yml [2022-10-25T21:04:54.872Z] -rw-rw-r-- 1 jenkins jenkins 10121 Oct 25 21:00 Attribution.txt [2022-10-25T21:04:54.872Z] -rw-rw-r-- 1 jenkins jenkins 10001 Oct 25 21:00 CHANGELOG.md [2022-10-25T21:04:54.872Z] -rw-rw-r-- 1 jenkins jenkins 1606 Oct 25 21:00 Dockerfile [2022-10-25T21:04:54.872Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 21:00 GOVERNANCE.md [2022-10-25T21:04:54.872Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 25 21:00 Jenkinsfile [2022-10-25T21:04:54.872Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 21:00 LICENSE [2022-10-25T21:04:54.872Z] -rw-rw-r-- 1 jenkins jenkins 2101 Oct 25 21:00 Makefile [2022-10-25T21:04:54.872Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 25 21:00 OWNERS.md [2022-10-25T21:04:54.872Z] -rw-rw-r-- 1 jenkins jenkins 4061 Oct 25 21:00 README.md [2022-10-25T21:04:54.872Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 20:53 VERSION [2022-10-25T21:04:54.872Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 21:00 bin [2022-10-25T21:04:54.872Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 21:00 cmd [2022-10-25T21:04:54.872Z] -rw-r--r-- 1 jenkins jenkins 23241 Oct 25 21:04 coverage.out [2022-10-25T21:04:54.872Z] -rw-rw-r-- 1 jenkins jenkins 3643 Oct 25 21:00 go.mod [2022-10-25T21:04:54.872Z] -rw-rw-r-- 1 jenkins jenkins 38465 Oct 25 21:00 go.sum [2022-10-25T21:04:54.872Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 21:00 internal [2022-10-25T21:04:54.872Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 21:00 simulator [2022-10-25T21:04:54.872Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 21:00 snap [2022-10-25T21:04:54.872Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 25 21:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T21:04:55.212Z] + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=22aa8c183b26e4a16e52f2baeddb31158928fe47 --label arch=arm64 --label version=0.0.0 . [2022-10-25T21:04:55.480Z] Sending build context to Docker daemon 3.276MB [2022-10-25T21:04:55.480Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T21:04:55.480Z] Step 2/24 : FROM ${BASE} AS builder [2022-10-25T21:04:55.480Z] ---> 5c2e424aa278 [2022-10-25T21:04:55.480Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-10-25T21:04:55.746Z] ---> Running in f35ef150c5e7 [2022-10-25T21:04:56.011Z] Removing intermediate container f35ef150c5e7 [2022-10-25T21:04:56.011Z] ---> 4a6125ccb940 [2022-10-25T21:04:56.011Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T21:04:56.011Z] ---> Running in 2dca77dd3f2b [2022-10-25T21:04:56.280Z] Removing intermediate container 2dca77dd3f2b [2022-10-25T21:04:56.280Z] ---> fc3e65ec7687 [2022-10-25T21:04:56.280Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T21:04:56.280Z] ---> Running in 69936c6b2da0 [2022-10-25T21:04:57.691Z] Removing intermediate container 69936c6b2da0 [2022-10-25T21:04:57.691Z] ---> effb0460ee08 [2022-10-25T21:04:57.691Z] Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-25T21:04:57.691Z] ---> Running in 097f1f4cfa40 [2022-10-25T21:04:58.655Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T21:04:59.231Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T21:05:00.635Z] OK: 228 MiB in 59 packages [2022-10-25T21:05:01.598Z] Removing intermediate container 097f1f4cfa40 [2022-10-25T21:05:01.598Z] ---> 106f5795377a [2022-10-25T21:05:01.598Z] Step 7/24 : WORKDIR /device-modbus-go [2022-10-25T21:05:01.598Z] ---> Running in 7c5dc934ee83 [2022-10-25T21:05:01.864Z] Removing intermediate container 7c5dc934ee83 [2022-10-25T21:05:01.864Z] ---> 8c28d4fb6258 [2022-10-25T21:05:01.864Z] Step 8/24 : COPY go.mod vendor* ./ [2022-10-25T21:05:02.449Z] ---> da72e5ba3953 [2022-10-25T21:05:02.449Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T21:05:02.725Z] ---> Running in fbd0e67bc8bd [2022-10-25T21:05:04.676Z] Removing intermediate container fbd0e67bc8bd [2022-10-25T21:05:04.676Z] ---> ddf001b47a6d [2022-10-25T21:05:04.676Z] Step 10/24 : COPY . . [2022-10-25T21:05:06.624Z] ---> a47ca48f962a [2022-10-25T21:05:06.624Z] Step 11/24 : RUN ${MAKE} [2022-10-25T21:05:06.624Z] ---> Running in 8b366374d3af [2022-10-25T21:05:07.585Z] 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-10-25T21:07:44.358Z] Removing intermediate container 8b366374d3af [2022-10-25T21:07:44.358Z] ---> c38b8b34fe31 [2022-10-25T21:07:44.358Z] Step 12/24 : FROM alpine:3.14 [2022-10-25T21:07:44.358Z] 3.14: Pulling from library/alpine [2022-10-25T21:07:44.358Z] 90cda3b7c325: Pulling fs layer [2022-10-25T21:07:44.358Z] 90cda3b7c325: Verifying Checksum [2022-10-25T21:07:44.358Z] 90cda3b7c325: Pull complete [2022-10-25T21:07:44.358Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-10-25T21:07:44.358Z] Status: Downloaded newer image for alpine:3.14 [2022-10-25T21:07:44.358Z] ---> 376ba31ae3da [2022-10-25T21:07:44.358Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-10-25T21:07:44.358Z] ---> Running in efbe6553a3f7 [2022-10-25T21:07:44.358Z] Removing intermediate container efbe6553a3f7 [2022-10-25T21:07:44.358Z] ---> d267e13dc10c [2022-10-25T21:07:44.358Z] Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T21:07:44.358Z] ---> Running in 1245017e26e5 [2022-10-25T21:07:44.358Z] Removing intermediate container 1245017e26e5 [2022-10-25T21:07:44.358Z] ---> 7561f81f679e [2022-10-25T21:07:44.358Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-25T21:07:44.358Z] ---> Running in 6c30552411ad [2022-10-25T21:07:44.358Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-10-25T21:07:44.358Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-10-25T21:07:44.358Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-25T21:07:44.358Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-10-25T21:07:44.358Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-25T21:07:44.358Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-10-25T21:07:44.358Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-25T21:07:44.358Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-25T21:07:44.358Z] Executing busybox-1.33.1-r8.trigger [2022-10-25T21:07:44.358Z] OK: 8 MiB in 20 packages [2022-10-25T21:07:44.358Z] Removing intermediate container 6c30552411ad [2022-10-25T21:07:44.358Z] ---> b9c53d5ec454 [2022-10-25T21:07:44.358Z] Step 16/24 : COPY --from=builder /device-modbus-go/cmd / [2022-10-25T21:07:44.358Z] ---> 141dd5cf5a54 [2022-10-25T21:07:44.358Z] Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / [2022-10-25T21:07:44.358Z] ---> 738fad0afc53 [2022-10-25T21:07:44.358Z] Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-10-25T21:07:44.358Z] ---> b4699bd79941 [2022-10-25T21:07:44.358Z] Step 19/24 : EXPOSE 59901 [2022-10-25T21:07:44.358Z] ---> Running in 8e553b55452b [2022-10-25T21:07:44.358Z] Removing intermediate container 8e553b55452b [2022-10-25T21:07:44.358Z] ---> 07fcae4e6478 [2022-10-25T21:07:44.358Z] Step 20/24 : ENTRYPOINT ["/device-modbus"] [2022-10-25T21:07:44.358Z] ---> Running in da9458190c59 [2022-10-25T21:07:44.358Z] Removing intermediate container da9458190c59 [2022-10-25T21:07:44.358Z] ---> 8ece7aba3b85 [2022-10-25T21:07:44.358Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-25T21:07:44.358Z] ---> Running in 0db60e75ab17 [2022-10-25T21:07:44.358Z] Removing intermediate container 0db60e75ab17 [2022-10-25T21:07:44.358Z] ---> 1befb4f0db6d [2022-10-25T21:07:44.358Z] Step 22/24 : LABEL arch=arm64 [2022-10-25T21:07:44.358Z] ---> Running in 20f30d5810d7 [2022-10-25T21:07:44.358Z] Removing intermediate container 20f30d5810d7 [2022-10-25T21:07:44.358Z] ---> 0dc8b4008c0c [2022-10-25T21:07:44.358Z] Step 23/24 : LABEL git_sha=22aa8c183b26e4a16e52f2baeddb31158928fe47 [2022-10-25T21:07:44.358Z] ---> Running in 084cbe4a9a19 [2022-10-25T21:07:44.358Z] Removing intermediate container 084cbe4a9a19 [2022-10-25T21:07:44.358Z] ---> c33ae01cbf8f [2022-10-25T21:07:44.358Z] Step 24/24 : LABEL version=0.0.0 [2022-10-25T21:07:44.358Z] ---> Running in 4eb953ced1b1 [2022-10-25T21:07:44.358Z] Removing intermediate container 4eb953ced1b1 [2022-10-25T21:07:44.358Z] ---> 3f4e9b27bb2a [2022-10-25T21:07:44.358Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-25T21:07:44.358Z] Successfully built 3f4e9b27bb2a [2022-10-25T21:07:44.358Z] 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-10-25T21:07:44.795Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T21:07:44.795Z] [2022-10-25T21:07:44.795Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T21:07:45.124Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T21:07:45.124Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-25T21:07:45.124Z] 8998bd30e6a1: Pulling fs layer [2022-10-25T21:07:45.124Z] 04944245beec: Pulling fs layer [2022-10-25T21:07:45.124Z] 699f458cf7ca: Pulling fs layer [2022-10-25T21:07:45.124Z] 765212b225bb: Pulling fs layer [2022-10-25T21:07:45.124Z] f23df028b6ca: Pulling fs layer [2022-10-25T21:07:45.124Z] d65c8cfc05b1: Pulling fs layer [2022-10-25T21:07:45.124Z] 2437ff75d9bd: Pulling fs layer [2022-10-25T21:07:45.124Z] 765212b225bb: Waiting [2022-10-25T21:07:45.124Z] f23df028b6ca: Waiting [2022-10-25T21:07:45.124Z] d65c8cfc05b1: Waiting [2022-10-25T21:07:45.124Z] 2437ff75d9bd: Waiting [2022-10-25T21:07:45.391Z] 04944245beec: Verifying Checksum [2022-10-25T21:07:45.391Z] 04944245beec: Download complete [2022-10-25T21:07:45.391Z] 765212b225bb: Download complete [2022-10-25T21:07:45.391Z] f23df028b6ca: Verifying Checksum [2022-10-25T21:07:45.391Z] f23df028b6ca: Download complete [2022-10-25T21:07:45.391Z] d65c8cfc05b1: Verifying Checksum [2022-10-25T21:07:45.391Z] d65c8cfc05b1: Download complete [2022-10-25T21:07:45.391Z] 699f458cf7ca: Verifying Checksum [2022-10-25T21:07:45.391Z] 699f458cf7ca: Download complete [2022-10-25T21:07:45.975Z] 8998bd30e6a1: Verifying Checksum [2022-10-25T21:07:45.975Z] 8998bd30e6a1: Download complete [2022-10-25T21:07:47.916Z] 2437ff75d9bd: Verifying Checksum [2022-10-25T21:07:47.916Z] 2437ff75d9bd: Download complete [2022-10-25T21:07:49.861Z] 8998bd30e6a1: Pull complete [2022-10-25T21:07:51.266Z] 04944245beec: Pull complete [2022-10-25T21:07:52.673Z] 699f458cf7ca: Pull complete [2022-10-25T21:07:52.939Z] 765212b225bb: Pull complete [2022-10-25T21:07:53.525Z] f23df028b6ca: Pull complete [2022-10-25T21:07:53.793Z] d65c8cfc05b1: Pull complete [2022-10-25T21:08:08.784Z] 2437ff75d9bd: Pull complete [2022-10-25T21:08:08.784Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-25T21:08:08.784Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T21:08:08.784Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T21:08:08.968Z] prd-ubuntu20.04-docker-arm64-4c-16g-116991 does not seem to be running inside a container [2022-10-25T21:08:09.039Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-25T21:08:11.472Z] $ docker top 0e00da195829c80053196bb827bd4d6db375a19a020e3ab0ef41826816981b07 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T21:08:12.365Z] ---> job-cost.sh [2022-10-25T21:08:12.365Z] lf-activate-venv: SKIPPING [2022-10-25T21:08:12.365Z] INFO: No Stack... [2022-10-25T21:08:12.636Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-25T21:08:13.602Z] INFO: Archiving Costs [Pipeline] sh [2022-10-25T21:08:13.944Z] + cat /w/workspace/device-modbus-go/3/archives/cost.csv [2022-10-25T21:08:13.944Z] + cut -d, -f6 [Pipeline] lock [2022-10-25T21:08:14.293Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-385-3-stack-cost] [2022-10-25T21:08:14.299Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-385-3-stack-cost] did not exist. Created. [2022-10-25T21:08:14.299Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-385-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-25T21:08:14.951Z] /w/workspace/device-modbus-go/3@tmp/durable-6123afde/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-25T21:08:15.603Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-25T21:08:15.621Z] Warning: overwriting stash ‘stack-cost’ [2022-10-25T21:08:15.689Z] Stashed 1 file(s) [Pipeline] } [2022-10-25T21:08:15.695Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-385-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-25T21:08:15.701Z] $ docker stop --time=1 0e00da195829c80053196bb827bd4d6db375a19a020e3ab0ef41826816981b07 [2022-10-25T21:08:17.171Z] $ docker rm -f 0e00da195829c80053196bb827bd4d6db375a19a020e3ab0ef41826816981b07 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-10-25T21:08:17.532Z] provisioning config files... [2022-10-25T21:08:17.539Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config6539535678858827603tmp [Pipeline] { [Pipeline] sh [2022-10-25T21:08:17.844Z] + set +x [2022-10-25T21:08:17.844Z] + curl -s https://codecov.io/bash [2022-10-25T21:08:17.844Z] + bash -s -- [2022-10-25T21:08:17.844Z] [2022-10-25T21:08:17.844Z] _____ _ [2022-10-25T21:08:17.844Z] / ____| | | [2022-10-25T21:08:17.844Z] | | ___ __| | ___ ___ _____ __ [2022-10-25T21:08:17.844Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-25T21:08:17.844Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-25T21:08:17.844Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-25T21:08:17.844Z] Bash-1.0.6 [2022-10-25T21:08:17.844Z] [2022-10-25T21:08:17.844Z] [2022-10-25T21:08:17.844Z] ==> git version 2.25.1 found [2022-10-25T21:08:17.844Z] ==> 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-10-25T21:08:17.844Z] Release-Date: 2020-01-08 [2022-10-25T21:08:17.844Z] 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-10-25T21:08:17.844Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-25T21:08:17.844Z] ==> Jenkins CI detected. [2022-10-25T21:08:17.844Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-385 [2022-10-25T21:08:17.844Z] project root: . [2022-10-25T21:08:17.844Z] --> token set from env [2022-10-25T21:08:17.844Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-25T21:08:17.844Z] ==> Running gcov in . (disable via -X gcov) [2022-10-25T21:08:17.844Z] ==> Python coveragepy not found [2022-10-25T21:08:17.844Z] ==> Searching for coverage reports in: [2022-10-25T21:08:17.844Z] + . [2022-10-25T21:08:17.844Z] -> Found 1 reports [2022-10-25T21:08:17.844Z] ==> Detecting git/mercurial file structure [2022-10-25T21:08:17.844Z] ==> Reading reports [2022-10-25T21:08:17.844Z] + ./coverage.out bytes=23241 [2022-10-25T21:08:17.844Z] ==> Appending adjustments [2022-10-25T21:08:17.844Z] https://docs.codecov.io/docs/fixing-reports [2022-10-25T21:08:18.102Z] + Found adjustments [2022-10-25T21:08:18.102Z] ==> Gzipping contents [2022-10-25T21:08:18.102Z] 4.0K /tmp/codecov.9xoB98.gz [2022-10-25T21:08:18.102Z] ==> Uploading reports [2022-10-25T21:08:18.102Z] url: https://codecov.io [2022-10-25T21:08:18.102Z] query: branch=PR-385&commit=d3ef238f9a45dc53718d6f1d0613cb60ca9d1225&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-385%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=385&job=&cmd_args= [2022-10-25T21:08:18.102Z] -> Pinging Codecov [2022-10-25T21:08:18.102Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-385&commit=d3ef238f9a45dc53718d6f1d0613cb60ca9d1225&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-385%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=385&job=&cmd_args= [2022-10-25T21:08:18.361Z] -> Uploading to [2022-10-25T21:08:18.361Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-25/55DBCA73C666E3227836607328DD7E49/d3ef238f9a45dc53718d6f1d0613cb60ca9d1225/730f8714-9983-4019-903b-d22fc5923865.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221025T210818Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=70dea8486d2a4edad4bfade4d1df92b76886a6e8bac0ee1c3d45ab3792fd0b05 [2022-10-25T21:08:18.361Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-25T21:08:18.361Z] Dload Upload Total Spent Left Speed [2022-10-25T21:08:18.620Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3904 0 0 100 3904 0 16683 --:--:-- --:--:-- --:--:-- 16683 [2022-10-25T21:08:18.620Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/d3ef238f9a45dc53718d6f1d0613cb60ca9d1225 [Pipeline] } [2022-10-25T21:08:18.628Z] 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-10-25T21:08:19.296Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-385/archives ] [2022-10-25T21:08:19.296Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-385/archives [2022-10-25T21:08:19.296Z] total 16 [2022-10-25T21:08:19.296Z] drwxr-xr-x 3 root root 4096 Oct 25 20:55 . [2022-10-25T21:08:19.296Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 20:55 .. [2022-10-25T21:08:19.296Z] drwxr-xr-x 2 root root 4096 Oct 25 20:55 cost [2022-10-25T21:08:19.296Z] -rw-r--r-- 1 root root 88 Oct 25 20:55 cost.csv [2022-10-25T21:08:19.296Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-385/archives [2022-10-25T21:08:19.296Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-385/archives [2022-10-25T21:08:19.296Z] total 16 [2022-10-25T21:08:19.296Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 20:55 . [2022-10-25T21:08:19.296Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 20:55 .. [2022-10-25T21:08:19.296Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 20:55 cost [2022-10-25T21:08:19.296Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 25 20:55 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-25T21:08:19.583Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T21:08:20.437Z] ---> package-listing.sh [2022-10-25T21:08:20.437Z] ++ facter osfamily [2022-10-25T21:08:20.437Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-25T21:08:20.697Z] + OS_FAMILY=debian [2022-10-25T21:08:20.697Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-385 [2022-10-25T21:08:20.697Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-25T21:08:20.697Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-25T21:08:20.697Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-25T21:08:20.697Z] + PACKAGES=/tmp/packages_start.txt [2022-10-25T21:08:20.697Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-385 ']' [2022-10-25T21:08:20.697Z] + PACKAGES=/tmp/packages_end.txt [2022-10-25T21:08:20.697Z] + case "${OS_FAMILY}" in [2022-10-25T21:08:20.697Z] + dpkg -l [2022-10-25T21:08:20.697Z] + grep '^ii' [2022-10-25T21:08:20.697Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-25T21:08:20.697Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-25T21:08:20.697Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-25T21:08:20.697Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-385 ']' [2022-10-25T21:08:20.697Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-385/archives/ [2022-10-25T21:08:20.698Z] + 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-10-25T21:08:20.709Z] 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-10-25T21:08:20.988Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T21:08:21.546Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T21:08:21.546Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T21:08:21.606Z] prd-ubuntu20.04-docker-8c-8g-116989 does not seem to be running inside a container [2022-10-25T21:08:21.660Z] $ 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-10-25T21:08:21.845Z] $ docker top 4147fcc7b54e766651cd073172f0ca4f7be084748b7cd7d671d211e4cc212324 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T21:08:22.154Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-25T21:08:22.437Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-25T21:08:22.720Z] + ls /var/log/sa-host [2022-10-25T21:08:22.720Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T21:08:22.781Z] provisioning config files... [2022-10-25T21:08:22.788Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config2027238497597363203tmp [Pipeline] { [Pipeline] echo [2022-10-25T21:08:22.801Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T21:08:23.080Z] ---> create-netrc.sh [Pipeline] } [2022-10-25T21:08:23.087Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-25T21:08:23.401Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-25T21:08:23.409Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T21:08:23.692Z] ---> sudo-logs.sh [2022-10-25T21:08:23.692Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-25T21:08:23.720Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T21:08:24.004Z] ---> job-cost.sh [2022-10-25T21:08:24.005Z] lf-activate-venv: SKIPPING [2022-10-25T21:08:24.005Z] DEBUG: total: 0.2199999988079071 [2022-10-25T21:08:24.005Z] INFO: Retrieving Stack Cost... [2022-10-25T21:08:24.264Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-25T21:08:24.832Z] INFO: Archiving Costs [Pipeline] echo [2022-10-25T21:08:24.844Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T21:08:25.125Z] ---> logs-deploy.sh [2022-10-25T21:08:25.125Z] lf-activate-venv: SKIPPING [2022-10-25T21:08:25.125Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-385/3 [2022-10-25T21:08:25.125Z] INFO: archiving workspace using pattern(s): [2022-10-25T21:08:26.060Z] Archives upload complete. [2022-10-25T21:08:26.060Z] INFO: archiving logs to Nexus [2022-10-25T21:08:26.627Z] ---> uname -a: [2022-10-25T21:08:26.627Z] Linux prd-ubuntu20-04-docker-8c-8g-116989 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-10-25T21:08:26.627Z] [2022-10-25T21:08:26.627Z]