Pull request #346 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-modbus-go Loading trusted files from base branch main at 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 rather than 1705a6d7d55ea2e414d2e8a0eb8a8eb1c75fa499 Obtained Jenkinsfile from 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 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-ssh8719443449768056573.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh884319712468149309.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-346/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-346/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12656950284482348674.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-346/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1969623236532714019.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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-ssh7697484632190217953.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-346/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-346/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5745980224019811636.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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 ‘prd-ubuntu20.04-docker-8c-8g-63042’ Running on prd-ubuntu20.04-docker-8c-8g-63045 in /w/workspace/xfoundry_device-modbus-go_PR-346 [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-346 # 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 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 into PR head commit 1705a6d7d55ea2e414d2e8a0eb8a8eb1c75fa499 Merge succeeded, producing 1705a6d7d55ea2e414d2e8a0eb8a8eb1c75fa499 Checking out Revision 1705a6d7d55ea2e414d2e8a0eb8a8eb1c75fa499 (PR-346) > 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/346/head:refs/remotes/origin/PR-346 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1705a6d7d55ea2e414d2e8a0eb8a8eb1c75fa499 # 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 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1705a6d7d55ea2e414d2e8a0eb8a8eb1c75fa499 # timeout=10 Commit message: "build: Update to released Go Mods" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-11T05:21:23.163Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-11T05:21:23.337Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-11T05:21:23.441Z] ========================================================= [2022-05-11T05:21:23.441Z] EdgeX Global Pipelines Version Info [2022-05-11T05:21:23.441Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:21:24.333Z] ------------------- [2022-05-11T05:21:24.333Z] stable info: [2022-05-11T05:21:24.333Z] ------------------- [2022-05-11T05:21:24.333Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-11T05:21:24.333Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-11T05:21:24.333Z] Message: update stable to v1.0.230 [2022-05-11T05:21:24.905Z] ------------------- [2022-05-11T05:21:24.905Z] experimental info: [2022-05-11T05:21:24.905Z] ------------------- [2022-05-11T05:21:24.905Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-11T05:21:24.905Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-11T05:21:24.905Z] Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-11T05:21:25.172Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-05-11T05:21:25.214Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-05-11T05:21:25.258Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-11T05:21:25.298Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-11T05:21:25.338Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-11T05:21:25.388Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-11T05:21:25.525Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-11T05:21:25.575Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-11T05:21:25.620Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-11T05:21:25.664Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-11T05:21:25.708Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-11T05:21:25.757Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-05-11T05:21:25.805Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-11T05:21:25.849Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-11T05:21:25.894Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-11T05:21:25.940Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-11T05:21:25.986Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-11T05:21:26.035Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-11T05:21:26.081Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-11T05:21:26.128Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-11T05:21:26.174Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-11T05:21:26.210Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-11T05:21:26.254Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-11T05:21:26.297Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-11T05:21:26.343Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-11T05:21:26.389Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-11T05:21:26.434Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-346 [Pipeline] echo [2022-05-11T05:21:26.478Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-346 [Pipeline] echo [2022-05-11T05:21:26.525Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-346 [Pipeline] echo [2022-05-11T05:21:26.568Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1705a6d7d55ea2e414d2e8a0eb8a8eb1c75fa499 [Pipeline] echo [2022-05-11T05:21:26.611Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1705a6d [Pipeline] echo [2022-05-11T05:21:26.661Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T05:21:26.794Z] provisioning config files... [2022-05-11T05:21:26.812Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-346@tmp/config6335648432223998172tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:21:27.163Z] ---> docker-login.sh [2022-05-11T05:21:27.163Z] nexus3.edgexfoundry.org:10001 [2022-05-11T05:21:27.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:21:27.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:21:27.689Z] Configure a credential helper to remove this warning. See [2022-05-11T05:21:27.690Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:21:27.690Z] [2022-05-11T05:21:27.690Z] Login Succeeded [2022-05-11T05:21:27.690Z] nexus3.edgexfoundry.org:10002 [2022-05-11T05:21:27.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:21:27.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:21:27.690Z] Configure a credential helper to remove this warning. See [2022-05-11T05:21:27.690Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:21:27.690Z] [2022-05-11T05:21:27.690Z] Login Succeeded [2022-05-11T05:21:27.690Z] nexus3.edgexfoundry.org:10003 [2022-05-11T05:21:27.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:21:27.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:21:27.954Z] Configure a credential helper to remove this warning. See [2022-05-11T05:21:27.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:21:27.954Z] [2022-05-11T05:21:27.954Z] Login Succeeded [2022-05-11T05:21:27.954Z] nexus3.edgexfoundry.org:10004 [2022-05-11T05:21:27.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:21:28.216Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:21:28.216Z] Configure a credential helper to remove this warning. See [2022-05-11T05:21:28.216Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:21:28.216Z] [2022-05-11T05:21:28.216Z] Login Succeeded [2022-05-11T05:21:28.216Z] docker.io [2022-05-11T05:21:28.216Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:21:28.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:21:28.478Z] Configure a credential helper to remove this warning. See [2022-05-11T05:21:28.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:21:28.478Z] [2022-05-11T05:21:28.478Z] Login Succeeded [2022-05-11T05:21:28.478Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T05:21:28.505Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-11T05:21:29.142Z] + git rev-list -1 --merges 1705a6d7d55ea2e414d2e8a0eb8a8eb1c75fa499~1..1705a6d7d55ea2e414d2e8a0eb8a8eb1c75fa499 [Pipeline] echo [2022-05-11T05:21:29.188Z] -----------> git rev-list -1 --merges 1705a6d7d55ea2e414d2e8a0eb8a8eb1c75fa499~1..1705a6d7d55ea2e414d2e8a0eb8a8eb1c75fa499 1705a6d7d55ea2e414d2e8a0eb8a8eb1c75fa499 [false] [Pipeline] sh [2022-05-11T05:21:29.507Z] + git log --format=format:%s -1 1705a6d7d55ea2e414d2e8a0eb8a8eb1c75fa499 [Pipeline] echo [2022-05-11T05:21:29.541Z] ========================================================= [2022-05-11T05:21:29.541Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-11T05:21:29.541Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-11T05:21:30.034Z] + git log --format=format:%s -1 1705a6d7d55ea2e414d2e8a0eb8a8eb1c75fa499 [Pipeline] echo [2022-05-11T05:21:30.075Z] [semverPrep] GIT_COMMIT: 1705a6d7d55ea2e414d2e8a0eb8a8eb1c75fa499, Commit Message: build: Update to released Go Mods [Pipeline] echo [2022-05-11T05:21:30.105Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-11T05:21:30.520Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-11T05:21:30.520Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-11T05:21:30.520Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-11T05:21:30.520Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-11T05:21:30.520Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-11T05:21:30.520Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-11T05:21:30.520Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:21:30.910Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T05:21:30.910Z] [2022-05-11T05:21:30.910Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:21:31.259Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T05:21:31.259Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-11T05:21:31.259Z] 1fe172e4850f: Pulling fs layer [2022-05-11T05:21:31.259Z] caf521ccaac6: Pulling fs layer [2022-05-11T05:21:31.259Z] 3ead6fa29328: Pulling fs layer [2022-05-11T05:21:31.259Z] 5c2a1cbceb83: Pulling fs layer [2022-05-11T05:21:31.259Z] a8d5f1318db7: Pulling fs layer [2022-05-11T05:21:31.259Z] c427282e49a2: Pulling fs layer [2022-05-11T05:21:31.259Z] 1827001aaf11: Pulling fs layer [2022-05-11T05:21:31.259Z] 0714d37db230: Pulling fs layer [2022-05-11T05:21:31.259Z] ac28cf19c067: Pulling fs layer [2022-05-11T05:21:31.259Z] ca983d60f3e2: Pulling fs layer [2022-05-11T05:21:31.259Z] 9f894cec8388: Pulling fs layer [2022-05-11T05:21:31.259Z] a8d5f1318db7: Waiting [2022-05-11T05:21:31.259Z] c427282e49a2: Waiting [2022-05-11T05:21:31.259Z] 1827001aaf11: Waiting [2022-05-11T05:21:31.259Z] 0714d37db230: Waiting [2022-05-11T05:21:31.259Z] 9f894cec8388: Waiting [2022-05-11T05:21:31.259Z] ac28cf19c067: Waiting [2022-05-11T05:21:31.259Z] ca983d60f3e2: Waiting [2022-05-11T05:21:31.259Z] 5c2a1cbceb83: Waiting [2022-05-11T05:21:31.259Z] caf521ccaac6: Download complete [2022-05-11T05:21:31.259Z] 5c2a1cbceb83: Verifying Checksum [2022-05-11T05:21:31.259Z] 5c2a1cbceb83: Download complete [2022-05-11T05:21:31.259Z] a8d5f1318db7: Verifying Checksum [2022-05-11T05:21:31.259Z] a8d5f1318db7: Download complete [2022-05-11T05:21:31.524Z] c427282e49a2: Download complete [2022-05-11T05:21:31.524Z] 3ead6fa29328: Verifying Checksum [2022-05-11T05:21:31.524Z] 3ead6fa29328: Download complete [2022-05-11T05:21:31.524Z] 0714d37db230: Verifying Checksum [2022-05-11T05:21:31.524Z] 0714d37db230: Download complete [2022-05-11T05:21:31.524Z] ac28cf19c067: Verifying Checksum [2022-05-11T05:21:31.524Z] ac28cf19c067: Download complete [2022-05-11T05:21:31.524Z] ca983d60f3e2: Download complete [2022-05-11T05:21:31.524Z] 9f894cec8388: Verifying Checksum [2022-05-11T05:21:31.524Z] 9f894cec8388: Download complete [2022-05-11T05:21:31.524Z] 1fe172e4850f: Verifying Checksum [2022-05-11T05:21:31.524Z] 1fe172e4850f: Download complete [2022-05-11T05:21:31.785Z] 1827001aaf11: Verifying Checksum [2022-05-11T05:21:31.785Z] 1827001aaf11: Download complete [2022-05-11T05:21:33.195Z] 1fe172e4850f: Pull complete [2022-05-11T05:21:33.195Z] caf521ccaac6: Pull complete [2022-05-11T05:21:33.770Z] 3ead6fa29328: Pull complete [2022-05-11T05:21:33.770Z] 5c2a1cbceb83: Pull complete [2022-05-11T05:21:34.346Z] a8d5f1318db7: Pull complete [2022-05-11T05:21:34.346Z] c427282e49a2: Pull complete [2022-05-11T05:21:36.273Z] 1827001aaf11: Pull complete [2022-05-11T05:21:36.535Z] 0714d37db230: Pull complete [2022-05-11T05:21:36.535Z] ac28cf19c067: Pull complete [2022-05-11T05:21:36.535Z] ca983d60f3e2: Pull complete [2022-05-11T05:21:36.797Z] 9f894cec8388: Pull complete [2022-05-11T05:21:36.797Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-11T05:21:36.797Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T05:21:36.797Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-11T05:21:36.907Z] prd-ubuntu20.04-docker-8c-8g-63045 does not seem to be running inside a container [2022-05-11T05:21:36.940Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-346 -v /w/workspace/xfoundry_device-modbus-go_PR-346:/w/workspace/xfoundry_device-modbus-go_PR-346:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-346@tmp:/w/workspace/xfoundry_device-modbus-go_PR-346@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-devops/py-git-semver:latest cat [2022-05-11T05:21:38.341Z] $ docker top d4d963a320f3d305184040c1736d39f66fab89a3f93fdd4a0b8bd4022055562b -eo pid,comm [2022-05-11T05:21:38.411Z] 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-11T05:21:38.411Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-11T05:21:38.541Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-11T05:21:38.541Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-11T05:21:38.681Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-11T05:21:38.678Z] $ docker exec d4d963a320f3d305184040c1736d39f66fab89a3f93fdd4a0b8bd4022055562b ssh-agent [2022-05-11T05:21:38.805Z] SSH_AUTH_SOCK=/tmp/ssh-BDdDdeA6iYph/agent.32 [2022-05-11T05:21:38.805Z] SSH_AGENT_PID=39 [2022-05-11T05:21:38.815Z] Running ssh-add (command line suppressed) [2022-05-11T05:21:38.921Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-346@tmp/private_key_3395666341591830258.key (/w/workspace/xfoundry_device-modbus-go_PR-346@tmp/private_key_3395666341591830258.key) [2022-05-11T05:21:38.946Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-11T05:21:39.281Z] + git tag --points-at HEAD [Pipeline] } [2022-05-11T05:21:39.301Z] $ docker exec --env ******** --env ******** d4d963a320f3d305184040c1736d39f66fab89a3f93fdd4a0b8bd4022055562b ssh-agent -k [2022-05-11T05:21:39.411Z] unset SSH_AUTH_SOCK; [2022-05-11T05:21:39.412Z] unset SSH_AGENT_PID; [2022-05-11T05:21:39.412Z] echo Agent pid 39 killed; [2022-05-11T05:21:39.431Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-11T05:21:39.532Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-11T05:21:39.532Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-11T05:21:39.666Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-11T05:21:39.663Z] $ docker exec d4d963a320f3d305184040c1736d39f66fab89a3f93fdd4a0b8bd4022055562b ssh-agent [2022-05-11T05:21:39.810Z] SSH_AUTH_SOCK=/tmp/ssh-VpNZOgHdzR2X/agent.73 [2022-05-11T05:21:39.810Z] SSH_AGENT_PID=80 [2022-05-11T05:21:39.817Z] Running ssh-add (command line suppressed) [2022-05-11T05:21:39.933Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-346@tmp/private_key_7860520402698680946.key (/w/workspace/xfoundry_device-modbus-go_PR-346@tmp/private_key_7860520402698680946.key) [2022-05-11T05:21:39.956Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-11T05:21:40.286Z] + git semver init [2022-05-11T05:21:40.550Z] 2022-05-11 05:21:40,480 [run_init] DEBUG init version:0.0.0 force:False [2022-05-11T05:21:40.550Z] 2022-05-11 05:21:40,481 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-346/.semver [2022-05-11T05:21:40.550Z] 2022-05-11 05:21:40,481 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-346/.semver [2022-05-11T05:21:40.550Z] 2022-05-11 05:21:40,482 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-346/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-346, universal_newlines=False, shell=None, istream=None) [2022-05-11T05:21:41.496Z] 2022-05-11 05:21:41,332 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-346/.git/info/exclude [2022-05-11T05:21:41.496Z] 2022-05-11 05:21:41,333 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-346/.semver/PR-346 with force:False [2022-05-11T05:21:41.496Z] 2022-05-11 05:21:41,333 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-346/.semver/PR-346 [2022-05-11T05:21:41.496Z] 2022-05-11 05:21:41,338 [execute] INFO git cat-file --batch-check [2022-05-11T05:21:41.496Z] 2022-05-11 05:21:41,338 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-346/.semver, universal_newlines=False, shell=None, istream=) [2022-05-11T05:21:41.496Z] 2022-05-11 05:21:41,345 [execute] INFO git cat-file --batch [2022-05-11T05:21:41.496Z] 2022-05-11 05:21:41,345 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-346/.semver, universal_newlines=False, shell=None, istream=) [2022-05-11T05:21:41.496Z] 2022-05-11 05:21:41,351 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-346/.semver/PR-346 [2022-05-11T05:21:41.496Z] 0.0.0 [Pipeline] } [2022-05-11T05:21:41.514Z] $ docker exec --env ******** --env ******** d4d963a320f3d305184040c1736d39f66fab89a3f93fdd4a0b8bd4022055562b ssh-agent -k [2022-05-11T05:21:41.639Z] unset SSH_AUTH_SOCK; [2022-05-11T05:21:41.639Z] unset SSH_AGENT_PID; [2022-05-11T05:21:41.640Z] echo Agent pid 80 killed; [2022-05-11T05:21:41.656Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-11T05:21:42.099Z] + git semver [Pipeline] } [2022-05-11T05:21:42.382Z] $ docker stop --time=1 d4d963a320f3d305184040c1736d39f66fab89a3f93fdd4a0b8bd4022055562b [2022-05-11T05:21:43.702Z] $ docker rm -f d4d963a320f3d305184040c1736d39f66fab89a3f93fdd4a0b8bd4022055562b [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-11T05:21:44.132Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-11T05:21:44.475Z] Stashed 1 file(s) [Pipeline] echo [2022-05-11T05:21:44.492Z] [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-11T05:21:45.114Z] provisioning config files... [2022-05-11T05:21:45.125Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-346@tmp/config6389313576041658117tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:21:45.476Z] ---> docker-login.sh [2022-05-11T05:21:45.476Z] nexus3.edgexfoundry.org:10001 [2022-05-11T05:21:45.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:21:45.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:21:45.476Z] Configure a credential helper to remove this warning. See [2022-05-11T05:21:45.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:21:45.476Z] [2022-05-11T05:21:45.476Z] Login Succeeded [2022-05-11T05:21:45.476Z] nexus3.edgexfoundry.org:10002 [2022-05-11T05:21:45.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:21:45.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:21:45.737Z] Configure a credential helper to remove this warning. See [2022-05-11T05:21:45.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:21:45.737Z] [2022-05-11T05:21:45.737Z] Login Succeeded [2022-05-11T05:21:45.737Z] nexus3.edgexfoundry.org:10003 [2022-05-11T05:21:45.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:21:45.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:21:45.737Z] Configure a credential helper to remove this warning. See [2022-05-11T05:21:45.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:21:45.737Z] [2022-05-11T05:21:45.737Z] Login Succeeded [2022-05-11T05:21:45.737Z] nexus3.edgexfoundry.org:10004 [2022-05-11T05:21:45.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:21:45.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:21:45.999Z] Configure a credential helper to remove this warning. See [2022-05-11T05:21:45.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:21:45.999Z] [2022-05-11T05:21:45.999Z] Login Succeeded [2022-05-11T05:21:45.999Z] docker.io [2022-05-11T05:21:45.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:21:46.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:21:46.570Z] Configure a credential helper to remove this warning. See [2022-05-11T05:21:46.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:21:46.570Z] [2022-05-11T05:21:46.570Z] Login Succeeded [2022-05-11T05:21:46.570Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T05:21:46.598Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-11T05:21:46.891Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-11T05:21:46.923Z] ========================================================= [2022-05-11T05:21:46.923Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-11T05:21:46.923Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:21:47.330Z] + 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-11T05:21:47.330Z] Sending build context to Docker daemon 5.917MB [2022-05-11T05:21:47.330Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T05:21:47.330Z] Step 2/10 : FROM ${BASE} AS builder [2022-05-11T05:21:47.330Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-11T05:21:47.330Z] 59bf1c3509f3: Pulling fs layer [2022-05-11T05:21:47.330Z] 666ba61612fd: Pulling fs layer [2022-05-11T05:21:47.330Z] 8ed8ca486205: Pulling fs layer [2022-05-11T05:21:47.330Z] 4fe6c5a15a65: Pulling fs layer [2022-05-11T05:21:47.330Z] 22a0e8bec74d: Pulling fs layer [2022-05-11T05:21:47.330Z] ca2b28591e48: Pulling fs layer [2022-05-11T05:21:47.330Z] a51346096db8: Pulling fs layer [2022-05-11T05:21:47.330Z] daebc70d1ce1: Pulling fs layer [2022-05-11T05:21:47.330Z] 0e18a0eac166: Pulling fs layer [2022-05-11T05:21:47.330Z] 4fe6c5a15a65: Waiting [2022-05-11T05:21:47.330Z] ca2b28591e48: Waiting [2022-05-11T05:21:47.330Z] a51346096db8: Waiting [2022-05-11T05:21:47.330Z] daebc70d1ce1: Waiting [2022-05-11T05:21:47.330Z] 0e18a0eac166: Waiting [2022-05-11T05:21:47.330Z] 22a0e8bec74d: Waiting [2022-05-11T05:21:47.330Z] 8ed8ca486205: Download complete [2022-05-11T05:21:47.330Z] 666ba61612fd: Download complete [2022-05-11T05:21:47.330Z] 22a0e8bec74d: Verifying Checksum [2022-05-11T05:21:47.330Z] 22a0e8bec74d: Download complete [2022-05-11T05:21:47.594Z] ca2b28591e48: Verifying Checksum [2022-05-11T05:21:47.594Z] ca2b28591e48: Download complete [2022-05-11T05:21:47.594Z] 59bf1c3509f3: Verifying Checksum [2022-05-11T05:21:47.594Z] 59bf1c3509f3: Download complete [2022-05-11T05:21:47.594Z] a51346096db8: Verifying Checksum [2022-05-11T05:21:47.594Z] a51346096db8: Download complete [2022-05-11T05:21:47.594Z] daebc70d1ce1: Verifying Checksum [2022-05-11T05:21:47.594Z] daebc70d1ce1: Download complete [2022-05-11T05:21:47.594Z] 59bf1c3509f3: Pull complete [2022-05-11T05:21:47.855Z] 666ba61612fd: Pull complete [2022-05-11T05:21:47.855Z] 8ed8ca486205: Pull complete [2022-05-11T05:21:48.115Z] 0e18a0eac166: Verifying Checksum [2022-05-11T05:21:48.376Z] 4fe6c5a15a65: Verifying Checksum [2022-05-11T05:21:48.376Z] 4fe6c5a15a65: Download complete [2022-05-11T05:21:52.586Z] 4fe6c5a15a65: Pull complete [2022-05-11T05:21:52.586Z] 22a0e8bec74d: Pull complete [2022-05-11T05:21:52.586Z] ca2b28591e48: Pull complete [2022-05-11T05:21:52.586Z] a51346096db8: Pull complete [2022-05-11T05:21:52.845Z] daebc70d1ce1: Pull complete [2022-05-11T05:21:55.392Z] 0e18a0eac166: Pull complete [2022-05-11T05:21:55.392Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-11T05:21:55.392Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-11T05:21:55.392Z] ---> f018257e8ee9 [2022-05-11T05:21:55.392Z] Step 3/10 : ARG MAKE='make build' [2022-05-11T05:21:56.337Z] ---> Running in 356aa6b7e068 [2022-05-11T05:21:56.599Z] Removing intermediate container 356aa6b7e068 [2022-05-11T05:21:56.599Z] ---> 05d62c18c448 [2022-05-11T05:21:56.599Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T05:21:56.599Z] ---> Running in c5e622d0ed63 [2022-05-11T05:21:57.174Z] Removing intermediate container c5e622d0ed63 [2022-05-11T05:21:57.174Z] ---> 91b70ca34411 [2022-05-11T05:21:57.174Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-11T05:21:57.174Z] ---> Running in b898875dcbe4 [2022-05-11T05:21:57.434Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-11T05:21:58.379Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-11T05:21:58.641Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-05-11T05:21:58.641Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-05-11T05:21:58.906Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-05-11T05:21:58.906Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-05-11T05:21:58.906Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-05-11T05:21:59.167Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-05-11T05:21:59.167Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-05-11T05:21:59.167Z] (8/8) Installing openssh (8.8_p1-r1) [2022-05-11T05:21:59.429Z] Executing busybox-1.34.1-r3.trigger [2022-05-11T05:21:59.429Z] OK: 226 MiB in 60 packages [2022-05-11T05:21:59.690Z] Removing intermediate container b898875dcbe4 [2022-05-11T05:21:59.690Z] ---> 98a539b4f2f9 [2022-05-11T05:21:59.690Z] Step 6/10 : WORKDIR /device-modbus-go [2022-05-11T05:21:59.926Z] Still waiting to schedule task [2022-05-11T05:21:59.927Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-63043’ [2022-05-11T05:21:59.955Z] ---> Running in 0381f47e2003 [2022-05-11T05:21:59.955Z] Removing intermediate container 0381f47e2003 [2022-05-11T05:21:59.955Z] ---> 0ce1c734986c [2022-05-11T05:21:59.955Z] Step 7/10 : COPY go.mod vendor* ./ [2022-05-11T05:21:59.955Z] ---> 91b759274fb5 [2022-05-11T05:21:59.955Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T05:22:00.216Z] ---> Running in dbbc58ae3aa9 [2022-05-11T05:22:15.121Z] Removing intermediate container dbbc58ae3aa9 [2022-05-11T05:22:15.121Z] ---> 5188cbfd70f5 [2022-05-11T05:22:15.121Z] Step 9/10 : COPY . . [2022-05-11T05:22:15.121Z] ---> 9e0dbf279a45 [2022-05-11T05:22:15.121Z] Step 10/10 : RUN ${MAKE} [2022-05-11T05:22:15.121Z] ---> Running in cead982370e3 [2022-05-11T05:22:15.121Z] noop [2022-05-11T05:22:15.121Z] Removing intermediate container cead982370e3 [2022-05-11T05:22:15.121Z] ---> cb7b881c9cb7 [2022-05-11T05:22:15.121Z] Successfully built cb7b881c9cb7 [2022-05-11T05:22:15.121Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:22:15.459Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-11T05:22:15.459Z] . [Pipeline] withDockerContainer [2022-05-11T05:22:15.566Z] prd-ubuntu20.04-docker-8c-8g-63045 does not seem to be running inside a container [2022-05-11T05:22:15.633Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-346 -v /w/workspace/xfoundry_device-modbus-go_PR-346:/w/workspace/xfoundry_device-modbus-go_PR-346:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-346@tmp:/w/workspace/xfoundry_device-modbus-go_PR-346@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-11T05:22:16.054Z] $ docker top 0f8801cbf74f8ec4b60b990634d0e42f39a5579adf3821148b59304068015c58 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-11T05:22:16.496Z] + go version [2022-05-11T05:22:16.497Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-11T05:22:16.532Z] $ docker stop --time=1 0f8801cbf74f8ec4b60b990634d0e42f39a5579adf3821148b59304068015c58 [2022-05-11T05:22:17.847Z] $ docker rm -f 0f8801cbf74f8ec4b60b990634d0e42f39a5579adf3821148b59304068015c58 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:22:18.571Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-11T05:22:18.571Z] . [Pipeline] withDockerContainer [2022-05-11T05:22:18.676Z] prd-ubuntu20.04-docker-8c-8g-63045 does not seem to be running inside a container [2022-05-11T05:22:18.716Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-346 -v /w/workspace/xfoundry_device-modbus-go_PR-346:/w/workspace/xfoundry_device-modbus-go_PR-346:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-346@tmp:/w/workspace/xfoundry_device-modbus-go_PR-346@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-11T05:22:19.082Z] $ docker top 5de334159efb4e90feddb9e1ed89fa45ec66be3f0a44328345502f80549086b2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-11T05:22:19.527Z] + make test [2022-05-11T05:22:19.527Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-11T05:22:19.790Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-05-11T05:22:29.779Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-05-11T05:22:29.779Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.027s coverage: 46.4% of statements [2022-05-11T05:22:36.356Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-11T05:22:40.560Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-11T05:22:40.560Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-11T05:22:40.561Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-11T05:22:40.601Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-11T05:22:40.638Z] $ docker stop --time=1 5de334159efb4e90feddb9e1ed89fa45ec66be3f0a44328345502f80549086b2 [2022-05-11T05:22:42.455Z] $ docker rm -f 5de334159efb4e90feddb9e1ed89fa45ec66be3f0a44328345502f80549086b2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-11T05:22:42.968Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-11T05:22:43.031Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-11T05:22:43.952Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-11T05:22:44.265Z] + ls -al . [2022-05-11T05:22:44.265Z] total 184 [2022-05-11T05:22:44.265Z] drwxrwxr-x 10 jenkins jenkins 4096 May 11 05:22 . [2022-05-11T05:22:44.265Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 05:21 .. [2022-05-11T05:22:44.265Z] -rw-rw-r-- 1 jenkins jenkins 140 May 11 05:21 .dockerignore [2022-05-11T05:22:44.265Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 05:21 .git [2022-05-11T05:22:44.265Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:21 .github [2022-05-11T05:22:44.265Z] -rw-rw-r-- 1 jenkins jenkins 331 May 11 05:21 .gitignore [2022-05-11T05:22:44.265Z] -rw-rw-r-- 1 jenkins jenkins 41 May 11 05:21 .golangci.yml [2022-05-11T05:22:44.265Z] drwxr-xr-x 3 jenkins jenkins 4096 May 11 05:21 .semver [2022-05-11T05:22:44.265Z] -rw-rw-r-- 1 jenkins jenkins 9377 May 11 05:21 Attribution.txt [2022-05-11T05:22:44.265Z] -rw-rw-r-- 1 jenkins jenkins 10001 May 11 05:21 CHANGELOG.md [2022-05-11T05:22:44.265Z] -rw-rw-r-- 1 jenkins jenkins 1546 May 11 05:21 Dockerfile [2022-05-11T05:22:44.265Z] -rw-rw-r-- 1 jenkins jenkins 677 May 11 05:21 GOVERNANCE.md [2022-05-11T05:22:44.265Z] -rw-rw-r-- 1 jenkins jenkins 680 May 11 05:21 Jenkinsfile [2022-05-11T05:22:44.265Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 11 05:21 LICENSE [2022-05-11T05:22:44.265Z] -rw-rw-r-- 1 jenkins jenkins 1905 May 11 05:21 Makefile [2022-05-11T05:22:44.265Z] -rw-rw-r-- 1 jenkins jenkins 622 May 11 05:21 OWNERS.md [2022-05-11T05:22:44.265Z] -rw-rw-r-- 1 jenkins jenkins 3397 May 11 05:21 README.md [2022-05-11T05:22:44.265Z] -rw-rw-r-- 1 jenkins jenkins 5 May 11 05:21 VERSION [2022-05-11T05:22:44.265Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:21 bin [2022-05-11T05:22:44.265Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:21 cmd [2022-05-11T05:22:44.265Z] -rw-r--r-- 1 jenkins jenkins 24065 May 11 05:22 coverage.out [2022-05-11T05:22:44.265Z] -rw-rw-r-- 1 jenkins jenkins 3353 May 11 05:21 go.mod [2022-05-11T05:22:44.265Z] -rw-rw-r-- 1 jenkins jenkins 34983 May 11 05:21 go.sum [2022-05-11T05:22:44.265Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:21 internal [2022-05-11T05:22:44.265Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:21 simulator [2022-05-11T05:22:44.265Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 05:21 snap [2022-05-11T05:22:44.265Z] -rw-rw-r-- 1 jenkins jenkins 229 May 11 05:21 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:22:44.602Z] + 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=1705a6d7d55ea2e414d2e8a0eb8a8eb1c75fa499 --label arch=amd64 --label version=0.0.0 . [2022-05-11T05:22:44.602Z] Sending build context to Docker daemon 5.942MB [2022-05-11T05:22:44.602Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T05:22:44.602Z] Step 2/23 : FROM ${BASE} AS builder [2022-05-11T05:22:44.602Z] ---> cb7b881c9cb7 [2022-05-11T05:22:44.602Z] Step 3/23 : ARG MAKE='make build' [2022-05-11T05:22:44.602Z] ---> Running in cc160a4e4348 [2022-05-11T05:22:44.862Z] Removing intermediate container cc160a4e4348 [2022-05-11T05:22:44.862Z] ---> 1ad650c006e2 [2022-05-11T05:22:44.862Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T05:22:44.862Z] ---> Running in 5f5558c48bb3 [2022-05-11T05:22:45.432Z] Removing intermediate container 5f5558c48bb3 [2022-05-11T05:22:45.432Z] ---> 2ba445b2267e [2022-05-11T05:22:45.432Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-11T05:22:45.432Z] ---> Running in a81c7e04f8c8 [2022-05-11T05:22:45.693Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-11T05:22:46.636Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-11T05:22:46.899Z] OK: 226 MiB in 60 packages [2022-05-11T05:22:47.162Z] Removing intermediate container a81c7e04f8c8 [2022-05-11T05:22:47.162Z] ---> 5dd2443dbf53 [2022-05-11T05:22:47.162Z] Step 6/23 : WORKDIR /device-modbus-go [2022-05-11T05:22:47.162Z] ---> Running in a9890809793c [2022-05-11T05:22:47.162Z] Removing intermediate container a9890809793c [2022-05-11T05:22:47.162Z] ---> 8f32c60f922c [2022-05-11T05:22:47.162Z] Step 7/23 : COPY go.mod vendor* ./ [2022-05-11T05:22:47.422Z] ---> a55e185bb810 [2022-05-11T05:22:47.422Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T05:22:47.422Z] ---> Running in 8fed88ada776 [2022-05-11T05:22:47.992Z] Removing intermediate container 8fed88ada776 [2022-05-11T05:22:47.992Z] ---> 2268afa4c4e6 [2022-05-11T05:22:47.992Z] Step 9/23 : COPY . . [2022-05-11T05:22:48.565Z] ---> a7d8a66b7c70 [2022-05-11T05:22:48.565Z] Step 10/23 : RUN ${MAKE} [2022-05-11T05:22:48.565Z] ---> Running in 05e0f7f8a11b [2022-05-11T05:22:48.827Z] 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-11T05:23:10.790Z] Removing intermediate container 05e0f7f8a11b [2022-05-11T05:23:10.790Z] ---> 72b68a01a6e0 [2022-05-11T05:23:10.790Z] Step 11/23 : FROM alpine:3.14 [2022-05-11T05:23:10.790Z] 3.14: Pulling from library/alpine [2022-05-11T05:23:10.790Z] 8663204ce13b: Pulling fs layer [2022-05-11T05:23:10.790Z] 8663204ce13b: Download complete [2022-05-11T05:23:10.790Z] 8663204ce13b: Pull complete [2022-05-11T05:23:10.790Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-11T05:23:10.790Z] Status: Downloaded newer image for alpine:3.14 [2022-05-11T05:23:10.790Z] ---> e04c818066af [2022-05-11T05:23:10.790Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-05-11T05:23:10.790Z] ---> Running in 8286df07d6ba [2022-05-11T05:23:10.790Z] Removing intermediate container 8286df07d6ba [2022-05-11T05:23:10.790Z] ---> 90220aaa6db4 [2022-05-11T05:23:10.790Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T05:23:10.790Z] ---> Running in 3985e65a97d1 [2022-05-11T05:23:10.790Z] Removing intermediate container 3985e65a97d1 [2022-05-11T05:23:10.790Z] ---> 4f72a95ba4cc [2022-05-11T05:23:10.790Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-11T05:23:10.790Z] ---> Running in 204dbb8a307a [2022-05-11T05:23:10.790Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-11T05:23:10.790Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-11T05:23:10.790Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-11T05:23:10.790Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-11T05:23:10.790Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-11T05:23:11.052Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-11T05:23:11.052Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-11T05:23:11.052Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-11T05:23:11.313Z] Executing busybox-1.33.1-r7.trigger [2022-05-11T05:23:11.313Z] OK: 8 MiB in 20 packages [2022-05-11T05:23:11.574Z] Removing intermediate container 204dbb8a307a [2022-05-11T05:23:11.574Z] ---> a8722398629b [2022-05-11T05:23:11.574Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-05-11T05:23:12.144Z] ---> 821d63d633dd [2022-05-11T05:23:12.144Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-05-11T05:23:12.413Z] ---> 33617f471048 [2022-05-11T05:23:12.413Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-05-11T05:23:12.413Z] ---> bd4349a1bc8f [2022-05-11T05:23:12.413Z] Step 18/23 : EXPOSE 59901 [2022-05-11T05:23:12.674Z] ---> Running in 4f35b2a23e24 [2022-05-11T05:23:12.674Z] Removing intermediate container 4f35b2a23e24 [2022-05-11T05:23:12.674Z] ---> 810d706895ac [2022-05-11T05:23:12.674Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-05-11T05:23:12.674Z] ---> Running in b56ad150a32a [2022-05-11T05:23:12.674Z] Removing intermediate container b56ad150a32a [2022-05-11T05:23:12.674Z] ---> 7e428a55a120 [2022-05-11T05:23:12.674Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-11T05:23:12.951Z] ---> Running in 7303a7cf0d71 [2022-05-11T05:23:12.951Z] Removing intermediate container 7303a7cf0d71 [2022-05-11T05:23:12.951Z] ---> b0ba77373fa5 [2022-05-11T05:23:12.951Z] Step 21/23 : LABEL arch=amd64 [2022-05-11T05:23:12.951Z] ---> Running in 2d42876ba42a [2022-05-11T05:23:12.951Z] Removing intermediate container 2d42876ba42a [2022-05-11T05:23:12.951Z] ---> c452ddef9ae4 [2022-05-11T05:23:12.951Z] Step 22/23 : LABEL git_sha=1705a6d7d55ea2e414d2e8a0eb8a8eb1c75fa499 [2022-05-11T05:23:12.951Z] ---> Running in aec8d43755de [2022-05-11T05:23:13.212Z] Removing intermediate container aec8d43755de [2022-05-11T05:23:13.212Z] ---> 36af4d4aeccb [2022-05-11T05:23:13.212Z] Step 23/23 : LABEL version=0.0.0 [2022-05-11T05:23:13.212Z] ---> Running in 17f07d4fe994 [2022-05-11T05:23:13.212Z] Removing intermediate container 17f07d4fe994 [2022-05-11T05:23:13.212Z] ---> 4c979b918a28 [2022-05-11T05:23:13.212Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-11T05:23:13.212Z] Successfully built 4c979b918a28 [2022-05-11T05:23:13.212Z] 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-11T05:23:13.952Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T05:23:13.952Z] [2022-05-11T05:23:13.952Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:23:14.313Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T05:23:14.313Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-11T05:23:14.313Z] 5eb5b503b376: Pulling fs layer [2022-05-11T05:23:14.313Z] 5c69ac0246d0: Pulling fs layer [2022-05-11T05:23:14.313Z] ec43610c2a17: Pulling fs layer [2022-05-11T05:23:14.313Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-11T05:23:14.313Z] 33b1e0a273af: Pulling fs layer [2022-05-11T05:23:14.313Z] 5d3b04190fa2: Pulling fs layer [2022-05-11T05:23:14.313Z] 2f39f015ded8: Pulling fs layer [2022-05-11T05:23:14.313Z] 3a2ae6a8a46f: Waiting [2022-05-11T05:23:14.313Z] 5d3b04190fa2: Waiting [2022-05-11T05:23:14.313Z] 33b1e0a273af: Waiting [2022-05-11T05:23:14.313Z] 5c69ac0246d0: Download complete [2022-05-11T05:23:14.313Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-11T05:23:14.313Z] 3a2ae6a8a46f: Download complete [2022-05-11T05:23:14.573Z] 33b1e0a273af: Verifying Checksum [2022-05-11T05:23:14.573Z] 33b1e0a273af: Download complete [2022-05-11T05:23:14.573Z] 5d3b04190fa2: Download complete [2022-05-11T05:23:14.573Z] ec43610c2a17: Verifying Checksum [2022-05-11T05:23:14.573Z] ec43610c2a17: Download complete [2022-05-11T05:23:14.573Z] 5eb5b503b376: Verifying Checksum [2022-05-11T05:23:14.574Z] 5eb5b503b376: Download complete [2022-05-11T05:23:15.145Z] 2f39f015ded8: Verifying Checksum [2022-05-11T05:23:15.145Z] 2f39f015ded8: Download complete [2022-05-11T05:23:16.094Z] 5eb5b503b376: Pull complete [2022-05-11T05:23:16.094Z] 5c69ac0246d0: Pull complete [2022-05-11T05:23:16.668Z] ec43610c2a17: Pull complete [2022-05-11T05:23:16.668Z] 3a2ae6a8a46f: Pull complete [2022-05-11T05:23:16.930Z] 33b1e0a273af: Pull complete [2022-05-11T05:23:16.930Z] 5d3b04190fa2: Pull complete [2022-05-11T05:23:22.216Z] 2f39f015ded8: Pull complete [2022-05-11T05:23:22.216Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-11T05:23:22.216Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T05:23:22.216Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-11T05:23:22.373Z] prd-ubuntu20.04-docker-8c-8g-63045 does not seem to be running inside a container [2022-05-11T05:23:22.436Z] $ 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-346 -v /w/workspace/xfoundry_device-modbus-go_PR-346:/w/workspace/xfoundry_device-modbus-go_PR-346:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-346@tmp:/w/workspace/xfoundry_device-modbus-go_PR-346@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-11T05:23:24.094Z] $ docker top 06793736486d11bf6d92c258856f692f98c03b446b7bd304b33e12d1373fedbd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:23:24.653Z] ---> job-cost.sh [2022-05-11T05:23:24.653Z] lf-activate-venv: SKIPPING [2022-05-11T05:23:24.653Z] INFO: No Stack... [2022-05-11T05:23:24.914Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-11T05:23:25.489Z] INFO: Archiving Costs [Pipeline] sh [2022-05-11T05:23:25.810Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-346/archives/cost.csv [2022-05-11T05:23:25.810Z] + cut -d, -f6 [Pipeline] lock [2022-05-11T05:23:25.851Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-346-1-stack-cost] [2022-05-11T05:23:25.856Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-346-1-stack-cost] did not exist. Created. [2022-05-11T05:23:25.856Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-346-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-11T05:23:26.330Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-11T05:23:26.421Z] Stashed 1 file(s) [Pipeline] } [2022-05-11T05:23:26.450Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-346-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-11T05:23:26.531Z] $ docker stop --time=1 06793736486d11bf6d92c258856f692f98c03b446b7bd304b33e12d1373fedbd [2022-05-11T05:23:27.709Z] $ docker rm -f 06793736486d11bf6d92c258856f692f98c03b446b7bd304b33e12d1373fedbd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-11T05:24:47.489Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-63047 in /w/workspace/xfoundry_device-modbus-go_PR-346 [Pipeline] { [Pipeline] ws [2022-05-11T05:24:47.535Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2022-05-11T05:24:48.015Z] Selected Git installation does not exist. Using Default [2022-05-11T05:24:48.015Z] The recommended git tool is: NONE [2022-05-11T05:24:55.465Z] using credential edgex-jenkins-ssh [2022-05-11T05:24:55.483Z] Cloning the remote Git repository [2022-05-11T05:24:55.544Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-05-11T05:24:55.631Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2022-05-11T05:24:55.725Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-05-11T05:24:55.726Z] > git --version # timeout=10 [2022-05-11T05:24:55.744Z] > git --version # 'git version 2.25.1' [2022-05-11T05:24:55.746Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-11T05:24:55.878Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-11T05:24:57.844Z] Merging remotes/origin/main commit 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 into PR head commit 1705a6d7d55ea2e414d2e8a0eb8a8eb1c75fa499 [2022-05-11T05:24:58.140Z] Merge succeeded, producing 1705a6d7d55ea2e414d2e8a0eb8a8eb1c75fa499 [2022-05-11T05:24:58.141Z] Checking out Revision 1705a6d7d55ea2e414d2e8a0eb8a8eb1c75fa499 (PR-346) [2022-05-11T05:24:57.083Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-05-11T05:24:57.112Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-11T05:24:57.150Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-05-11T05:24:57.196Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-05-11T05:24:57.197Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-11T05:24:57.217Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/346/head:refs/remotes/origin/PR-346 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-11T05:24:57.877Z] > git config core.sparsecheckout # timeout=10 [2022-05-11T05:24:57.913Z] > git checkout -f 1705a6d7d55ea2e414d2e8a0eb8a8eb1c75fa499 # timeout=10 [2022-05-11T05:24:58.013Z] > git remote # timeout=10 [2022-05-11T05:24:58.036Z] > git config --get remote.origin.url # timeout=10 [2022-05-11T05:24:58.060Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-11T05:24:58.075Z] > git merge 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 # timeout=10 [2022-05-11T05:24:58.103Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-11T05:24:58.151Z] > git config core.sparsecheckout # timeout=10 [2022-05-11T05:24:58.168Z] > git checkout -f 1705a6d7d55ea2e414d2e8a0eb8a8eb1c75fa499 # timeout=10 [2022-05-11T05:25:02.462Z] Commit message: "build: Update to released Go Mods" [2022-05-11T05:25:02.531Z] > git --version # timeout=10 [2022-05-11T05:25:02.542Z] > git --version # 'git version 2.25.1' [2022-05-11T05:25:02.557Z] fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-11T05:25:03.772Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-11T05:25:03.772Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-11T05:25:03.772Z] Dload Upload Total Spent Left Speed [2022-05-11T05:25:03.772Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 177k 0 --:--:-- --:--:-- --:--:-- 177k [Pipeline] sh [2022-05-11T05:25:04.338Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-11T05:25:04.701Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-11T05:25:04.701Z] + sudo tee /etc/docker/daemon.new [2022-05-11T05:25:04.701Z] { [2022-05-11T05:25:04.701Z] "registry-mirrors": [ [2022-05-11T05:25:04.701Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-11T05:25:04.701Z] ], [2022-05-11T05:25:04.701Z] "bip": "10.250.0.254/24", [2022-05-11T05:25:04.701Z] "hosts": [ [2022-05-11T05:25:04.701Z] "tcp://0.0.0.0:5555", [2022-05-11T05:25:04.701Z] "unix:///var/run/docker.sock" [2022-05-11T05:25:04.701Z] ], [2022-05-11T05:25:04.701Z] "mtu": 1458, [2022-05-11T05:25:04.701Z] "selinux-enabled": true, [2022-05-11T05:25:04.701Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-11T05:25:04.701Z] } [Pipeline] sh [2022-05-11T05:25:05.065Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-11T05:25:05.433Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T05:25:23.919Z] provisioning config files... [2022-05-11T05:25:23.950Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config4844457156013204864tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:25:24.567Z] ---> docker-login.sh [2022-05-11T05:25:24.567Z] nexus3.edgexfoundry.org:10001 [2022-05-11T05:25:25.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:25:25.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:25:25.466Z] Configure a credential helper to remove this warning. See [2022-05-11T05:25:25.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:25:25.466Z] [2022-05-11T05:25:25.466Z] Login Succeeded [2022-05-11T05:25:25.466Z] nexus3.edgexfoundry.org:10002 [2022-05-11T05:25:26.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:25:26.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:25:26.067Z] Configure a credential helper to remove this warning. See [2022-05-11T05:25:26.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:25:26.067Z] [2022-05-11T05:25:26.067Z] Login Succeeded [2022-05-11T05:25:26.067Z] nexus3.edgexfoundry.org:10003 [2022-05-11T05:25:26.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:25:26.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:25:26.673Z] Configure a credential helper to remove this warning. See [2022-05-11T05:25:26.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:25:26.673Z] [2022-05-11T05:25:26.673Z] Login Succeeded [2022-05-11T05:25:26.673Z] nexus3.edgexfoundry.org:10004 [2022-05-11T05:25:26.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:25:27.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:25:27.231Z] Configure a credential helper to remove this warning. See [2022-05-11T05:25:27.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:25:27.231Z] [2022-05-11T05:25:27.231Z] Login Succeeded [2022-05-11T05:25:27.231Z] docker.io [2022-05-11T05:25:27.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:25:28.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:25:28.108Z] Configure a credential helper to remove this warning. See [2022-05-11T05:25:28.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:25:28.108Z] [2022-05-11T05:25:28.108Z] Login Succeeded [2022-05-11T05:25:28.108Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T05:25:28.138Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-11T05:25:28.547Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-11T05:25:28.584Z] ========================================================= [2022-05-11T05:25:28.584Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-11T05:25:28.584Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:25:29.030Z] + 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-11T05:25:29.307Z] Sending build context to Docker daemon 3.097MB [2022-05-11T05:25:29.307Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T05:25:29.307Z] Step 2/10 : FROM ${BASE} AS builder [2022-05-11T05:25:29.599Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-11T05:25:29.599Z] 9b3977197b4f: Pulling fs layer [2022-05-11T05:25:29.599Z] 1a89e8eeedd5: Pulling fs layer [2022-05-11T05:25:29.599Z] 94645a83ff95: Pulling fs layer [2022-05-11T05:25:29.599Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-11T05:25:29.599Z] 0c92f367c5e7: Pulling fs layer [2022-05-11T05:25:29.599Z] 3096ccb668a1: Pulling fs layer [2022-05-11T05:25:29.599Z] e8cf19c19ddd: Pulling fs layer [2022-05-11T05:25:29.599Z] a4caa8a26152: Pulling fs layer [2022-05-11T05:25:29.599Z] 3f3a8bcf1eab: Waiting [2022-05-11T05:25:29.599Z] 0c92f367c5e7: Waiting [2022-05-11T05:25:29.599Z] 3096ccb668a1: Waiting [2022-05-11T05:25:29.599Z] e8cf19c19ddd: Waiting [2022-05-11T05:25:29.599Z] a4caa8a26152: Waiting [2022-05-11T05:25:29.599Z] 94645a83ff95: Verifying Checksum [2022-05-11T05:25:29.599Z] 94645a83ff95: Download complete [2022-05-11T05:25:29.599Z] 1a89e8eeedd5: Verifying Checksum [2022-05-11T05:25:29.599Z] 1a89e8eeedd5: Download complete [2022-05-11T05:25:29.599Z] 0c92f367c5e7: Download complete [2022-05-11T05:25:29.599Z] 3096ccb668a1: Verifying Checksum [2022-05-11T05:25:29.599Z] 3096ccb668a1: Download complete [2022-05-11T05:25:29.881Z] 9b3977197b4f: Download complete [2022-05-11T05:25:29.881Z] e8cf19c19ddd: Verifying Checksum [2022-05-11T05:25:29.881Z] e8cf19c19ddd: Download complete [2022-05-11T05:25:30.491Z] 9b3977197b4f: Pull complete [2022-05-11T05:25:31.099Z] 1a89e8eeedd5: Pull complete [2022-05-11T05:25:31.704Z] 94645a83ff95: Pull complete [2022-05-11T05:25:31.979Z] a4caa8a26152: Verifying Checksum [2022-05-11T05:25:31.979Z] a4caa8a26152: Download complete [2022-05-11T05:25:32.588Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-11T05:25:32.588Z] 3f3a8bcf1eab: Download complete [2022-05-11T05:25:45.018Z] 3f3a8bcf1eab: Pull complete [2022-05-11T05:25:45.018Z] 0c92f367c5e7: Pull complete [2022-05-11T05:25:45.018Z] 3096ccb668a1: Pull complete [2022-05-11T05:25:45.297Z] e8cf19c19ddd: Pull complete [2022-05-11T05:25:52.032Z] a4caa8a26152: Pull complete [2022-05-11T05:25:52.032Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-11T05:25:52.032Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-11T05:25:52.032Z] ---> 725f1c02e7f9 [2022-05-11T05:25:52.032Z] Step 3/10 : ARG MAKE='make build' [2022-05-11T05:25:53.024Z] ---> Running in 8b86ce283c3a [2022-05-11T05:25:53.307Z] Removing intermediate container 8b86ce283c3a [2022-05-11T05:25:53.307Z] ---> abd22bfa4ed9 [2022-05-11T05:25:53.307Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T05:25:53.307Z] ---> Running in 330a9823721e [2022-05-11T05:25:55.301Z] Removing intermediate container 330a9823721e [2022-05-11T05:25:55.301Z] ---> f55d0ff99bb5 [2022-05-11T05:25:55.301Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-11T05:25:55.301Z] ---> Running in 7c0f93765289 [2022-05-11T05:25:57.942Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-11T05:25:58.549Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-11T05:25:59.534Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-05-11T05:25:59.534Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-05-11T05:25:59.810Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-05-11T05:25:59.810Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-05-11T05:26:00.088Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-05-11T05:26:00.088Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-05-11T05:26:00.088Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-05-11T05:26:00.368Z] (8/8) Installing openssh (8.8_p1-r1) [2022-05-11T05:26:00.368Z] Executing busybox-1.34.1-r3.trigger [2022-05-11T05:26:00.368Z] OK: 226 MiB in 60 packages [2022-05-11T05:26:01.357Z] Removing intermediate container 7c0f93765289 [2022-05-11T05:26:01.357Z] ---> 082cde23c9c5 [2022-05-11T05:26:01.357Z] Step 6/10 : WORKDIR /device-modbus-go [2022-05-11T05:26:01.656Z] ---> Running in 4a5f3a8cd0da [2022-05-11T05:26:01.940Z] Removing intermediate container 4a5f3a8cd0da [2022-05-11T05:26:01.940Z] ---> 46dc7f5bc036 [2022-05-11T05:26:01.940Z] Step 7/10 : COPY go.mod vendor* ./ [2022-05-11T05:26:02.542Z] ---> 56fd206f98d9 [2022-05-11T05:26:02.542Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T05:26:02.542Z] ---> Running in c6d52887e615 [2022-05-11T05:26:49.601Z] Removing intermediate container c6d52887e615 [2022-05-11T05:26:49.601Z] ---> b57f11c1e45d [2022-05-11T05:26:49.601Z] Step 9/10 : COPY . . [2022-05-11T05:26:49.601Z] ---> 4fdcd0b83a63 [2022-05-11T05:26:49.601Z] Step 10/10 : RUN ${MAKE} [2022-05-11T05:26:49.601Z] ---> Running in cf78931a0560 [2022-05-11T05:26:50.200Z] noop [2022-05-11T05:26:50.799Z] Removing intermediate container cf78931a0560 [2022-05-11T05:26:50.799Z] ---> 8e8830cd9da9 [2022-05-11T05:26:50.799Z] Successfully built 8e8830cd9da9 [2022-05-11T05:26:50.799Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:26:51.184Z] + docker inspect -f . ci-base-image-arm64 [2022-05-11T05:26:51.184Z] . [Pipeline] withDockerContainer [2022-05-11T05:26:51.464Z] prd-ubuntu20.04-docker-arm64-4c-16g-63047 does not seem to be running inside a container [2022-05-11T05:26:51.557Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-11T05:26:52.883Z] $ docker top 7b84f537b535f616b81726198d037e819e1a8dbb592c5a60b0c1aee2696dcc10 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-11T05:26:53.889Z] + go version [2022-05-11T05:26:53.889Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-11T05:26:53.935Z] $ docker stop --time=1 7b84f537b535f616b81726198d037e819e1a8dbb592c5a60b0c1aee2696dcc10 [2022-05-11T05:26:55.651Z] $ docker rm -f 7b84f537b535f616b81726198d037e819e1a8dbb592c5a60b0c1aee2696dcc10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:26:56.560Z] + docker inspect -f . ci-base-image-arm64 [2022-05-11T05:26:56.560Z] . [Pipeline] withDockerContainer [2022-05-11T05:26:56.836Z] prd-ubuntu20.04-docker-arm64-4c-16g-63047 does not seem to be running inside a container [2022-05-11T05:26:56.930Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-11T05:26:58.225Z] $ docker top 1a467b4c7ee3abedd9c550bff1aed0dcb903b4887d05a2f9e1a577676f42397c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-11T05:26:59.292Z] + make test [2022-05-11T05:26:59.293Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-11T05:27:01.286Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-05-11T05:28:38.199Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-05-11T05:28:38.199Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.081s coverage: 46.4% of statements [2022-05-11T05:28:38.199Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-11T05:28:38.199Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-11T05:28:56.550Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-11T05:28:56.550Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-11T05:28:56.550Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-11T05:28:58.025Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-11T05:28:58.058Z] $ docker stop --time=1 1a467b4c7ee3abedd9c550bff1aed0dcb903b4887d05a2f9e1a577676f42397c [2022-05-11T05:28:59.859Z] $ docker rm -f 1a467b4c7ee3abedd9c550bff1aed0dcb903b4887d05a2f9e1a577676f42397c [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-11T05:29:00.895Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-11T05:29:00.933Z] Warning: overwriting stash ‘coverage-report’ [2022-05-11T05:29:01.482Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-11T05:29:02.103Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-11T05:29:02.460Z] + ls -al . [2022-05-11T05:29:02.460Z] total 180 [2022-05-11T05:29:02.460Z] drwxrwxr-x 9 jenkins jenkins 4096 May 11 05:28 . [2022-05-11T05:29:02.460Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 05:24 .. [2022-05-11T05:29:02.460Z] -rw-rw-r-- 1 jenkins jenkins 140 May 11 05:24 .dockerignore [2022-05-11T05:29:02.460Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 05:25 .git [2022-05-11T05:29:02.460Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:24 .github [2022-05-11T05:29:02.460Z] -rw-rw-r-- 1 jenkins jenkins 331 May 11 05:24 .gitignore [2022-05-11T05:29:02.460Z] -rw-rw-r-- 1 jenkins jenkins 41 May 11 05:24 .golangci.yml [2022-05-11T05:29:02.460Z] -rw-rw-r-- 1 jenkins jenkins 9377 May 11 05:24 Attribution.txt [2022-05-11T05:29:02.460Z] -rw-rw-r-- 1 jenkins jenkins 10001 May 11 05:24 CHANGELOG.md [2022-05-11T05:29:02.460Z] -rw-rw-r-- 1 jenkins jenkins 1546 May 11 05:24 Dockerfile [2022-05-11T05:29:02.460Z] -rw-rw-r-- 1 jenkins jenkins 677 May 11 05:24 GOVERNANCE.md [2022-05-11T05:29:02.460Z] -rw-rw-r-- 1 jenkins jenkins 680 May 11 05:24 Jenkinsfile [2022-05-11T05:29:02.460Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 11 05:24 LICENSE [2022-05-11T05:29:02.460Z] -rw-rw-r-- 1 jenkins jenkins 1905 May 11 05:24 Makefile [2022-05-11T05:29:02.460Z] -rw-rw-r-- 1 jenkins jenkins 622 May 11 05:24 OWNERS.md [2022-05-11T05:29:02.460Z] -rw-rw-r-- 1 jenkins jenkins 3397 May 11 05:24 README.md [2022-05-11T05:29:02.460Z] -rw-rw-r-- 1 jenkins jenkins 5 May 11 05:21 VERSION [2022-05-11T05:29:02.460Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:24 bin [2022-05-11T05:29:02.460Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:24 cmd [2022-05-11T05:29:02.460Z] -rw-r--r-- 1 jenkins jenkins 24065 May 11 05:28 coverage.out [2022-05-11T05:29:02.460Z] -rw-rw-r-- 1 jenkins jenkins 3353 May 11 05:24 go.mod [2022-05-11T05:29:02.460Z] -rw-rw-r-- 1 jenkins jenkins 34983 May 11 05:24 go.sum [2022-05-11T05:29:02.460Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:24 internal [2022-05-11T05:29:02.460Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:24 simulator [2022-05-11T05:29:02.460Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 05:24 snap [2022-05-11T05:29:02.460Z] -rw-rw-r-- 1 jenkins jenkins 229 May 11 05:24 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:29:02.828Z] + 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=1705a6d7d55ea2e414d2e8a0eb8a8eb1c75fa499 --label arch=arm64 --label version=0.0.0 . [2022-05-11T05:29:03.108Z] Sending build context to Docker daemon 3.122MB [2022-05-11T05:29:03.108Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T05:29:03.108Z] Step 2/23 : FROM ${BASE} AS builder [2022-05-11T05:29:03.108Z] ---> 8e8830cd9da9 [2022-05-11T05:29:03.108Z] Step 3/23 : ARG MAKE='make build' [2022-05-11T05:29:03.392Z] ---> Running in 3c392f26c227 [2022-05-11T05:29:03.668Z] Removing intermediate container 3c392f26c227 [2022-05-11T05:29:03.668Z] ---> 50344388204a [2022-05-11T05:29:03.668Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T05:29:03.668Z] ---> Running in 54c6ee207b02 [2022-05-11T05:29:05.666Z] Removing intermediate container 54c6ee207b02 [2022-05-11T05:29:05.666Z] ---> f2cccdaed544 [2022-05-11T05:29:05.666Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-11T05:29:05.666Z] ---> Running in a098bce8c510 [2022-05-11T05:29:06.660Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-11T05:29:07.646Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-11T05:29:08.245Z] OK: 226 MiB in 60 packages [2022-05-11T05:29:09.234Z] Removing intermediate container a098bce8c510 [2022-05-11T05:29:09.234Z] ---> a845277bbb85 [2022-05-11T05:29:09.234Z] Step 6/23 : WORKDIR /device-modbus-go [2022-05-11T05:29:09.234Z] ---> Running in 8cb48bde2ebd [2022-05-11T05:29:09.508Z] Removing intermediate container 8cb48bde2ebd [2022-05-11T05:29:09.508Z] ---> 3e6a9c9641e1 [2022-05-11T05:29:09.508Z] Step 7/23 : COPY go.mod vendor* ./ [2022-05-11T05:29:10.109Z] ---> 969196eb3710 [2022-05-11T05:29:10.109Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T05:29:10.109Z] ---> Running in e99c14466c3f [2022-05-11T05:29:12.097Z] Removing intermediate container e99c14466c3f [2022-05-11T05:29:12.097Z] ---> 7088adbb0165 [2022-05-11T05:29:12.097Z] Step 9/23 : COPY . . [2022-05-11T05:29:13.081Z] ---> 880e170fe017 [2022-05-11T05:29:13.081Z] Step 10/23 : RUN ${MAKE} [2022-05-11T05:29:13.081Z] ---> Running in 6dbe9af8af49 [2022-05-11T05:29:14.065Z] 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-11T05:31:20.953Z] Removing intermediate container 6dbe9af8af49 [2022-05-11T05:31:20.953Z] ---> a59f58cae36e [2022-05-11T05:31:20.953Z] Step 11/23 : FROM alpine:3.14 [2022-05-11T05:31:20.953Z] 3.14: Pulling from library/alpine [2022-05-11T05:31:20.953Z] 455c02918c45: Pulling fs layer [2022-05-11T05:31:20.953Z] 455c02918c45: Verifying Checksum [2022-05-11T05:31:20.953Z] 455c02918c45: Download complete [2022-05-11T05:31:20.953Z] 455c02918c45: Pull complete [2022-05-11T05:31:20.953Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-11T05:31:20.953Z] Status: Downloaded newer image for alpine:3.14 [2022-05-11T05:31:20.953Z] ---> ac73e934f311 [2022-05-11T05:31:20.953Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-05-11T05:31:20.953Z] ---> Running in 094b7fcbd692 [2022-05-11T05:31:20.953Z] Removing intermediate container 094b7fcbd692 [2022-05-11T05:31:20.953Z] ---> a72e6bd1c365 [2022-05-11T05:31:20.953Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T05:31:20.953Z] ---> Running in 38297949dfda [2022-05-11T05:31:20.953Z] Removing intermediate container 38297949dfda [2022-05-11T05:31:20.953Z] ---> ef5d97c5c568 [2022-05-11T05:31:20.953Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-11T05:31:20.953Z] ---> Running in d311fdb0753e [2022-05-11T05:31:20.953Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-11T05:31:20.953Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-11T05:31:21.549Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-11T05:31:21.825Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-11T05:31:21.825Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-11T05:31:21.825Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-11T05:31:22.102Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-11T05:31:22.102Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-11T05:31:22.102Z] Executing busybox-1.33.1-r7.trigger [2022-05-11T05:31:22.102Z] OK: 8 MiB in 20 packages [2022-05-11T05:31:23.094Z] Removing intermediate container d311fdb0753e [2022-05-11T05:31:23.094Z] ---> d40fee31f45a [2022-05-11T05:31:23.094Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-05-11T05:31:24.532Z] ---> 74246c8442c5 [2022-05-11T05:31:24.532Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-05-11T05:31:25.129Z] ---> 6f2131a68ab7 [2022-05-11T05:31:25.129Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-05-11T05:31:25.728Z] ---> 19f295841a39 [2022-05-11T05:31:25.728Z] Step 18/23 : EXPOSE 59901 [2022-05-11T05:31:25.728Z] ---> Running in 2e3ae6d13355 [2022-05-11T05:31:26.004Z] Removing intermediate container 2e3ae6d13355 [2022-05-11T05:31:26.004Z] ---> cc98239e36eb [2022-05-11T05:31:26.004Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-05-11T05:31:26.004Z] ---> Running in 919fa654fe91 [2022-05-11T05:31:26.279Z] Removing intermediate container 919fa654fe91 [2022-05-11T05:31:26.279Z] ---> 68e5e7c710c9 [2022-05-11T05:31:26.279Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-11T05:31:26.556Z] ---> Running in 86349b5787f8 [2022-05-11T05:31:26.830Z] Removing intermediate container 86349b5787f8 [2022-05-11T05:31:26.830Z] ---> 7b25b4ad55f8 [2022-05-11T05:31:26.830Z] Step 21/23 : LABEL arch=arm64 [2022-05-11T05:31:26.830Z] ---> Running in f91d650cd8ca [2022-05-11T05:31:27.107Z] Removing intermediate container f91d650cd8ca [2022-05-11T05:31:27.107Z] ---> 546f6f887f5a [2022-05-11T05:31:27.107Z] Step 22/23 : LABEL git_sha=1705a6d7d55ea2e414d2e8a0eb8a8eb1c75fa499 [2022-05-11T05:31:27.107Z] ---> Running in d09212eda8b5 [2022-05-11T05:31:27.714Z] Removing intermediate container d09212eda8b5 [2022-05-11T05:31:27.714Z] ---> 26feab442998 [2022-05-11T05:31:27.714Z] Step 23/23 : LABEL version=0.0.0 [2022-05-11T05:31:27.714Z] ---> Running in a5a1878a597f [2022-05-11T05:31:27.989Z] Removing intermediate container a5a1878a597f [2022-05-11T05:31:27.989Z] ---> e137a189ed01 [2022-05-11T05:31:27.989Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-11T05:31:27.989Z] Successfully built e137a189ed01 [2022-05-11T05:31:27.989Z] 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-11T05:31:28.692Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-11T05:31:28.692Z] [2022-05-11T05:31:28.692Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:31:29.086Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-11T05:31:29.365Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-11T05:31:29.365Z] 8998bd30e6a1: Pulling fs layer [2022-05-11T05:31:29.365Z] 04944245beec: Pulling fs layer [2022-05-11T05:31:29.365Z] 699f458cf7ca: Pulling fs layer [2022-05-11T05:31:29.365Z] 765212b225bb: Pulling fs layer [2022-05-11T05:31:29.365Z] f23df028b6ca: Pulling fs layer [2022-05-11T05:31:29.365Z] d65c8cfc05b1: Pulling fs layer [2022-05-11T05:31:29.365Z] 765212b225bb: Waiting [2022-05-11T05:31:29.365Z] f23df028b6ca: Waiting [2022-05-11T05:31:29.365Z] 2437ff75d9bd: Pulling fs layer [2022-05-11T05:31:29.365Z] 2437ff75d9bd: Waiting [2022-05-11T05:31:29.365Z] 04944245beec: Verifying Checksum [2022-05-11T05:31:29.365Z] 04944245beec: Download complete [2022-05-11T05:31:29.365Z] 765212b225bb: Download complete [2022-05-11T05:31:29.365Z] f23df028b6ca: Verifying Checksum [2022-05-11T05:31:29.365Z] f23df028b6ca: Download complete [2022-05-11T05:31:29.365Z] d65c8cfc05b1: Download complete [2022-05-11T05:31:29.646Z] 699f458cf7ca: Verifying Checksum [2022-05-11T05:31:29.646Z] 699f458cf7ca: Download complete [2022-05-11T05:31:29.923Z] 8998bd30e6a1: Verifying Checksum [2022-05-11T05:31:29.923Z] 8998bd30e6a1: Download complete [2022-05-11T05:31:31.914Z] 2437ff75d9bd: Verifying Checksum [2022-05-11T05:31:31.914Z] 2437ff75d9bd: Download complete [2022-05-11T05:31:34.547Z] 8998bd30e6a1: Pull complete [2022-05-11T05:31:34.822Z] 04944245beec: Pull complete [2022-05-11T05:31:36.265Z] 699f458cf7ca: Pull complete [2022-05-11T05:31:36.541Z] 765212b225bb: Pull complete [2022-05-11T05:31:37.140Z] f23df028b6ca: Pull complete [2022-05-11T05:31:37.414Z] d65c8cfc05b1: Pull complete [2022-05-11T05:31:52.535Z] 2437ff75d9bd: Pull complete [2022-05-11T05:31:52.535Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-11T05:31:52.535Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-11T05:31:52.535Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-11T05:31:52.784Z] prd-ubuntu20.04-docker-arm64-4c-16g-63047 does not seem to be running inside a container [2022-05-11T05:31:52.882Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-11T05:31:55.460Z] $ docker top e878d6788f01ee51ca019e8fdb7549f458b0213eb7972b74ecd638b5aea99bac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:31:56.457Z] ---> job-cost.sh [2022-05-11T05:31:56.457Z] lf-activate-venv: SKIPPING [2022-05-11T05:31:56.457Z] INFO: No Stack... [2022-05-11T05:31:57.058Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-11T05:31:57.660Z] INFO: Archiving Costs [Pipeline] sh [2022-05-11T05:31:58.357Z] + + cutcat -d, /w/workspace/device-modbus-go/1/archives/cost.csv -f6 [2022-05-11T05:31:58.357Z] [Pipeline] lock [2022-05-11T05:31:58.446Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-346-1-stack-cost] [2022-05-11T05:31:58.451Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-346-1-stack-cost] did not exist. Created. [2022-05-11T05:31:58.451Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-346-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-11T05:31:59.212Z] /w/workspace/device-modbus-go/1@tmp/durable-b54d30e6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-11T05:31:59.918Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-11T05:31:59.957Z] Warning: overwriting stash ‘stack-cost’ [2022-05-11T05:32:00.008Z] Stashed 1 file(s) [Pipeline] } [2022-05-11T05:32:00.023Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-346-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-11T05:32:00.105Z] $ docker stop --time=1 e878d6788f01ee51ca019e8fdb7549f458b0213eb7972b74ecd638b5aea99bac [2022-05-11T05:32:01.644Z] $ docker rm -f e878d6788f01ee51ca019e8fdb7549f458b0213eb7972b74ecd638b5aea99bac [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-11T05:32:02.669Z] provisioning config files... [2022-05-11T05:32:02.678Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-346@tmp/config5168183697824778035tmp [Pipeline] { [Pipeline] sh [2022-05-11T05:32:03.018Z] + set +x [2022-05-11T05:32:03.018Z] + curl -s https://codecov.io/bash [2022-05-11T05:32:03.018Z] + bash -s -- [2022-05-11T05:32:03.018Z] [2022-05-11T05:32:03.018Z] _____ _ [2022-05-11T05:32:03.018Z] / ____| | | [2022-05-11T05:32:03.018Z] | | ___ __| | ___ ___ _____ __ [2022-05-11T05:32:03.018Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-11T05:32:03.018Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-11T05:32:03.018Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-11T05:32:03.018Z] Bash-1.0.6 [2022-05-11T05:32:03.018Z] [2022-05-11T05:32:03.018Z] [2022-05-11T05:32:03.018Z] ==> git version 2.25.1 found [2022-05-11T05:32:03.018Z] ==> 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-11T05:32:03.018Z] Release-Date: 2020-01-08 [2022-05-11T05:32:03.018Z] 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-11T05:32:03.018Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-11T05:32:03.018Z] ==> Jenkins CI detected. [2022-05-11T05:32:03.018Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-346 [2022-05-11T05:32:03.018Z] project root: . [2022-05-11T05:32:03.018Z] --> token set from env [2022-05-11T05:32:03.018Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-11T05:32:03.018Z] ==> Running gcov in . (disable via -X gcov) [2022-05-11T05:32:03.018Z] ==> Python coveragepy not found [2022-05-11T05:32:03.018Z] ==> Searching for coverage reports in: [2022-05-11T05:32:03.018Z] + . [2022-05-11T05:32:03.018Z] -> Found 1 reports [2022-05-11T05:32:03.018Z] ==> Detecting git/mercurial file structure [2022-05-11T05:32:03.018Z] ==> Reading reports [2022-05-11T05:32:03.018Z] + ./coverage.out bytes=24065 [2022-05-11T05:32:03.018Z] ==> Appending adjustments [2022-05-11T05:32:03.018Z] https://docs.codecov.io/docs/fixing-reports [2022-05-11T05:32:03.280Z] + Found adjustments [2022-05-11T05:32:03.280Z] ==> Gzipping contents [2022-05-11T05:32:03.280Z] 4.0K /tmp/codecov.Rse2ba.gz [2022-05-11T05:32:03.280Z] ==> Uploading reports [2022-05-11T05:32:03.280Z] url: https://codecov.io [2022-05-11T05:32:03.280Z] query: branch=PR-346&commit=1705a6d7d55ea2e414d2e8a0eb8a8eb1c75fa499&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-346%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=346&job=&cmd_args= [2022-05-11T05:32:03.280Z] -> Pinging Codecov [2022-05-11T05:32:03.280Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-346&commit=1705a6d7d55ea2e414d2e8a0eb8a8eb1c75fa499&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-346%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=346&job=&cmd_args= [2022-05-11T05:32:03.541Z] -> Uploading to [2022-05-11T05:32:03.541Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-11/55DBCA73C666E3227836607328DD7E49/1705a6d7d55ea2e414d2e8a0eb8a8eb1c75fa499/8fd26165-ffe7-4efd-a274-7f823be60437.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220511T053203Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f6289f33af99b3048aff3914da701d8503fe7d4864f2e21a98df7ac80c5f34c2 [2022-05-11T05:32:03.541Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-11T05:32:03.541Z] Dload Upload Total Spent Left Speed [2022-05-11T05:32:03.803Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4011 0 0 100 4011 0 19758 --:--:-- --:--:-- --:--:-- 19661 100 4011 0 0 100 4011 0 18742 --:--:-- --:--:-- --:--:-- 18742 [2022-05-11T05:32:03.803Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/1705a6d7d55ea2e414d2e8a0eb8a8eb1c75fa499 [Pipeline] } [2022-05-11T05:32:03.828Z] 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-11T05:32:05.523Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-346/archives ] [2022-05-11T05:32:05.523Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-346/archives [2022-05-11T05:32:05.523Z] total 16 [2022-05-11T05:32:05.523Z] drwxr-xr-x 3 root root 4096 May 11 05:23 . [2022-05-11T05:32:05.523Z] drwxrwxr-x 11 jenkins jenkins 4096 May 11 05:23 .. [2022-05-11T05:32:05.523Z] drwxr-xr-x 2 root root 4096 May 11 05:23 cost [2022-05-11T05:32:05.523Z] -rw-r--r-- 1 root root 87 May 11 05:23 cost.csv [2022-05-11T05:32:05.523Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-346/archives [2022-05-11T05:32:05.523Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-346/archives [2022-05-11T05:32:05.523Z] total 16 [2022-05-11T05:32:05.523Z] drwxr-xr-x 3 jenkins jenkins 4096 May 11 05:23 . [2022-05-11T05:32:05.523Z] drwxrwxr-x 11 jenkins jenkins 4096 May 11 05:23 .. [2022-05-11T05:32:05.523Z] drwxr-xr-x 2 jenkins jenkins 4096 May 11 05:23 cost [2022-05-11T05:32:05.523Z] -rw-r--r-- 1 jenkins jenkins 87 May 11 05:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:32:05.853Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:32:06.749Z] ---> package-listing.sh [2022-05-11T05:32:06.749Z] ++ facter osfamily [2022-05-11T05:32:06.749Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-11T05:32:07.008Z] + OS_FAMILY=debian [2022-05-11T05:32:07.008Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-346 [2022-05-11T05:32:07.008Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-11T05:32:07.008Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-11T05:32:07.008Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-11T05:32:07.008Z] + PACKAGES=/tmp/packages_start.txt [2022-05-11T05:32:07.008Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-346 ']' [2022-05-11T05:32:07.008Z] + PACKAGES=/tmp/packages_end.txt [2022-05-11T05:32:07.008Z] + case "${OS_FAMILY}" in [2022-05-11T05:32:07.008Z] + dpkg -l [2022-05-11T05:32:07.008Z] + grep '^ii' [2022-05-11T05:32:07.008Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-11T05:32:07.008Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-11T05:32:07.008Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-11T05:32:07.008Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-346 ']' [2022-05-11T05:32:07.008Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-346/archives/ [2022-05-11T05:32:07.008Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-346/archives/ [Pipeline] echo [2022-05-11T05:32:07.043Z] 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-346/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-11T05:32:07.338Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:32:07.921Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T05:32:07.921Z] . [Pipeline] withDockerContainer [2022-05-11T05:32:08.006Z] prd-ubuntu20.04-docker-8c-8g-63045 does not seem to be running inside a container [2022-05-11T05:32:08.050Z] $ 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-346/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-346 -v /w/workspace/xfoundry_device-modbus-go_PR-346:/w/workspace/xfoundry_device-modbus-go_PR-346:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-346@tmp:/w/workspace/xfoundry_device-modbus-go_PR-346@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-11T05:32:08.297Z] $ docker top fbeb75c74aa065eebcf1d624c134d1fa4a8ee6db3c053474286d5a4dfa8b6733 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-11T05:32:08.692Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-11T05:32:09.008Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-11T05:32:09.336Z] + ls /var/log/sa-host [2022-05-11T05:32:09.336Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T05:32:09.483Z] provisioning config files... [2022-05-11T05:32:09.493Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-346@tmp/config1324800311799537926tmp [Pipeline] { [Pipeline] echo [2022-05-11T05:32:09.538Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:32:09.850Z] ---> create-netrc.sh [Pipeline] } [2022-05-11T05:32:09.876Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:32:10.289Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-11T05:32:10.321Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:32:10.637Z] ---> sudo-logs.sh [2022-05-11T05:32:10.637Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-11T05:32:10.725Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:32:11.040Z] ---> job-cost.sh [2022-05-11T05:32:11.040Z] lf-activate-venv: SKIPPING [2022-05-11T05:32:11.040Z] DEBUG: total: 0.2199999988079071 [2022-05-11T05:32:11.040Z] INFO: Retrieving Stack Cost... [2022-05-11T05:32:11.300Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-11T05:32:11.874Z] INFO: Archiving Costs [Pipeline] echo [2022-05-11T05:32:11.914Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:32:12.227Z] ---> logs-deploy.sh [2022-05-11T05:32:12.227Z] lf-activate-venv: SKIPPING [2022-05-11T05:32:12.227Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-346/1 [2022-05-11T05:32:12.227Z] INFO: archiving workspace using pattern(s): [2022-05-11T05:32:13.170Z] Archives upload complete. [2022-05-11T05:32:13.170Z] INFO: archiving logs to Nexus