Pull request #389 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a5c0afee51c0cc57adc1fd43170f812f39434c99+d8591ecd48deb848f04d859b76795416a9cfa4fb (057de97d2246cd60f7c6632601f1a92f671162c5) 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-ssh14164460517080144689.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-ssh90481706939481892.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-389/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-389/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9948512408497496802.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-389/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6564384915237324337.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7914511769764571571.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-389/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-389/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14704768373279309729.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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 Running on prd-ubuntu20.04-docker-8c-8g-118380 in /w/workspace/xfoundry_device-modbus-go_PR-389 [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-389 # 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 Merging remotes/origin/main commit d8591ecd48deb848f04d859b76795416a9cfa4fb into PR head commit a5c0afee51c0cc57adc1fd43170f812f39434c99 Merge succeeded, producing a5c0afee51c0cc57adc1fd43170f812f39434c99 Checking out Revision a5c0afee51c0cc57adc1fd43170f812f39434c99 (PR-389) > 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/389/head:refs/remotes/origin/PR-389 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a5c0afee51c0cc57adc1fd43170f812f39434c99 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge d8591ecd48deb848f04d859b76795416a9cfa4fb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a5c0afee51c0cc57adc1fd43170f812f39434c99 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-07T05:01:45.539Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-07T05:01:45.729Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-07T05:01:45.874Z] ========================================================= [2022-11-07T05:01:45.874Z] EdgeX Global Pipelines Version Info [2022-11-07T05:01:45.874Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-07T05:01:46.633Z] ------------------- [2022-11-07T05:01:46.633Z] stable info: [2022-11-07T05:01:46.633Z] ------------------- [2022-11-07T05:01:46.633Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-07T05:01:46.633Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T05:01:46.633Z] Message: update stable to v1.0.244 [2022-11-07T05:01:47.202Z] ------------------- [2022-11-07T05:01:47.202Z] experimental info: [2022-11-07T05:01:47.202Z] ------------------- [2022-11-07T05:01:47.202Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-07T05:01:47.202Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T05:01:47.202Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-07T05:01:47.483Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-11-07T05:01:47.522Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-11-07T05:01:47.561Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-07T05:01:47.598Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-07T05:01:47.636Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-07T05:01:47.682Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-07T05:01:47.729Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-07T05:01:47.765Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-07T05:01:47.807Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-07T05:01:47.846Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-07T05:01:47.888Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-07T05:01:47.926Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-11-07T05:01:47.975Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-07T05:01:48.016Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-07T05:01:48.060Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-07T05:01:48.120Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-07T05:01:48.163Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-07T05:01:48.210Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-07T05:01:48.257Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-07T05:01:48.298Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-07T05:01:48.338Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-11-07T05:01:48.377Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-11-07T05:01:48.432Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-07T05:01:48.474Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-07T05:01:48.517Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-07T05:01:48.565Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-07T05:01:48.601Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-07T05:01:48.658Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-389 [Pipeline] echo [2022-11-07T05:01:48.708Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-389 [Pipeline] echo [2022-11-07T05:01:48.756Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-389 [Pipeline] echo [2022-11-07T05:01:48.806Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a5c0afee51c0cc57adc1fd43170f812f39434c99 [Pipeline] echo [2022-11-07T05:01:48.843Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a5c0afe [Pipeline] echo [2022-11-07T05:01:48.904Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T05:01:49.078Z] provisioning config files... [2022-11-07T05:01:49.097Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-389@tmp/config7440863339763829738tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T05:01:49.444Z] ---> docker-login.sh [2022-11-07T05:01:49.444Z] nexus3.edgexfoundry.org:10001 [2022-11-07T05:01:49.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:01:49.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:01:49.963Z] Configure a credential helper to remove this warning. See [2022-11-07T05:01:49.963Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:01:49.963Z] [2022-11-07T05:01:49.963Z] Login Succeeded [2022-11-07T05:01:49.963Z] nexus3.edgexfoundry.org:10002 [2022-11-07T05:01:49.963Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:01:49.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:01:49.963Z] Configure a credential helper to remove this warning. See [2022-11-07T05:01:49.963Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:01:49.963Z] [2022-11-07T05:01:49.963Z] Login Succeeded [2022-11-07T05:01:49.963Z] nexus3.edgexfoundry.org:10003 [2022-11-07T05:01:49.963Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:01:49.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:01:49.963Z] Configure a credential helper to remove this warning. See [2022-11-07T05:01:49.963Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:01:49.963Z] [2022-11-07T05:01:49.963Z] Login Succeeded [2022-11-07T05:01:49.963Z] nexus3.edgexfoundry.org:10004 [2022-11-07T05:01:50.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:01:50.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:01:50.223Z] Configure a credential helper to remove this warning. See [2022-11-07T05:01:50.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:01:50.223Z] [2022-11-07T05:01:50.223Z] Login Succeeded [2022-11-07T05:01:50.223Z] docker.io [2022-11-07T05:01:50.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:01:50.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:01:50.797Z] Configure a credential helper to remove this warning. See [2022-11-07T05:01:50.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:01:50.797Z] [2022-11-07T05:01:50.797Z] Login Succeeded [2022-11-07T05:01:50.797Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T05:01:50.824Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-07T05:01:51.467Z] + git rev-list -1 --merges a5c0afee51c0cc57adc1fd43170f812f39434c99~1..a5c0afee51c0cc57adc1fd43170f812f39434c99 [Pipeline] echo [2022-11-07T05:01:51.511Z] -----------> git rev-list -1 --merges a5c0afee51c0cc57adc1fd43170f812f39434c99~1..a5c0afee51c0cc57adc1fd43170f812f39434c99 a5c0afee51c0cc57adc1fd43170f812f39434c99 [false] [Pipeline] sh [2022-11-07T05:01:51.821Z] + git log --format=format:%s -1 a5c0afee51c0cc57adc1fd43170f812f39434c99 [Pipeline] echo [2022-11-07T05:01:51.867Z] ========================================================= [2022-11-07T05:01:51.867Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-07T05:01:51.867Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T05:01:52.323Z] + git log --format=format:%s -1 a5c0afee51c0cc57adc1fd43170f812f39434c99 [Pipeline] echo [2022-11-07T05:01:52.359Z] [semverPrep] GIT_COMMIT: a5c0afee51c0cc57adc1fd43170f812f39434c99, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2022-11-07T05:01:52.386Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-07T05:01:52.782Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-07T05:01:52.782Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-07T05:01:52.782Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-07T05:01:52.782Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-07T05:01:52.782Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-07T05:01:52.782Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-07T05:01:52.782Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T05:01:53.270Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T05:01:53.270Z] [2022-11-07T05:01:53.270Z] 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-07T05:01:53.667Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T05:01:53.667Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-07T05:01:53.667Z] b85a868b505f: Pulling fs layer [2022-11-07T05:01:53.667Z] e2be974225ed: Pulling fs layer [2022-11-07T05:01:53.667Z] 339a4e72a1f5: Pulling fs layer [2022-11-07T05:01:53.667Z] 988bab9f4d93: Pulling fs layer [2022-11-07T05:01:53.667Z] 1469e6f7b9e6: Pulling fs layer [2022-11-07T05:01:53.667Z] eaf3925da568: Pulling fs layer [2022-11-07T05:01:53.667Z] bab4dde63d76: Pulling fs layer [2022-11-07T05:01:53.667Z] bde34c3a00c8: Pulling fs layer [2022-11-07T05:01:53.667Z] b352a97aabf1: Pulling fs layer [2022-11-07T05:01:53.667Z] 4872d77fe225: Pulling fs layer [2022-11-07T05:01:53.667Z] 5851b861e8e6: Pulling fs layer [2022-11-07T05:01:53.667Z] bab4dde63d76: Waiting [2022-11-07T05:01:53.667Z] bde34c3a00c8: Waiting [2022-11-07T05:01:53.667Z] b352a97aabf1: Waiting [2022-11-07T05:01:53.667Z] 4872d77fe225: Waiting [2022-11-07T05:01:53.667Z] 5851b861e8e6: Waiting [2022-11-07T05:01:53.667Z] 988bab9f4d93: Waiting [2022-11-07T05:01:53.667Z] 1469e6f7b9e6: Waiting [2022-11-07T05:01:53.667Z] eaf3925da568: Waiting [2022-11-07T05:01:53.667Z] e2be974225ed: Verifying Checksum [2022-11-07T05:01:53.667Z] e2be974225ed: Download complete [2022-11-07T05:01:53.667Z] 988bab9f4d93: Download complete [2022-11-07T05:01:53.930Z] 1469e6f7b9e6: Verifying Checksum [2022-11-07T05:01:53.930Z] 1469e6f7b9e6: Download complete [2022-11-07T05:01:53.930Z] eaf3925da568: Download complete [2022-11-07T05:01:53.930Z] 339a4e72a1f5: Verifying Checksum [2022-11-07T05:01:53.930Z] 339a4e72a1f5: Download complete [2022-11-07T05:01:53.930Z] bde34c3a00c8: Download complete [2022-11-07T05:01:53.930Z] b352a97aabf1: Download complete [2022-11-07T05:01:53.930Z] 4872d77fe225: Verifying Checksum [2022-11-07T05:01:53.930Z] 4872d77fe225: Download complete [2022-11-07T05:01:53.930Z] 5851b861e8e6: Verifying Checksum [2022-11-07T05:01:53.930Z] b85a868b505f: Verifying Checksum [2022-11-07T05:01:53.930Z] b85a868b505f: Download complete [2022-11-07T05:01:54.189Z] bab4dde63d76: Verifying Checksum [2022-11-07T05:01:54.189Z] bab4dde63d76: Download complete [2022-11-07T05:01:55.130Z] b85a868b505f: Pull complete [2022-11-07T05:01:55.388Z] e2be974225ed: Pull complete [2022-11-07T05:01:55.646Z] 339a4e72a1f5: Pull complete [2022-11-07T05:01:55.905Z] 988bab9f4d93: Pull complete [2022-11-07T05:01:56.163Z] 1469e6f7b9e6: Pull complete [2022-11-07T05:01:56.163Z] eaf3925da568: Pull complete [2022-11-07T05:01:58.072Z] bab4dde63d76: Pull complete [2022-11-07T05:01:58.072Z] bde34c3a00c8: Pull complete [2022-11-07T05:01:58.072Z] b352a97aabf1: Pull complete [2022-11-07T05:01:58.072Z] 4872d77fe225: Pull complete [2022-11-07T05:01:58.072Z] 5851b861e8e6: Pull complete [2022-11-07T05:01:58.072Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-07T05:01:58.072Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T05:01:58.072Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T05:01:58.287Z] prd-ubuntu20.04-docker-8c-8g-118380 does not seem to be running inside a container [2022-11-07T05:01:58.319Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-389 -v /w/workspace/xfoundry_device-modbus-go_PR-389:/w/workspace/xfoundry_device-modbus-go_PR-389:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-389@tmp:/w/workspace/xfoundry_device-modbus-go_PR-389@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-07T05:01:59.761Z] $ docker top bf84113cc1503fd5c808d134ca481eb48dfc1495b7c232f59280d613c259dab2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-07T05:01:59.941Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-07T05:01:59.941Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-07T05:02:00.056Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-07T05:02:00.060Z] $ docker exec bf84113cc1503fd5c808d134ca481eb48dfc1495b7c232f59280d613c259dab2 ssh-agent [2022-11-07T05:02:00.165Z] SSH_AUTH_SOCK=/tmp/ssh-HEZx315xKZnZ/agent.31 [2022-11-07T05:02:00.165Z] SSH_AGENT_PID=37 [2022-11-07T05:02:00.172Z] Running ssh-add (command line suppressed) [2022-11-07T05:02:00.277Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-389@tmp/private_key_17593650198582768244.key (/w/workspace/xfoundry_device-modbus-go_PR-389@tmp/private_key_17593650198582768244.key) [2022-11-07T05:02:00.291Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-07T05:02:00.622Z] + git tag --points-at HEAD [Pipeline] } [2022-11-07T05:02:00.648Z] $ docker exec --env ******** --env ******** bf84113cc1503fd5c808d134ca481eb48dfc1495b7c232f59280d613c259dab2 ssh-agent -k [2022-11-07T05:02:00.738Z] unset SSH_AUTH_SOCK; [2022-11-07T05:02:00.738Z] unset SSH_AGENT_PID; [2022-11-07T05:02:00.738Z] echo Agent pid 37 killed; [2022-11-07T05:02:00.747Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-07T05:02:00.837Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-07T05:02:00.837Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-07T05:02:00.946Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-07T05:02:00.950Z] $ docker exec bf84113cc1503fd5c808d134ca481eb48dfc1495b7c232f59280d613c259dab2 ssh-agent [2022-11-07T05:02:01.062Z] SSH_AUTH_SOCK=/tmp/ssh-8XD8WsYX4Ojx/agent.69 [2022-11-07T05:02:01.062Z] SSH_AGENT_PID=75 [2022-11-07T05:02:01.067Z] Running ssh-add (command line suppressed) [2022-11-07T05:02:01.188Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-389@tmp/private_key_6762607558176651255.key (/w/workspace/xfoundry_device-modbus-go_PR-389@tmp/private_key_6762607558176651255.key) [2022-11-07T05:02:01.204Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-07T05:02:01.536Z] + git semver init [2022-11-07T05:02:01.796Z] 2022-11-07 05:02:01,722 [run_init] DEBUG init version:0.0.0 force:False [2022-11-07T05:02:01.796Z] 2022-11-07 05:02:01,723 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-389/.semver [2022-11-07T05:02:01.796Z] 2022-11-07 05:02:01,723 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-389/.semver [2022-11-07T05:02:01.796Z] 2022-11-07 05:02:01,723 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-389/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-389, universal_newlines=False, shell=None, istream=None) [2022-11-07T05:02:02.737Z] 2022-11-07 05:02:02,671 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-389/.git/info/exclude [2022-11-07T05:02:02.737Z] 2022-11-07 05:02:02,671 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-389/.semver/PR-389 with force:False [2022-11-07T05:02:02.737Z] 2022-11-07 05:02:02,672 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-389/.semver/PR-389 [2022-11-07T05:02:02.737Z] 2022-11-07 05:02:02,675 [execute] INFO git cat-file --batch-check [2022-11-07T05:02:02.737Z] 2022-11-07 05:02:02,676 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-389/.semver, universal_newlines=False, shell=None, istream=) [2022-11-07T05:02:02.737Z] 2022-11-07 05:02:02,683 [execute] INFO git cat-file --batch [2022-11-07T05:02:02.737Z] 2022-11-07 05:02:02,683 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-389/.semver, universal_newlines=False, shell=None, istream=) [2022-11-07T05:02:02.737Z] 2022-11-07 05:02:02,688 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-389/.semver/PR-389 [2022-11-07T05:02:02.737Z] 0.0.0 [Pipeline] } [2022-11-07T05:02:02.768Z] $ docker exec --env ******** --env ******** bf84113cc1503fd5c808d134ca481eb48dfc1495b7c232f59280d613c259dab2 ssh-agent -k [2022-11-07T05:02:02.875Z] unset SSH_AUTH_SOCK; [2022-11-07T05:02:02.875Z] unset SSH_AGENT_PID; [2022-11-07T05:02:02.876Z] echo Agent pid 75 killed; [2022-11-07T05:02:02.884Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-07T05:02:03.309Z] + git semver [Pipeline] } [2022-11-07T05:02:03.594Z] $ docker stop --time=1 bf84113cc1503fd5c808d134ca481eb48dfc1495b7c232f59280d613c259dab2 [2022-11-07T05:02:04.892Z] $ docker rm -f bf84113cc1503fd5c808d134ca481eb48dfc1495b7c232f59280d613c259dab2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T05:02:05.299Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-07T05:02:05.525Z] Stashed 1 file(s) [Pipeline] echo [2022-11-07T05:02:05.545Z] [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-07T05:02:06.135Z] provisioning config files... [2022-11-07T05:02:06.144Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-389@tmp/config11147844176412005678tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T05:02:06.491Z] ---> docker-login.sh [2022-11-07T05:02:06.492Z] nexus3.edgexfoundry.org:10001 [2022-11-07T05:02:06.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:02:06.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:02:06.492Z] Configure a credential helper to remove this warning. See [2022-11-07T05:02:06.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:02:06.492Z] [2022-11-07T05:02:06.492Z] Login Succeeded [2022-11-07T05:02:06.492Z] nexus3.edgexfoundry.org:10002 [2022-11-07T05:02:06.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:02:06.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:02:06.492Z] Configure a credential helper to remove this warning. See [2022-11-07T05:02:06.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:02:06.492Z] [2022-11-07T05:02:06.492Z] Login Succeeded [2022-11-07T05:02:06.492Z] nexus3.edgexfoundry.org:10003 [2022-11-07T05:02:06.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:02:06.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:02:06.751Z] Configure a credential helper to remove this warning. See [2022-11-07T05:02:06.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:02:06.751Z] [2022-11-07T05:02:06.751Z] Login Succeeded [2022-11-07T05:02:06.751Z] nexus3.edgexfoundry.org:10004 [2022-11-07T05:02:06.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:02:06.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:02:06.751Z] Configure a credential helper to remove this warning. See [2022-11-07T05:02:06.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:02:06.751Z] [2022-11-07T05:02:06.751Z] Login Succeeded [2022-11-07T05:02:06.751Z] docker.io [2022-11-07T05:02:06.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:02:07.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:02:07.321Z] Configure a credential helper to remove this warning. See [2022-11-07T05:02:07.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:02:07.321Z] [2022-11-07T05:02:07.321Z] Login Succeeded [2022-11-07T05:02:07.321Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T05:02:07.355Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-07T05:02:07.593Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T05:02:07.705Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T05:02:07.741Z] ========================================================= [2022-11-07T05:02:07.741Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-07T05:02:07.741Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T05:02:08.200Z] + 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-07T05:02:08.200Z] Sending build context to Docker daemon 6.252MB [2022-11-07T05:02:08.200Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T05:02:08.200Z] Step 2/10 : FROM ${BASE} AS builder [2022-11-07T05:02:08.200Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-07T05:02:08.200Z] 213ec9aee27d: Pulling fs layer [2022-11-07T05:02:08.200Z] 4583459ba037: Pulling fs layer [2022-11-07T05:02:08.200Z] 93c1e223e6f2: Pulling fs layer [2022-11-07T05:02:08.200Z] 53926ce57604: Pulling fs layer [2022-11-07T05:02:08.200Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-07T05:02:08.200Z] 22ff95d597cd: Pulling fs layer [2022-11-07T05:02:08.200Z] 12d6caf4c0d1: Pulling fs layer [2022-11-07T05:02:08.200Z] 96b7cbca73a9: Pulling fs layer [2022-11-07T05:02:08.200Z] a7acece74701: Pulling fs layer [2022-11-07T05:02:08.200Z] 12d6caf4c0d1: Waiting [2022-11-07T05:02:08.200Z] 96b7cbca73a9: Waiting [2022-11-07T05:02:08.200Z] a7acece74701: Waiting [2022-11-07T05:02:08.200Z] 53926ce57604: Waiting [2022-11-07T05:02:08.200Z] 21b2b0c7a3f4: Waiting [2022-11-07T05:02:08.200Z] 22ff95d597cd: Waiting [2022-11-07T05:02:08.200Z] 93c1e223e6f2: Verifying Checksum [2022-11-07T05:02:08.200Z] 93c1e223e6f2: Download complete [2022-11-07T05:02:08.200Z] 4583459ba037: Download complete [2022-11-07T05:02:08.200Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-07T05:02:08.200Z] 21b2b0c7a3f4: Download complete [2022-11-07T05:02:08.464Z] 22ff95d597cd: Verifying Checksum [2022-11-07T05:02:08.464Z] 22ff95d597cd: Download complete [2022-11-07T05:02:08.464Z] 213ec9aee27d: Download complete [2022-11-07T05:02:08.464Z] 12d6caf4c0d1: Verifying Checksum [2022-11-07T05:02:08.464Z] 12d6caf4c0d1: Download complete [2022-11-07T05:02:08.464Z] 213ec9aee27d: Pull complete [2022-11-07T05:02:08.735Z] 4583459ba037: Pull complete [2022-11-07T05:02:08.735Z] 93c1e223e6f2: Pull complete [2022-11-07T05:02:08.997Z] a7acece74701: Verifying Checksum [2022-11-07T05:02:08.997Z] a7acece74701: Download complete [2022-11-07T05:02:08.997Z] 96b7cbca73a9: Verifying Checksum [2022-11-07T05:02:08.997Z] 96b7cbca73a9: Download complete [2022-11-07T05:02:09.254Z] 53926ce57604: Verifying Checksum [2022-11-07T05:02:09.254Z] 53926ce57604: Download complete [2022-11-07T05:02:12.534Z] 53926ce57604: Pull complete [2022-11-07T05:02:12.534Z] 21b2b0c7a3f4: Pull complete [2022-11-07T05:02:12.534Z] 22ff95d597cd: Pull complete [2022-11-07T05:02:12.791Z] 12d6caf4c0d1: Pull complete [2022-11-07T05:02:14.691Z] 96b7cbca73a9: Pull complete [2022-11-07T05:02:15.260Z] a7acece74701: Pull complete [2022-11-07T05:02:15.519Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-07T05:02:15.519Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-07T05:02:15.519Z] ---> db6d94c90886 [2022-11-07T05:02:15.519Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2022-11-07T05:02:16.895Z] ---> Running in 11de7abe5626 [2022-11-07T05:02:17.156Z] Removing intermediate container 11de7abe5626 [2022-11-07T05:02:17.156Z] ---> 11d638b6a37c [2022-11-07T05:02:17.156Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T05:02:17.156Z] ---> Running in f7291a0563e9 [2022-11-07T05:02:17.156Z] Removing intermediate container f7291a0563e9 [2022-11-07T05:02:17.156Z] ---> 1d2a3d89f3a1 [2022-11-07T05:02:17.156Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-11-07T05:02:17.156Z] ---> Running in 653933c30c85 [2022-11-07T05:02:17.415Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T05:02:17.674Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T05:02:17.934Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-11-07T05:02:17.934Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-11-07T05:02:17.934Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-11-07T05:02:17.934Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-11-07T05:02:17.934Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-11-07T05:02:17.934Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-11-07T05:02:17.934Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-11-07T05:02:17.934Z] (8/8) Installing openssh (9.0_p1-r2) [2022-11-07T05:02:17.934Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T05:02:17.934Z] OK: 217 MiB in 59 packages [2022-11-07T05:02:18.500Z] Removing intermediate container 653933c30c85 [2022-11-07T05:02:18.500Z] ---> c6b551f9c8d0 [2022-11-07T05:02:18.500Z] Step 6/10 : WORKDIR /device-modbus-go [2022-11-07T05:02:18.500Z] ---> Running in ae0f3584f510 [2022-11-07T05:02:18.500Z] Removing intermediate container ae0f3584f510 [2022-11-07T05:02:18.500Z] ---> ca19f1956406 [2022-11-07T05:02:18.500Z] Step 7/10 : COPY go.mod vendor* ./ [2022-11-07T05:02:18.759Z] ---> a70e3d8fa930 [2022-11-07T05:02:18.759Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T05:02:18.759Z] ---> Running in 7ba01277aca5 [2022-11-07T05:02:20.958Z] Still waiting to schedule task [2022-11-07T05:02:20.959Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-11-07T05:02:45.327Z] Removing intermediate container 7ba01277aca5 [2022-11-07T05:02:45.327Z] ---> 1e50ce262cc9 [2022-11-07T05:02:45.327Z] Step 9/10 : COPY . . [2022-11-07T05:02:45.586Z] ---> 1a1b9779b12c [2022-11-07T05:02:45.586Z] Step 10/10 : RUN ${MAKE} [2022-11-07T05:02:45.586Z] ---> Running in 639e34ea6ff4 [2022-11-07T05:02:45.845Z] noop [2022-11-07T05:02:46.104Z] Removing intermediate container 639e34ea6ff4 [2022-11-07T05:02:46.104Z] ---> 4c366fc64f2b [2022-11-07T05:02:46.104Z] Successfully built 4c366fc64f2b [2022-11-07T05:02:46.104Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T05:02:46.530Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-07T05:02:46.530Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T05:02:46.672Z] prd-ubuntu20.04-docker-8c-8g-118380 does not seem to be running inside a container [2022-11-07T05:02:46.700Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-389 -v /w/workspace/xfoundry_device-modbus-go_PR-389:/w/workspace/xfoundry_device-modbus-go_PR-389:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-389@tmp:/w/workspace/xfoundry_device-modbus-go_PR-389@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 ******** ci-base-image-x86_64 cat [2022-11-07T05:02:47.056Z] $ docker top 3949e0762b2c05c7369fc2929ecde42b8be76a29b68b8465217e07748e33bed7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T05:02:47.447Z] + go version [2022-11-07T05:02:47.447Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-07T05:02:47.483Z] $ docker stop --time=1 3949e0762b2c05c7369fc2929ecde42b8be76a29b68b8465217e07748e33bed7 [2022-11-07T05:02:48.772Z] $ docker rm -f 3949e0762b2c05c7369fc2929ecde42b8be76a29b68b8465217e07748e33bed7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T05:02:49.529Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-07T05:02:49.529Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T05:02:49.691Z] prd-ubuntu20.04-docker-8c-8g-118380 does not seem to be running inside a container [2022-11-07T05:02:49.802Z] $ 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-389 -v /w/workspace/xfoundry_device-modbus-go_PR-389:/w/workspace/xfoundry_device-modbus-go_PR-389:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-389@tmp:/w/workspace/xfoundry_device-modbus-go_PR-389@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 ******** ci-base-image-x86_64 cat [2022-11-07T05:02:50.182Z] $ docker top 3e21d16240a07a5dbde7ace6d279beba745676368486c3220af969fb272ebb22 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T05:02:50.584Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-389 [Pipeline] fileExists [Pipeline] sh [2022-11-07T05:02:50.939Z] + make test [2022-11-07T05:02:50.939Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-11-07T05:02:51.197Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-11-07T05:03:01.161Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-11-07T05:03:01.161Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.7% of statements [2022-11-07T05:03:05.340Z] 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-07T05:03:05.340Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-07T05:03:08.619Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-07T05:03:08.619Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-07T05:03:08.619Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-07T05:03:08.656Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-07T05:03:08.688Z] $ docker stop --time=1 3e21d16240a07a5dbde7ace6d279beba745676368486c3220af969fb272ebb22 [2022-11-07T05:03:10.526Z] $ docker rm -f 3e21d16240a07a5dbde7ace6d279beba745676368486c3220af969fb272ebb22 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T05:03:11.025Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-07T05:03:11.094Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-07T05:03:11.770Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-07T05:03:12.090Z] + ls -al . [2022-11-07T05:03:12.090Z] total 196 [2022-11-07T05:03:12.090Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 05:02 . [2022-11-07T05:03:12.090Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 05:01 .. [2022-11-07T05:03:12.090Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 05:01 .dockerignore [2022-11-07T05:03:12.090Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 05:03 .git [2022-11-07T05:03:12.090Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:01 .github [2022-11-07T05:03:12.091Z] -rw-rw-r-- 1 jenkins jenkins 331 Nov 7 05:01 .gitignore [2022-11-07T05:03:12.091Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 05:01 .golangci.yml [2022-11-07T05:03:12.091Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 05:02 .semver [2022-11-07T05:03:12.091Z] -rw-rw-r-- 1 jenkins jenkins 10121 Nov 7 05:01 Attribution.txt [2022-11-07T05:03:12.091Z] -rw-rw-r-- 1 jenkins jenkins 11576 Nov 7 05:01 CHANGELOG.md [2022-11-07T05:03:12.091Z] -rw-rw-r-- 1 jenkins jenkins 1428 Nov 7 05:01 Dockerfile [2022-11-07T05:03:12.091Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 05:01 GOVERNANCE.md [2022-11-07T05:03:12.091Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 7 05:01 Jenkinsfile [2022-11-07T05:03:12.091Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 05:01 LICENSE [2022-11-07T05:03:12.091Z] -rw-rw-r-- 1 jenkins jenkins 2101 Nov 7 05:01 Makefile [2022-11-07T05:03:12.091Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 7 05:01 OWNERS.md [2022-11-07T05:03:12.091Z] -rw-rw-r-- 1 jenkins jenkins 4061 Nov 7 05:01 README.md [2022-11-07T05:03:12.091Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 05:02 VERSION [2022-11-07T05:03:12.091Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 05:01 bin [2022-11-07T05:03:12.091Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:01 cmd [2022-11-07T05:03:12.091Z] -rw-r--r-- 1 jenkins jenkins 23241 Nov 7 05:02 coverage.out [2022-11-07T05:03:12.091Z] -rw-rw-r-- 1 jenkins jenkins 3625 Nov 7 05:01 go.mod [2022-11-07T05:03:12.091Z] -rw-rw-r-- 1 jenkins jenkins 45295 Nov 7 05:01 go.sum [2022-11-07T05:03:12.091Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:01 internal [2022-11-07T05:03:12.091Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 05:01 simulator [2022-11-07T05:03:12.091Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 05:01 snap [2022-11-07T05:03:12.091Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 7 05:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T05:03:12.501Z] + 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=a5c0afee51c0cc57adc1fd43170f812f39434c99 --label arch=amd64 --label version=0.0.0 . [2022-11-07T05:03:12.501Z] Sending build context to Docker daemon 6.276MB [2022-11-07T05:03:12.501Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T05:03:12.501Z] Step 2/22 : FROM ${BASE} AS builder [2022-11-07T05:03:12.501Z] ---> 4c366fc64f2b [2022-11-07T05:03:12.501Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2022-11-07T05:03:12.501Z] ---> Running in 1c49911825a5 [2022-11-07T05:03:12.760Z] Removing intermediate container 1c49911825a5 [2022-11-07T05:03:12.760Z] ---> a2f675523535 [2022-11-07T05:03:12.760Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T05:03:12.760Z] ---> Running in fca8b4a13736 [2022-11-07T05:03:12.760Z] Removing intermediate container fca8b4a13736 [2022-11-07T05:03:12.760Z] ---> 79393c2d8d4e [2022-11-07T05:03:12.760Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-11-07T05:03:12.760Z] ---> Running in 8e32ca6a9c45 [2022-11-07T05:03:13.024Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T05:03:13.284Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T05:03:13.543Z] OK: 217 MiB in 59 packages [2022-11-07T05:03:13.802Z] Removing intermediate container 8e32ca6a9c45 [2022-11-07T05:03:13.802Z] ---> 46b2abde1a3d [2022-11-07T05:03:13.802Z] Step 6/22 : WORKDIR /device-modbus-go [2022-11-07T05:03:13.802Z] ---> Running in 2279cc4faee8 [2022-11-07T05:03:14.061Z] Removing intermediate container 2279cc4faee8 [2022-11-07T05:03:14.061Z] ---> 6c5192c2671e [2022-11-07T05:03:14.061Z] Step 7/22 : COPY go.mod vendor* ./ [2022-11-07T05:03:14.061Z] ---> d5e517daf377 [2022-11-07T05:03:14.061Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T05:03:14.321Z] ---> Running in 480ebf09c688 [2022-11-07T05:03:14.889Z] Removing intermediate container 480ebf09c688 [2022-11-07T05:03:14.889Z] ---> e0df768da77b [2022-11-07T05:03:14.889Z] Step 9/22 : COPY . . [2022-11-07T05:03:15.153Z] ---> ed29ca9c133c [2022-11-07T05:03:15.153Z] Step 10/22 : RUN ${MAKE} [2022-11-07T05:03:15.153Z] ---> Running in 95ea64e303ee [2022-11-07T05:03:15.412Z] 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-07T05:03:33.488Z] Removing intermediate container 95ea64e303ee [2022-11-07T05:03:33.488Z] ---> 16284fda4688 [2022-11-07T05:03:33.488Z] Step 11/22 : FROM alpine:3.14 [2022-11-07T05:03:34.054Z] 3.14: Pulling from library/alpine [2022-11-07T05:03:34.313Z] c7ed990a2339: Pulling fs layer [2022-11-07T05:03:34.313Z] c7ed990a2339: Verifying Checksum [2022-11-07T05:03:34.313Z] c7ed990a2339: Download complete [2022-11-07T05:03:34.575Z] c7ed990a2339: Pull complete [2022-11-07T05:03:34.575Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-11-07T05:03:34.575Z] Status: Downloaded newer image for alpine:3.14 [2022-11-07T05:03:34.575Z] ---> dd53f409bf0b [2022-11-07T05:03:34.575Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-11-07T05:03:34.575Z] ---> Running in c3b7ae58d437 [2022-11-07T05:03:34.834Z] Removing intermediate container c3b7ae58d437 [2022-11-07T05:03:34.834Z] ---> 4804fadc820e [2022-11-07T05:03:34.834Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-07T05:03:34.834Z] ---> Running in 99199f3d517c [2022-11-07T05:03:35.093Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-11-07T05:03:35.093Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-11-07T05:03:35.352Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-07T05:03:35.352Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-11-07T05:03:35.352Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-07T05:03:35.617Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-11-07T05:03:35.617Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-07T05:03:35.617Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-07T05:03:35.617Z] Executing busybox-1.33.1-r8.trigger [2022-11-07T05:03:35.617Z] OK: 8 MiB in 20 packages [2022-11-07T05:03:35.875Z] Removing intermediate container 99199f3d517c [2022-11-07T05:03:35.875Z] ---> af492d05504e [2022-11-07T05:03:35.875Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2022-11-07T05:03:36.443Z] ---> 515eeda395f0 [2022-11-07T05:03:36.443Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2022-11-07T05:03:36.443Z] ---> 2e3faf06e7f0 [2022-11-07T05:03:36.443Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-11-07T05:03:36.707Z] ---> eae654b7d1ae [2022-11-07T05:03:36.707Z] Step 17/22 : EXPOSE 59901 [2022-11-07T05:03:36.707Z] ---> Running in a1cb8e9241e3 [2022-11-07T05:03:36.707Z] Removing intermediate container a1cb8e9241e3 [2022-11-07T05:03:36.707Z] ---> 20186aa58030 [2022-11-07T05:03:36.707Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2022-11-07T05:03:36.966Z] ---> Running in 8f6769f916f7 [2022-11-07T05:03:36.966Z] Removing intermediate container 8f6769f916f7 [2022-11-07T05:03:36.966Z] ---> f73a48f7bf67 [2022-11-07T05:03:36.966Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-07T05:03:36.966Z] ---> Running in fbd4f5aa1f0c [2022-11-07T05:03:36.966Z] Removing intermediate container fbd4f5aa1f0c [2022-11-07T05:03:36.966Z] ---> 93177a3ad437 [2022-11-07T05:03:36.966Z] Step 20/22 : LABEL arch=amd64 [2022-11-07T05:03:37.226Z] ---> Running in b36436751fdc [2022-11-07T05:03:37.226Z] Removing intermediate container b36436751fdc [2022-11-07T05:03:37.226Z] ---> b1e5a8b1743d [2022-11-07T05:03:37.226Z] Step 21/22 : LABEL git_sha=a5c0afee51c0cc57adc1fd43170f812f39434c99 [2022-11-07T05:03:37.226Z] ---> Running in 28767aead462 [2022-11-07T05:03:37.226Z] Removing intermediate container 28767aead462 [2022-11-07T05:03:37.226Z] ---> 05d0f3387df5 [2022-11-07T05:03:37.226Z] Step 22/22 : LABEL version=0.0.0 [2022-11-07T05:03:37.489Z] ---> Running in 330cb08b6980 [2022-11-07T05:03:37.489Z] Removing intermediate container 330cb08b6980 [2022-11-07T05:03:37.489Z] ---> afe1221bca34 [2022-11-07T05:03:37.489Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-07T05:03:37.489Z] Successfully built afe1221bca34 [2022-11-07T05:03:37.489Z] 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-07T05:03:38.302Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T05:03:38.302Z] [2022-11-07T05:03:38.302Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T05:03:38.675Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T05:03:38.675Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-07T05:03:38.675Z] 5eb5b503b376: Pulling fs layer [2022-11-07T05:03:38.675Z] 5c69ac0246d0: Pulling fs layer [2022-11-07T05:03:38.675Z] ec43610c2a17: Pulling fs layer [2022-11-07T05:03:38.675Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-07T05:03:38.675Z] 33b1e0a273af: Pulling fs layer [2022-11-07T05:03:38.675Z] 5d3b04190fa2: Pulling fs layer [2022-11-07T05:03:38.675Z] 3a2ae6a8a46f: Waiting [2022-11-07T05:03:38.675Z] 5d3b04190fa2: Waiting [2022-11-07T05:03:38.675Z] 2f39f015ded8: Pulling fs layer [2022-11-07T05:03:38.675Z] 2f39f015ded8: Waiting [2022-11-07T05:03:38.675Z] 5c69ac0246d0: Verifying Checksum [2022-11-07T05:03:38.675Z] 5c69ac0246d0: Download complete [2022-11-07T05:03:38.675Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-07T05:03:38.675Z] 3a2ae6a8a46f: Download complete [2022-11-07T05:03:38.675Z] 33b1e0a273af: Verifying Checksum [2022-11-07T05:03:38.675Z] 33b1e0a273af: Download complete [2022-11-07T05:03:38.675Z] 5d3b04190fa2: Download complete [2022-11-07T05:03:38.938Z] 5eb5b503b376: Verifying Checksum [2022-11-07T05:03:38.938Z] 5eb5b503b376: Download complete [2022-11-07T05:03:38.938Z] ec43610c2a17: Download complete [2022-11-07T05:03:39.515Z] 2f39f015ded8: Verifying Checksum [2022-11-07T05:03:39.515Z] 2f39f015ded8: Download complete [2022-11-07T05:03:40.081Z] 5eb5b503b376: Pull complete [2022-11-07T05:03:40.081Z] 5c69ac0246d0: Pull complete [2022-11-07T05:03:40.339Z] ec43610c2a17: Pull complete [2022-11-07T05:03:40.597Z] 3a2ae6a8a46f: Pull complete [2022-11-07T05:03:40.597Z] 33b1e0a273af: Pull complete [2022-11-07T05:03:40.854Z] 5d3b04190fa2: Pull complete [2022-11-07T05:03:45.037Z] 2f39f015ded8: Pull complete [2022-11-07T05:03:45.037Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-07T05:03:45.037Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T05:03:45.037Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T05:03:45.270Z] prd-ubuntu20.04-docker-8c-8g-118380 does not seem to be running inside a container [2022-11-07T05:03:45.298Z] $ 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-389 -v /w/workspace/xfoundry_device-modbus-go_PR-389:/w/workspace/xfoundry_device-modbus-go_PR-389:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-389@tmp:/w/workspace/xfoundry_device-modbus-go_PR-389@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-07T05:03:46.994Z] $ docker top b48c4dc574eab1871229d9fd414429b921d148cba4f46a1242e7715aff2e7a8a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T05:03:47.639Z] ---> job-cost.sh [2022-11-07T05:03:47.639Z] lf-activate-venv: SKIPPING [2022-11-07T05:03:47.639Z] INFO: No Stack... [2022-11-07T05:03:48.207Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-07T05:03:48.466Z] INFO: Archiving Costs [Pipeline] sh [2022-11-07T05:03:48.783Z] + + cat /w/workspace/xfoundry_device-modbus-go_PR-389/archives/cost.csv [2022-11-07T05:03:48.783Z] cut -d, -f6 [Pipeline] lock [2022-11-07T05:03:48.825Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-389-1-stack-cost] [2022-11-07T05:03:48.830Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-389-1-stack-cost] did not exist. Created. [2022-11-07T05:03:48.830Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-389-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-07T05:03:49.214Z] + echo total: 0.4399999976158142 [Pipeline] stash [2022-11-07T05:03:49.261Z] Stashed 1 file(s) [Pipeline] } [2022-11-07T05:03:49.293Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-389-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-07T05:03:49.390Z] $ docker stop --time=1 b48c4dc574eab1871229d9fd414429b921d148cba4f46a1242e7715aff2e7a8a [2022-11-07T05:03:50.549Z] $ docker rm -f b48c4dc574eab1871229d9fd414429b921d148cba4f46a1242e7715aff2e7a8a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-07T05:03:56.335Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118385 in /w/workspace/xfoundry_device-modbus-go_PR-389 [Pipeline] { [Pipeline] ws [2022-11-07T05:03:56.381Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2022-11-07T05:03:56.458Z] Selected Git installation does not exist. Using Default [2022-11-07T05:03:56.458Z] The recommended git tool is: NONE [2022-11-07T05:04:01.337Z] using credential edgex-jenkins-ssh [2022-11-07T05:04:01.355Z] Cloning the remote Git repository [2022-11-07T05:04:01.395Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-11-07T05:04:01.464Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2022-11-07T05:04:01.654Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-11-07T05:04:01.655Z] > git --version # timeout=10 [2022-11-07T05:04:01.675Z] > git --version # 'git version 2.25.1' [2022-11-07T05:04:01.677Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T05:04:01.717Z] Verifying host key using known hosts file [2022-11-07T05:04:01.905Z] 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-07T05:04:01.918Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-07T05:04:03.121Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-11-07T05:04:03.139Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-07T05:04:03.942Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-11-07T05:04:03.983Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-11-07T05:04:03.984Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T05:04:03.988Z] Verifying host key using known hosts file [2022-11-07T05:04:03.995Z] 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-07T05:04:04.006Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/389/head:refs/remotes/origin/PR-389 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-07T05:04:04.600Z] Merging remotes/origin/main commit d8591ecd48deb848f04d859b76795416a9cfa4fb into PR head commit a5c0afee51c0cc57adc1fd43170f812f39434c99 [2022-11-07T05:04:04.814Z] Merge succeeded, producing a5c0afee51c0cc57adc1fd43170f812f39434c99 [2022-11-07T05:04:04.815Z] Checking out Revision a5c0afee51c0cc57adc1fd43170f812f39434c99 (PR-389) [2022-11-07T05:04:05.261Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2022-11-07T05:04:05.304Z] > git --version # timeout=10 [2022-11-07T05:04:05.318Z] > git --version # 'git version 2.25.1' [2022-11-07T05:04:05.339Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T05:04:04.613Z] > git config core.sparsecheckout # timeout=10 [2022-11-07T05:04:04.629Z] > git checkout -f a5c0afee51c0cc57adc1fd43170f812f39434c99 # timeout=10 [2022-11-07T05:04:04.714Z] > git remote # timeout=10 [2022-11-07T05:04:04.732Z] > git config --get remote.origin.url # timeout=10 [2022-11-07T05:04:04.749Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T05:04:04.754Z] Verifying host key using known hosts file [2022-11-07T05:04:04.759Z] 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-07T05:04:04.769Z] > git merge d8591ecd48deb848f04d859b76795416a9cfa4fb # timeout=10 [2022-11-07T05:04:04.794Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-07T05:04:04.816Z] > git config core.sparsecheckout # timeout=10 [2022-11-07T05:04:04.833Z] > git checkout -f a5c0afee51c0cc57adc1fd43170f812f39434c99 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T05:04:06.485Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-07T05:04:06.485Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-07T05:04:06.485Z] Dload Upload Total Spent Left Speed [2022-11-07T05:04:06.485Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 96198 0 --:--:-- --:--:-- --:--:-- 96198 [Pipeline] sh [2022-11-07T05:04:07.150Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-07T05:04:07.484Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-07T05:04:07.484Z] + sudo tee /etc/docker/daemon.new [2022-11-07T05:04:07.484Z] { [2022-11-07T05:04:07.484Z] "registry-mirrors": [ [2022-11-07T05:04:07.484Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-07T05:04:07.484Z] ], [2022-11-07T05:04:07.484Z] "bip": "10.250.0.254/24", [2022-11-07T05:04:07.484Z] "hosts": [ [2022-11-07T05:04:07.484Z] "tcp://0.0.0.0:5555", [2022-11-07T05:04:07.484Z] "unix:///var/run/docker.sock" [2022-11-07T05:04:07.484Z] ], [2022-11-07T05:04:07.484Z] "mtu": 1458, [2022-11-07T05:04:07.484Z] "selinux-enabled": true, [2022-11-07T05:04:07.484Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-07T05:04:07.484Z] } [Pipeline] sh [2022-11-07T05:04:07.827Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-07T05:04:08.184Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T05:04:26.487Z] provisioning config files... [2022-11-07T05:04:26.510Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config40461896541387700tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T05:04:26.887Z] ---> docker-login.sh [2022-11-07T05:04:26.888Z] nexus3.edgexfoundry.org:10001 [2022-11-07T05:04:27.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:04:27.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:04:27.426Z] Configure a credential helper to remove this warning. See [2022-11-07T05:04:27.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:04:27.426Z] [2022-11-07T05:04:27.426Z] Login Succeeded [2022-11-07T05:04:27.426Z] nexus3.edgexfoundry.org:10002 [2022-11-07T05:04:27.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:04:27.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:04:27.697Z] Configure a credential helper to remove this warning. See [2022-11-07T05:04:27.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:04:27.697Z] [2022-11-07T05:04:27.697Z] Login Succeeded [2022-11-07T05:04:27.697Z] nexus3.edgexfoundry.org:10003 [2022-11-07T05:04:27.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:04:27.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:04:27.965Z] Configure a credential helper to remove this warning. See [2022-11-07T05:04:27.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:04:27.965Z] [2022-11-07T05:04:27.965Z] Login Succeeded [2022-11-07T05:04:28.232Z] nexus3.edgexfoundry.org:10004 [2022-11-07T05:04:28.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:04:28.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:04:28.500Z] Configure a credential helper to remove this warning. See [2022-11-07T05:04:28.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:04:28.500Z] [2022-11-07T05:04:28.500Z] Login Succeeded [2022-11-07T05:04:28.500Z] docker.io [2022-11-07T05:04:28.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:04:29.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:04:29.034Z] Configure a credential helper to remove this warning. See [2022-11-07T05:04:29.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:04:29.034Z] [2022-11-07T05:04:29.034Z] Login Succeeded [2022-11-07T05:04:29.034Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T05:04:29.065Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-07T05:04:29.334Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T05:04:29.363Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T05:04:29.395Z] ========================================================= [2022-11-07T05:04:29.396Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-07T05:04:29.396Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T05:04:29.880Z] + 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-07T05:04:30.148Z] Sending build context to Docker daemon 3.258MB [2022-11-07T05:04:30.148Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T05:04:30.148Z] Step 2/10 : FROM ${BASE} AS builder [2022-11-07T05:04:30.421Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-07T05:04:30.421Z] 9b18e9b68314: Pulling fs layer [2022-11-07T05:04:30.421Z] 35d82f9e3411: Pulling fs layer [2022-11-07T05:04:30.421Z] e16973657156: Pulling fs layer [2022-11-07T05:04:30.421Z] fc693d55d65f: Pulling fs layer [2022-11-07T05:04:30.421Z] 7e9fc2657dce: Pulling fs layer [2022-11-07T05:04:30.421Z] dda99020689f: Pulling fs layer [2022-11-07T05:04:30.421Z] db1c61fa0a46: Pulling fs layer [2022-11-07T05:04:30.421Z] 891c053d2c06: Pulling fs layer [2022-11-07T05:04:30.421Z] fc693d55d65f: Waiting [2022-11-07T05:04:30.421Z] dda99020689f: Waiting [2022-11-07T05:04:30.421Z] db1c61fa0a46: Waiting [2022-11-07T05:04:30.421Z] 7e9fc2657dce: Waiting [2022-11-07T05:04:30.421Z] 891c053d2c06: Waiting [2022-11-07T05:04:30.421Z] e16973657156: Download complete [2022-11-07T05:04:30.421Z] 35d82f9e3411: Verifying Checksum [2022-11-07T05:04:30.421Z] 35d82f9e3411: Download complete [2022-11-07T05:04:30.421Z] 7e9fc2657dce: Verifying Checksum [2022-11-07T05:04:30.421Z] 7e9fc2657dce: Download complete [2022-11-07T05:04:30.421Z] dda99020689f: Download complete [2022-11-07T05:04:30.421Z] 9b18e9b68314: Verifying Checksum [2022-11-07T05:04:30.421Z] 9b18e9b68314: Download complete [2022-11-07T05:04:31.407Z] 9b18e9b68314: Pull complete [2022-11-07T05:04:31.408Z] 891c053d2c06: Verifying Checksum [2022-11-07T05:04:31.408Z] 891c053d2c06: Download complete [2022-11-07T05:04:31.678Z] 35d82f9e3411: Pull complete [2022-11-07T05:04:31.945Z] e16973657156: Pull complete [2022-11-07T05:04:32.531Z] db1c61fa0a46: Verifying Checksum [2022-11-07T05:04:32.531Z] db1c61fa0a46: Download complete [2022-11-07T05:04:33.112Z] fc693d55d65f: Verifying Checksum [2022-11-07T05:04:33.112Z] fc693d55d65f: Download complete [2022-11-07T05:04:45.432Z] fc693d55d65f: Pull complete [2022-11-07T05:04:45.432Z] 7e9fc2657dce: Pull complete [2022-11-07T05:04:45.432Z] dda99020689f: Pull complete [2022-11-07T05:04:49.703Z] db1c61fa0a46: Pull complete [2022-11-07T05:04:52.314Z] 891c053d2c06: Pull complete [2022-11-07T05:04:52.314Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-07T05:04:52.314Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-07T05:04:52.314Z] ---> f96f9c87975a [2022-11-07T05:04:52.314Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2022-11-07T05:04:53.795Z] ---> Running in a30e721447a0 [2022-11-07T05:04:53.795Z] Removing intermediate container a30e721447a0 [2022-11-07T05:04:53.795Z] ---> 3b8563f0d9bb [2022-11-07T05:04:53.795Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T05:04:54.076Z] ---> Running in 64ab537c2904 [2022-11-07T05:04:54.349Z] Removing intermediate container 64ab537c2904 [2022-11-07T05:04:54.349Z] ---> a93183d75eb7 [2022-11-07T05:04:54.349Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-11-07T05:04:54.349Z] ---> Running in 35df513af87a [2022-11-07T05:04:55.778Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T05:04:55.778Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T05:04:56.741Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-11-07T05:04:56.741Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-11-07T05:04:56.741Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-11-07T05:04:57.014Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-11-07T05:04:57.014Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-11-07T05:04:57.014Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-11-07T05:04:57.014Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-11-07T05:04:57.014Z] (8/8) Installing openssh (9.0_p1-r2) [2022-11-07T05:04:57.014Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T05:04:57.014Z] OK: 228 MiB in 59 packages [2022-11-07T05:04:57.984Z] Removing intermediate container 35df513af87a [2022-11-07T05:04:57.984Z] ---> 8fd4cafe5dcf [2022-11-07T05:04:57.984Z] Step 6/10 : WORKDIR /device-modbus-go [2022-11-07T05:04:57.984Z] ---> Running in 6fee48c1c721 [2022-11-07T05:04:58.571Z] Removing intermediate container 6fee48c1c721 [2022-11-07T05:04:58.571Z] ---> 1d584c7cc1cd [2022-11-07T05:04:58.571Z] Step 7/10 : COPY go.mod vendor* ./ [2022-11-07T05:04:58.841Z] ---> 678d6d074bff [2022-11-07T05:04:58.841Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T05:04:59.112Z] ---> Running in 7bb13bc28162 [2022-11-07T05:05:55.559Z] Removing intermediate container 7bb13bc28162 [2022-11-07T05:05:55.559Z] ---> 4350ee4a1765 [2022-11-07T05:05:55.559Z] Step 9/10 : COPY . . [2022-11-07T05:05:55.559Z] ---> 752d3b0c5ad1 [2022-11-07T05:05:55.559Z] Step 10/10 : RUN ${MAKE} [2022-11-07T05:05:55.559Z] ---> Running in 129ceafa847b [2022-11-07T05:05:55.559Z] noop [2022-11-07T05:05:55.559Z] Removing intermediate container 129ceafa847b [2022-11-07T05:05:55.559Z] ---> 29d7fab92e99 [2022-11-07T05:05:55.559Z] Successfully built 29d7fab92e99 [2022-11-07T05:05:55.559Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T05:05:56.045Z] + docker inspect -f . ci-base-image-arm64 [2022-11-07T05:05:56.045Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T05:05:56.297Z] prd-ubuntu20.04-docker-arm64-4c-16g-118385 does not seem to be running inside a container [2022-11-07T05:05:56.366Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-07T05:05:57.550Z] $ docker top cb3f9c87871d627afaf36ada929682b264001c051d5c28d53e65c38fbdb2c9a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T05:05:58.427Z] + go version [2022-11-07T05:05:58.427Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-07T05:05:58.457Z] $ docker stop --time=1 cb3f9c87871d627afaf36ada929682b264001c051d5c28d53e65c38fbdb2c9a0 [2022-11-07T05:06:00.084Z] $ docker rm -f cb3f9c87871d627afaf36ada929682b264001c051d5c28d53e65c38fbdb2c9a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T05:06:00.935Z] + docker inspect -f . ci-base-image-arm64 [2022-11-07T05:06:00.935Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T05:06:01.175Z] prd-ubuntu20.04-docker-arm64-4c-16g-118385 does not seem to be running inside a container [2022-11-07T05:06:01.233Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-07T05:06:02.327Z] $ docker top 93bc1ffc3c7cca2d587886c8b4530d2807b4deffae2e4500c74d152f47718136 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T05:06:02.907Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2022-11-07T05:06:03.295Z] + make test [2022-11-07T05:06:03.295Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-11-07T05:06:05.249Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-11-07T05:07:26.927Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-11-07T05:07:26.927Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.058s coverage: 47.7% of statements [2022-11-07T05:07:26.927Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-07T05:07:26.927Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-07T05:07:45.177Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-07T05:07:45.177Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-07T05:07:45.177Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-07T05:07:45.482Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-07T05:07:45.514Z] $ docker stop --time=1 93bc1ffc3c7cca2d587886c8b4530d2807b4deffae2e4500c74d152f47718136 [2022-11-07T05:07:47.252Z] $ docker rm -f 93bc1ffc3c7cca2d587886c8b4530d2807b4deffae2e4500c74d152f47718136 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T05:07:48.232Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-07T05:07:48.267Z] Warning: overwriting stash ‘coverage-report’ [2022-11-07T05:07:48.652Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T05:07:49.256Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-07T05:07:49.589Z] + ls -al . [2022-11-07T05:07:49.590Z] total 192 [2022-11-07T05:07:49.590Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 05:06 . [2022-11-07T05:07:49.590Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 05:04 .. [2022-11-07T05:07:49.590Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 05:04 .dockerignore [2022-11-07T05:07:49.590Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 05:04 .git [2022-11-07T05:07:49.590Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:04 .github [2022-11-07T05:07:49.590Z] -rw-rw-r-- 1 jenkins jenkins 331 Nov 7 05:04 .gitignore [2022-11-07T05:07:49.590Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 05:04 .golangci.yml [2022-11-07T05:07:49.590Z] -rw-rw-r-- 1 jenkins jenkins 10121 Nov 7 05:04 Attribution.txt [2022-11-07T05:07:49.590Z] -rw-rw-r-- 1 jenkins jenkins 11576 Nov 7 05:04 CHANGELOG.md [2022-11-07T05:07:49.590Z] -rw-rw-r-- 1 jenkins jenkins 1428 Nov 7 05:04 Dockerfile [2022-11-07T05:07:49.590Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 05:04 GOVERNANCE.md [2022-11-07T05:07:49.590Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 7 05:04 Jenkinsfile [2022-11-07T05:07:49.590Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 05:04 LICENSE [2022-11-07T05:07:49.590Z] -rw-rw-r-- 1 jenkins jenkins 2101 Nov 7 05:04 Makefile [2022-11-07T05:07:49.590Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 7 05:04 OWNERS.md [2022-11-07T05:07:49.590Z] -rw-rw-r-- 1 jenkins jenkins 4061 Nov 7 05:04 README.md [2022-11-07T05:07:49.590Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 05:02 VERSION [2022-11-07T05:07:49.590Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 05:04 bin [2022-11-07T05:07:49.590Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:04 cmd [2022-11-07T05:07:49.590Z] -rw-r--r-- 1 jenkins jenkins 23241 Nov 7 05:07 coverage.out [2022-11-07T05:07:49.590Z] -rw-rw-r-- 1 jenkins jenkins 3625 Nov 7 05:04 go.mod [2022-11-07T05:07:49.590Z] -rw-rw-r-- 1 jenkins jenkins 45295 Nov 7 05:04 go.sum [2022-11-07T05:07:49.590Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:04 internal [2022-11-07T05:07:49.590Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 05:04 simulator [2022-11-07T05:07:49.590Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 05:04 snap [2022-11-07T05:07:49.590Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 7 05:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T05:07:50.016Z] + 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=a5c0afee51c0cc57adc1fd43170f812f39434c99 --label arch=arm64 --label version=0.0.0 . [2022-11-07T05:07:50.285Z] Sending build context to Docker daemon 3.282MB [2022-11-07T05:07:50.285Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T05:07:50.285Z] Step 2/22 : FROM ${BASE} AS builder [2022-11-07T05:07:50.285Z] ---> 29d7fab92e99 [2022-11-07T05:07:50.285Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2022-11-07T05:07:50.555Z] ---> Running in 3c2649e1d926 [2022-11-07T05:07:50.555Z] Removing intermediate container 3c2649e1d926 [2022-11-07T05:07:50.555Z] ---> 93fbe456f33e [2022-11-07T05:07:50.555Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T05:07:50.821Z] ---> Running in c0068ff79edc [2022-11-07T05:07:51.090Z] Removing intermediate container c0068ff79edc [2022-11-07T05:07:51.090Z] ---> 9753c38f248d [2022-11-07T05:07:51.090Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-11-07T05:07:51.090Z] ---> Running in 00d8879a5892 [2022-11-07T05:07:52.108Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T05:07:52.376Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T05:07:53.416Z] OK: 228 MiB in 59 packages [2022-11-07T05:07:54.006Z] Removing intermediate container 00d8879a5892 [2022-11-07T05:07:54.006Z] ---> 99c7da97553a [2022-11-07T05:07:54.006Z] Step 6/22 : WORKDIR /device-modbus-go [2022-11-07T05:07:54.276Z] ---> Running in ce6c149b1be0 [2022-11-07T05:07:54.546Z] Removing intermediate container ce6c149b1be0 [2022-11-07T05:07:54.546Z] ---> 85d086a40c91 [2022-11-07T05:07:54.546Z] Step 7/22 : COPY go.mod vendor* ./ [2022-11-07T05:07:54.814Z] ---> 3a3101caa132 [2022-11-07T05:07:54.814Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T05:07:55.085Z] ---> Running in 53456951a32a [2022-11-07T05:07:57.031Z] Removing intermediate container 53456951a32a [2022-11-07T05:07:57.031Z] ---> bc84e3ece3db [2022-11-07T05:07:57.031Z] Step 9/22 : COPY . . [2022-11-07T05:07:57.617Z] ---> 92023de6cd01 [2022-11-07T05:07:57.617Z] Step 10/22 : RUN ${MAKE} [2022-11-07T05:07:57.617Z] ---> Running in dac492999e94 [2022-11-07T05:07:58.603Z] 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-07T05:10:50.374Z] Removing intermediate container dac492999e94 [2022-11-07T05:10:50.374Z] ---> 3ea8e97232ff [2022-11-07T05:10:50.374Z] Step 11/22 : FROM alpine:3.14 [2022-11-07T05:10:50.374Z] 3.14: Pulling from library/alpine [2022-11-07T05:10:50.374Z] 90cda3b7c325: Pulling fs layer [2022-11-07T05:10:50.374Z] 90cda3b7c325: Verifying Checksum [2022-11-07T05:10:50.374Z] 90cda3b7c325: Download complete [2022-11-07T05:10:50.374Z] 90cda3b7c325: Pull complete [2022-11-07T05:10:50.374Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-11-07T05:10:50.374Z] Status: Downloaded newer image for alpine:3.14 [2022-11-07T05:10:50.374Z] ---> 376ba31ae3da [2022-11-07T05:10:50.374Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-11-07T05:10:50.374Z] ---> Running in c7d2b7597416 [2022-11-07T05:10:50.374Z] Removing intermediate container c7d2b7597416 [2022-11-07T05:10:50.374Z] ---> 559103cf4cdb [2022-11-07T05:10:50.374Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-07T05:10:50.374Z] ---> Running in 399726c151ba [2022-11-07T05:10:50.374Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-11-07T05:10:50.374Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-11-07T05:10:50.374Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-07T05:10:50.374Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-11-07T05:10:50.374Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-07T05:10:50.374Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-11-07T05:10:50.374Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-07T05:10:50.374Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-07T05:10:50.374Z] Executing busybox-1.33.1-r8.trigger [2022-11-07T05:10:50.374Z] OK: 8 MiB in 20 packages [2022-11-07T05:10:50.374Z] Removing intermediate container 399726c151ba [2022-11-07T05:10:50.374Z] ---> 28cdd7999ee6 [2022-11-07T05:10:50.374Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2022-11-07T05:10:50.374Z] ---> a296d0a91bf3 [2022-11-07T05:10:50.374Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2022-11-07T05:10:50.374Z] ---> b1ce6a1c5971 [2022-11-07T05:10:50.374Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-11-07T05:10:50.374Z] ---> 35f9e334cacc [2022-11-07T05:10:50.374Z] Step 17/22 : EXPOSE 59901 [2022-11-07T05:10:50.374Z] ---> Running in 9764b3c11df2 [2022-11-07T05:10:50.374Z] Removing intermediate container 9764b3c11df2 [2022-11-07T05:10:50.374Z] ---> 1a317df58683 [2022-11-07T05:10:50.374Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2022-11-07T05:10:50.374Z] ---> Running in 4a2ebf9ec9a4 [2022-11-07T05:10:50.374Z] Removing intermediate container 4a2ebf9ec9a4 [2022-11-07T05:10:50.374Z] ---> 2c0ab529bede [2022-11-07T05:10:50.374Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-07T05:10:50.374Z] ---> Running in 62bc95626b43 [2022-11-07T05:10:50.648Z] Removing intermediate container 62bc95626b43 [2022-11-07T05:10:50.648Z] ---> 685aa87752f5 [2022-11-07T05:10:50.648Z] Step 20/22 : LABEL arch=arm64 [2022-11-07T05:10:50.648Z] ---> Running in 4d8f84ec8671 [2022-11-07T05:10:50.918Z] Removing intermediate container 4d8f84ec8671 [2022-11-07T05:10:50.918Z] ---> aecbb869c459 [2022-11-07T05:10:50.918Z] Step 21/22 : LABEL git_sha=a5c0afee51c0cc57adc1fd43170f812f39434c99 [2022-11-07T05:10:50.918Z] ---> Running in e2b4d94ecbc1 [2022-11-07T05:10:51.187Z] Removing intermediate container e2b4d94ecbc1 [2022-11-07T05:10:51.187Z] ---> 25afda130705 [2022-11-07T05:10:51.187Z] Step 22/22 : LABEL version=0.0.0 [2022-11-07T05:10:51.459Z] ---> Running in 6e3a29164dfa [2022-11-07T05:10:51.730Z] Removing intermediate container 6e3a29164dfa [2022-11-07T05:10:51.730Z] ---> 8ece163bb86a [2022-11-07T05:10:51.730Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-07T05:10:51.730Z] Successfully built 8ece163bb86a [2022-11-07T05:10:51.730Z] 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-07T05:10:52.520Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T05:10:52.520Z] [2022-11-07T05:10:52.520Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T05:10:52.922Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T05:10:52.922Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-07T05:10:52.922Z] 8998bd30e6a1: Pulling fs layer [2022-11-07T05:10:52.922Z] 04944245beec: Pulling fs layer [2022-11-07T05:10:52.922Z] 699f458cf7ca: Pulling fs layer [2022-11-07T05:10:52.922Z] 765212b225bb: Pulling fs layer [2022-11-07T05:10:52.922Z] f23df028b6ca: Pulling fs layer [2022-11-07T05:10:52.922Z] d65c8cfc05b1: Pulling fs layer [2022-11-07T05:10:52.922Z] 2437ff75d9bd: Pulling fs layer [2022-11-07T05:10:52.922Z] f23df028b6ca: Waiting [2022-11-07T05:10:52.922Z] d65c8cfc05b1: Waiting [2022-11-07T05:10:52.922Z] 2437ff75d9bd: Waiting [2022-11-07T05:10:52.922Z] 765212b225bb: Waiting [2022-11-07T05:10:53.195Z] 04944245beec: Verifying Checksum [2022-11-07T05:10:53.195Z] 04944245beec: Download complete [2022-11-07T05:10:53.195Z] 765212b225bb: Download complete [2022-11-07T05:10:53.195Z] f23df028b6ca: Download complete [2022-11-07T05:10:53.195Z] d65c8cfc05b1: Verifying Checksum [2022-11-07T05:10:53.195Z] d65c8cfc05b1: Download complete [2022-11-07T05:10:53.466Z] 699f458cf7ca: Verifying Checksum [2022-11-07T05:10:53.466Z] 699f458cf7ca: Download complete [2022-11-07T05:10:53.737Z] 8998bd30e6a1: Verifying Checksum [2022-11-07T05:10:53.737Z] 8998bd30e6a1: Download complete [2022-11-07T05:10:56.324Z] 2437ff75d9bd: Verifying Checksum [2022-11-07T05:10:58.283Z] 8998bd30e6a1: Pull complete [2022-11-07T05:10:58.553Z] 04944245beec: Pull complete [2022-11-07T05:10:59.968Z] 699f458cf7ca: Pull complete [2022-11-07T05:10:59.968Z] 765212b225bb: Pull complete [2022-11-07T05:11:00.931Z] f23df028b6ca: Pull complete [2022-11-07T05:11:00.931Z] d65c8cfc05b1: Pull complete [2022-11-07T05:11:15.943Z] 2437ff75d9bd: Pull complete [2022-11-07T05:11:15.943Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-07T05:11:15.943Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T05:11:15.943Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T05:11:16.270Z] prd-ubuntu20.04-docker-arm64-4c-16g-118385 does not seem to be running inside a container [2022-11-07T05:11:16.339Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-07T05:11:19.300Z] $ docker top c68194cb94aa2b7a947457ee717f676c63bcc5bd7f015fa7f3264ef89eac1ff5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T05:11:20.232Z] ---> job-cost.sh [2022-11-07T05:11:20.232Z] lf-activate-venv: SKIPPING [2022-11-07T05:11:20.232Z] INFO: No Stack... [2022-11-07T05:11:20.816Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-07T05:11:21.779Z] INFO: Archiving Costs [Pipeline] sh [2022-11-07T05:11:22.442Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2022-11-07T05:11:22.442Z] + cut -d, -f6 [Pipeline] lock [2022-11-07T05:11:22.531Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-389-1-stack-cost] [2022-11-07T05:11:22.535Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-389-1-stack-cost] did not exist. Created. [2022-11-07T05:11:22.535Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-389-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-07T05:11:23.267Z] /w/workspace/device-modbus-go/1@tmp/durable-bada8892/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-07T05:11:23.641Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-07T05:11:23.679Z] Warning: overwriting stash ‘stack-cost’ [2022-11-07T05:11:23.729Z] Stashed 1 file(s) [Pipeline] } [2022-11-07T05:11:23.744Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-389-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-07T05:11:23.816Z] $ docker stop --time=1 c68194cb94aa2b7a947457ee717f676c63bcc5bd7f015fa7f3264ef89eac1ff5 [2022-11-07T05:11:25.363Z] $ docker rm -f c68194cb94aa2b7a947457ee717f676c63bcc5bd7f015fa7f3264ef89eac1ff5 [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-07T05:11:26.376Z] provisioning config files... [2022-11-07T05:11:26.382Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-389@tmp/config8514570126873452272tmp [Pipeline] { [Pipeline] sh [2022-11-07T05:11:26.717Z] + set +x [2022-11-07T05:11:26.717Z] + + curl -s https://codecov.io/bash [2022-11-07T05:11:26.717Z] bash -s -- [2022-11-07T05:11:26.717Z] [2022-11-07T05:11:26.717Z] _____ _ [2022-11-07T05:11:26.717Z] / ____| | | [2022-11-07T05:11:26.717Z] | | ___ __| | ___ ___ _____ __ [2022-11-07T05:11:26.717Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-07T05:11:26.717Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-07T05:11:26.717Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-07T05:11:26.717Z] Bash-1.0.6 [2022-11-07T05:11:26.717Z] [2022-11-07T05:11:26.717Z] [2022-11-07T05:11:26.717Z] ==> git version 2.25.1 found [2022-11-07T05:11:26.717Z] ==> 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-07T05:11:26.717Z] Release-Date: 2020-01-08 [2022-11-07T05:11:26.717Z] 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-07T05:11:26.717Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-07T05:11:26.717Z] ==> Jenkins CI detected. [2022-11-07T05:11:26.717Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-389 [2022-11-07T05:11:26.717Z] project root: . [2022-11-07T05:11:26.717Z] --> token set from env [2022-11-07T05:11:26.717Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-07T05:11:26.717Z] ==> Running gcov in . (disable via -X gcov) [2022-11-07T05:11:26.717Z] ==> Python coveragepy not found [2022-11-07T05:11:26.717Z] ==> Searching for coverage reports in: [2022-11-07T05:11:26.717Z] + . [2022-11-07T05:11:26.717Z] -> Found 1 reports [2022-11-07T05:11:26.717Z] ==> Detecting git/mercurial file structure [2022-11-07T05:11:26.717Z] ==> Reading reports [2022-11-07T05:11:26.717Z] + ./coverage.out bytes=23241 [2022-11-07T05:11:26.717Z] ==> Appending adjustments [2022-11-07T05:11:26.717Z] https://docs.codecov.io/docs/fixing-reports [2022-11-07T05:11:26.976Z] + Found adjustments [2022-11-07T05:11:26.976Z] ==> Gzipping contents [2022-11-07T05:11:26.976Z] 4.0K /tmp/codecov.v4Ruj1.gz [2022-11-07T05:11:26.976Z] ==> Uploading reports [2022-11-07T05:11:26.976Z] url: https://codecov.io [2022-11-07T05:11:26.976Z] query: branch=PR-389&commit=a5c0afee51c0cc57adc1fd43170f812f39434c99&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-389%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=389&job=&cmd_args= [2022-11-07T05:11:26.976Z] -> Pinging Codecov [2022-11-07T05:11:26.976Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-389&commit=a5c0afee51c0cc57adc1fd43170f812f39434c99&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-389%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=389&job=&cmd_args= [2022-11-07T05:11:27.239Z] -> Uploading to [2022-11-07T05:11:27.239Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-07/55DBCA73C666E3227836607328DD7E49/a5c0afee51c0cc57adc1fd43170f812f39434c99/7f8da7a7-9d48-4e09-9571-6849f5d69ee6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221107T051127Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=96635b8c88c5592d9e6d61a40db2338b7bb3c247bd3f1c0ed07083ae360b844b [2022-11-07T05:11:27.239Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-07T05:11:27.239Z] Dload Upload Total Spent Left Speed [2022-11-07T05:11:27.497Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3930 0 0 100 3930 0 16582 --:--:-- --:--:-- --:--:-- 16582 [2022-11-07T05:11:27.497Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/a5c0afee51c0cc57adc1fd43170f812f39434c99 [Pipeline] } [2022-11-07T05:11:27.521Z] 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-07T05:11:29.309Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-389/archives ] [2022-11-07T05:11:29.309Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-389/archives [2022-11-07T05:11:29.309Z] total 16 [2022-11-07T05:11:29.309Z] drwxr-xr-x 3 root root 4096 Nov 7 05:03 . [2022-11-07T05:11:29.309Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 05:03 .. [2022-11-07T05:11:29.309Z] drwxr-xr-x 2 root root 4096 Nov 7 05:03 cost [2022-11-07T05:11:29.309Z] -rw-r--r-- 1 root root 89 Nov 7 05:03 cost.csv [2022-11-07T05:11:29.309Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-389/archives [2022-11-07T05:11:29.309Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-389/archives [2022-11-07T05:11:29.309Z] total 16 [2022-11-07T05:11:29.309Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 05:03 . [2022-11-07T05:11:29.309Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 05:03 .. [2022-11-07T05:11:29.309Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 05:03 cost [2022-11-07T05:11:29.309Z] -rw-r--r-- 1 jenkins jenkins 89 Nov 7 05:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-07T05:11:29.635Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T05:11:30.528Z] ---> package-listing.sh [2022-11-07T05:11:30.528Z] ++ facter osfamily [2022-11-07T05:11:30.528Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-07T05:11:30.786Z] + OS_FAMILY=debian [2022-11-07T05:11:30.786Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-389 [2022-11-07T05:11:30.786Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-07T05:11:30.786Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-07T05:11:30.786Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-07T05:11:30.786Z] + PACKAGES=/tmp/packages_start.txt [2022-11-07T05:11:30.786Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-389 ']' [2022-11-07T05:11:30.786Z] + PACKAGES=/tmp/packages_end.txt [2022-11-07T05:11:30.786Z] + case "${OS_FAMILY}" in [2022-11-07T05:11:30.786Z] + dpkg -l [2022-11-07T05:11:30.786Z] + grep '^ii' [2022-11-07T05:11:30.786Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-07T05:11:30.786Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-07T05:11:30.786Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-07T05:11:30.786Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-389 ']' [2022-11-07T05:11:30.786Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-389/archives/ [2022-11-07T05:11:30.786Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-389/archives/ [Pipeline] echo [2022-11-07T05:11:30.825Z] 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-389/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-07T05:11:31.123Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T05:11:31.771Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T05:11:31.771Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T05:11:31.916Z] prd-ubuntu20.04-docker-8c-8g-118380 does not seem to be running inside a container [2022-11-07T05:11:31.949Z] $ 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-389/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-389 -v /w/workspace/xfoundry_device-modbus-go_PR-389:/w/workspace/xfoundry_device-modbus-go_PR-389:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-389@tmp:/w/workspace/xfoundry_device-modbus-go_PR-389@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-07T05:11:32.174Z] $ docker top 8b0565e3088a56bc1a03e16bfa7b2e95223b3cfdd7596c70dbd6eb6f84735203 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T05:11:32.563Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-07T05:11:32.877Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-07T05:11:33.186Z] + ls /var/log/sa-host [2022-11-07T05:11:33.186Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T05:11:33.409Z] provisioning config files... [2022-11-07T05:11:33.429Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-389@tmp/config11406809407445126809tmp [Pipeline] { [Pipeline] echo [2022-11-07T05:11:33.471Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T05:11:33.779Z] ---> create-netrc.sh [Pipeline] } [2022-11-07T05:11:33.804Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-07T05:11:34.204Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-07T05:11:34.236Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T05:11:34.551Z] ---> sudo-logs.sh [2022-11-07T05:11:34.551Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-07T05:11:34.634Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T05:11:34.947Z] ---> job-cost.sh [2022-11-07T05:11:34.947Z] lf-activate-venv: SKIPPING [2022-11-07T05:11:34.947Z] DEBUG: total: 0.4399999976158142 [2022-11-07T05:11:34.947Z] INFO: Retrieving Stack Cost... [2022-11-07T05:11:35.205Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-07T05:11:35.463Z] INFO: Archiving Costs [Pipeline] echo [2022-11-07T05:11:35.750Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T05:11:36.072Z] ---> logs-deploy.sh [2022-11-07T05:11:36.072Z] lf-activate-venv: SKIPPING [2022-11-07T05:11:36.072Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-389/1 [2022-11-07T05:11:36.072Z] INFO: archiving workspace using pattern(s): [2022-11-07T05:11:37.009Z] Archives upload complete. [2022-11-07T05:11:37.009Z] INFO: archiving logs to Nexus