Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 514f8514b7960d8aafd43d2de455918271582671+251be81c94d6bf2c69d06494166ea5d98cfe24ab (59acdce2ce26fa240caf0f6adc202a6e577d5eb7) 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-ssh3171220229351471965.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16441888781864655328.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-385/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-385/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14939422940318831048.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5147943910878634814.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-ssh4434669474798020301.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 ‘prd-centos7-blackbox-4c-2g-118274’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-118658’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-118657’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-118659 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 251be81c94d6bf2c69d06494166ea5d98cfe24ab into PR head commit 514f8514b7960d8aafd43d2de455918271582671 Merge succeeded, producing 9c38d860346094190cd48530eb505bcf9eaa76e0 Checking out Revision 9c38d860346094190cd48530eb505bcf9eaa76e0 (PR-385) > git config core.sparsecheckout # timeout=10 > git checkout -f 514f8514b7960d8aafd43d2de455918271582671 # 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 251be81c94d6bf2c69d06494166ea5d98cfe24ab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9c38d860346094190cd48530eb505bcf9eaa76e0 # timeout=10 Commit message: "Merge commit '251be81c94d6bf2c69d06494166ea5d98cfe24ab' into HEAD" > git rev-list --no-walk 514f8514b7960d8aafd43d2de455918271582671 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-08T20:52:45.151Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-08T20:52:45.215Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-08T20:52:45.234Z] ========================================================= [2022-11-08T20:52:45.234Z] EdgeX Global Pipelines Version Info [2022-11-08T20:52:45.234Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-08T20:52:46.337Z] ------------------- [2022-11-08T20:52:46.338Z] stable info: [2022-11-08T20:52:46.338Z] ------------------- [2022-11-08T20:52:46.338Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-08T20:52:46.338Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-08T20:52:46.338Z] Message: update stable to v1.0.244 [2022-11-08T20:52:46.597Z] ------------------- [2022-11-08T20:52:46.597Z] experimental info: [2022-11-08T20:52:46.597Z] ------------------- [2022-11-08T20:52:46.597Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-08T20:52:46.597Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-08T20:52:46.597Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-08T20:52:46.765Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-11-08T20:52:46.781Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-11-08T20:52:46.791Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-08T20:52:46.807Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-08T20:52:46.818Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-08T20:52:46.836Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-08T20:52:46.852Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-08T20:52:46.870Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-08T20:52:46.886Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-08T20:52:46.894Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-08T20:52:46.906Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-08T20:52:46.917Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-11-08T20:52:46.928Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-08T20:52:46.942Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-08T20:52:46.956Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-08T20:52:46.972Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-08T20:52:46.986Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-08T20:52:47.000Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-08T20:52:47.013Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-08T20:52:47.029Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-08T20:52:47.043Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-11-08T20:52:47.054Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-11-08T20:52:47.065Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-08T20:52:47.078Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-08T20:52:47.089Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-08T20:52:47.101Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-08T20:52:47.113Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-08T20:52:47.125Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-385 [Pipeline] echo [2022-11-08T20:52:47.138Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-385 [Pipeline] echo [2022-11-08T20:52:47.148Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-385 [Pipeline] echo [2022-11-08T20:52:47.167Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9c38d860346094190cd48530eb505bcf9eaa76e0 [Pipeline] echo [2022-11-08T20:52:47.182Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9c38d86 [Pipeline] echo [2022-11-08T20:52:47.192Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T20:52:47.236Z] provisioning config files... [2022-11-08T20:52:47.249Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config1525802789057294752tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T20:52:47.549Z] ---> docker-login.sh [2022-11-08T20:52:47.549Z] nexus3.edgexfoundry.org:10001 [2022-11-08T20:52:47.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T20:52:47.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T20:52:47.808Z] Configure a credential helper to remove this warning. See [2022-11-08T20:52:47.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T20:52:47.808Z] [2022-11-08T20:52:47.808Z] Login Succeeded [2022-11-08T20:52:47.808Z] nexus3.edgexfoundry.org:10002 [2022-11-08T20:52:47.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T20:52:47.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T20:52:47.809Z] Configure a credential helper to remove this warning. See [2022-11-08T20:52:47.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T20:52:47.809Z] [2022-11-08T20:52:47.809Z] Login Succeeded [2022-11-08T20:52:47.809Z] nexus3.edgexfoundry.org:10003 [2022-11-08T20:52:48.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T20:52:48.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T20:52:48.069Z] Configure a credential helper to remove this warning. See [2022-11-08T20:52:48.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T20:52:48.069Z] [2022-11-08T20:52:48.069Z] Login Succeeded [2022-11-08T20:52:48.069Z] nexus3.edgexfoundry.org:10004 [2022-11-08T20:52:48.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T20:52:48.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T20:52:48.069Z] Configure a credential helper to remove this warning. See [2022-11-08T20:52:48.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T20:52:48.069Z] [2022-11-08T20:52:48.069Z] Login Succeeded [2022-11-08T20:52:48.069Z] docker.io [2022-11-08T20:52:48.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T20:52:48.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T20:52:48.590Z] Configure a credential helper to remove this warning. See [2022-11-08T20:52:48.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T20:52:48.590Z] [2022-11-08T20:52:48.590Z] Login Succeeded [2022-11-08T20:52:48.590Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T20:52:48.597Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-08T20:52:48.964Z] + git rev-list -1 --merges 9c38d860346094190cd48530eb505bcf9eaa76e0~1..9c38d860346094190cd48530eb505bcf9eaa76e0 [Pipeline] echo [2022-11-08T20:52:49.062Z] -----------> git rev-list -1 --merges 9c38d860346094190cd48530eb505bcf9eaa76e0~1..9c38d860346094190cd48530eb505bcf9eaa76e0 9c38d860346094190cd48530eb505bcf9eaa76e0 [2022-11-08T20:52:49.062Z] 9c38d860346094190cd48530eb505bcf9eaa76e0 [false] [Pipeline] sh [2022-11-08T20:52:49.343Z] + git log --format=format:%s -1 9c38d860346094190cd48530eb505bcf9eaa76e0 [Pipeline] echo [2022-11-08T20:52:49.357Z] ========================================================= [2022-11-08T20:52:49.357Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-08T20:52:49.357Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T20:52:49.671Z] + git log --format=format:%s -1 9c38d860346094190cd48530eb505bcf9eaa76e0 [Pipeline] echo [2022-11-08T20:52:49.683Z] [semverPrep] GIT_COMMIT: 9c38d860346094190cd48530eb505bcf9eaa76e0, Commit Message: Merge commit '251be81c94d6bf2c69d06494166ea5d98cfe24ab' into HEAD [Pipeline] echo [2022-11-08T20:52:49.695Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-08T20:52:50.056Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-08T20:52:50.056Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-08T20:52:50.056Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-08T20:52:50.056Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-08T20:52:50.056Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-08T20:52:50.056Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-08T20:52:50.056Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T20:52:50.466Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T20:52:50.466Z] [2022-11-08T20:52:50.466Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T20:52:50.764Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T20:52:50.765Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-08T20:52:50.765Z] b85a868b505f: Pulling fs layer [2022-11-08T20:52:50.765Z] e2be974225ed: Pulling fs layer [2022-11-08T20:52:50.765Z] 339a4e72a1f5: Pulling fs layer [2022-11-08T20:52:50.765Z] 988bab9f4d93: Pulling fs layer [2022-11-08T20:52:50.765Z] 1469e6f7b9e6: Pulling fs layer [2022-11-08T20:52:50.765Z] eaf3925da568: Pulling fs layer [2022-11-08T20:52:50.765Z] bab4dde63d76: Pulling fs layer [2022-11-08T20:52:50.765Z] bde34c3a00c8: Pulling fs layer [2022-11-08T20:52:50.765Z] b352a97aabf1: Pulling fs layer [2022-11-08T20:52:50.765Z] 4872d77fe225: Pulling fs layer [2022-11-08T20:52:50.765Z] 5851b861e8e6: Pulling fs layer [2022-11-08T20:52:50.765Z] bab4dde63d76: Waiting [2022-11-08T20:52:50.765Z] 4872d77fe225: Waiting [2022-11-08T20:52:50.765Z] 5851b861e8e6: Waiting [2022-11-08T20:52:50.765Z] bde34c3a00c8: Waiting [2022-11-08T20:52:50.765Z] b352a97aabf1: Waiting [2022-11-08T20:52:50.765Z] 988bab9f4d93: Waiting [2022-11-08T20:52:50.765Z] 1469e6f7b9e6: Waiting [2022-11-08T20:52:50.765Z] eaf3925da568: Waiting [2022-11-08T20:52:50.765Z] e2be974225ed: Verifying Checksum [2022-11-08T20:52:50.765Z] e2be974225ed: Download complete [2022-11-08T20:52:50.765Z] 988bab9f4d93: Verifying Checksum [2022-11-08T20:52:50.765Z] 988bab9f4d93: Download complete [2022-11-08T20:52:51.025Z] 1469e6f7b9e6: Verifying Checksum [2022-11-08T20:52:51.025Z] 1469e6f7b9e6: Download complete [2022-11-08T20:52:51.025Z] 339a4e72a1f5: Verifying Checksum [2022-11-08T20:52:51.025Z] 339a4e72a1f5: Download complete [2022-11-08T20:52:51.025Z] eaf3925da568: Verifying Checksum [2022-11-08T20:52:51.025Z] eaf3925da568: Download complete [2022-11-08T20:52:51.025Z] bde34c3a00c8: Verifying Checksum [2022-11-08T20:52:51.025Z] bde34c3a00c8: Download complete [2022-11-08T20:52:51.025Z] b352a97aabf1: Verifying Checksum [2022-11-08T20:52:51.025Z] b352a97aabf1: Download complete [2022-11-08T20:52:51.025Z] 4872d77fe225: Download complete [2022-11-08T20:52:51.025Z] 5851b861e8e6: Verifying Checksum [2022-11-08T20:52:51.025Z] 5851b861e8e6: Download complete [2022-11-08T20:52:51.025Z] b85a868b505f: Verifying Checksum [2022-11-08T20:52:51.025Z] b85a868b505f: Download complete [2022-11-08T20:52:51.284Z] bab4dde63d76: Verifying Checksum [2022-11-08T20:52:51.284Z] bab4dde63d76: Download complete [2022-11-08T20:52:52.222Z] b85a868b505f: Pull complete [2022-11-08T20:52:52.222Z] e2be974225ed: Pull complete [2022-11-08T20:52:52.788Z] 339a4e72a1f5: Pull complete [2022-11-08T20:52:52.788Z] 988bab9f4d93: Pull complete [2022-11-08T20:52:53.047Z] 1469e6f7b9e6: Pull complete [2022-11-08T20:52:53.047Z] eaf3925da568: Pull complete [2022-11-08T20:52:54.954Z] bab4dde63d76: Pull complete [2022-11-08T20:52:54.954Z] bde34c3a00c8: Pull complete [2022-11-08T20:52:55.214Z] b352a97aabf1: Pull complete [2022-11-08T20:52:55.215Z] 4872d77fe225: Pull complete [2022-11-08T20:52:55.215Z] 5851b861e8e6: Pull complete [2022-11-08T20:52:55.215Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-08T20:52:55.215Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T20:52:55.215Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T20:52:55.294Z] prd-ubuntu20.04-docker-8c-8g-118659 does not seem to be running inside a container [2022-11-08T20:52:55.330Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-08T20:52:57.635Z] $ docker top 658b6313bf6bf5ac885f04bffb819043838f438c99a2910c8c3368619ec77556 -eo pid,comm [2022-11-08T20:52:57.688Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-11-08T20:52:57.688Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-08T20:52:57.728Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T20:52:57.728Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T20:52:57.840Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T20:52:57.846Z] $ docker exec 658b6313bf6bf5ac885f04bffb819043838f438c99a2910c8c3368619ec77556 ssh-agent [2022-11-08T20:52:57.955Z] SSH_AUTH_SOCK=/tmp/ssh-DvQOaDXc7IRJ/agent.33 [2022-11-08T20:52:57.955Z] SSH_AGENT_PID=39 [2022-11-08T20:52:57.961Z] Running ssh-add (command line suppressed) [2022-11-08T20:52:58.067Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_13653146998504817875.key (/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_13653146998504817875.key) [2022-11-08T20:52:58.077Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T20:52:58.363Z] + git tag --points-at HEAD [Pipeline] } [2022-11-08T20:52:58.381Z] $ docker exec --env ******** --env ******** 658b6313bf6bf5ac885f04bffb819043838f438c99a2910c8c3368619ec77556 ssh-agent -k [2022-11-08T20:52:58.473Z] unset SSH_AUTH_SOCK; [2022-11-08T20:52:58.474Z] unset SSH_AGENT_PID; [2022-11-08T20:52:58.474Z] echo Agent pid 39 killed; [2022-11-08T20:52:58.482Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-08T20:52:58.508Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T20:52:58.508Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T20:52:58.623Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T20:52:58.629Z] $ docker exec 658b6313bf6bf5ac885f04bffb819043838f438c99a2910c8c3368619ec77556 ssh-agent [2022-11-08T20:52:58.722Z] SSH_AUTH_SOCK=/tmp/ssh-p8IQRil6a5C2/agent.71 [2022-11-08T20:52:58.722Z] SSH_AGENT_PID=78 [2022-11-08T20:52:58.727Z] Running ssh-add (command line suppressed) [2022-11-08T20:52:58.834Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_16395151519756517677.key (/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_16395151519756517677.key) [2022-11-08T20:52:58.846Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T20:52:59.130Z] + git semver init [2022-11-08T20:52:59.389Z] 2022-11-08 20:52:59,288 [run_init] DEBUG init version:0.0.0 force:False [2022-11-08T20:52:59.389Z] 2022-11-08 20:52:59,288 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-385/.semver [2022-11-08T20:52:59.389Z] 2022-11-08 20:52:59,289 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-385/.semver [2022-11-08T20:52:59.389Z] 2022-11-08 20:52:59,289 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-385/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-385, universal_newlines=False, shell=None, istream=None) [2022-11-08T20:53:00.323Z] 2022-11-08 20:53:00,223 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-385/.git/info/exclude [2022-11-08T20:53:00.323Z] 2022-11-08 20:53:00,224 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-385/.semver/PR-385 with force:False [2022-11-08T20:53:00.323Z] 2022-11-08 20:53:00,224 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-385/.semver/PR-385 [2022-11-08T20:53:00.323Z] 2022-11-08 20:53:00,228 [execute] INFO git cat-file --batch-check [2022-11-08T20:53:00.323Z] 2022-11-08 20:53:00,229 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-385/.semver, universal_newlines=False, shell=None, istream=) [2022-11-08T20:53:00.323Z] 2022-11-08 20:53:00,234 [execute] INFO git cat-file --batch [2022-11-08T20:53:00.323Z] 2022-11-08 20:53:00,235 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-385/.semver, universal_newlines=False, shell=None, istream=) [2022-11-08T20:53:00.323Z] 2022-11-08 20:53:00,241 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-385/.semver/PR-385 [2022-11-08T20:53:00.323Z] 0.0.0 [Pipeline] } [2022-11-08T20:53:00.336Z] $ docker exec --env ******** --env ******** 658b6313bf6bf5ac885f04bffb819043838f438c99a2910c8c3368619ec77556 ssh-agent -k [2022-11-08T20:53:00.438Z] unset SSH_AUTH_SOCK; [2022-11-08T20:53:00.439Z] unset SSH_AGENT_PID; [2022-11-08T20:53:00.443Z] echo Agent pid 78 killed; [2022-11-08T20:53:00.447Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-08T20:53:00.757Z] + git semver [Pipeline] } [2022-11-08T20:53:01.030Z] $ docker stop --time=1 658b6313bf6bf5ac885f04bffb819043838f438c99a2910c8c3368619ec77556 [2022-11-08T20:53:02.315Z] $ docker rm -f 658b6313bf6bf5ac885f04bffb819043838f438c99a2910c8c3368619ec77556 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T20:53:02.645Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-08T20:53:02.833Z] Stashed 1 file(s) [Pipeline] echo [2022-11-08T20:53:02.835Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T20:53:02.946Z] provisioning config files... [2022-11-08T20:53:02.954Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config14830185760864248871tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T20:53:03.244Z] ---> docker-login.sh [2022-11-08T20:53:03.244Z] nexus3.edgexfoundry.org:10001 [2022-11-08T20:53:03.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T20:53:03.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T20:53:03.244Z] Configure a credential helper to remove this warning. See [2022-11-08T20:53:03.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T20:53:03.244Z] [2022-11-08T20:53:03.244Z] Login Succeeded [2022-11-08T20:53:03.244Z] nexus3.edgexfoundry.org:10002 [2022-11-08T20:53:03.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T20:53:03.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T20:53:03.244Z] Configure a credential helper to remove this warning. See [2022-11-08T20:53:03.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T20:53:03.244Z] [2022-11-08T20:53:03.244Z] Login Succeeded [2022-11-08T20:53:03.244Z] nexus3.edgexfoundry.org:10003 [2022-11-08T20:53:03.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T20:53:03.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T20:53:03.503Z] Configure a credential helper to remove this warning. See [2022-11-08T20:53:03.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T20:53:03.503Z] [2022-11-08T20:53:03.503Z] Login Succeeded [2022-11-08T20:53:03.503Z] nexus3.edgexfoundry.org:10004 [2022-11-08T20:53:03.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T20:53:03.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T20:53:03.503Z] Configure a credential helper to remove this warning. See [2022-11-08T20:53:03.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T20:53:03.503Z] [2022-11-08T20:53:03.503Z] Login Succeeded [2022-11-08T20:53:03.503Z] docker.io [2022-11-08T20:53:03.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T20:53:04.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T20:53:04.022Z] Configure a credential helper to remove this warning. See [2022-11-08T20:53:04.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T20:53:04.022Z] [2022-11-08T20:53:04.022Z] Login Succeeded [2022-11-08T20:53:04.022Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T20:53:04.029Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-08T20:53:04.081Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T20:53:04.097Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T20:53:04.105Z] ========================================================= [2022-11-08T20:53:04.105Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-08T20:53:04.105Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T20:53:04.406Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-11-08T20:53:04.406Z] Sending build context to Docker daemon 6.28MB [2022-11-08T20:53:04.406Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T20:53:04.406Z] Step 2/10 : FROM ${BASE} AS builder [2022-11-08T20:53:04.406Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-08T20:53:04.406Z] 213ec9aee27d: Pulling fs layer [2022-11-08T20:53:04.406Z] 4583459ba037: Pulling fs layer [2022-11-08T20:53:04.406Z] 93c1e223e6f2: Pulling fs layer [2022-11-08T20:53:04.406Z] 53926ce57604: Pulling fs layer [2022-11-08T20:53:04.406Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-08T20:53:04.406Z] 22ff95d597cd: Pulling fs layer [2022-11-08T20:53:04.406Z] 12d6caf4c0d1: Pulling fs layer [2022-11-08T20:53:04.406Z] 96b7cbca73a9: Pulling fs layer [2022-11-08T20:53:04.406Z] a7acece74701: Pulling fs layer [2022-11-08T20:53:04.406Z] 53926ce57604: Waiting [2022-11-08T20:53:04.406Z] 21b2b0c7a3f4: Waiting [2022-11-08T20:53:04.406Z] 22ff95d597cd: Waiting [2022-11-08T20:53:04.406Z] 12d6caf4c0d1: Waiting [2022-11-08T20:53:04.406Z] a7acece74701: Waiting [2022-11-08T20:53:04.406Z] 96b7cbca73a9: Waiting [2022-11-08T20:53:04.406Z] 93c1e223e6f2: Verifying Checksum [2022-11-08T20:53:04.406Z] 93c1e223e6f2: Download complete [2022-11-08T20:53:04.406Z] 4583459ba037: Download complete [2022-11-08T20:53:04.406Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-08T20:53:04.406Z] 21b2b0c7a3f4: Download complete [2022-11-08T20:53:04.665Z] 22ff95d597cd: Verifying Checksum [2022-11-08T20:53:04.665Z] 22ff95d597cd: Download complete [2022-11-08T20:53:04.665Z] 213ec9aee27d: Verifying Checksum [2022-11-08T20:53:04.665Z] 213ec9aee27d: Download complete [2022-11-08T20:53:04.665Z] 12d6caf4c0d1: Download complete [2022-11-08T20:53:04.665Z] 213ec9aee27d: Pull complete [2022-11-08T20:53:04.926Z] 4583459ba037: Pull complete [2022-11-08T20:53:04.926Z] 93c1e223e6f2: Pull complete [2022-11-08T20:53:05.495Z] 53926ce57604: Verifying Checksum [2022-11-08T20:53:05.495Z] 53926ce57604: Download complete [2022-11-08T20:53:05.495Z] a7acece74701: Verifying Checksum [2022-11-08T20:53:05.495Z] a7acece74701: Download complete [2022-11-08T20:53:05.754Z] 96b7cbca73a9: Verifying Checksum [2022-11-08T20:53:05.754Z] 96b7cbca73a9: Download complete [2022-11-08T20:53:09.938Z] 53926ce57604: Pull complete [2022-11-08T20:53:09.938Z] 21b2b0c7a3f4: Pull complete [2022-11-08T20:53:09.938Z] 22ff95d597cd: Pull complete [2022-11-08T20:53:09.938Z] 12d6caf4c0d1: Pull complete [2022-11-08T20:53:11.839Z] 96b7cbca73a9: Pull complete [2022-11-08T20:53:12.407Z] a7acece74701: Pull complete [2022-11-08T20:53:12.407Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-08T20:53:12.407Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-08T20:53:12.407Z] ---> db6d94c90886 [2022-11-08T20:53:12.407Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2022-11-08T20:53:16.592Z] ---> Running in 88126312f645 [2022-11-08T20:53:16.592Z] Removing intermediate container 88126312f645 [2022-11-08T20:53:16.592Z] ---> 5334c883ba12 [2022-11-08T20:53:16.592Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T20:53:16.592Z] ---> Running in 830025a6e297 [2022-11-08T20:53:16.592Z] Removing intermediate container 830025a6e297 [2022-11-08T20:53:16.592Z] ---> 003f2326c166 [2022-11-08T20:53:16.592Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-11-08T20:53:16.592Z] ---> Running in e6c4b0538f8d [2022-11-08T20:53:16.851Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T20:53:17.110Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T20:53:17.368Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-11-08T20:53:17.368Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-11-08T20:53:17.368Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-11-08T20:53:17.368Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-11-08T20:53:17.368Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-11-08T20:53:17.368Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-11-08T20:53:17.368Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-11-08T20:53:17.368Z] (8/8) Installing openssh (9.0_p1-r2) [2022-11-08T20:53:17.627Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T20:53:17.627Z] OK: 217 MiB in 59 packages [2022-11-08T20:53:17.918Z] Still waiting to schedule task [2022-11-08T20:53:17.918Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-118657’ [2022-11-08T20:53:18.195Z] Removing intermediate container e6c4b0538f8d [2022-11-08T20:53:18.195Z] ---> 908ecf34d2db [2022-11-08T20:53:18.195Z] Step 6/10 : WORKDIR /device-modbus-go [2022-11-08T20:53:18.195Z] ---> Running in 2ff8ed138215 [2022-11-08T20:53:18.195Z] Removing intermediate container 2ff8ed138215 [2022-11-08T20:53:18.195Z] ---> 9163683e389b [2022-11-08T20:53:18.195Z] Step 7/10 : COPY go.mod vendor* ./ [2022-11-08T20:53:18.454Z] ---> c78b31ee5b1c [2022-11-08T20:53:18.454Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T20:53:18.454Z] ---> Running in c9e37f55f8dd [2022-11-08T20:53:40.395Z] Removing intermediate container c9e37f55f8dd [2022-11-08T20:53:40.395Z] ---> e8d78a490955 [2022-11-08T20:53:40.395Z] Step 9/10 : COPY . . [2022-11-08T20:53:40.395Z] ---> 1a142bbf2578 [2022-11-08T20:53:40.395Z] Step 10/10 : RUN ${MAKE} [2022-11-08T20:53:40.395Z] ---> Running in f68088e76dc8 [2022-11-08T20:53:40.654Z] noop [2022-11-08T20:53:40.913Z] Removing intermediate container f68088e76dc8 [2022-11-08T20:53:40.913Z] ---> 1660c219902b [2022-11-08T20:53:40.913Z] Successfully built 1660c219902b [2022-11-08T20:53:40.913Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T20:53:41.226Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-08T20:53:41.226Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T20:53:41.294Z] prd-ubuntu20.04-docker-8c-8g-118659 does not seem to be running inside a container [2022-11-08T20:53:41.333Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-08T20:53:41.679Z] $ docker top 440c5573cc7fa61cba70ee202721617815d76a1cc4dc0794136a540c1fd4ef04 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T20:53:42.022Z] + go version [2022-11-08T20:53:42.022Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-08T20:53:42.035Z] $ docker stop --time=1 440c5573cc7fa61cba70ee202721617815d76a1cc4dc0794136a540c1fd4ef04 [2022-11-08T20:53:43.338Z] $ docker rm -f 440c5573cc7fa61cba70ee202721617815d76a1cc4dc0794136a540c1fd4ef04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T20:53:43.740Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-08T20:53:43.741Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T20:53:43.805Z] prd-ubuntu20.04-docker-8c-8g-118659 does not seem to be running inside a container [2022-11-08T20:53:43.842Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-08T20:53:44.150Z] $ docker top 89a815b4de8d12fcdba97e364b0bfc76b555df8b91c42a453722a45a523f3411 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T20:53:44.496Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-385 [Pipeline] fileExists [Pipeline] sh [2022-11-08T20:53:44.789Z] + make test [2022-11-08T20:53:44.789Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-11-08T20:53:45.047Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-11-08T20:53:55.014Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-11-08T20:53:55.014Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.7% of statements [2022-11-08T20:54:01.571Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-11-08T20:54:01.571Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-08T20:54:05.751Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-08T20:54:05.751Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-08T20:54:05.751Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-08T20:54:05.763Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-08T20:54:05.776Z] $ docker stop --time=1 89a815b4de8d12fcdba97e364b0bfc76b555df8b91c42a453722a45a523f3411 [2022-11-08T20:54:08.345Z] $ docker rm -f 89a815b4de8d12fcdba97e364b0bfc76b555df8b91c42a453722a45a523f3411 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T20:54:08.790Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-08T20:54:08.829Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-08T20:54:09.226Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-08T20:54:09.510Z] + ls -al . [2022-11-08T20:54:09.510Z] total 196 [2022-11-08T20:54:09.510Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 20:53 . [2022-11-08T20:54:09.510Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 20:52 .. [2022-11-08T20:54:09.510Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 20:52 .dockerignore [2022-11-08T20:54:09.510Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 20:53 .git [2022-11-08T20:54:09.510Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 20:52 .github [2022-11-08T20:54:09.510Z] -rw-rw-r-- 1 jenkins jenkins 331 Nov 8 20:52 .gitignore [2022-11-08T20:54:09.510Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 20:52 .golangci.yml [2022-11-08T20:54:09.510Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 20:53 .semver [2022-11-08T20:54:09.510Z] -rw-rw-r-- 1 jenkins jenkins 10121 Nov 8 20:52 Attribution.txt [2022-11-08T20:54:09.510Z] -rw-rw-r-- 1 jenkins jenkins 11576 Nov 8 20:52 CHANGELOG.md [2022-11-08T20:54:09.510Z] -rw-rw-r-- 1 jenkins jenkins 1428 Nov 8 20:52 Dockerfile [2022-11-08T20:54:09.510Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 20:52 GOVERNANCE.md [2022-11-08T20:54:09.510Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 8 20:52 Jenkinsfile [2022-11-08T20:54:09.510Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 20:52 LICENSE [2022-11-08T20:54:09.510Z] -rw-rw-r-- 1 jenkins jenkins 2101 Nov 8 20:52 Makefile [2022-11-08T20:54:09.510Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 8 20:52 OWNERS.md [2022-11-08T20:54:09.510Z] -rw-rw-r-- 1 jenkins jenkins 4061 Nov 8 20:52 README.md [2022-11-08T20:54:09.510Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 20:53 VERSION [2022-11-08T20:54:09.510Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 20:52 bin [2022-11-08T20:54:09.510Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 20:52 cmd [2022-11-08T20:54:09.510Z] -rw-r--r-- 1 jenkins jenkins 23241 Nov 8 20:53 coverage.out [2022-11-08T20:54:09.510Z] -rw-rw-r-- 1 jenkins jenkins 3583 Nov 8 20:52 go.mod [2022-11-08T20:54:09.510Z] -rw-rw-r-- 1 jenkins jenkins 45388 Nov 8 20:52 go.sum [2022-11-08T20:54:09.510Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 20:52 internal [2022-11-08T20:54:09.510Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 20:52 simulator [2022-11-08T20:54:09.510Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 20:52 snap [2022-11-08T20:54:09.510Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 8 20:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T20:54:09.809Z] + 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=9c38d860346094190cd48530eb505bcf9eaa76e0 --label arch=amd64 --label version=0.0.0 . [2022-11-08T20:54:09.809Z] Sending build context to Docker daemon 6.304MB [2022-11-08T20:54:09.809Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T20:54:09.809Z] Step 2/22 : FROM ${BASE} AS builder [2022-11-08T20:54:09.809Z] ---> 1660c219902b [2022-11-08T20:54:09.809Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2022-11-08T20:54:10.068Z] ---> Running in 32a52e865a02 [2022-11-08T20:54:10.068Z] Removing intermediate container 32a52e865a02 [2022-11-08T20:54:10.068Z] ---> 11a073d6c3ef [2022-11-08T20:54:10.068Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T20:54:10.068Z] ---> Running in 10e516c2f981 [2022-11-08T20:54:10.068Z] Removing intermediate container 10e516c2f981 [2022-11-08T20:54:10.068Z] ---> fc532d43bf0b [2022-11-08T20:54:10.068Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-11-08T20:54:10.068Z] ---> Running in e6137a1734db [2022-11-08T20:54:10.325Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T20:54:10.584Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T20:54:10.843Z] OK: 217 MiB in 59 packages [2022-11-08T20:54:11.101Z] Removing intermediate container e6137a1734db [2022-11-08T20:54:11.101Z] ---> e58bdce490f5 [2022-11-08T20:54:11.101Z] Step 6/22 : WORKDIR /device-modbus-go [2022-11-08T20:54:11.359Z] ---> Running in 819eeffbc83d [2022-11-08T20:54:11.359Z] Removing intermediate container 819eeffbc83d [2022-11-08T20:54:11.359Z] ---> f1f4e80041eb [2022-11-08T20:54:11.359Z] Step 7/22 : COPY go.mod vendor* ./ [2022-11-08T20:54:11.359Z] ---> 7fcb0b4b04ee [2022-11-08T20:54:11.359Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T20:54:11.359Z] ---> Running in 35724d725303 [2022-11-08T20:54:12.340Z] Removing intermediate container 35724d725303 [2022-11-08T20:54:12.340Z] ---> 74551f6c8ba0 [2022-11-08T20:54:12.340Z] Step 9/22 : COPY . . [2022-11-08T20:54:12.599Z] ---> bfd2f52c737b [2022-11-08T20:54:12.599Z] Step 10/22 : RUN ${MAKE} [2022-11-08T20:54:12.599Z] ---> Running in 1e23e6551efb [2022-11-08T20:54:12.857Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-11-08T20:54:34.779Z] Removing intermediate container 1e23e6551efb [2022-11-08T20:54:34.779Z] ---> 498d64ca59dd [2022-11-08T20:54:34.779Z] Step 11/22 : FROM alpine:3.14 [2022-11-08T20:54:35.345Z] 3.14: Pulling from library/alpine [2022-11-08T20:54:35.345Z] c7ed990a2339: Pulling fs layer [2022-11-08T20:54:35.603Z] c7ed990a2339: Verifying Checksum [2022-11-08T20:54:35.603Z] c7ed990a2339: Download complete [2022-11-08T20:54:35.603Z] c7ed990a2339: Pull complete [2022-11-08T20:54:35.861Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-11-08T20:54:35.861Z] Status: Downloaded newer image for alpine:3.14 [2022-11-08T20:54:35.861Z] ---> dd53f409bf0b [2022-11-08T20:54:35.861Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-11-08T20:54:35.861Z] ---> Running in ae2083f79bec [2022-11-08T20:54:35.861Z] Removing intermediate container ae2083f79bec [2022-11-08T20:54:35.861Z] ---> 83ef36b4a0b1 [2022-11-08T20:54:35.861Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-08T20:54:35.861Z] ---> Running in a97d6303ae00 [2022-11-08T20:54:36.118Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-11-08T20:54:36.377Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-11-08T20:54:36.637Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-08T20:54:36.637Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-11-08T20:54:36.637Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-08T20:54:36.637Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-11-08T20:54:36.637Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-08T20:54:36.637Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-08T20:54:36.637Z] Executing busybox-1.33.1-r8.trigger [2022-11-08T20:54:36.637Z] OK: 8 MiB in 20 packages [2022-11-08T20:54:37.206Z] Removing intermediate container a97d6303ae00 [2022-11-08T20:54:37.206Z] ---> 9bedca58ea18 [2022-11-08T20:54:37.206Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2022-11-08T20:54:37.772Z] ---> d24af9b00e43 [2022-11-08T20:54:37.772Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2022-11-08T20:54:37.772Z] ---> aae802919962 [2022-11-08T20:54:37.772Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-11-08T20:54:38.030Z] ---> 52f6f3ef2c2c [2022-11-08T20:54:38.030Z] Step 17/22 : EXPOSE 59901 [2022-11-08T20:54:38.030Z] ---> Running in 914b2aa5cea9 [2022-11-08T20:54:38.030Z] Removing intermediate container 914b2aa5cea9 [2022-11-08T20:54:38.030Z] ---> 3909bca5e4f5 [2022-11-08T20:54:38.030Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2022-11-08T20:54:38.030Z] ---> Running in 90f1f31fa7cc [2022-11-08T20:54:38.030Z] Removing intermediate container 90f1f31fa7cc [2022-11-08T20:54:38.030Z] ---> 19acf05cf6da [2022-11-08T20:54:38.030Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-08T20:54:38.030Z] ---> Running in 68222d0279ad [2022-11-08T20:54:38.288Z] Removing intermediate container 68222d0279ad [2022-11-08T20:54:38.288Z] ---> 56222541e2bf [2022-11-08T20:54:38.288Z] Step 20/22 : LABEL arch=amd64 [2022-11-08T20:54:38.288Z] ---> Running in f4dea64e9350 [2022-11-08T20:54:38.288Z] Removing intermediate container f4dea64e9350 [2022-11-08T20:54:38.288Z] ---> f0c33d272e04 [2022-11-08T20:54:38.288Z] Step 21/22 : LABEL git_sha=9c38d860346094190cd48530eb505bcf9eaa76e0 [2022-11-08T20:54:38.288Z] ---> Running in cab870946d76 [2022-11-08T20:54:38.288Z] Removing intermediate container cab870946d76 [2022-11-08T20:54:38.288Z] ---> 4ecd758ac9eb [2022-11-08T20:54:38.288Z] Step 22/22 : LABEL version=0.0.0 [2022-11-08T20:54:38.288Z] ---> Running in a2315b4af22d [2022-11-08T20:54:38.546Z] Removing intermediate container a2315b4af22d [2022-11-08T20:54:38.546Z] ---> a6e5a3a3ed9e [2022-11-08T20:54:38.546Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-08T20:54:38.546Z] Successfully built a6e5a3a3ed9e [2022-11-08T20:54:38.546Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T20:54:38.963Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T20:54:38.963Z] [2022-11-08T20:54:38.963Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T20:54:39.260Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T20:54:39.260Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-08T20:54:39.260Z] 5eb5b503b376: Pulling fs layer [2022-11-08T20:54:39.260Z] 5c69ac0246d0: Pulling fs layer [2022-11-08T20:54:39.260Z] ec43610c2a17: Pulling fs layer [2022-11-08T20:54:39.260Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-08T20:54:39.260Z] 33b1e0a273af: Pulling fs layer [2022-11-08T20:54:39.260Z] 5d3b04190fa2: Pulling fs layer [2022-11-08T20:54:39.260Z] 2f39f015ded8: Pulling fs layer [2022-11-08T20:54:39.260Z] 2f39f015ded8: Waiting [2022-11-08T20:54:39.260Z] 33b1e0a273af: Waiting [2022-11-08T20:54:39.260Z] 5d3b04190fa2: Waiting [2022-11-08T20:54:39.260Z] 3a2ae6a8a46f: Waiting [2022-11-08T20:54:39.260Z] 5c69ac0246d0: Download complete [2022-11-08T20:54:39.260Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-08T20:54:39.260Z] 3a2ae6a8a46f: Download complete [2022-11-08T20:54:39.260Z] 33b1e0a273af: Verifying Checksum [2022-11-08T20:54:39.260Z] 33b1e0a273af: Download complete [2022-11-08T20:54:39.260Z] 5d3b04190fa2: Verifying Checksum [2022-11-08T20:54:39.260Z] 5d3b04190fa2: Download complete [2022-11-08T20:54:39.260Z] ec43610c2a17: Verifying Checksum [2022-11-08T20:54:39.260Z] ec43610c2a17: Download complete [2022-11-08T20:54:39.521Z] 5eb5b503b376: Verifying Checksum [2022-11-08T20:54:39.521Z] 5eb5b503b376: Download complete [2022-11-08T20:54:40.088Z] 2f39f015ded8: Download complete [2022-11-08T20:54:40.652Z] 5eb5b503b376: Pull complete [2022-11-08T20:54:40.910Z] 5c69ac0246d0: Pull complete [2022-11-08T20:54:41.167Z] ec43610c2a17: Pull complete [2022-11-08T20:54:41.167Z] 3a2ae6a8a46f: Pull complete [2022-11-08T20:54:41.425Z] 33b1e0a273af: Pull complete [2022-11-08T20:54:41.425Z] 5d3b04190fa2: Pull complete [2022-11-08T20:54:45.603Z] 2f39f015ded8: Pull complete [2022-11-08T20:54:45.603Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-08T20:54:45.603Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T20:54:45.603Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T20:54:45.676Z] prd-ubuntu20.04-docker-8c-8g-118659 does not seem to be running inside a container [2022-11-08T20:54:45.704Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-08T20:54:48.580Z] $ docker top bc415785dfea34b3b2514ccfb1511096113d48efb4f143d82ae43325e45b3044 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T20:54:48.950Z] ---> job-cost.sh [2022-11-08T20:54:48.950Z] lf-activate-venv: SKIPPING [2022-11-08T20:54:48.950Z] INFO: No Stack... [2022-11-08T20:54:49.209Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-08T20:54:49.466Z] INFO: Archiving Costs [Pipeline] sh [2022-11-08T20:54:49.758Z] + + cat /w/workspace/xfoundry_device-modbus-go_PR-385/archives/cost.csv [2022-11-08T20:54:49.758Z] cut -d, -f6 [Pipeline] lock [2022-11-08T20:54:49.772Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-385-9-stack-cost] [2022-11-08T20:54:49.777Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-385-9-stack-cost] did not exist. Created. [2022-11-08T20:54:49.777Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-385-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-08T20:54:50.081Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-08T20:54:50.102Z] Stashed 1 file(s) [Pipeline] } [2022-11-08T20:54:50.107Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-385-9-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-08T20:54:50.130Z] $ docker stop --time=1 bc415785dfea34b3b2514ccfb1511096113d48efb4f143d82ae43325e45b3044 [2022-11-08T20:54:51.276Z] $ docker rm -f bc415785dfea34b3b2514ccfb1511096113d48efb4f143d82ae43325e45b3044 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-08T20:55:43.256Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118661 in /w/workspace/xfoundry_device-modbus-go_PR-385 [Pipeline] { [Pipeline] ws [2022-11-08T20:55:43.268Z] Running in /w/workspace/device-modbus-go/9 [Pipeline] { [Pipeline] checkout [2022-11-08T20:55:43.307Z] Selected Git installation does not exist. Using Default [2022-11-08T20:55:43.307Z] The recommended git tool is: NONE [2022-11-08T20:55:50.804Z] using credential edgex-jenkins-ssh [2022-11-08T20:55:50.837Z] Cloning the remote Git repository [2022-11-08T20:55:50.932Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-11-08T20:55:51.021Z] > git init /w/workspace/device-modbus-go/9 # timeout=10 [2022-11-08T20:55:51.221Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-11-08T20:55:51.222Z] > git --version # timeout=10 [2022-11-08T20:55:51.259Z] > git --version # 'git version 2.25.1' [2022-11-08T20:55:51.261Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-08T20:55:51.328Z] Verifying host key using known hosts file [2022-11-08T20:55:51.587Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-08T20:55:51.613Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-08T20:55:52.866Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-11-08T20:55:52.888Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-08T20:55:54.042Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-11-08T20:55:54.092Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-11-08T20:55:54.094Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-08T20:55:54.099Z] Verifying host key using known hosts file [2022-11-08T20:55:54.108Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-08T20:55:54.118Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/385/head:refs/remotes/origin/PR-385 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-08T20:55:54.702Z] Merging remotes/origin/main commit 251be81c94d6bf2c69d06494166ea5d98cfe24ab into PR head commit 514f8514b7960d8aafd43d2de455918271582671 [2022-11-08T20:55:55.061Z] Merge succeeded, producing 3a01ea38cf8c3b69325d9a8b2a9073e3b286f188 [2022-11-08T20:55:55.061Z] Checking out Revision 3a01ea38cf8c3b69325d9a8b2a9073e3b286f188 (PR-385) [2022-11-08T20:55:54.723Z] > git config core.sparsecheckout # timeout=10 [2022-11-08T20:55:54.772Z] > git checkout -f 514f8514b7960d8aafd43d2de455918271582671 # timeout=10 [2022-11-08T20:55:54.864Z] > git remote # timeout=10 [2022-11-08T20:55:54.889Z] > git config --get remote.origin.url # timeout=10 [2022-11-08T20:55:54.917Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-08T20:55:54.923Z] Verifying host key using known hosts file [2022-11-08T20:55:54.929Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-08T20:55:54.950Z] > git merge 251be81c94d6bf2c69d06494166ea5d98cfe24ab # timeout=10 [2022-11-08T20:55:55.029Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-08T20:55:55.070Z] > git config core.sparsecheckout # timeout=10 [2022-11-08T20:55:55.101Z] > git checkout -f 3a01ea38cf8c3b69325d9a8b2a9073e3b286f188 # timeout=10 [2022-11-08T20:55:58.745Z] Commit message: "Merge commit '251be81c94d6bf2c69d06494166ea5d98cfe24ab' into HEAD" [2022-11-08T20:55:58.756Z] > git rev-list --no-walk 514f8514b7960d8aafd43d2de455918271582671 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T20:55:59.775Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-08T20:55:59.775Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-08T20:55:59.775Z] Dload Upload Total Spent Left Speed [2022-11-08T20:55:59.775Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 205k 0 --:--:-- --:--:-- --:--:-- 205k [Pipeline] sh [2022-11-08T20:56:00.617Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-08T20:56:00.950Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-08T20:56:00.950Z] + sudo tee /etc/docker/daemon.new [2022-11-08T20:56:00.950Z] { [2022-11-08T20:56:00.950Z] "registry-mirrors": [ [2022-11-08T20:56:00.950Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-08T20:56:00.950Z] ], [2022-11-08T20:56:00.950Z] "bip": "10.250.0.254/24", [2022-11-08T20:56:00.950Z] "hosts": [ [2022-11-08T20:56:00.950Z] "tcp://0.0.0.0:5555", [2022-11-08T20:56:00.950Z] "unix:///var/run/docker.sock" [2022-11-08T20:56:00.950Z] ], [2022-11-08T20:56:00.950Z] "mtu": 1458, [2022-11-08T20:56:00.950Z] "selinux-enabled": true, [2022-11-08T20:56:00.950Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-08T20:56:00.950Z] } [Pipeline] sh [2022-11-08T20:56:01.273Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-08T20:56:01.604Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T20:56:19.989Z] provisioning config files... [2022-11-08T20:56:20.012Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/9@tmp/config3473339802238594488tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T20:56:20.366Z] ---> docker-login.sh [2022-11-08T20:56:20.366Z] nexus3.edgexfoundry.org:10001 [2022-11-08T20:56:20.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T20:56:20.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T20:56:20.956Z] Configure a credential helper to remove this warning. See [2022-11-08T20:56:20.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T20:56:20.956Z] [2022-11-08T20:56:20.956Z] Login Succeeded [2022-11-08T20:56:20.956Z] nexus3.edgexfoundry.org:10002 [2022-11-08T20:56:21.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T20:56:21.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T20:56:21.499Z] Configure a credential helper to remove this warning. See [2022-11-08T20:56:21.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T20:56:21.499Z] [2022-11-08T20:56:21.499Z] Login Succeeded [2022-11-08T20:56:21.499Z] nexus3.edgexfoundry.org:10003 [2022-11-08T20:56:21.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T20:56:21.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T20:56:21.771Z] Configure a credential helper to remove this warning. See [2022-11-08T20:56:21.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T20:56:21.771Z] [2022-11-08T20:56:21.771Z] Login Succeeded [2022-11-08T20:56:21.771Z] nexus3.edgexfoundry.org:10004 [2022-11-08T20:56:22.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T20:56:22.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T20:56:22.045Z] Configure a credential helper to remove this warning. See [2022-11-08T20:56:22.045Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T20:56:22.045Z] [2022-11-08T20:56:22.045Z] Login Succeeded [2022-11-08T20:56:22.045Z] docker.io [2022-11-08T20:56:22.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T20:56:22.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T20:56:22.909Z] Configure a credential helper to remove this warning. See [2022-11-08T20:56:22.909Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T20:56:22.909Z] [2022-11-08T20:56:22.909Z] Login Succeeded [2022-11-08T20:56:22.909Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T20:56:22.924Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-08T20:56:23.070Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T20:56:23.087Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T20:56:23.095Z] ========================================================= [2022-11-08T20:56:23.095Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-08T20:56:23.095Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T20:56:23.433Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-11-08T20:56:23.701Z] Sending build context to Docker daemon 3.282MB [2022-11-08T20:56:23.701Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T20:56:23.701Z] Step 2/10 : FROM ${BASE} AS builder [2022-11-08T20:56:23.968Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-08T20:56:23.968Z] 9b18e9b68314: Pulling fs layer [2022-11-08T20:56:23.968Z] 35d82f9e3411: Pulling fs layer [2022-11-08T20:56:23.968Z] e16973657156: Pulling fs layer [2022-11-08T20:56:23.968Z] fc693d55d65f: Pulling fs layer [2022-11-08T20:56:23.968Z] 7e9fc2657dce: Pulling fs layer [2022-11-08T20:56:23.968Z] dda99020689f: Pulling fs layer [2022-11-08T20:56:23.968Z] db1c61fa0a46: Pulling fs layer [2022-11-08T20:56:23.968Z] 891c053d2c06: Pulling fs layer [2022-11-08T20:56:23.968Z] fc693d55d65f: Waiting [2022-11-08T20:56:23.968Z] 7e9fc2657dce: Waiting [2022-11-08T20:56:23.968Z] dda99020689f: Waiting [2022-11-08T20:56:23.968Z] 891c053d2c06: Waiting [2022-11-08T20:56:23.968Z] db1c61fa0a46: Waiting [2022-11-08T20:56:23.968Z] e16973657156: Verifying Checksum [2022-11-08T20:56:23.968Z] e16973657156: Download complete [2022-11-08T20:56:23.968Z] 35d82f9e3411: Download complete [2022-11-08T20:56:23.968Z] 7e9fc2657dce: Verifying Checksum [2022-11-08T20:56:23.968Z] 7e9fc2657dce: Download complete [2022-11-08T20:56:23.968Z] dda99020689f: Verifying Checksum [2022-11-08T20:56:23.968Z] dda99020689f: Download complete [2022-11-08T20:56:23.968Z] 9b18e9b68314: Verifying Checksum [2022-11-08T20:56:23.968Z] 9b18e9b68314: Download complete [2022-11-08T20:56:24.965Z] 9b18e9b68314: Pull complete [2022-11-08T20:56:24.965Z] 891c053d2c06: Verifying Checksum [2022-11-08T20:56:25.554Z] 35d82f9e3411: Pull complete [2022-11-08T20:56:25.554Z] e16973657156: Pull complete [2022-11-08T20:56:26.524Z] db1c61fa0a46: Verifying Checksum [2022-11-08T20:56:26.524Z] db1c61fa0a46: Download complete [2022-11-08T20:56:26.792Z] fc693d55d65f: Verifying Checksum [2022-11-08T20:56:26.792Z] fc693d55d65f: Download complete [2022-11-08T20:56:39.122Z] fc693d55d65f: Pull complete [2022-11-08T20:56:39.122Z] 7e9fc2657dce: Pull complete [2022-11-08T20:56:39.122Z] dda99020689f: Pull complete [2022-11-08T20:56:45.775Z] db1c61fa0a46: Pull complete [2022-11-08T20:56:46.742Z] 891c053d2c06: Pull complete [2022-11-08T20:56:46.742Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-08T20:56:46.742Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-08T20:56:46.742Z] ---> f96f9c87975a [2022-11-08T20:56:46.742Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2022-11-08T20:56:48.690Z] ---> Running in 2c1f6ee1689b [2022-11-08T20:56:48.958Z] Removing intermediate container 2c1f6ee1689b [2022-11-08T20:56:48.958Z] ---> ee40362dd508 [2022-11-08T20:56:48.958Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T20:56:48.958Z] ---> Running in 7bb475c81430 [2022-11-08T20:56:49.225Z] Removing intermediate container 7bb475c81430 [2022-11-08T20:56:49.225Z] ---> c10047f98cff [2022-11-08T20:56:49.225Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-11-08T20:56:49.494Z] ---> Running in ddcb75facce5 [2022-11-08T20:56:50.461Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-08T20:56:50.732Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-08T20:56:51.698Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-11-08T20:56:51.698Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-11-08T20:56:51.698Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-11-08T20:56:51.698Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-11-08T20:56:51.698Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-11-08T20:56:51.698Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-11-08T20:56:51.698Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-11-08T20:56:51.698Z] (8/8) Installing openssh (9.0_p1-r2) [2022-11-08T20:56:51.698Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T20:56:51.698Z] OK: 228 MiB in 59 packages [2022-11-08T20:56:52.661Z] Removing intermediate container ddcb75facce5 [2022-11-08T20:56:52.661Z] ---> e6e89b6f5644 [2022-11-08T20:56:52.661Z] Step 6/10 : WORKDIR /device-modbus-go [2022-11-08T20:56:52.929Z] ---> Running in 2271cc5903e0 [2022-11-08T20:56:53.196Z] Removing intermediate container 2271cc5903e0 [2022-11-08T20:56:53.196Z] ---> e1356c3d0161 [2022-11-08T20:56:53.196Z] Step 7/10 : COPY go.mod vendor* ./ [2022-11-08T20:56:53.784Z] ---> 397422306ca1 [2022-11-08T20:56:53.784Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T20:56:53.784Z] ---> Running in 01c85a39f88f [2022-11-08T20:57:50.237Z] Removing intermediate container 01c85a39f88f [2022-11-08T20:57:50.237Z] ---> 6e610e3eda64 [2022-11-08T20:57:50.237Z] Step 9/10 : COPY . . [2022-11-08T20:57:50.237Z] ---> 4295d137d204 [2022-11-08T20:57:50.237Z] Step 10/10 : RUN ${MAKE} [2022-11-08T20:57:50.237Z] ---> Running in 148b49414b3e [2022-11-08T20:57:50.237Z] noop [2022-11-08T20:57:50.237Z] Removing intermediate container 148b49414b3e [2022-11-08T20:57:50.237Z] ---> bf6f09d260d5 [2022-11-08T20:57:50.237Z] Successfully built bf6f09d260d5 [2022-11-08T20:57:50.237Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T20:57:50.592Z] + docker inspect -f . ci-base-image-arm64 [2022-11-08T20:57:50.592Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T20:57:50.792Z] prd-ubuntu20.04-docker-arm64-4c-16g-118661 does not seem to be running inside a container [2022-11-08T20:57:50.862Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/9 -v /w/workspace/device-modbus-go/9:/w/workspace/device-modbus-go/9:rw,z -v /w/workspace/device-modbus-go/9@tmp:/w/workspace/device-modbus-go/9@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-11-08T20:57:52.260Z] $ docker top 5fe23c3a1362c59a2d6dcca1411f58188dc3d5421b6c13fcc69d6a3e073e2eff -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T20:57:53.098Z] + go version [2022-11-08T20:57:53.098Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-08T20:57:53.120Z] $ docker stop --time=1 5fe23c3a1362c59a2d6dcca1411f58188dc3d5421b6c13fcc69d6a3e073e2eff [2022-11-08T20:57:54.771Z] $ docker rm -f 5fe23c3a1362c59a2d6dcca1411f58188dc3d5421b6c13fcc69d6a3e073e2eff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T20:57:55.327Z] + docker inspect -f . ci-base-image-arm64 [2022-11-08T20:57:55.327Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T20:57:55.515Z] prd-ubuntu20.04-docker-arm64-4c-16g-118661 does not seem to be running inside a container [2022-11-08T20:57:55.587Z] $ 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/9 -v /w/workspace/device-modbus-go/9:/w/workspace/device-modbus-go/9:rw,z -v /w/workspace/device-modbus-go/9@tmp:/w/workspace/device-modbus-go/9@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-11-08T20:57:56.812Z] $ docker top 182aa8809e9ff95fe8fab232262e0e4cc1ac4b5bef046c755369b33aea949eff -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T20:57:57.312Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/9 [Pipeline] fileExists [Pipeline] sh [2022-11-08T20:57:57.646Z] + make test [2022-11-08T20:57:57.646Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-11-08T20:57:59.594Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-11-08T20:59:21.258Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-11-08T20:59:24.613Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.060s coverage: 47.7% of statements [2022-11-08T20:59:24.613Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-08T20:59:24.613Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-08T20:59:46.686Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-08T20:59:46.686Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-08T20:59:46.686Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-08T20:59:46.705Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-08T20:59:46.721Z] $ docker stop --time=1 182aa8809e9ff95fe8fab232262e0e4cc1ac4b5bef046c755369b33aea949eff [2022-11-08T20:59:48.506Z] $ docker rm -f 182aa8809e9ff95fe8fab232262e0e4cc1ac4b5bef046c755369b33aea949eff [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T20:59:49.461Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-08T20:59:49.484Z] Warning: overwriting stash ‘coverage-report’ [2022-11-08T20:59:49.903Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T20:59:50.280Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-08T20:59:50.602Z] + ls -al . [2022-11-08T20:59:50.602Z] total 192 [2022-11-08T20:59:50.602Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 20:57 . [2022-11-08T20:59:50.602Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 20:55 .. [2022-11-08T20:59:50.602Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 20:55 .dockerignore [2022-11-08T20:59:50.602Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 20:55 .git [2022-11-08T20:59:50.602Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 20:55 .github [2022-11-08T20:59:50.602Z] -rw-rw-r-- 1 jenkins jenkins 331 Nov 8 20:55 .gitignore [2022-11-08T20:59:50.602Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 20:55 .golangci.yml [2022-11-08T20:59:50.602Z] -rw-rw-r-- 1 jenkins jenkins 10121 Nov 8 20:55 Attribution.txt [2022-11-08T20:59:50.602Z] -rw-rw-r-- 1 jenkins jenkins 11576 Nov 8 20:55 CHANGELOG.md [2022-11-08T20:59:50.602Z] -rw-rw-r-- 1 jenkins jenkins 1428 Nov 8 20:55 Dockerfile [2022-11-08T20:59:50.602Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 20:55 GOVERNANCE.md [2022-11-08T20:59:50.602Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 8 20:55 Jenkinsfile [2022-11-08T20:59:50.602Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 20:55 LICENSE [2022-11-08T20:59:50.602Z] -rw-rw-r-- 1 jenkins jenkins 2101 Nov 8 20:55 Makefile [2022-11-08T20:59:50.602Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 8 20:55 OWNERS.md [2022-11-08T20:59:50.602Z] -rw-rw-r-- 1 jenkins jenkins 4061 Nov 8 20:55 README.md [2022-11-08T20:59:50.602Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 20:53 VERSION [2022-11-08T20:59:50.602Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 20:55 bin [2022-11-08T20:59:50.602Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 20:55 cmd [2022-11-08T20:59:50.602Z] -rw-r--r-- 1 jenkins jenkins 23241 Nov 8 20:59 coverage.out [2022-11-08T20:59:50.602Z] -rw-rw-r-- 1 jenkins jenkins 3583 Nov 8 20:55 go.mod [2022-11-08T20:59:50.602Z] -rw-rw-r-- 1 jenkins jenkins 45388 Nov 8 20:55 go.sum [2022-11-08T20:59:50.602Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 20:55 internal [2022-11-08T20:59:50.602Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 20:55 simulator [2022-11-08T20:59:50.602Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 20:55 snap [2022-11-08T20:59:50.602Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 8 20:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T20:59:50.943Z] + 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=3a01ea38cf8c3b69325d9a8b2a9073e3b286f188 --label arch=arm64 --label version=0.0.0 . [2022-11-08T20:59:51.210Z] Sending build context to Docker daemon 3.306MB [2022-11-08T20:59:51.210Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T20:59:51.210Z] Step 2/22 : FROM ${BASE} AS builder [2022-11-08T20:59:51.210Z] ---> bf6f09d260d5 [2022-11-08T20:59:51.210Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2022-11-08T20:59:51.480Z] ---> Running in eb08b920bfaf [2022-11-08T20:59:51.748Z] Removing intermediate container eb08b920bfaf [2022-11-08T20:59:51.748Z] ---> 0c095648e6e1 [2022-11-08T20:59:51.748Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T20:59:51.748Z] ---> Running in 387fcc366ee7 [2022-11-08T20:59:52.017Z] Removing intermediate container 387fcc366ee7 [2022-11-08T20:59:52.017Z] ---> 9174f35c29d1 [2022-11-08T20:59:52.017Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-11-08T20:59:52.017Z] ---> Running in de0daf4b12aa [2022-11-08T20:59:52.978Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-08T20:59:53.561Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-08T20:59:54.522Z] OK: 228 MiB in 59 packages [2022-11-08T20:59:55.485Z] Removing intermediate container de0daf4b12aa [2022-11-08T20:59:55.485Z] ---> cf792bcfb148 [2022-11-08T20:59:55.485Z] Step 6/22 : WORKDIR /device-modbus-go [2022-11-08T20:59:55.485Z] ---> Running in 4d0365307f09 [2022-11-08T20:59:55.754Z] Removing intermediate container 4d0365307f09 [2022-11-08T20:59:55.754Z] ---> 10c1a007fa65 [2022-11-08T20:59:55.754Z] Step 7/22 : COPY go.mod vendor* ./ [2022-11-08T20:59:56.344Z] ---> 3fc8529b7cd4 [2022-11-08T20:59:56.344Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T20:59:56.344Z] ---> Running in f39e46506a78 [2022-11-08T20:59:58.297Z] Removing intermediate container f39e46506a78 [2022-11-08T20:59:58.297Z] ---> 951065e65422 [2022-11-08T20:59:58.297Z] Step 9/22 : COPY . . [2022-11-08T20:59:59.259Z] ---> 160bddbb5b19 [2022-11-08T20:59:59.259Z] Step 10/22 : RUN ${MAKE} [2022-11-08T20:59:59.259Z] ---> Running in 47c7efb14cc2 [2022-11-08T21:00:00.223Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-11-08T21:02:21.946Z] Removing intermediate container 47c7efb14cc2 [2022-11-08T21:02:21.946Z] ---> e4687d70a748 [2022-11-08T21:02:21.946Z] Step 11/22 : FROM alpine:3.14 [2022-11-08T21:02:21.946Z] 3.14: Pulling from library/alpine [2022-11-08T21:02:21.946Z] 90cda3b7c325: Pulling fs layer [2022-11-08T21:02:21.946Z] 90cda3b7c325: Download complete [2022-11-08T21:02:21.946Z] 90cda3b7c325: Pull complete [2022-11-08T21:02:21.946Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-11-08T21:02:21.946Z] Status: Downloaded newer image for alpine:3.14 [2022-11-08T21:02:21.946Z] ---> 376ba31ae3da [2022-11-08T21:02:21.946Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-11-08T21:02:21.946Z] ---> Running in 8b76f233a191 [2022-11-08T21:02:21.946Z] Removing intermediate container 8b76f233a191 [2022-11-08T21:02:21.946Z] ---> 32fc8ad2eab0 [2022-11-08T21:02:21.946Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-08T21:02:21.946Z] ---> Running in 9577750ef9ca [2022-11-08T21:02:21.946Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-11-08T21:02:21.946Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-11-08T21:02:21.946Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-08T21:02:21.946Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-11-08T21:02:21.946Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-08T21:02:21.946Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-11-08T21:02:21.946Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-08T21:02:21.946Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-08T21:02:21.946Z] Executing busybox-1.33.1-r8.trigger [2022-11-08T21:02:21.946Z] OK: 8 MiB in 20 packages [2022-11-08T21:02:21.946Z] Removing intermediate container 9577750ef9ca [2022-11-08T21:02:21.946Z] ---> ddac781f46e5 [2022-11-08T21:02:21.946Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2022-11-08T21:02:21.946Z] ---> 4ea4a3209141 [2022-11-08T21:02:21.946Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2022-11-08T21:02:21.946Z] ---> c59e588d1a11 [2022-11-08T21:02:21.946Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-11-08T21:02:21.946Z] ---> 338e31000dff [2022-11-08T21:02:21.946Z] Step 17/22 : EXPOSE 59901 [2022-11-08T21:02:21.946Z] ---> Running in 423d80c7dc05 [2022-11-08T21:02:21.946Z] Removing intermediate container 423d80c7dc05 [2022-11-08T21:02:21.946Z] ---> 0e85c63d2d19 [2022-11-08T21:02:21.946Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2022-11-08T21:02:21.946Z] ---> Running in 31216289c632 [2022-11-08T21:02:22.214Z] Removing intermediate container 31216289c632 [2022-11-08T21:02:22.214Z] ---> 0a1bad6b8c1a [2022-11-08T21:02:22.214Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-08T21:02:22.214Z] ---> Running in f0b72759ab0c [2022-11-08T21:02:22.492Z] Removing intermediate container f0b72759ab0c [2022-11-08T21:02:22.492Z] ---> 1d77cf64851f [2022-11-08T21:02:22.492Z] Step 20/22 : LABEL arch=arm64 [2022-11-08T21:02:22.763Z] ---> Running in 4d90c65d7ff2 [2022-11-08T21:02:23.032Z] Removing intermediate container 4d90c65d7ff2 [2022-11-08T21:02:23.032Z] ---> e5405b4e71f3 [2022-11-08T21:02:23.032Z] Step 21/22 : LABEL git_sha=3a01ea38cf8c3b69325d9a8b2a9073e3b286f188 [2022-11-08T21:02:23.032Z] ---> Running in 59542f00b546 [2022-11-08T21:02:23.301Z] Removing intermediate container 59542f00b546 [2022-11-08T21:02:23.301Z] ---> b5997ba9dbb2 [2022-11-08T21:02:23.301Z] Step 22/22 : LABEL version=0.0.0 [2022-11-08T21:02:23.301Z] ---> Running in 0c99c3c82af8 [2022-11-08T21:02:23.568Z] Removing intermediate container 0c99c3c82af8 [2022-11-08T21:02:23.568Z] ---> dd1d6d96abfe [2022-11-08T21:02:23.568Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-08T21:02:23.568Z] Successfully built dd1d6d96abfe [2022-11-08T21:02:23.837Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T21:02:24.274Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T21:02:24.274Z] [2022-11-08T21:02:24.274Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T21:02:24.606Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T21:02:24.606Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-08T21:02:24.606Z] 8998bd30e6a1: Pulling fs layer [2022-11-08T21:02:24.606Z] 04944245beec: Pulling fs layer [2022-11-08T21:02:24.606Z] 699f458cf7ca: Pulling fs layer [2022-11-08T21:02:24.606Z] 765212b225bb: Pulling fs layer [2022-11-08T21:02:24.606Z] f23df028b6ca: Pulling fs layer [2022-11-08T21:02:24.606Z] d65c8cfc05b1: Pulling fs layer [2022-11-08T21:02:24.606Z] 2437ff75d9bd: Pulling fs layer [2022-11-08T21:02:24.606Z] 765212b225bb: Waiting [2022-11-08T21:02:24.607Z] f23df028b6ca: Waiting [2022-11-08T21:02:24.607Z] d65c8cfc05b1: Waiting [2022-11-08T21:02:24.607Z] 2437ff75d9bd: Waiting [2022-11-08T21:02:24.877Z] 04944245beec: Verifying Checksum [2022-11-08T21:02:24.877Z] 04944245beec: Download complete [2022-11-08T21:02:24.877Z] 765212b225bb: Verifying Checksum [2022-11-08T21:02:24.877Z] 765212b225bb: Download complete [2022-11-08T21:02:24.877Z] f23df028b6ca: Verifying Checksum [2022-11-08T21:02:24.877Z] f23df028b6ca: Download complete [2022-11-08T21:02:24.877Z] d65c8cfc05b1: Verifying Checksum [2022-11-08T21:02:24.877Z] d65c8cfc05b1: Download complete [2022-11-08T21:02:25.152Z] 699f458cf7ca: Verifying Checksum [2022-11-08T21:02:25.152Z] 699f458cf7ca: Download complete [2022-11-08T21:02:25.421Z] 8998bd30e6a1: Verifying Checksum [2022-11-08T21:02:25.421Z] 8998bd30e6a1: Download complete [2022-11-08T21:02:28.001Z] 2437ff75d9bd: Verifying Checksum [2022-11-08T21:02:28.001Z] 2437ff75d9bd: Download complete [2022-11-08T21:02:29.419Z] 8998bd30e6a1: Pull complete [2022-11-08T21:02:30.108Z] 04944245beec: Pull complete [2022-11-08T21:02:31.584Z] 699f458cf7ca: Pull complete [2022-11-08T21:02:31.857Z] 765212b225bb: Pull complete [2022-11-08T21:02:32.459Z] f23df028b6ca: Pull complete [2022-11-08T21:02:32.730Z] d65c8cfc05b1: Pull complete [2022-11-08T21:02:47.758Z] 2437ff75d9bd: Pull complete [2022-11-08T21:02:47.758Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-08T21:02:47.758Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T21:02:47.758Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T21:02:47.945Z] prd-ubuntu20.04-docker-arm64-4c-16g-118661 does not seem to be running inside a container [2022-11-08T21:02:48.006Z] $ 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/9 -v /w/workspace/device-modbus-go/9:/w/workspace/device-modbus-go/9:rw,z -v /w/workspace/device-modbus-go/9@tmp:/w/workspace/device-modbus-go/9@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-11-08T21:02:50.720Z] $ docker top 8822bb78ba2052a4c885696bccfd1786d2879bd4ec83c8e37392fdf82e710fb1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T21:02:51.557Z] ---> job-cost.sh [2022-11-08T21:02:51.557Z] lf-activate-venv: SKIPPING [2022-11-08T21:02:51.557Z] INFO: No Stack... [2022-11-08T21:02:51.825Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-08T21:02:52.786Z] INFO: Archiving Costs [Pipeline] sh [2022-11-08T21:02:53.427Z] + cat /w/workspace/device-modbus-go/9/archives/cost.csv [2022-11-08T21:02:53.427Z] + cut -d, -f6 [Pipeline] lock [2022-11-08T21:02:53.492Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-385-9-stack-cost] [2022-11-08T21:02:53.499Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-385-9-stack-cost] did not exist. Created. [2022-11-08T21:02:53.499Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-385-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-08T21:02:54.154Z] /w/workspace/device-modbus-go/9@tmp/durable-20712c4d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-08T21:02:54.485Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-08T21:02:54.508Z] Warning: overwriting stash ‘stack-cost’ [2022-11-08T21:02:54.552Z] Stashed 1 file(s) [Pipeline] } [2022-11-08T21:02:54.558Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-385-9-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-08T21:02:54.580Z] $ docker stop --time=1 8822bb78ba2052a4c885696bccfd1786d2879bd4ec83c8e37392fdf82e710fb1 [2022-11-08T21:02:56.111Z] $ docker rm -f 8822bb78ba2052a4c885696bccfd1786d2879bd4ec83c8e37392fdf82e710fb1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-11-08T21:02:56.497Z] provisioning config files... [2022-11-08T21:02:56.504Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config9805168711904551241tmp [Pipeline] { [Pipeline] sh [2022-11-08T21:02:56.795Z] + set +x [2022-11-08T21:02:56.795Z] + curl -s https://codecov.io/bash [2022-11-08T21:02:56.795Z] + bash -s -- [2022-11-08T21:02:56.795Z] [2022-11-08T21:02:56.795Z] _____ _ [2022-11-08T21:02:56.795Z] / ____| | | [2022-11-08T21:02:56.795Z] | | ___ __| | ___ ___ _____ __ [2022-11-08T21:02:56.795Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-08T21:02:56.795Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-08T21:02:56.795Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-08T21:02:56.795Z] Bash-1.0.6 [2022-11-08T21:02:56.795Z] [2022-11-08T21:02:56.795Z] [2022-11-08T21:02:56.795Z] ==> git version 2.25.1 found [2022-11-08T21:02:56.795Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-11-08T21:02:56.795Z] Release-Date: 2020-01-08 [2022-11-08T21:02:56.795Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-11-08T21:02:56.795Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-08T21:02:56.795Z] ==> Jenkins CI detected. [2022-11-08T21:02:56.795Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-385 [2022-11-08T21:02:56.795Z] project root: . [2022-11-08T21:02:56.795Z] --> token set from env [2022-11-08T21:02:56.795Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-08T21:02:56.795Z] ==> Running gcov in . (disable via -X gcov) [2022-11-08T21:02:56.795Z] ==> Python coveragepy not found [2022-11-08T21:02:56.795Z] ==> Searching for coverage reports in: [2022-11-08T21:02:56.795Z] + . [2022-11-08T21:02:56.795Z] -> Found 1 reports [2022-11-08T21:02:56.795Z] ==> Detecting git/mercurial file structure [2022-11-08T21:02:56.795Z] ==> Reading reports [2022-11-08T21:02:56.795Z] + ./coverage.out bytes=23241 [2022-11-08T21:02:56.795Z] ==> Appending adjustments [2022-11-08T21:02:56.795Z] https://docs.codecov.io/docs/fixing-reports [2022-11-08T21:02:57.054Z] + Found adjustments [2022-11-08T21:02:57.054Z] ==> Gzipping contents [2022-11-08T21:02:57.054Z] 4.0K /tmp/codecov.rz2HTY.gz [2022-11-08T21:02:57.054Z] ==> Uploading reports [2022-11-08T21:02:57.054Z] url: https://codecov.io [2022-11-08T21:02:57.054Z] query: branch=PR-385&commit=9c38d860346094190cd48530eb505bcf9eaa76e0&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-385%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=385&job=&cmd_args= [2022-11-08T21:02:57.054Z] -> Pinging Codecov [2022-11-08T21:02:57.054Z] 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=9c38d860346094190cd48530eb505bcf9eaa76e0&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-385%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=385&job=&cmd_args= [2022-11-08T21:02:57.315Z] -> Uploading to [2022-11-08T21:02:57.316Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-08/55DBCA73C666E3227836607328DD7E49/9c38d860346094190cd48530eb505bcf9eaa76e0/810f9931-8998-4353-8c7e-00af577585ff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221108T210257Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ba76daf609331cb7fee29d219546ec5ba32a6d285211621d45a46a2952487c2c [2022-11-08T21:02:57.316Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-08T21:02:57.316Z] Dload Upload Total Spent Left Speed [2022-11-08T21:02:57.575Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3903 0 0 100 3903 0 17193 --:--:-- --:--:-- --:--:-- 17118 100 3903 0 0 100 3903 0 13366 --:--:-- --:--:-- --:--:-- 13320 [2022-11-08T21:02:57.575Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/9c38d860346094190cd48530eb505bcf9eaa76e0 [Pipeline] } [2022-11-08T21:02:57.582Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-11-08T21:02:58.268Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-385/archives ] [2022-11-08T21:02:58.268Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-385/archives [2022-11-08T21:02:58.268Z] total 16 [2022-11-08T21:02:58.268Z] drwxr-xr-x 3 root root 4096 Nov 8 20:54 . [2022-11-08T21:02:58.268Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 8 20:54 .. [2022-11-08T21:02:58.268Z] drwxr-xr-x 2 root root 4096 Nov 8 20:54 cost [2022-11-08T21:02:58.268Z] -rw-r--r-- 1 root root 88 Nov 8 20:54 cost.csv [2022-11-08T21:02:58.268Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-385/archives [2022-11-08T21:02:58.268Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-385/archives [2022-11-08T21:02:58.268Z] total 16 [2022-11-08T21:02:58.268Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 20:54 . [2022-11-08T21:02:58.268Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 8 20:54 .. [2022-11-08T21:02:58.268Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 20:54 cost [2022-11-08T21:02:58.268Z] -rw-r--r-- 1 jenkins jenkins 88 Nov 8 20:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-08T21:02:58.556Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T21:02:59.407Z] ---> package-listing.sh [2022-11-08T21:02:59.407Z] ++ facter osfamily [2022-11-08T21:02:59.407Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-08T21:02:59.666Z] + OS_FAMILY=debian [2022-11-08T21:02:59.666Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-385 [2022-11-08T21:02:59.666Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-08T21:02:59.666Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-08T21:02:59.666Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-08T21:02:59.666Z] + PACKAGES=/tmp/packages_start.txt [2022-11-08T21:02:59.666Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-385 ']' [2022-11-08T21:02:59.666Z] + PACKAGES=/tmp/packages_end.txt [2022-11-08T21:02:59.666Z] + case "${OS_FAMILY}" in [2022-11-08T21:02:59.666Z] + dpkg -l [2022-11-08T21:02:59.666Z] + grep '^ii' [2022-11-08T21:02:59.666Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-08T21:02:59.666Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-08T21:02:59.666Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-08T21:02:59.666Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-385 ']' [2022-11-08T21:02:59.666Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-385/archives/ [2022-11-08T21:02:59.666Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-385/archives/ [Pipeline] echo [2022-11-08T21:02:59.676Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-385/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-08T21:02:59.955Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T21:03:00.523Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T21:03:00.523Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T21:03:00.581Z] prd-ubuntu20.04-docker-8c-8g-118659 does not seem to be running inside a container [2022-11-08T21:03:00.607Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-385/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-08T21:03:00.785Z] $ docker top e946a2906bd2ec0fdbe0b47a596cd31b5095b2b8aa52de36e8c2d2ec5258eb0c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T21:03:01.121Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-08T21:03:01.402Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-08T21:03:01.692Z] + ls /var/log/sa-host [2022-11-08T21:03:01.692Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T21:03:01.833Z] provisioning config files... [2022-11-08T21:03:01.841Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config16076547233420557044tmp [Pipeline] { [Pipeline] echo [2022-11-08T21:03:01.852Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T21:03:02.131Z] ---> create-netrc.sh [Pipeline] } [2022-11-08T21:03:02.139Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-08T21:03:02.460Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-08T21:03:02.468Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T21:03:02.751Z] ---> sudo-logs.sh [2022-11-08T21:03:02.751Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-08T21:03:02.772Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T21:03:03.049Z] ---> job-cost.sh [2022-11-08T21:03:03.049Z] lf-activate-venv: SKIPPING [2022-11-08T21:03:03.049Z] DEBUG: total: 0.2199999988079071 [2022-11-08T21:03:03.049Z] INFO: Retrieving Stack Cost... [2022-11-08T21:03:03.309Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-08T21:03:03.876Z] INFO: Archiving Costs [Pipeline] echo [2022-11-08T21:03:03.887Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T21:03:04.173Z] ---> logs-deploy.sh [2022-11-08T21:03:04.174Z] lf-activate-venv: SKIPPING [2022-11-08T21:03:04.174Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-385/9 [2022-11-08T21:03:04.174Z] INFO: archiving workspace using pattern(s): [2022-11-08T21:03:05.113Z] Archives upload complete. [2022-11-08T21:03:05.371Z] INFO: archiving logs to Nexus