Pull request #341 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d4e467d0ce894c5b99ae8bcc9c76f23c685c174c+19472f7a5fdc6e4787d855a3cc3865d021cdd964 (6bcec5a5e15abb4af40ba084cfe2bb5ca01eaef5) 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-ssh5026039427231638052.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh15470883837680664560.key > 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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-341/workspace@libs/edgex-global-pipelines # 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-341/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13330484289883584125.key > 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-341/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7459116247004510599.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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 shared 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-ssh15725933446775001462.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-341/workspace@libs/lf-pipelines # 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-341/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh11872497357334815194.key > 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 b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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.17 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-34415 in /w/workspace/xfoundry_device-modbus-go_PR-341 [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-341 # 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 > 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 19472f7a5fdc6e4787d855a3cc3865d021cdd964 into PR head commit d4e467d0ce894c5b99ae8bcc9c76f23c685c174c Merge succeeded, producing d4e467d0ce894c5b99ae8bcc9c76f23c685c174c Checking out Revision d4e467d0ce894c5b99ae8bcc9c76f23c685c174c (PR-341) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/341/head:refs/remotes/origin/PR-341 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d4e467d0ce894c5b99ae8bcc9c76f23c685c174c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 19472f7a5fdc6e4787d855a3cc3865d021cdd964 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d4e467d0ce894c5b99ae8bcc9c76f23c685c174c # 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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-02T05:09:41.487Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-02T05:09:41.666Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-02T05:09:41.767Z] ========================================================= [2022-05-02T05:09:41.767Z] EdgeX Global Pipelines Version Info [2022-05-02T05:09:41.767Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-02T05:09:42.570Z] ------------------- [2022-05-02T05:09:42.571Z] stable info: [2022-05-02T05:09:42.571Z] ------------------- [2022-05-02T05:09:42.571Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-02T05:09:42.571Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-02T05:09:42.571Z] Message: update stable to v1.0.227 [2022-05-02T05:09:43.143Z] ------------------- [2022-05-02T05:09:43.143Z] experimental info: [2022-05-02T05:09:43.143Z] ------------------- [2022-05-02T05:09:43.143Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-05-02T05:09:43.143Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-02T05:09:43.143Z] Message: update experimental to v1.0.227 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-02T05:09:43.402Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-05-02T05:09:43.443Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-05-02T05:09:43.500Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-02T05:09:43.544Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-02T05:09:43.584Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-02T05:09:43.621Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-02T05:09:43.666Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-02T05:09:43.704Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-02T05:09:43.746Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-02T05:09:43.780Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-02T05:09:43.824Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-02T05:09:43.872Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-05-02T05:09:43.909Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-02T05:09:43.946Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-02T05:09:43.980Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-02T05:09:44.017Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-02T05:09:44.060Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-02T05:09:44.099Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-02T05:09:44.140Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-02T05:09:44.179Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-02T05:09:44.218Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-02T05:09:44.255Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-02T05:09:44.296Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-02T05:09:44.340Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-02T05:09:44.375Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-02T05:09:44.412Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-02T05:09:44.457Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-341 [Pipeline] echo [2022-05-02T05:09:44.499Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-341 [Pipeline] echo [2022-05-02T05:09:44.544Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-341 [Pipeline] echo [2022-05-02T05:09:44.585Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d4e467d0ce894c5b99ae8bcc9c76f23c685c174c [Pipeline] echo [2022-05-02T05:09:44.625Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d4e467d [Pipeline] echo [2022-05-02T05:09:44.670Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-02T05:09:44.783Z] provisioning config files... [2022-05-02T05:09:44.797Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-341@tmp/config2606034525105879978tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-02T05:09:45.195Z] ---> docker-login.sh [2022-05-02T05:09:45.195Z] nexus3.edgexfoundry.org:10001 [2022-05-02T05:09:45.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T05:09:45.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T05:09:45.720Z] Configure a credential helper to remove this warning. See [2022-05-02T05:09:45.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T05:09:45.720Z] [2022-05-02T05:09:45.720Z] Login Succeeded [2022-05-02T05:09:45.720Z] nexus3.edgexfoundry.org:10002 [2022-05-02T05:09:45.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T05:09:45.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T05:09:45.720Z] Configure a credential helper to remove this warning. See [2022-05-02T05:09:45.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T05:09:45.720Z] [2022-05-02T05:09:45.720Z] Login Succeeded [2022-05-02T05:09:45.720Z] nexus3.edgexfoundry.org:10003 [2022-05-02T05:09:45.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T05:09:45.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T05:09:45.982Z] Configure a credential helper to remove this warning. See [2022-05-02T05:09:45.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T05:09:45.982Z] [2022-05-02T05:09:45.982Z] Login Succeeded [2022-05-02T05:09:45.982Z] nexus3.edgexfoundry.org:10004 [2022-05-02T05:09:45.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T05:09:45.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T05:09:45.982Z] Configure a credential helper to remove this warning. See [2022-05-02T05:09:45.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T05:09:45.982Z] [2022-05-02T05:09:45.982Z] Login Succeeded [2022-05-02T05:09:45.982Z] docker.io [2022-05-02T05:09:46.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T05:09:46.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T05:09:46.510Z] Configure a credential helper to remove this warning. See [2022-05-02T05:09:46.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T05:09:46.510Z] [2022-05-02T05:09:46.510Z] Login Succeeded [2022-05-02T05:09:46.510Z] ---> docker-login.sh ends [Pipeline] } [2022-05-02T05:09:46.605Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-02T05:09:47.321Z] + git rev-list -1 --merges d4e467d0ce894c5b99ae8bcc9c76f23c685c174c~1..d4e467d0ce894c5b99ae8bcc9c76f23c685c174c [Pipeline] echo [2022-05-02T05:09:47.368Z] -----------> git rev-list -1 --merges d4e467d0ce894c5b99ae8bcc9c76f23c685c174c~1..d4e467d0ce894c5b99ae8bcc9c76f23c685c174c d4e467d0ce894c5b99ae8bcc9c76f23c685c174c [false] [Pipeline] sh [2022-05-02T05:09:47.679Z] + git log --format=format:%s -1 d4e467d0ce894c5b99ae8bcc9c76f23c685c174c [Pipeline] echo [2022-05-02T05:09:47.715Z] ========================================================= [2022-05-02T05:09:47.715Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-02T05:09:47.715Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-02T05:09:48.154Z] + git log --format=format:%s -1 d4e467d0ce894c5b99ae8bcc9c76f23c685c174c [Pipeline] echo [2022-05-02T05:09:48.186Z] [semverPrep] GIT_COMMIT: d4e467d0ce894c5b99ae8bcc9c76f23c685c174c, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2022-05-02T05:09:48.213Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-02T05:09:48.615Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-02T05:09:48.616Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-02T05:09:48.616Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-02T05:09:48.616Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-02T05:09:48.616Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-02T05:09:48.616Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-02T05:09:48.616Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-02T05:09:48.989Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-02T05:09:48.989Z] [2022-05-02T05:09:48.989Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-02T05:09:49.336Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-02T05:09:49.336Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-02T05:09:49.336Z] 1fe172e4850f: Pulling fs layer [2022-05-02T05:09:49.336Z] caf521ccaac6: Pulling fs layer [2022-05-02T05:09:49.336Z] 3ead6fa29328: Pulling fs layer [2022-05-02T05:09:49.336Z] 5c2a1cbceb83: Pulling fs layer [2022-05-02T05:09:49.336Z] a8d5f1318db7: Pulling fs layer [2022-05-02T05:09:49.336Z] c427282e49a2: Pulling fs layer [2022-05-02T05:09:49.336Z] 1827001aaf11: Pulling fs layer [2022-05-02T05:09:49.336Z] 0714d37db230: Pulling fs layer [2022-05-02T05:09:49.336Z] ac28cf19c067: Pulling fs layer [2022-05-02T05:09:49.336Z] ca983d60f3e2: Pulling fs layer [2022-05-02T05:09:49.336Z] 9f894cec8388: Pulling fs layer [2022-05-02T05:09:49.336Z] 5c2a1cbceb83: Waiting [2022-05-02T05:09:49.336Z] a8d5f1318db7: Waiting [2022-05-02T05:09:49.336Z] c427282e49a2: Waiting [2022-05-02T05:09:49.336Z] 1827001aaf11: Waiting [2022-05-02T05:09:49.336Z] 0714d37db230: Waiting [2022-05-02T05:09:49.336Z] ac28cf19c067: Waiting [2022-05-02T05:09:49.336Z] ca983d60f3e2: Waiting [2022-05-02T05:09:49.336Z] 9f894cec8388: Waiting [2022-05-02T05:09:49.598Z] caf521ccaac6: Verifying Checksum [2022-05-02T05:09:49.598Z] caf521ccaac6: Download complete [2022-05-02T05:09:49.598Z] 5c2a1cbceb83: Verifying Checksum [2022-05-02T05:09:49.598Z] 5c2a1cbceb83: Download complete [2022-05-02T05:09:49.598Z] a8d5f1318db7: Verifying Checksum [2022-05-02T05:09:49.598Z] a8d5f1318db7: Download complete [2022-05-02T05:09:49.598Z] c427282e49a2: Verifying Checksum [2022-05-02T05:09:49.598Z] c427282e49a2: Download complete [2022-05-02T05:09:49.598Z] 3ead6fa29328: Verifying Checksum [2022-05-02T05:09:49.598Z] 3ead6fa29328: Download complete [2022-05-02T05:09:49.598Z] 0714d37db230: Verifying Checksum [2022-05-02T05:09:49.598Z] 0714d37db230: Download complete [2022-05-02T05:09:49.598Z] ac28cf19c067: Download complete [2022-05-02T05:09:49.598Z] ca983d60f3e2: Download complete [2022-05-02T05:09:49.598Z] 9f894cec8388: Download complete [2022-05-02T05:09:49.859Z] 1fe172e4850f: Verifying Checksum [2022-05-02T05:09:49.859Z] 1fe172e4850f: Download complete [2022-05-02T05:09:50.121Z] 1827001aaf11: Verifying Checksum [2022-05-02T05:09:50.121Z] 1827001aaf11: Download complete [2022-05-02T05:09:51.504Z] 1fe172e4850f: Pull complete [2022-05-02T05:09:51.505Z] caf521ccaac6: Pull complete [2022-05-02T05:09:52.091Z] 3ead6fa29328: Pull complete [2022-05-02T05:09:52.091Z] 5c2a1cbceb83: Pull complete [2022-05-02T05:09:52.666Z] a8d5f1318db7: Pull complete [2022-05-02T05:09:52.666Z] c427282e49a2: Pull complete [2022-05-02T05:09:55.216Z] 1827001aaf11: Pull complete [2022-05-02T05:09:55.216Z] 0714d37db230: Pull complete [2022-05-02T05:09:55.216Z] ac28cf19c067: Pull complete [2022-05-02T05:09:55.216Z] ca983d60f3e2: Pull complete [2022-05-02T05:09:55.216Z] 9f894cec8388: Pull complete [2022-05-02T05:09:55.216Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-02T05:09:55.216Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-02T05:09:55.216Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-02T05:09:55.319Z] prd-ubuntu20.04-docker-8c-8g-34415 does not seem to be running inside a container [2022-05-02T05:09:55.364Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-341 -v /w/workspace/xfoundry_device-modbus-go_PR-341:/w/workspace/xfoundry_device-modbus-go_PR-341:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-341@tmp:/w/workspace/xfoundry_device-modbus-go_PR-341@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-02T05:09:57.360Z] $ docker top b5b3b66dadb9191daba35a5df881036a8774c1296709dc3e4b17b7644f6bc7be -eo pid,comm [2022-05-02T05:09:57.433Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-05-02T05:09:57.433Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-02T05:09:57.553Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-02T05:09:57.553Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-02T05:09:57.693Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-02T05:09:57.701Z] $ docker exec b5b3b66dadb9191daba35a5df881036a8774c1296709dc3e4b17b7644f6bc7be ssh-agent [2022-05-02T05:09:57.823Z] SSH_AUTH_SOCK=/tmp/ssh-fn0lBmWTjncG/agent.32 [2022-05-02T05:09:57.823Z] SSH_AGENT_PID=38 [2022-05-02T05:09:57.831Z] Running ssh-add (command line suppressed) [2022-05-02T05:09:57.958Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-341@tmp/private_key_4655638725460846803.key (/w/workspace/xfoundry_device-modbus-go_PR-341@tmp/private_key_4655638725460846803.key) [2022-05-02T05:09:57.969Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-02T05:09:58.296Z] + git tag --points-at HEAD [Pipeline] } [2022-05-02T05:09:58.327Z] $ docker exec --env ******** --env ******** b5b3b66dadb9191daba35a5df881036a8774c1296709dc3e4b17b7644f6bc7be ssh-agent -k [2022-05-02T05:09:58.458Z] unset SSH_AUTH_SOCK; [2022-05-02T05:09:58.459Z] unset SSH_AGENT_PID; [2022-05-02T05:09:58.459Z] echo Agent pid 38 killed; [2022-05-02T05:09:58.464Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-02T05:09:58.558Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-02T05:09:58.558Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-02T05:09:58.692Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-02T05:09:58.700Z] $ docker exec b5b3b66dadb9191daba35a5df881036a8774c1296709dc3e4b17b7644f6bc7be ssh-agent [2022-05-02T05:09:58.840Z] SSH_AUTH_SOCK=/tmp/ssh-7WyYDbzR6YG2/agent.71 [2022-05-02T05:09:58.840Z] SSH_AGENT_PID=77 [2022-05-02T05:09:58.845Z] Running ssh-add (command line suppressed) [2022-05-02T05:09:58.979Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-341@tmp/private_key_4809832494465926257.key (/w/workspace/xfoundry_device-modbus-go_PR-341@tmp/private_key_4809832494465926257.key) [2022-05-02T05:09:58.993Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-02T05:09:59.337Z] + git semver init [2022-05-02T05:09:59.601Z] 2022-05-02 05:09:59,529 [run_init] DEBUG init version:0.0.0 force:False [2022-05-02T05:09:59.601Z] 2022-05-02 05:09:59,530 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-341/.semver [2022-05-02T05:09:59.601Z] 2022-05-02 05:09:59,530 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-341/.semver [2022-05-02T05:09:59.601Z] 2022-05-02 05:09:59,531 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-341/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-341, universal_newlines=False, shell=None, istream=None) [2022-05-02T05:10:00.545Z] 2022-05-02 05:10:00,388 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-341/.git/info/exclude [2022-05-02T05:10:00.545Z] 2022-05-02 05:10:00,389 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-341/.semver/PR-341 with force:False [2022-05-02T05:10:00.545Z] 2022-05-02 05:10:00,389 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-341/.semver/PR-341 [2022-05-02T05:10:00.545Z] 2022-05-02 05:10:00,393 [execute] INFO git cat-file --batch-check [2022-05-02T05:10:00.545Z] 2022-05-02 05:10:00,394 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-341/.semver, universal_newlines=False, shell=None, istream=) [2022-05-02T05:10:00.545Z] 2022-05-02 05:10:00,400 [execute] INFO git cat-file --batch [2022-05-02T05:10:00.545Z] 2022-05-02 05:10:00,400 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-341/.semver, universal_newlines=False, shell=None, istream=) [2022-05-02T05:10:00.545Z] 2022-05-02 05:10:00,405 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-341/.semver/PR-341 [2022-05-02T05:10:00.545Z] 0.0.0 [Pipeline] } [2022-05-02T05:10:00.576Z] $ docker exec --env ******** --env ******** b5b3b66dadb9191daba35a5df881036a8774c1296709dc3e4b17b7644f6bc7be ssh-agent -k [2022-05-02T05:10:00.694Z] unset SSH_AUTH_SOCK; [2022-05-02T05:10:00.694Z] unset SSH_AGENT_PID; [2022-05-02T05:10:00.694Z] echo Agent pid 77 killed; [2022-05-02T05:10:00.702Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-02T05:10:01.132Z] + git semver [Pipeline] } [2022-05-02T05:10:01.428Z] $ docker stop --time=1 b5b3b66dadb9191daba35a5df881036a8774c1296709dc3e4b17b7644f6bc7be [2022-05-02T05:10:02.797Z] $ docker rm -f b5b3b66dadb9191daba35a5df881036a8774c1296709dc3e4b17b7644f6bc7be [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-02T05:10:03.204Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-02T05:10:03.526Z] Stashed 1 file(s) [Pipeline] echo [2022-05-02T05:10:03.550Z] [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-05-02T05:10:04.191Z] provisioning config files... [2022-05-02T05:10:04.204Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-341@tmp/config8932118697779612255tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-02T05:10:04.670Z] ---> docker-login.sh [2022-05-02T05:10:04.670Z] nexus3.edgexfoundry.org:10001 [2022-05-02T05:10:04.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T05:10:04.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T05:10:04.670Z] Configure a credential helper to remove this warning. See [2022-05-02T05:10:04.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T05:10:04.670Z] [2022-05-02T05:10:04.670Z] Login Succeeded [2022-05-02T05:10:04.670Z] nexus3.edgexfoundry.org:10002 [2022-05-02T05:10:04.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T05:10:04.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T05:10:04.931Z] Configure a credential helper to remove this warning. See [2022-05-02T05:10:04.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T05:10:04.931Z] [2022-05-02T05:10:04.931Z] Login Succeeded [2022-05-02T05:10:04.931Z] nexus3.edgexfoundry.org:10003 [2022-05-02T05:10:04.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T05:10:04.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T05:10:04.931Z] Configure a credential helper to remove this warning. See [2022-05-02T05:10:04.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T05:10:04.931Z] [2022-05-02T05:10:04.931Z] Login Succeeded [2022-05-02T05:10:04.931Z] nexus3.edgexfoundry.org:10004 [2022-05-02T05:10:05.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T05:10:05.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T05:10:05.193Z] Configure a credential helper to remove this warning. See [2022-05-02T05:10:05.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T05:10:05.193Z] [2022-05-02T05:10:05.193Z] Login Succeeded [2022-05-02T05:10:05.193Z] docker.io [2022-05-02T05:10:05.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T05:10:05.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T05:10:05.768Z] Configure a credential helper to remove this warning. See [2022-05-02T05:10:05.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T05:10:05.768Z] [2022-05-02T05:10:05.768Z] Login Succeeded [2022-05-02T05:10:05.768Z] ---> docker-login.sh ends [Pipeline] } [2022-05-02T05:10:05.799Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-02T05:10:05.989Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-02T05:10:06.023Z] ========================================================= [2022-05-02T05:10:06.023Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-02T05:10:06.023Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-02T05:10:06.415Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-02T05:10:06.415Z] Sending build context to Docker daemon 5.924MB [2022-05-02T05:10:06.415Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-05-02T05:10:06.415Z] Step 2/10 : FROM ${BASE} AS builder [2022-05-02T05:10:06.415Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-02T05:10:06.415Z] 59bf1c3509f3: Pulling fs layer [2022-05-02T05:10:06.415Z] 666ba61612fd: Pulling fs layer [2022-05-02T05:10:06.415Z] 8ed8ca486205: Pulling fs layer [2022-05-02T05:10:06.415Z] 4fe6c5a15a65: Pulling fs layer [2022-05-02T05:10:06.415Z] 22a0e8bec74d: Pulling fs layer [2022-05-02T05:10:06.415Z] ca2b28591e48: Pulling fs layer [2022-05-02T05:10:06.415Z] a51346096db8: Pulling fs layer [2022-05-02T05:10:06.415Z] daebc70d1ce1: Pulling fs layer [2022-05-02T05:10:06.415Z] 0e18a0eac166: Pulling fs layer [2022-05-02T05:10:06.415Z] ca2b28591e48: Waiting [2022-05-02T05:10:06.415Z] a51346096db8: Waiting [2022-05-02T05:10:06.415Z] daebc70d1ce1: Waiting [2022-05-02T05:10:06.415Z] 0e18a0eac166: Waiting [2022-05-02T05:10:06.415Z] 4fe6c5a15a65: Waiting [2022-05-02T05:10:06.415Z] 22a0e8bec74d: Waiting [2022-05-02T05:10:06.416Z] 8ed8ca486205: Verifying Checksum [2022-05-02T05:10:06.416Z] 8ed8ca486205: Download complete [2022-05-02T05:10:06.416Z] 666ba61612fd: Download complete [2022-05-02T05:10:06.416Z] 22a0e8bec74d: Verifying Checksum [2022-05-02T05:10:06.416Z] 22a0e8bec74d: Download complete [2022-05-02T05:10:06.416Z] ca2b28591e48: Download complete [2022-05-02T05:10:06.416Z] 59bf1c3509f3: Verifying Checksum [2022-05-02T05:10:06.416Z] 59bf1c3509f3: Download complete [2022-05-02T05:10:06.416Z] a51346096db8: Verifying Checksum [2022-05-02T05:10:06.416Z] a51346096db8: Download complete [2022-05-02T05:10:06.675Z] daebc70d1ce1: Verifying Checksum [2022-05-02T05:10:06.675Z] daebc70d1ce1: Download complete [2022-05-02T05:10:06.675Z] 59bf1c3509f3: Pull complete [2022-05-02T05:10:06.942Z] 666ba61612fd: Pull complete [2022-05-02T05:10:06.942Z] 8ed8ca486205: Pull complete [2022-05-02T05:10:07.218Z] 0e18a0eac166: Download complete [2022-05-02T05:10:07.218Z] 4fe6c5a15a65: Verifying Checksum [2022-05-02T05:10:07.218Z] 4fe6c5a15a65: Download complete [2022-05-02T05:10:12.505Z] 4fe6c5a15a65: Pull complete [2022-05-02T05:10:12.505Z] 22a0e8bec74d: Pull complete [2022-05-02T05:10:12.505Z] ca2b28591e48: Pull complete [2022-05-02T05:10:12.505Z] a51346096db8: Pull complete [2022-05-02T05:10:12.505Z] daebc70d1ce1: Pull complete [2022-05-02T05:10:14.425Z] 0e18a0eac166: Pull complete [2022-05-02T05:10:14.425Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-02T05:10:14.425Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-02T05:10:14.425Z] ---> f018257e8ee9 [2022-05-02T05:10:14.425Z] Step 3/10 : ARG MAKE='make build' [2022-05-02T05:10:17.729Z] ---> Running in 42bbc1fb3222 [2022-05-02T05:10:17.729Z] Removing intermediate container 42bbc1fb3222 [2022-05-02T05:10:17.729Z] ---> c8e88f19ba54 [2022-05-02T05:10:17.729Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-02T05:10:17.729Z] ---> Running in 61babdfe9c73 [2022-05-02T05:10:18.301Z] Removing intermediate container 61babdfe9c73 [2022-05-02T05:10:18.301Z] ---> 6593c017c7c9 [2022-05-02T05:10:18.301Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-02T05:10:18.301Z] ---> Running in a6a30f6b527d [2022-05-02T05:10:18.562Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-02T05:10:19.000Z] Still waiting to schedule task [2022-05-02T05:10:19.001Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-05-02T05:10:19.502Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-02T05:10:19.764Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-05-02T05:10:19.764Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-05-02T05:10:19.764Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-05-02T05:10:20.023Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-05-02T05:10:20.023Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-05-02T05:10:20.288Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-05-02T05:10:20.288Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-05-02T05:10:20.288Z] (8/8) Installing openssh (8.8_p1-r1) [2022-05-02T05:10:20.549Z] Executing busybox-1.34.1-r3.trigger [2022-05-02T05:10:20.549Z] OK: 226 MiB in 60 packages [2022-05-02T05:10:21.494Z] Removing intermediate container a6a30f6b527d [2022-05-02T05:10:21.494Z] ---> 3f24886a1e43 [2022-05-02T05:10:21.494Z] Step 6/10 : WORKDIR /device-modbus-go [2022-05-02T05:10:21.494Z] ---> Running in 1922c097bd06 [2022-05-02T05:10:21.755Z] Removing intermediate container 1922c097bd06 [2022-05-02T05:10:21.755Z] ---> 9d16b07f919b [2022-05-02T05:10:21.755Z] Step 7/10 : COPY go.mod vendor* ./ [2022-05-02T05:10:22.018Z] ---> 555f5240b87a [2022-05-02T05:10:22.018Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-02T05:10:22.279Z] ---> Running in 42a955908e05 [2022-05-02T05:10:40.416Z] Removing intermediate container 42a955908e05 [2022-05-02T05:10:40.416Z] ---> 49fe5871d019 [2022-05-02T05:10:40.416Z] Step 9/10 : COPY . . [2022-05-02T05:10:40.416Z] ---> e82aee20ece2 [2022-05-02T05:10:40.416Z] Step 10/10 : RUN ${MAKE} [2022-05-02T05:10:40.416Z] ---> Running in 733d5546277b [2022-05-02T05:10:40.416Z] noop [2022-05-02T05:10:40.416Z] Removing intermediate container 733d5546277b [2022-05-02T05:10:40.416Z] ---> eff8fd1274dd [2022-05-02T05:10:40.416Z] Successfully built eff8fd1274dd [2022-05-02T05:10:40.416Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-02T05:10:40.819Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-02T05:10:40.819Z] . [Pipeline] withDockerContainer [2022-05-02T05:10:40.913Z] prd-ubuntu20.04-docker-8c-8g-34415 does not seem to be running inside a container [2022-05-02T05:10:40.958Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-341 -v /w/workspace/xfoundry_device-modbus-go_PR-341:/w/workspace/xfoundry_device-modbus-go_PR-341:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-341@tmp:/w/workspace/xfoundry_device-modbus-go_PR-341@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 ******** ci-base-image-x86_64 cat [2022-05-02T05:10:41.532Z] $ docker top 9dfded81d373cdf677a7652e7599d4718b3dd000f3157a995cb720930be0f75a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-02T05:10:41.972Z] + go version [2022-05-02T05:10:41.972Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-02T05:10:42.017Z] $ docker stop --time=1 9dfded81d373cdf677a7652e7599d4718b3dd000f3157a995cb720930be0f75a [2022-05-02T05:10:43.305Z] $ docker rm -f 9dfded81d373cdf677a7652e7599d4718b3dd000f3157a995cb720930be0f75a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-02T05:10:43.997Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-02T05:10:43.997Z] . [Pipeline] withDockerContainer [2022-05-02T05:10:44.091Z] prd-ubuntu20.04-docker-8c-8g-34415 does not seem to be running inside a container [2022-05-02T05:10:44.140Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-341 -v /w/workspace/xfoundry_device-modbus-go_PR-341:/w/workspace/xfoundry_device-modbus-go_PR-341:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-341@tmp:/w/workspace/xfoundry_device-modbus-go_PR-341@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 ******** ci-base-image-x86_64 cat [2022-05-02T05:10:44.689Z] $ docker top 1680ae5d2e4e410c8ac9cebf3f60bf72c1e4c1c69267f168b2ad03f7999ff423 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-02T05:10:45.138Z] + make test [2022-05-02T05:10:45.138Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-02T05:10:45.707Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-05-02T05:10:55.692Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-05-02T05:10:55.692Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 46.4% of statements [2022-05-02T05:11:02.271Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-02T05:11:06.481Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-02T05:11:06.481Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-02T05:11:06.481Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-02T05:11:07.081Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-02T05:11:07.114Z] $ docker stop --time=1 1680ae5d2e4e410c8ac9cebf3f60bf72c1e4c1c69267f168b2ad03f7999ff423 [2022-05-02T05:11:09.170Z] $ docker rm -f 1680ae5d2e4e410c8ac9cebf3f60bf72c1e4c1c69267f168b2ad03f7999ff423 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-02T05:11:09.690Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-02T05:11:09.759Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-02T05:11:10.428Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-02T05:11:10.743Z] + ls -al . [2022-05-02T05:11:10.743Z] total 200 [2022-05-02T05:11:10.743Z] drwxrwxr-x 10 jenkins jenkins 4096 May 2 05:11 . [2022-05-02T05:11:10.743Z] drwxrwxr-x 4 jenkins jenkins 4096 May 2 05:09 .. [2022-05-02T05:11:10.743Z] -rw-rw-r-- 1 jenkins jenkins 140 May 2 05:09 .dockerignore [2022-05-02T05:11:10.743Z] drwxrwxr-x 8 jenkins jenkins 4096 May 2 05:10 .git [2022-05-02T05:11:10.743Z] drwxrwxr-x 3 jenkins jenkins 4096 May 2 05:09 .github [2022-05-02T05:11:10.743Z] -rw-rw-r-- 1 jenkins jenkins 331 May 2 05:09 .gitignore [2022-05-02T05:11:10.743Z] -rw-rw-r-- 1 jenkins jenkins 41 May 2 05:09 .golangci.yml [2022-05-02T05:11:10.743Z] drwxr-xr-x 3 jenkins jenkins 4096 May 2 05:10 .semver [2022-05-02T05:11:10.743Z] -rw-rw-r-- 1 jenkins jenkins 9377 May 2 05:09 Attribution.txt [2022-05-02T05:11:10.743Z] -rw-rw-r-- 1 jenkins jenkins 6038 May 2 05:09 CHANGELOG.md [2022-05-02T05:11:10.743Z] -rw-rw-r-- 1 jenkins jenkins 1546 May 2 05:09 Dockerfile [2022-05-02T05:11:10.743Z] -rw-rw-r-- 1 jenkins jenkins 677 May 2 05:09 GOVERNANCE.md [2022-05-02T05:11:10.743Z] -rw-rw-r-- 1 jenkins jenkins 680 May 2 05:09 Jenkinsfile [2022-05-02T05:11:10.743Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 2 05:09 LICENSE [2022-05-02T05:11:10.743Z] -rw-rw-r-- 1 jenkins jenkins 1905 May 2 05:09 Makefile [2022-05-02T05:11:10.743Z] -rw-rw-r-- 1 jenkins jenkins 622 May 2 05:09 OWNERS.md [2022-05-02T05:11:10.743Z] -rw-rw-r-- 1 jenkins jenkins 3680 May 2 05:09 README.md [2022-05-02T05:11:10.743Z] -rw-rw-r-- 1 jenkins jenkins 5 May 2 05:10 VERSION [2022-05-02T05:11:10.743Z] drwxrwxr-x 2 jenkins jenkins 4096 May 2 05:09 bin [2022-05-02T05:11:10.743Z] drwxrwxr-x 3 jenkins jenkins 4096 May 2 05:09 cmd [2022-05-02T05:11:10.743Z] -rw-r--r-- 1 jenkins jenkins 24065 May 2 05:10 coverage.out [2022-05-02T05:11:10.743Z] -rw-rw-r-- 1 jenkins jenkins 3399 May 2 05:09 go.mod [2022-05-02T05:11:10.743Z] -rw-rw-r-- 1 jenkins jenkins 54431 May 2 05:09 go.sum [2022-05-02T05:11:10.743Z] drwxrwxr-x 3 jenkins jenkins 4096 May 2 05:09 internal [2022-05-02T05:11:10.743Z] drwxrwxr-x 2 jenkins jenkins 4096 May 2 05:09 simulator [2022-05-02T05:11:10.743Z] drwxrwxr-x 4 jenkins jenkins 4096 May 2 05:09 snap [2022-05-02T05:11:10.743Z] -rw-rw-r-- 1 jenkins jenkins 229 May 2 05:09 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-02T05:11:11.075Z] + 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=d4e467d0ce894c5b99ae8bcc9c76f23c685c174c --label arch=amd64 --label version=0.0.0 . [2022-05-02T05:11:11.075Z] Sending build context to Docker daemon 5.949MB [2022-05-02T05:11:11.075Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-05-02T05:11:11.075Z] Step 2/23 : FROM ${BASE} AS builder [2022-05-02T05:11:11.075Z] ---> eff8fd1274dd [2022-05-02T05:11:11.075Z] Step 3/23 : ARG MAKE='make build' [2022-05-02T05:11:11.075Z] ---> Running in 072af366f1d6 [2022-05-02T05:11:11.337Z] Removing intermediate container 072af366f1d6 [2022-05-02T05:11:11.337Z] ---> 54c1ed06d53e [2022-05-02T05:11:11.337Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-02T05:11:11.337Z] ---> Running in 39196976d9b3 [2022-05-02T05:11:11.908Z] Removing intermediate container 39196976d9b3 [2022-05-02T05:11:11.909Z] ---> 4c05d7b483ea [2022-05-02T05:11:11.909Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-02T05:11:12.168Z] ---> Running in fb345c29fd7f [2022-05-02T05:11:12.431Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-02T05:11:13.375Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-02T05:11:13.375Z] OK: 226 MiB in 60 packages [2022-05-02T05:11:13.945Z] Removing intermediate container fb345c29fd7f [2022-05-02T05:11:13.945Z] ---> 0ecf58692603 [2022-05-02T05:11:13.945Z] Step 6/23 : WORKDIR /device-modbus-go [2022-05-02T05:11:13.945Z] ---> Running in dc001bbd6ac9 [2022-05-02T05:11:13.945Z] Removing intermediate container dc001bbd6ac9 [2022-05-02T05:11:13.945Z] ---> f8bbeff15b0f [2022-05-02T05:11:13.945Z] Step 7/23 : COPY go.mod vendor* ./ [2022-05-02T05:11:14.203Z] ---> 76712769cea5 [2022-05-02T05:11:14.203Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-02T05:11:14.203Z] ---> Running in 43842be80916 [2022-05-02T05:11:14.774Z] Removing intermediate container 43842be80916 [2022-05-02T05:11:14.774Z] ---> 32a9aa16877a [2022-05-02T05:11:14.774Z] Step 9/23 : COPY . . [2022-05-02T05:11:15.345Z] ---> 9f25dc854bac [2022-05-02T05:11:15.345Z] Step 10/23 : RUN ${MAKE} [2022-05-02T05:11:15.345Z] ---> Running in 76d5e21dd4f7 [2022-05-02T05:11:15.603Z] CGO_ENABLED=1 GO111MODULE=on go build -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-05-02T05:11:37.553Z] Removing intermediate container 76d5e21dd4f7 [2022-05-02T05:11:37.553Z] ---> b56ef50a7e86 [2022-05-02T05:11:37.553Z] Step 11/23 : FROM alpine:3.14 [2022-05-02T05:11:37.553Z] 3.14: Pulling from library/alpine [2022-05-02T05:11:37.553Z] 8663204ce13b: Pulling fs layer [2022-05-02T05:11:37.553Z] 8663204ce13b: Verifying Checksum [2022-05-02T05:11:37.553Z] 8663204ce13b: Download complete [2022-05-02T05:11:37.553Z] 8663204ce13b: Pull complete [2022-05-02T05:11:37.553Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-02T05:11:37.553Z] Status: Downloaded newer image for alpine:3.14 [2022-05-02T05:11:37.553Z] ---> e04c818066af [2022-05-02T05:11:37.553Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-05-02T05:11:37.553Z] ---> Running in 441abf3d225c [2022-05-02T05:11:37.553Z] Removing intermediate container 441abf3d225c [2022-05-02T05:11:37.553Z] ---> cd3e3e7ca3fc [2022-05-02T05:11:37.553Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-02T05:11:37.813Z] ---> Running in f301ffc18cca [2022-05-02T05:11:38.384Z] Removing intermediate container f301ffc18cca [2022-05-02T05:11:38.384Z] ---> 64a16d11fc6f [2022-05-02T05:11:38.384Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-02T05:11:38.384Z] ---> Running in 8144a81de918 [2022-05-02T05:11:38.646Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-02T05:11:39.589Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-02T05:11:39.849Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-02T05:11:39.849Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-02T05:11:39.849Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-02T05:11:40.110Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-02T05:11:40.110Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-02T05:11:40.110Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-02T05:11:40.373Z] Executing busybox-1.33.1-r7.trigger [2022-05-02T05:11:40.373Z] OK: 8 MiB in 20 packages [2022-05-02T05:11:40.634Z] Removing intermediate container 8144a81de918 [2022-05-02T05:11:40.634Z] ---> 165027b23766 [2022-05-02T05:11:40.634Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-05-02T05:11:41.574Z] ---> a718231e15c9 [2022-05-02T05:11:41.574Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-05-02T05:11:41.574Z] ---> af6b7c8812b6 [2022-05-02T05:11:41.574Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-05-02T05:11:41.847Z] ---> f0544647b5e5 [2022-05-02T05:11:41.847Z] Step 18/23 : EXPOSE 59901 [2022-05-02T05:11:41.847Z] ---> Running in f30a7ddba3be [2022-05-02T05:11:41.847Z] Removing intermediate container f30a7ddba3be [2022-05-02T05:11:41.847Z] ---> dae13841baec [2022-05-02T05:11:41.847Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-05-02T05:11:42.108Z] ---> Running in 274ff1c333df [2022-05-02T05:11:42.108Z] Removing intermediate container 274ff1c333df [2022-05-02T05:11:42.108Z] ---> e830498c24b5 [2022-05-02T05:11:42.108Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-02T05:11:42.108Z] ---> Running in 3c818e5ab216 [2022-05-02T05:11:42.367Z] Removing intermediate container 3c818e5ab216 [2022-05-02T05:11:42.367Z] ---> 6a6bb9f83e4a [2022-05-02T05:11:42.367Z] Step 21/23 : LABEL arch=amd64 [2022-05-02T05:11:42.367Z] ---> Running in 8a931bb8c85b [2022-05-02T05:11:42.367Z] Removing intermediate container 8a931bb8c85b [2022-05-02T05:11:42.367Z] ---> 137fbf8b0183 [2022-05-02T05:11:42.367Z] Step 22/23 : LABEL git_sha=d4e467d0ce894c5b99ae8bcc9c76f23c685c174c [2022-05-02T05:11:42.367Z] ---> Running in 31c5e61a5e85 [2022-05-02T05:11:42.631Z] Removing intermediate container 31c5e61a5e85 [2022-05-02T05:11:42.631Z] ---> eaf2e4fcc215 [2022-05-02T05:11:42.631Z] Step 23/23 : LABEL version=0.0.0 [2022-05-02T05:11:42.631Z] ---> Running in c8298936c94f [2022-05-02T05:11:42.631Z] Removing intermediate container c8298936c94f [2022-05-02T05:11:42.631Z] ---> 8c163dda2e09 [2022-05-02T05:11:42.631Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-02T05:11:42.631Z] Successfully built 8c163dda2e09 [2022-05-02T05:11:42.631Z] Successfully tagged device-modbus:latest [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] sh [2022-05-02T05:11:43.322Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-02T05:11:43.323Z] [2022-05-02T05:11:43.323Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-02T05:11:43.662Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-02T05:11:43.663Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-02T05:11:43.663Z] 5eb5b503b376: Pulling fs layer [2022-05-02T05:11:43.663Z] 5c69ac0246d0: Pulling fs layer [2022-05-02T05:11:43.663Z] ec43610c2a17: Pulling fs layer [2022-05-02T05:11:43.663Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-02T05:11:43.663Z] 33b1e0a273af: Pulling fs layer [2022-05-02T05:11:43.663Z] 5d3b04190fa2: Pulling fs layer [2022-05-02T05:11:43.663Z] 2f39f015ded8: Pulling fs layer [2022-05-02T05:11:43.663Z] 33b1e0a273af: Waiting [2022-05-02T05:11:43.663Z] 5d3b04190fa2: Waiting [2022-05-02T05:11:43.663Z] 3a2ae6a8a46f: Waiting [2022-05-02T05:11:43.663Z] 5c69ac0246d0: Download complete [2022-05-02T05:11:43.663Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-02T05:11:43.663Z] 3a2ae6a8a46f: Download complete [2022-05-02T05:11:43.663Z] 33b1e0a273af: Verifying Checksum [2022-05-02T05:11:43.663Z] 33b1e0a273af: Download complete [2022-05-02T05:11:43.663Z] 5d3b04190fa2: Verifying Checksum [2022-05-02T05:11:43.663Z] 5d3b04190fa2: Download complete [2022-05-02T05:11:43.663Z] ec43610c2a17: Verifying Checksum [2022-05-02T05:11:43.663Z] ec43610c2a17: Download complete [2022-05-02T05:11:43.921Z] 5eb5b503b376: Verifying Checksum [2022-05-02T05:11:43.921Z] 5eb5b503b376: Download complete [2022-05-02T05:11:44.489Z] 2f39f015ded8: Download complete [2022-05-02T05:11:45.427Z] 5eb5b503b376: Pull complete [2022-05-02T05:11:45.427Z] 5c69ac0246d0: Pull complete [2022-05-02T05:11:45.996Z] ec43610c2a17: Pull complete [2022-05-02T05:11:45.996Z] 3a2ae6a8a46f: Pull complete [2022-05-02T05:11:46.257Z] 33b1e0a273af: Pull complete [2022-05-02T05:11:46.517Z] 5d3b04190fa2: Pull complete [2022-05-02T05:11:51.811Z] 2f39f015ded8: Pull complete [2022-05-02T05:11:51.811Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-02T05:11:51.811Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-02T05:11:51.811Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-02T05:11:51.907Z] prd-ubuntu20.04-docker-8c-8g-34415 does not seem to be running inside a container [2022-05-02T05:11:51.952Z] $ 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-341 -v /w/workspace/xfoundry_device-modbus-go_PR-341:/w/workspace/xfoundry_device-modbus-go_PR-341:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-341@tmp:/w/workspace/xfoundry_device-modbus-go_PR-341@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-05-02T05:11:54.785Z] $ docker top 0a01111dd05e4d92e7a220c5bd7dc06f17482a9a09d26b74d9b8190b5150df23 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-02T05:11:55.240Z] ---> job-cost.sh [2022-05-02T05:11:55.240Z] lf-activate-venv: SKIPPING [2022-05-02T05:11:55.240Z] INFO: No Stack... [2022-05-02T05:11:55.813Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-02T05:11:56.074Z] INFO: Archiving Costs [Pipeline] sh [2022-05-02T05:11:56.392Z] + + cat /w/workspace/xfoundry_device-modbus-go_PR-341/archives/cost.csv [2022-05-02T05:11:56.392Z] cut -d, -f6 [Pipeline] lock [2022-05-02T05:11:56.432Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-341-1-stack-cost] [2022-05-02T05:11:56.436Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-341-1-stack-cost] did not exist. Created. [2022-05-02T05:11:56.437Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-341-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-02T05:11:56.883Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-02T05:11:56.953Z] Stashed 1 file(s) [Pipeline] } [2022-05-02T05:11:56.966Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-341-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-02T05:11:57.046Z] $ docker stop --time=1 0a01111dd05e4d92e7a220c5bd7dc06f17482a9a09d26b74d9b8190b5150df23 [2022-05-02T05:11:58.234Z] $ docker rm -f 0a01111dd05e4d92e7a220c5bd7dc06f17482a9a09d26b74d9b8190b5150df23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-02T05:15:16.147Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-34460 in /w/workspace/xfoundry_device-modbus-go_PR-341 [Pipeline] { [Pipeline] ws [2022-05-02T05:15:16.199Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2022-05-02T05:15:16.502Z] Selected Git installation does not exist. Using Default [2022-05-02T05:15:16.502Z] The recommended git tool is: NONE [2022-05-02T05:15:21.710Z] using credential edgex-jenkins-ssh [2022-05-02T05:15:21.726Z] Cloning the remote Git repository [2022-05-02T05:15:21.788Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-05-02T05:15:21.945Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2022-05-02T05:15:22.108Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-05-02T05:15:22.108Z] > git --version # timeout=10 [2022-05-02T05:15:22.128Z] > git --version # 'git version 2.25.1' [2022-05-02T05:15:22.130Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-02T05:15:22.212Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-02T05:15:23.991Z] Merging remotes/origin/main commit 19472f7a5fdc6e4787d855a3cc3865d021cdd964 into PR head commit d4e467d0ce894c5b99ae8bcc9c76f23c685c174c [2022-05-02T05:15:24.215Z] Merge succeeded, producing d4e467d0ce894c5b99ae8bcc9c76f23c685c174c [2022-05-02T05:15:24.215Z] Checking out Revision d4e467d0ce894c5b99ae8bcc9c76f23c685c174c (PR-341) [2022-05-02T05:15:23.338Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-05-02T05:15:23.369Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-02T05:15:23.396Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-05-02T05:15:23.429Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-05-02T05:15:23.430Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-02T05:15:23.443Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/341/head:refs/remotes/origin/PR-341 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-02T05:15:24.017Z] > git config core.sparsecheckout # timeout=10 [2022-05-02T05:15:24.034Z] > git checkout -f d4e467d0ce894c5b99ae8bcc9c76f23c685c174c # timeout=10 [2022-05-02T05:15:24.130Z] > git remote # timeout=10 [2022-05-02T05:15:24.149Z] > git config --get remote.origin.url # timeout=10 [2022-05-02T05:15:24.165Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-02T05:15:24.177Z] > git merge 19472f7a5fdc6e4787d855a3cc3865d021cdd964 # timeout=10 [2022-05-02T05:15:24.204Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-02T05:15:24.228Z] > git config core.sparsecheckout # timeout=10 [2022-05-02T05:15:24.241Z] > git checkout -f d4e467d0ce894c5b99ae8bcc9c76f23c685c174c # timeout=10 [2022-05-02T05:15:28.471Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2022-05-02T05:15:28.535Z] > git --version # timeout=10 [2022-05-02T05:15:28.544Z] > git --version # 'git version 2.25.1' [2022-05-02T05:15:28.557Z] fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-02T05:15:29.579Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-02T05:15:29.579Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-02T05:15:29.579Z] Dload Upload Total Spent Left Speed [2022-05-02T05:15:29.579Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 214k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh [2022-05-02T05:15:30.096Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-02T05:15:30.455Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-02T05:15:30.455Z] + sudo tee /etc/docker/daemon.new [2022-05-02T05:15:30.455Z] { [2022-05-02T05:15:30.455Z] "registry-mirrors": [ [2022-05-02T05:15:30.455Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-02T05:15:30.455Z] ], [2022-05-02T05:15:30.455Z] "bip": "10.250.0.254/24", [2022-05-02T05:15:30.455Z] "hosts": [ [2022-05-02T05:15:30.455Z] "tcp://0.0.0.0:5555", [2022-05-02T05:15:30.455Z] "unix:///var/run/docker.sock" [2022-05-02T05:15:30.455Z] ], [2022-05-02T05:15:30.455Z] "mtu": 1458, [2022-05-02T05:15:30.455Z] "selinux-enabled": true, [2022-05-02T05:15:30.455Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-02T05:15:30.455Z] } [Pipeline] sh [2022-05-02T05:15:30.816Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-02T05:15:31.175Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-02T05:15:49.589Z] provisioning config files... [2022-05-02T05:15:49.619Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config2200938316902101322tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-02T05:15:50.255Z] ---> docker-login.sh [2022-05-02T05:15:50.255Z] nexus3.edgexfoundry.org:10001 [2022-05-02T05:15:50.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T05:15:51.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T05:15:51.464Z] Configure a credential helper to remove this warning. See [2022-05-02T05:15:51.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T05:15:51.464Z] [2022-05-02T05:15:51.464Z] Login Succeeded [2022-05-02T05:15:51.464Z] nexus3.edgexfoundry.org:10002 [2022-05-02T05:15:51.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T05:15:52.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T05:15:52.024Z] Configure a credential helper to remove this warning. See [2022-05-02T05:15:52.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T05:15:52.024Z] [2022-05-02T05:15:52.024Z] Login Succeeded [2022-05-02T05:15:52.024Z] nexus3.edgexfoundry.org:10003 [2022-05-02T05:15:52.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T05:15:52.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T05:15:52.583Z] Configure a credential helper to remove this warning. See [2022-05-02T05:15:52.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T05:15:52.583Z] [2022-05-02T05:15:52.583Z] Login Succeeded [2022-05-02T05:15:52.583Z] nexus3.edgexfoundry.org:10004 [2022-05-02T05:15:52.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T05:15:53.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T05:15:53.140Z] Configure a credential helper to remove this warning. See [2022-05-02T05:15:53.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T05:15:53.140Z] [2022-05-02T05:15:53.140Z] Login Succeeded [2022-05-02T05:15:53.140Z] docker.io [2022-05-02T05:15:53.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T05:15:54.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T05:15:54.022Z] Configure a credential helper to remove this warning. See [2022-05-02T05:15:54.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T05:15:54.022Z] [2022-05-02T05:15:54.022Z] Login Succeeded [2022-05-02T05:15:54.022Z] ---> docker-login.sh ends [Pipeline] } [2022-05-02T05:15:54.052Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-02T05:15:54.490Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-02T05:15:54.520Z] ========================================================= [2022-05-02T05:15:54.520Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-02T05:15:54.520Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-02T05:15:54.972Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-02T05:15:55.253Z] Sending build context to Docker daemon 3.09MB [2022-05-02T05:15:55.534Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-05-02T05:15:55.534Z] Step 2/10 : FROM ${BASE} AS builder [2022-05-02T05:15:55.534Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-02T05:15:55.534Z] 9b3977197b4f: Pulling fs layer [2022-05-02T05:15:55.534Z] 1a89e8eeedd5: Pulling fs layer [2022-05-02T05:15:55.534Z] 94645a83ff95: Pulling fs layer [2022-05-02T05:15:55.534Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-02T05:15:55.534Z] 0c92f367c5e7: Pulling fs layer [2022-05-02T05:15:55.534Z] 3096ccb668a1: Pulling fs layer [2022-05-02T05:15:55.534Z] e8cf19c19ddd: Pulling fs layer [2022-05-02T05:15:55.534Z] a4caa8a26152: Pulling fs layer [2022-05-02T05:15:55.534Z] 3f3a8bcf1eab: Waiting [2022-05-02T05:15:55.534Z] 0c92f367c5e7: Waiting [2022-05-02T05:15:55.534Z] 3096ccb668a1: Waiting [2022-05-02T05:15:55.534Z] e8cf19c19ddd: Waiting [2022-05-02T05:15:55.534Z] a4caa8a26152: Waiting [2022-05-02T05:15:55.534Z] 94645a83ff95: Verifying Checksum [2022-05-02T05:15:55.534Z] 94645a83ff95: Download complete [2022-05-02T05:15:55.815Z] 1a89e8eeedd5: Download complete [2022-05-02T05:15:55.815Z] 0c92f367c5e7: Verifying Checksum [2022-05-02T05:15:55.815Z] 0c92f367c5e7: Download complete [2022-05-02T05:15:55.815Z] 3096ccb668a1: Verifying Checksum [2022-05-02T05:15:55.815Z] 3096ccb668a1: Download complete [2022-05-02T05:15:55.815Z] 9b3977197b4f: Verifying Checksum [2022-05-02T05:15:55.815Z] 9b3977197b4f: Download complete [2022-05-02T05:15:55.815Z] e8cf19c19ddd: Verifying Checksum [2022-05-02T05:15:55.815Z] e8cf19c19ddd: Download complete [2022-05-02T05:15:56.429Z] 9b3977197b4f: Pull complete [2022-05-02T05:15:57.425Z] 1a89e8eeedd5: Pull complete [2022-05-02T05:15:57.703Z] 94645a83ff95: Pull complete [2022-05-02T05:15:57.984Z] a4caa8a26152: Verifying Checksum [2022-05-02T05:15:57.984Z] a4caa8a26152: Download complete [2022-05-02T05:15:58.590Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-02T05:15:58.590Z] 3f3a8bcf1eab: Download complete [2022-05-02T05:16:11.026Z] 3f3a8bcf1eab: Pull complete [2022-05-02T05:16:11.026Z] 0c92f367c5e7: Pull complete [2022-05-02T05:16:11.300Z] 3096ccb668a1: Pull complete [2022-05-02T05:16:11.579Z] e8cf19c19ddd: Pull complete [2022-05-02T05:16:18.336Z] a4caa8a26152: Pull complete [2022-05-02T05:16:18.336Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-02T05:16:18.336Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-02T05:16:18.336Z] ---> 725f1c02e7f9 [2022-05-02T05:16:18.336Z] Step 3/10 : ARG MAKE='make build' [2022-05-02T05:16:18.977Z] ---> Running in d4d25c3b0df6 [2022-05-02T05:16:19.254Z] Removing intermediate container d4d25c3b0df6 [2022-05-02T05:16:19.254Z] ---> 4ea7d1d87bb9 [2022-05-02T05:16:19.254Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-02T05:16:19.254Z] ---> Running in fbd2bda9599a [2022-05-02T05:16:22.702Z] Removing intermediate container fbd2bda9599a [2022-05-02T05:16:22.702Z] ---> cdb4940f13d8 [2022-05-02T05:16:22.702Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-02T05:16:22.702Z] ---> Running in ccc7d3466a35 [2022-05-02T05:16:23.688Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-02T05:16:24.682Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-02T05:16:25.672Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-05-02T05:16:25.672Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-05-02T05:16:25.672Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-05-02T05:16:25.946Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-05-02T05:16:25.946Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-05-02T05:16:26.222Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-05-02T05:16:26.222Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-05-02T05:16:26.497Z] (8/8) Installing openssh (8.8_p1-r1) [2022-05-02T05:16:26.497Z] Executing busybox-1.34.1-r3.trigger [2022-05-02T05:16:26.497Z] OK: 226 MiB in 60 packages [2022-05-02T05:16:27.493Z] Removing intermediate container ccc7d3466a35 [2022-05-02T05:16:27.493Z] ---> b79de9b73e48 [2022-05-02T05:16:27.493Z] Step 6/10 : WORKDIR /device-modbus-go [2022-05-02T05:16:27.493Z] ---> Running in faeb222a3e81 [2022-05-02T05:16:27.770Z] Removing intermediate container faeb222a3e81 [2022-05-02T05:16:27.770Z] ---> e463c97e0d0a [2022-05-02T05:16:27.770Z] Step 7/10 : COPY go.mod vendor* ./ [2022-05-02T05:16:28.380Z] ---> 5d38b81caa66 [2022-05-02T05:16:28.380Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-02T05:16:28.380Z] ---> Running in b3e0b392912b [2022-05-02T05:17:15.420Z] Removing intermediate container b3e0b392912b [2022-05-02T05:17:15.420Z] ---> c795e8ce1353 [2022-05-02T05:17:15.420Z] Step 9/10 : COPY . . [2022-05-02T05:17:16.023Z] ---> 5864aa8f2ce4 [2022-05-02T05:17:16.023Z] Step 10/10 : RUN ${MAKE} [2022-05-02T05:17:16.310Z] ---> Running in b92d40882448 [2022-05-02T05:17:17.305Z] noop [2022-05-02T05:17:17.913Z] Removing intermediate container b92d40882448 [2022-05-02T05:17:17.913Z] ---> 09254c9a8a28 [2022-05-02T05:17:17.913Z] Successfully built 09254c9a8a28 [2022-05-02T05:17:17.913Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-02T05:17:18.296Z] + docker inspect -f . ci-base-image-arm64 [2022-05-02T05:17:18.296Z] . [Pipeline] withDockerContainer [2022-05-02T05:17:18.598Z] prd-ubuntu20.04-docker-arm64-4c-16g-34460 does not seem to be running inside a container [2022-05-02T05:17:18.703Z] $ 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-05-02T05:17:20.251Z] $ docker top 4840363045bd869c6132f3dc1f8a03f4b85c43141eca983432c9ec0c07d49d49 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-02T05:17:21.271Z] + go version [2022-05-02T05:17:21.271Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-02T05:17:21.313Z] $ docker stop --time=1 4840363045bd869c6132f3dc1f8a03f4b85c43141eca983432c9ec0c07d49d49 [2022-05-02T05:17:23.028Z] $ docker rm -f 4840363045bd869c6132f3dc1f8a03f4b85c43141eca983432c9ec0c07d49d49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-02T05:17:23.944Z] + docker inspect -f . ci-base-image-arm64 [2022-05-02T05:17:23.944Z] . [Pipeline] withDockerContainer [2022-05-02T05:17:24.229Z] prd-ubuntu20.04-docker-arm64-4c-16g-34460 does not seem to be running inside a container [2022-05-02T05:17:24.328Z] $ 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-05-02T05:17:25.784Z] $ docker top 4dd1af5b49f9f95e8aa08fc08d60537ffc97acc320f3f6b8784a0e02d5c24c64 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-02T05:17:26.867Z] + make test [2022-05-02T05:17:26.867Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-02T05:17:28.870Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-05-02T05:19:05.843Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-05-02T05:19:05.843Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.067s coverage: 46.4% of statements [2022-05-02T05:19:05.843Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-02T05:19:05.843Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-02T05:19:32.671Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-02T05:19:32.949Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-02T05:19:32.949Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-02T05:19:36.374Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-02T05:19:36.408Z] $ docker stop --time=1 4dd1af5b49f9f95e8aa08fc08d60537ffc97acc320f3f6b8784a0e02d5c24c64 [2022-05-02T05:19:38.229Z] $ docker rm -f 4dd1af5b49f9f95e8aa08fc08d60537ffc97acc320f3f6b8784a0e02d5c24c64 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-02T05:19:39.335Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-02T05:19:39.373Z] Warning: overwriting stash ‘coverage-report’ [2022-05-02T05:19:40.066Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-02T05:19:40.685Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-02T05:19:41.063Z] + ls -al . [2022-05-02T05:19:41.063Z] total 196 [2022-05-02T05:19:41.063Z] drwxrwxr-x 9 jenkins jenkins 4096 May 2 05:19 . [2022-05-02T05:19:41.063Z] drwxrwxr-x 4 jenkins jenkins 4096 May 2 05:15 .. [2022-05-02T05:19:41.063Z] -rw-rw-r-- 1 jenkins jenkins 140 May 2 05:15 .dockerignore [2022-05-02T05:19:41.063Z] drwxrwxr-x 8 jenkins jenkins 4096 May 2 05:15 .git [2022-05-02T05:19:41.063Z] drwxrwxr-x 3 jenkins jenkins 4096 May 2 05:15 .github [2022-05-02T05:19:41.063Z] -rw-rw-r-- 1 jenkins jenkins 331 May 2 05:15 .gitignore [2022-05-02T05:19:41.063Z] -rw-rw-r-- 1 jenkins jenkins 41 May 2 05:15 .golangci.yml [2022-05-02T05:19:41.063Z] -rw-rw-r-- 1 jenkins jenkins 9377 May 2 05:15 Attribution.txt [2022-05-02T05:19:41.063Z] -rw-rw-r-- 1 jenkins jenkins 6038 May 2 05:15 CHANGELOG.md [2022-05-02T05:19:41.063Z] -rw-rw-r-- 1 jenkins jenkins 1546 May 2 05:15 Dockerfile [2022-05-02T05:19:41.063Z] -rw-rw-r-- 1 jenkins jenkins 677 May 2 05:15 GOVERNANCE.md [2022-05-02T05:19:41.063Z] -rw-rw-r-- 1 jenkins jenkins 680 May 2 05:15 Jenkinsfile [2022-05-02T05:19:41.063Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 2 05:15 LICENSE [2022-05-02T05:19:41.063Z] -rw-rw-r-- 1 jenkins jenkins 1905 May 2 05:15 Makefile [2022-05-02T05:19:41.063Z] -rw-rw-r-- 1 jenkins jenkins 622 May 2 05:15 OWNERS.md [2022-05-02T05:19:41.063Z] -rw-rw-r-- 1 jenkins jenkins 3680 May 2 05:15 README.md [2022-05-02T05:19:41.063Z] -rw-rw-r-- 1 jenkins jenkins 5 May 2 05:10 VERSION [2022-05-02T05:19:41.063Z] drwxrwxr-x 2 jenkins jenkins 4096 May 2 05:15 bin [2022-05-02T05:19:41.063Z] drwxrwxr-x 3 jenkins jenkins 4096 May 2 05:15 cmd [2022-05-02T05:19:41.063Z] -rw-r--r-- 1 jenkins jenkins 24065 May 2 05:18 coverage.out [2022-05-02T05:19:41.063Z] -rw-rw-r-- 1 jenkins jenkins 3399 May 2 05:15 go.mod [2022-05-02T05:19:41.063Z] -rw-rw-r-- 1 jenkins jenkins 54431 May 2 05:15 go.sum [2022-05-02T05:19:41.063Z] drwxrwxr-x 3 jenkins jenkins 4096 May 2 05:15 internal [2022-05-02T05:19:41.063Z] drwxrwxr-x 2 jenkins jenkins 4096 May 2 05:15 simulator [2022-05-02T05:19:41.063Z] drwxrwxr-x 4 jenkins jenkins 4096 May 2 05:15 snap [2022-05-02T05:19:41.063Z] -rw-rw-r-- 1 jenkins jenkins 229 May 2 05:15 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-02T05:19:41.541Z] + 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=d4e467d0ce894c5b99ae8bcc9c76f23c685c174c --label arch=arm64 --label version=0.0.0 . [2022-05-02T05:19:41.816Z] Sending build context to Docker daemon 3.115MB [2022-05-02T05:19:42.092Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-05-02T05:19:42.092Z] Step 2/23 : FROM ${BASE} AS builder [2022-05-02T05:19:42.092Z] ---> 09254c9a8a28 [2022-05-02T05:19:42.092Z] Step 3/23 : ARG MAKE='make build' [2022-05-02T05:19:42.092Z] ---> Running in ef96cd6af35b [2022-05-02T05:19:42.394Z] Removing intermediate container ef96cd6af35b [2022-05-02T05:19:42.394Z] ---> 0f79691ff2ce [2022-05-02T05:19:42.394Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-02T05:19:42.685Z] ---> Running in 6f2c9b48695c [2022-05-02T05:19:44.679Z] Removing intermediate container 6f2c9b48695c [2022-05-02T05:19:44.679Z] ---> 98446b2ebd68 [2022-05-02T05:19:44.679Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-02T05:19:44.679Z] ---> Running in 2ed655e8d1c8 [2022-05-02T05:19:45.657Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-02T05:19:46.252Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-02T05:19:47.233Z] OK: 226 MiB in 60 packages [2022-05-02T05:19:48.217Z] Removing intermediate container 2ed655e8d1c8 [2022-05-02T05:19:48.217Z] ---> 514bc1d0295c [2022-05-02T05:19:48.217Z] Step 6/23 : WORKDIR /device-modbus-go [2022-05-02T05:19:48.217Z] ---> Running in 97e2b77f343c [2022-05-02T05:19:48.217Z] Removing intermediate container 97e2b77f343c [2022-05-02T05:19:48.217Z] ---> 5db3211f736c [2022-05-02T05:19:48.217Z] Step 7/23 : COPY go.mod vendor* ./ [2022-05-02T05:19:48.835Z] ---> e6177c8ec000 [2022-05-02T05:19:48.835Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-02T05:19:49.122Z] ---> Running in 82453b335b50 [2022-05-02T05:19:51.098Z] Removing intermediate container 82453b335b50 [2022-05-02T05:19:51.098Z] ---> 3173143d4d1c [2022-05-02T05:19:51.098Z] Step 9/23 : COPY . . [2022-05-02T05:19:51.702Z] ---> fb1829ffde7e [2022-05-02T05:19:51.702Z] Step 10/23 : RUN ${MAKE} [2022-05-02T05:19:51.994Z] ---> Running in f7c4722006c3 [2022-05-02T05:19:52.977Z] CGO_ENABLED=1 GO111MODULE=on go build -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-05-02T05:22:14.913Z] Removing intermediate container f7c4722006c3 [2022-05-02T05:22:14.913Z] ---> 70dd74f25f8f [2022-05-02T05:22:14.913Z] Step 11/23 : FROM alpine:3.14 [2022-05-02T05:22:14.913Z] 3.14: Pulling from library/alpine [2022-05-02T05:22:14.913Z] 455c02918c45: Pulling fs layer [2022-05-02T05:22:14.913Z] 455c02918c45: Verifying Checksum [2022-05-02T05:22:14.913Z] 455c02918c45: Download complete [2022-05-02T05:22:14.913Z] 455c02918c45: Pull complete [2022-05-02T05:22:14.913Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-02T05:22:14.913Z] Status: Downloaded newer image for alpine:3.14 [2022-05-02T05:22:14.913Z] ---> ac73e934f311 [2022-05-02T05:22:14.913Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-05-02T05:22:14.913Z] ---> Running in c2c79646138d [2022-05-02T05:22:14.913Z] Removing intermediate container c2c79646138d [2022-05-02T05:22:14.913Z] ---> cad040ac4605 [2022-05-02T05:22:14.913Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-02T05:22:14.913Z] ---> Running in e9e3e5f9d8ff [2022-05-02T05:22:14.913Z] Removing intermediate container e9e3e5f9d8ff [2022-05-02T05:22:14.913Z] ---> 7df3b844d641 [2022-05-02T05:22:14.913Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-02T05:22:14.913Z] ---> Running in 8999a940da85 [2022-05-02T05:22:14.913Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-02T05:22:14.913Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-02T05:22:14.913Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-02T05:22:14.913Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-02T05:22:14.913Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-02T05:22:14.913Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-02T05:22:14.913Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-02T05:22:14.913Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-02T05:22:14.913Z] Executing busybox-1.33.1-r7.trigger [2022-05-02T05:22:14.913Z] OK: 8 MiB in 20 packages [2022-05-02T05:22:15.188Z] Removing intermediate container 8999a940da85 [2022-05-02T05:22:15.188Z] ---> e9e435d9735c [2022-05-02T05:22:15.188Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-05-02T05:22:17.160Z] ---> 5a696ced6ad9 [2022-05-02T05:22:17.160Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-05-02T05:22:17.759Z] ---> d8505cec04c4 [2022-05-02T05:22:17.759Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-05-02T05:22:18.368Z] ---> 7d998b275b2f [2022-05-02T05:22:18.368Z] Step 18/23 : EXPOSE 59901 [2022-05-02T05:22:18.368Z] ---> Running in af433ee511e8 [2022-05-02T05:22:18.645Z] Removing intermediate container af433ee511e8 [2022-05-02T05:22:18.645Z] ---> 4d4141f990ae [2022-05-02T05:22:18.645Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-05-02T05:22:18.921Z] ---> Running in 2c6ead02b905 [2022-05-02T05:22:19.196Z] Removing intermediate container 2c6ead02b905 [2022-05-02T05:22:19.196Z] ---> 8d9142f7a36a [2022-05-02T05:22:19.196Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-02T05:22:19.196Z] ---> Running in 46b8d2c4bb87 [2022-05-02T05:22:19.472Z] Removing intermediate container 46b8d2c4bb87 [2022-05-02T05:22:19.472Z] ---> 82e018796193 [2022-05-02T05:22:19.472Z] Step 21/23 : LABEL arch=arm64 [2022-05-02T05:22:19.745Z] ---> Running in b9e710a33e70 [2022-05-02T05:22:20.018Z] Removing intermediate container b9e710a33e70 [2022-05-02T05:22:20.018Z] ---> 93155e3e1e63 [2022-05-02T05:22:20.018Z] Step 22/23 : LABEL git_sha=d4e467d0ce894c5b99ae8bcc9c76f23c685c174c [2022-05-02T05:22:20.018Z] ---> Running in 9622f26a8655 [2022-05-02T05:22:20.295Z] Removing intermediate container 9622f26a8655 [2022-05-02T05:22:20.295Z] ---> 1813620791cc [2022-05-02T05:22:20.295Z] Step 23/23 : LABEL version=0.0.0 [2022-05-02T05:22:20.569Z] ---> Running in be8bb95fe1bb [2022-05-02T05:22:20.844Z] Removing intermediate container be8bb95fe1bb [2022-05-02T05:22:20.844Z] ---> 5a6fa0046d88 [2022-05-02T05:22:20.844Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-02T05:22:20.844Z] Successfully built 5a6fa0046d88 [2022-05-02T05:22:20.844Z] Successfully tagged device-modbus-arm64:latest [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] sh [2022-05-02T05:22:21.548Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-02T05:22:21.548Z] [2022-05-02T05:22:21.548Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-02T05:22:21.937Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-02T05:22:22.212Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-02T05:22:22.212Z] 8998bd30e6a1: Pulling fs layer [2022-05-02T05:22:22.212Z] 04944245beec: Pulling fs layer [2022-05-02T05:22:22.212Z] 699f458cf7ca: Pulling fs layer [2022-05-02T05:22:22.212Z] 765212b225bb: Pulling fs layer [2022-05-02T05:22:22.212Z] 765212b225bb: Waiting [2022-05-02T05:22:22.212Z] f23df028b6ca: Pulling fs layer [2022-05-02T05:22:22.212Z] d65c8cfc05b1: Pulling fs layer [2022-05-02T05:22:22.212Z] 2437ff75d9bd: Pulling fs layer [2022-05-02T05:22:22.212Z] f23df028b6ca: Waiting [2022-05-02T05:22:22.212Z] d65c8cfc05b1: Waiting [2022-05-02T05:22:22.212Z] 2437ff75d9bd: Waiting [2022-05-02T05:22:22.212Z] 04944245beec: Verifying Checksum [2022-05-02T05:22:22.212Z] 04944245beec: Download complete [2022-05-02T05:22:22.212Z] 765212b225bb: Verifying Checksum [2022-05-02T05:22:22.212Z] 765212b225bb: Download complete [2022-05-02T05:22:22.212Z] f23df028b6ca: Verifying Checksum [2022-05-02T05:22:22.212Z] f23df028b6ca: Download complete [2022-05-02T05:22:22.487Z] d65c8cfc05b1: Verifying Checksum [2022-05-02T05:22:22.487Z] d65c8cfc05b1: Download complete [2022-05-02T05:22:22.487Z] 699f458cf7ca: Verifying Checksum [2022-05-02T05:22:22.487Z] 699f458cf7ca: Download complete [2022-05-02T05:22:22.766Z] 8998bd30e6a1: Verifying Checksum [2022-05-02T05:22:22.766Z] 8998bd30e6a1: Download complete [2022-05-02T05:22:25.390Z] 2437ff75d9bd: Verifying Checksum [2022-05-02T05:22:25.390Z] 2437ff75d9bd: Download complete [2022-05-02T05:22:27.388Z] 8998bd30e6a1: Pull complete [2022-05-02T05:22:27.663Z] 04944245beec: Pull complete [2022-05-02T05:22:29.103Z] 699f458cf7ca: Pull complete [2022-05-02T05:22:29.378Z] 765212b225bb: Pull complete [2022-05-02T05:22:30.360Z] f23df028b6ca: Pull complete [2022-05-02T05:22:30.634Z] d65c8cfc05b1: Pull complete [2022-05-02T05:22:45.728Z] 2437ff75d9bd: Pull complete [2022-05-02T05:22:45.728Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-02T05:22:45.728Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-02T05:22:45.728Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-02T05:22:45.978Z] prd-ubuntu20.04-docker-arm64-4c-16g-34460 does not seem to be running inside a container [2022-05-02T05:22:46.057Z] $ 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-05-02T05:22:48.573Z] $ docker top d33634e6e310bea7dc363916f1b345495156226e74c150f87802c8ce68a15914 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-02T05:22:49.562Z] ---> job-cost.sh [2022-05-02T05:22:49.563Z] lf-activate-venv: SKIPPING [2022-05-02T05:22:49.563Z] INFO: No Stack... [2022-05-02T05:22:50.157Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-02T05:22:50.750Z] INFO: Archiving Costs [Pipeline] sh [2022-05-02T05:22:51.495Z] + cut -d, -f6 [2022-05-02T05:22:51.495Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock [2022-05-02T05:22:51.652Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-341-1-stack-cost] [2022-05-02T05:22:51.657Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-341-1-stack-cost] did not exist. Created. [2022-05-02T05:22:51.657Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-341-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-02T05:22:52.418Z] /w/workspace/device-modbus-go/1@tmp/durable-c06a2813/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-02T05:22:53.160Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-02T05:22:53.196Z] Warning: overwriting stash ‘stack-cost’ [2022-05-02T05:22:53.244Z] Stashed 1 file(s) [Pipeline] } [2022-05-02T05:22:53.259Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-341-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-02T05:22:53.337Z] $ docker stop --time=1 d33634e6e310bea7dc363916f1b345495156226e74c150f87802c8ce68a15914 [2022-05-02T05:22:54.840Z] $ docker rm -f d33634e6e310bea7dc363916f1b345495156226e74c150f87802c8ce68a15914 [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-05-02T05:22:55.936Z] provisioning config files... [2022-05-02T05:22:55.943Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-341@tmp/config5800862000588724466tmp [Pipeline] { [Pipeline] sh [2022-05-02T05:22:56.282Z] + set +x [2022-05-02T05:22:56.282Z] + curl -s https://codecov.io/bash [2022-05-02T05:22:56.282Z] + bash -s -- [2022-05-02T05:22:56.282Z] [2022-05-02T05:22:56.282Z] _____ _ [2022-05-02T05:22:56.282Z] / ____| | | [2022-05-02T05:22:56.282Z] | | ___ __| | ___ ___ _____ __ [2022-05-02T05:22:56.282Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-02T05:22:56.282Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-02T05:22:56.282Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-02T05:22:56.282Z] Bash-1.0.6 [2022-05-02T05:22:56.282Z] [2022-05-02T05:22:56.282Z] [2022-05-02T05:22:56.282Z] ==> git version 2.25.1 found [2022-05-02T05:22:56.282Z] ==> 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-05-02T05:22:56.282Z] Release-Date: 2020-01-08 [2022-05-02T05:22:56.282Z] 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-05-02T05:22:56.282Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-02T05:22:56.282Z] ==> Jenkins CI detected. [2022-05-02T05:22:56.282Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-341 [2022-05-02T05:22:56.282Z] project root: . [2022-05-02T05:22:56.282Z] --> token set from env [2022-05-02T05:22:56.282Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-02T05:22:56.282Z] ==> Running gcov in . (disable via -X gcov) [2022-05-02T05:22:56.282Z] ==> Python coveragepy not found [2022-05-02T05:22:56.282Z] ==> Searching for coverage reports in: [2022-05-02T05:22:56.282Z] + . [2022-05-02T05:22:56.282Z] -> Found 1 reports [2022-05-02T05:22:56.282Z] ==> Detecting git/mercurial file structure [2022-05-02T05:22:56.282Z] ==> Reading reports [2022-05-02T05:22:56.282Z] + ./coverage.out bytes=24065 [2022-05-02T05:22:56.282Z] ==> Appending adjustments [2022-05-02T05:22:56.282Z] https://docs.codecov.io/docs/fixing-reports [2022-05-02T05:22:56.543Z] + Found adjustments [2022-05-02T05:22:56.543Z] ==> Gzipping contents [2022-05-02T05:22:56.543Z] 4.0K /tmp/codecov.iawgVJ.gz [2022-05-02T05:22:56.543Z] ==> Uploading reports [2022-05-02T05:22:56.543Z] url: https://codecov.io [2022-05-02T05:22:56.543Z] query: branch=PR-341&commit=d4e467d0ce894c5b99ae8bcc9c76f23c685c174c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-341%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=341&job=&cmd_args= [2022-05-02T05:22:56.543Z] -> Pinging Codecov [2022-05-02T05:22:56.543Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-341&commit=d4e467d0ce894c5b99ae8bcc9c76f23c685c174c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-341%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=341&job=&cmd_args= [2022-05-02T05:22:56.803Z] -> Uploading to [2022-05-02T05:22:56.803Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-02/55DBCA73C666E3227836607328DD7E49/d4e467d0ce894c5b99ae8bcc9c76f23c685c174c/669e7abc-4985-4b18-97ca-7129ee9e429e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220502%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220502T052256Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=076e15e8295b680e1bc4841eaad52ab086c9a72a7b06fbc5f54896e07d7da45b [2022-05-02T05:22:56.803Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-02T05:22:56.803Z] Dload Upload Total Spent Left Speed [2022-05-02T05:22:57.064Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4012 0 0 100 4012 0 19960 --:--:-- --:--:-- --:--:-- 19960 [2022-05-02T05:22:57.064Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/d4e467d0ce894c5b99ae8bcc9c76f23c685c174c [Pipeline] } [2022-05-02T05:22:57.094Z] 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-05-02T05:22:59.055Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-341/archives ] [2022-05-02T05:22:59.056Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-341/archives [2022-05-02T05:22:59.056Z] total 16 [2022-05-02T05:22:59.056Z] drwxr-xr-x 3 root root 4096 May 2 05:11 . [2022-05-02T05:22:59.056Z] drwxrwxr-x 11 jenkins jenkins 4096 May 2 05:11 .. [2022-05-02T05:22:59.056Z] drwxr-xr-x 2 root root 4096 May 2 05:11 cost [2022-05-02T05:22:59.056Z] -rw-r--r-- 1 root root 87 May 2 05:11 cost.csv [2022-05-02T05:22:59.056Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-341/archives [2022-05-02T05:22:59.056Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-341/archives [2022-05-02T05:22:59.056Z] total 16 [2022-05-02T05:22:59.056Z] drwxr-xr-x 3 jenkins jenkins 4096 May 2 05:11 . [2022-05-02T05:22:59.056Z] drwxrwxr-x 11 jenkins jenkins 4096 May 2 05:11 .. [2022-05-02T05:22:59.056Z] drwxr-xr-x 2 jenkins jenkins 4096 May 2 05:11 cost [2022-05-02T05:22:59.056Z] -rw-r--r-- 1 jenkins jenkins 87 May 2 05:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-02T05:22:59.392Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-02T05:23:00.291Z] ---> package-listing.sh [2022-05-02T05:23:00.291Z] ++ facter osfamily [2022-05-02T05:23:00.291Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-02T05:23:00.554Z] + OS_FAMILY=debian [2022-05-02T05:23:00.554Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-341 [2022-05-02T05:23:00.554Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-02T05:23:00.554Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-02T05:23:00.554Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-02T05:23:00.554Z] + PACKAGES=/tmp/packages_start.txt [2022-05-02T05:23:00.554Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-341 ']' [2022-05-02T05:23:00.554Z] + PACKAGES=/tmp/packages_end.txt [2022-05-02T05:23:00.554Z] + case "${OS_FAMILY}" in [2022-05-02T05:23:00.554Z] + dpkg -l [2022-05-02T05:23:00.554Z] + grep '^ii' [2022-05-02T05:23:00.554Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-02T05:23:00.554Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-02T05:23:00.554Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-02T05:23:00.554Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-341 ']' [2022-05-02T05:23:00.554Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-341/archives/ [2022-05-02T05:23:00.554Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-341/archives/ [Pipeline] echo [2022-05-02T05:23:00.584Z] 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-341/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-02T05:23:00.876Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-02T05:23:01.472Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-02T05:23:01.472Z] . [Pipeline] withDockerContainer [2022-05-02T05:23:01.556Z] prd-ubuntu20.04-docker-8c-8g-34415 does not seem to be running inside a container [2022-05-02T05:23:01.604Z] $ 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-341/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-341 -v /w/workspace/xfoundry_device-modbus-go_PR-341:/w/workspace/xfoundry_device-modbus-go_PR-341:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-341@tmp:/w/workspace/xfoundry_device-modbus-go_PR-341@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-02T05:23:01.832Z] $ docker top 6f2c8f8423a57c5af5fb92a83feaad907ca7efacd338d799c795dc31a7e42738 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-02T05:23:02.228Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-02T05:23:02.544Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-02T05:23:02.858Z] + ls /var/log/sa-host [2022-05-02T05:23:02.858Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-02T05:23:03.000Z] provisioning config files... [2022-05-02T05:23:03.012Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-341@tmp/config8224695944036250730tmp [Pipeline] { [Pipeline] echo [2022-05-02T05:23:03.062Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-02T05:23:03.381Z] ---> create-netrc.sh [Pipeline] } [2022-05-02T05:23:03.409Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-02T05:23:03.805Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-02T05:23:03.841Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-02T05:23:04.158Z] ---> sudo-logs.sh [2022-05-02T05:23:04.159Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-02T05:23:04.250Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-02T05:23:04.648Z] ---> job-cost.sh [2022-05-02T05:23:04.648Z] lf-activate-venv: SKIPPING [2022-05-02T05:23:04.648Z] DEBUG: total: 0.2199999988079071 [2022-05-02T05:23:04.648Z] INFO: Retrieving Stack Cost... [2022-05-02T05:23:05.220Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-02T05:23:05.481Z] INFO: Archiving Costs [Pipeline] echo [2022-05-02T05:23:05.519Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-02T05:23:05.840Z] ---> logs-deploy.sh [2022-05-02T05:23:05.840Z] lf-activate-venv: SKIPPING [2022-05-02T05:23:05.840Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-341/1 [2022-05-02T05:23:05.840Z] INFO: archiving workspace using pattern(s): [2022-05-02T05:23:06.785Z] Archives upload complete. [2022-05-02T05:23:06.785Z] INFO: archiving logs to Nexus