Pull request #358 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 605c9fe83f2e5bc9b618a0c79dc2899ea1183345+4c89d6a6c91720700353e870f5243ca140b0cc6d (21ecee9e49111a11ebaeee7f496e659390294e21) 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-ssh10535066861870669675.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh2308326924122133028.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-358/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-358/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18137789559719062674.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-358/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17491603420511006472.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7345774993388736384.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-358/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-358/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13196413645499996249.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 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16060 in /w/workspace/xfoundry_device-modbus-go_PR-358 [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-358 # 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 4c89d6a6c91720700353e870f5243ca140b0cc6d into PR head commit 605c9fe83f2e5bc9b618a0c79dc2899ea1183345 Merge succeeded, producing 605c9fe83f2e5bc9b618a0c79dc2899ea1183345 Checking out Revision 605c9fe83f2e5bc9b618a0c79dc2899ea1183345 (PR-358) > 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/358/head:refs/remotes/origin/PR-358 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 605c9fe83f2e5bc9b618a0c79dc2899ea1183345 # 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 4c89d6a6c91720700353e870f5243ca140b0cc6d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 605c9fe83f2e5bc9b618a0c79dc2899ea1183345 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-27T05:05:16.702Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-27T05:05:16.872Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-27T05:05:16.970Z] ========================================================= [2022-06-27T05:05:16.970Z] EdgeX Global Pipelines Version Info [2022-06-27T05:05:16.970Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:05:17.803Z] ------------------- [2022-06-27T05:05:17.803Z] stable info: [2022-06-27T05:05:17.803Z] ------------------- [2022-06-27T05:05:17.803Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-27T05:05:17.803Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T05:05:17.803Z] Message: update stable to v1.0.234 [2022-06-27T05:05:18.378Z] ------------------- [2022-06-27T05:05:18.378Z] experimental info: [2022-06-27T05:05:18.378Z] ------------------- [2022-06-27T05:05:18.378Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-27T05:05:18.378Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T05:05:18.378Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-27T05:05:18.721Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-06-27T05:05:18.758Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-06-27T05:05:18.809Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-27T05:05:18.850Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-27T05:05:18.883Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-27T05:05:18.918Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-27T05:05:18.954Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-27T05:05:18.992Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-27T05:05:19.027Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-27T05:05:19.063Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-27T05:05:19.097Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-27T05:05:19.132Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-06-27T05:05:19.168Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-27T05:05:19.203Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-27T05:05:19.241Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T05:05:19.279Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T05:05:19.318Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T05:05:19.358Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T05:05:19.399Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-27T05:05:19.436Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-27T05:05:19.471Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-27T05:05:19.512Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-27T05:05:19.549Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-27T05:05:19.589Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-27T05:05:19.630Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-27T05:05:19.669Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-27T05:05:19.707Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-27T05:05:19.744Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-358 [Pipeline] echo [2022-06-27T05:05:19.781Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-358 [Pipeline] echo [2022-06-27T05:05:19.821Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-358 [Pipeline] echo [2022-06-27T05:05:19.863Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 605c9fe83f2e5bc9b618a0c79dc2899ea1183345 [Pipeline] echo [2022-06-27T05:05:19.902Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 605c9fe [Pipeline] echo [2022-06-27T05:05:19.943Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T05:05:20.047Z] provisioning config files... [2022-06-27T05:05:20.064Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-358@tmp/config3178285993684055486tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:05:20.421Z] ---> docker-login.sh [2022-06-27T05:05:20.421Z] nexus3.edgexfoundry.org:10001 [2022-06-27T05:05:20.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:05:20.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:05:20.682Z] Configure a credential helper to remove this warning. See [2022-06-27T05:05:20.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:05:20.682Z] [2022-06-27T05:05:20.682Z] Login Succeeded [2022-06-27T05:05:20.682Z] nexus3.edgexfoundry.org:10002 [2022-06-27T05:05:20.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:05:20.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:05:20.943Z] Configure a credential helper to remove this warning. See [2022-06-27T05:05:20.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:05:20.943Z] [2022-06-27T05:05:20.943Z] Login Succeeded [2022-06-27T05:05:20.943Z] nexus3.edgexfoundry.org:10003 [2022-06-27T05:05:20.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:05:20.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:05:20.943Z] Configure a credential helper to remove this warning. See [2022-06-27T05:05:20.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:05:20.943Z] [2022-06-27T05:05:20.943Z] Login Succeeded [2022-06-27T05:05:20.943Z] nexus3.edgexfoundry.org:10004 [2022-06-27T05:05:21.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:05:21.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:05:21.207Z] Configure a credential helper to remove this warning. See [2022-06-27T05:05:21.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:05:21.207Z] [2022-06-27T05:05:21.207Z] Login Succeeded [2022-06-27T05:05:21.207Z] docker.io [2022-06-27T05:05:21.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:05:21.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:05:21.474Z] Configure a credential helper to remove this warning. See [2022-06-27T05:05:21.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:05:21.474Z] [2022-06-27T05:05:21.474Z] Login Succeeded [2022-06-27T05:05:21.474Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T05:05:21.499Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-27T05:05:22.188Z] + git rev-list -1 --merges 605c9fe83f2e5bc9b618a0c79dc2899ea1183345~1..605c9fe83f2e5bc9b618a0c79dc2899ea1183345 [Pipeline] echo [2022-06-27T05:05:22.241Z] -----------> git rev-list -1 --merges 605c9fe83f2e5bc9b618a0c79dc2899ea1183345~1..605c9fe83f2e5bc9b618a0c79dc2899ea1183345 605c9fe83f2e5bc9b618a0c79dc2899ea1183345 [false] [Pipeline] sh [2022-06-27T05:05:22.554Z] + git log --format=format:%s -1 605c9fe83f2e5bc9b618a0c79dc2899ea1183345 [Pipeline] echo [2022-06-27T05:05:22.588Z] ========================================================= [2022-06-27T05:05:22.588Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-27T05:05:22.588Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T05:05:23.013Z] + git log --format=format:%s -1 605c9fe83f2e5bc9b618a0c79dc2899ea1183345 [Pipeline] echo [2022-06-27T05:05:23.047Z] [semverPrep] GIT_COMMIT: 605c9fe83f2e5bc9b618a0c79dc2899ea1183345, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-06-27T05:05:23.076Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-27T05:05:23.443Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-27T05:05:23.443Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-27T05:05:23.443Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-27T05:05:23.443Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-27T05:05:23.443Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-27T05:05:23.443Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-27T05:05:23.443Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:05:23.876Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T05:05:23.876Z] [2022-06-27T05:05:23.876Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:05:24.255Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T05:05:24.255Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-27T05:05:24.255Z] 42c077c10790: Pulling fs layer [2022-06-27T05:05:24.255Z] f63e77b7563a: Pulling fs layer [2022-06-27T05:05:24.255Z] bd5fdadae976: Pulling fs layer [2022-06-27T05:05:24.255Z] 205491f53016: Pulling fs layer [2022-06-27T05:05:24.255Z] df18705c85c3: Pulling fs layer [2022-06-27T05:05:24.255Z] bdb3f477010e: Pulling fs layer [2022-06-27T05:05:24.255Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-27T05:05:24.255Z] 2c6e9b1d212d: Pulling fs layer [2022-06-27T05:05:24.255Z] bdb8f0575790: Pulling fs layer [2022-06-27T05:05:24.255Z] 386e3cb2ff24: Pulling fs layer [2022-06-27T05:05:24.255Z] 2343380bae48: Pulling fs layer [2022-06-27T05:05:24.255Z] 205491f53016: Waiting [2022-06-27T05:05:24.255Z] c8a8fc8e1c8f: Waiting [2022-06-27T05:05:24.255Z] 386e3cb2ff24: Waiting [2022-06-27T05:05:24.255Z] 2c6e9b1d212d: Waiting [2022-06-27T05:05:24.255Z] 2343380bae48: Waiting [2022-06-27T05:05:24.255Z] bdb8f0575790: Waiting [2022-06-27T05:05:24.255Z] bdb3f477010e: Waiting [2022-06-27T05:05:24.255Z] df18705c85c3: Waiting [2022-06-27T05:05:24.255Z] f63e77b7563a: Verifying Checksum [2022-06-27T05:05:24.255Z] f63e77b7563a: Download complete [2022-06-27T05:05:24.255Z] 205491f53016: Verifying Checksum [2022-06-27T05:05:24.255Z] 205491f53016: Download complete [2022-06-27T05:05:24.515Z] df18705c85c3: Verifying Checksum [2022-06-27T05:05:24.515Z] df18705c85c3: Download complete [2022-06-27T05:05:24.515Z] bdb3f477010e: Verifying Checksum [2022-06-27T05:05:24.515Z] bdb3f477010e: Download complete [2022-06-27T05:05:24.515Z] bd5fdadae976: Verifying Checksum [2022-06-27T05:05:24.515Z] bd5fdadae976: Download complete [2022-06-27T05:05:24.515Z] 2c6e9b1d212d: Verifying Checksum [2022-06-27T05:05:24.515Z] 2c6e9b1d212d: Download complete [2022-06-27T05:05:24.515Z] bdb8f0575790: Download complete [2022-06-27T05:05:24.515Z] 386e3cb2ff24: Verifying Checksum [2022-06-27T05:05:24.515Z] 386e3cb2ff24: Download complete [2022-06-27T05:05:24.515Z] 2343380bae48: Download complete [2022-06-27T05:05:24.515Z] 42c077c10790: Verifying Checksum [2022-06-27T05:05:24.515Z] 42c077c10790: Download complete [2022-06-27T05:05:24.774Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-27T05:05:24.775Z] c8a8fc8e1c8f: Download complete [2022-06-27T05:05:25.713Z] 42c077c10790: Pull complete [2022-06-27T05:05:25.713Z] f63e77b7563a: Pull complete [2022-06-27T05:05:26.281Z] bd5fdadae976: Pull complete [2022-06-27T05:05:26.281Z] 205491f53016: Pull complete [2022-06-27T05:05:26.541Z] df18705c85c3: Pull complete [2022-06-27T05:05:26.541Z] bdb3f477010e: Pull complete [2022-06-27T05:05:28.447Z] c8a8fc8e1c8f: Pull complete [2022-06-27T05:05:28.447Z] 2c6e9b1d212d: Pull complete [2022-06-27T05:05:28.711Z] bdb8f0575790: Pull complete [2022-06-27T05:05:28.711Z] 386e3cb2ff24: Pull complete [2022-06-27T05:05:28.711Z] 2343380bae48: Pull complete [2022-06-27T05:05:28.711Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-27T05:05:28.711Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T05:05:28.711Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T05:05:28.935Z] prd-ubuntu20.04-docker-8c-8g-16060 does not seem to be running inside a container [2022-06-27T05:05:28.977Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-358 -v /w/workspace/xfoundry_device-modbus-go_PR-358:/w/workspace/xfoundry_device-modbus-go_PR-358:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-358@tmp:/w/workspace/xfoundry_device-modbus-go_PR-358@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-27T05:05:30.459Z] $ docker top cf49dcc348f08722096ec51b99fba0befa473bdad84e5fc1ba12daddabeca4d4 -eo pid,comm [2022-06-27T05:05:30.528Z] 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-06-27T05:05:30.528Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-27T05:05:30.662Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T05:05:30.662Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T05:05:30.799Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T05:05:30.806Z] $ docker exec cf49dcc348f08722096ec51b99fba0befa473bdad84e5fc1ba12daddabeca4d4 ssh-agent [2022-06-27T05:05:30.926Z] SSH_AUTH_SOCK=/tmp/ssh-IGEgxkp6kYhe/agent.33 [2022-06-27T05:05:30.926Z] SSH_AGENT_PID=39 [2022-06-27T05:05:30.932Z] Running ssh-add (command line suppressed) [2022-06-27T05:05:31.069Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-358@tmp/private_key_3132175014914934587.key (/w/workspace/xfoundry_device-modbus-go_PR-358@tmp/private_key_3132175014914934587.key) [2022-06-27T05:05:31.080Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T05:05:31.405Z] + git tag --points-at HEAD [Pipeline] } [2022-06-27T05:05:31.435Z] $ docker exec --env ******** --env ******** cf49dcc348f08722096ec51b99fba0befa473bdad84e5fc1ba12daddabeca4d4 ssh-agent -k [2022-06-27T05:05:31.541Z] unset SSH_AUTH_SOCK; [2022-06-27T05:05:31.541Z] unset SSH_AGENT_PID; [2022-06-27T05:05:31.541Z] echo Agent pid 39 killed; [2022-06-27T05:05:31.548Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-27T05:05:31.637Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T05:05:31.637Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T05:05:31.756Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T05:05:31.763Z] $ docker exec cf49dcc348f08722096ec51b99fba0befa473bdad84e5fc1ba12daddabeca4d4 ssh-agent [2022-06-27T05:05:31.894Z] SSH_AUTH_SOCK=/tmp/ssh-LveLwhG5s39S/agent.73 [2022-06-27T05:05:31.894Z] SSH_AGENT_PID=79 [2022-06-27T05:05:31.899Z] Running ssh-add (command line suppressed) [2022-06-27T05:05:32.010Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-358@tmp/private_key_3697148838058360425.key (/w/workspace/xfoundry_device-modbus-go_PR-358@tmp/private_key_3697148838058360425.key) [2022-06-27T05:05:32.021Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T05:05:32.350Z] + git semver init [2022-06-27T05:05:32.616Z] 2022-06-27 05:05:32,528 [run_init] DEBUG init version:0.0.0 force:False [2022-06-27T05:05:32.616Z] 2022-06-27 05:05:32,529 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-358/.semver [2022-06-27T05:05:32.616Z] 2022-06-27 05:05:32,529 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-358/.semver [2022-06-27T05:05:32.616Z] 2022-06-27 05:05:32,529 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-358/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-358, universal_newlines=False, shell=None, istream=None) [2022-06-27T05:05:33.555Z] 2022-06-27 05:05:33,241 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-358/.git/info/exclude [2022-06-27T05:05:33.555Z] 2022-06-27 05:05:33,242 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-358/.semver/PR-358 with force:False [2022-06-27T05:05:33.555Z] 2022-06-27 05:05:33,242 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-358/.semver/PR-358 [2022-06-27T05:05:33.555Z] 2022-06-27 05:05:33,246 [execute] INFO git cat-file --batch-check [2022-06-27T05:05:33.555Z] 2022-06-27 05:05:33,246 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-358/.semver, universal_newlines=False, shell=None, istream=) [2022-06-27T05:05:33.555Z] 2022-06-27 05:05:33,252 [execute] INFO git cat-file --batch [2022-06-27T05:05:33.555Z] 2022-06-27 05:05:33,252 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-358/.semver, universal_newlines=False, shell=None, istream=) [2022-06-27T05:05:33.555Z] 2022-06-27 05:05:33,257 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-358/.semver/PR-358 [2022-06-27T05:05:33.555Z] 0.0.0 [Pipeline] } [2022-06-27T05:05:33.583Z] $ docker exec --env ******** --env ******** cf49dcc348f08722096ec51b99fba0befa473bdad84e5fc1ba12daddabeca4d4 ssh-agent -k [2022-06-27T05:05:33.699Z] unset SSH_AUTH_SOCK; [2022-06-27T05:05:33.700Z] unset SSH_AGENT_PID; [2022-06-27T05:05:33.700Z] echo Agent pid 79 killed; [2022-06-27T05:05:33.710Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-27T05:05:34.149Z] + git semver [Pipeline] } [2022-06-27T05:05:34.442Z] $ docker stop --time=1 cf49dcc348f08722096ec51b99fba0befa473bdad84e5fc1ba12daddabeca4d4 [2022-06-27T05:05:35.787Z] $ docker rm -f cf49dcc348f08722096ec51b99fba0befa473bdad84e5fc1ba12daddabeca4d4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T05:05:36.219Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-27T05:05:36.530Z] Stashed 1 file(s) [Pipeline] echo [2022-06-27T05:05:36.545Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T05:05:37.111Z] provisioning config files... [2022-06-27T05:05:37.122Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-358@tmp/config7831863419216823352tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:05:37.474Z] ---> docker-login.sh [2022-06-27T05:05:37.474Z] nexus3.edgexfoundry.org:10001 [2022-06-27T05:05:37.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:05:37.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:05:37.474Z] Configure a credential helper to remove this warning. See [2022-06-27T05:05:37.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:05:37.474Z] [2022-06-27T05:05:37.474Z] Login Succeeded [2022-06-27T05:05:37.474Z] nexus3.edgexfoundry.org:10002 [2022-06-27T05:05:37.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:05:37.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:05:37.733Z] Configure a credential helper to remove this warning. See [2022-06-27T05:05:37.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:05:37.733Z] [2022-06-27T05:05:37.733Z] Login Succeeded [2022-06-27T05:05:37.733Z] nexus3.edgexfoundry.org:10003 [2022-06-27T05:05:37.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:05:37.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:05:37.733Z] Configure a credential helper to remove this warning. See [2022-06-27T05:05:37.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:05:37.733Z] [2022-06-27T05:05:37.733Z] Login Succeeded [2022-06-27T05:05:37.733Z] nexus3.edgexfoundry.org:10004 [2022-06-27T05:05:37.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:05:37.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:05:37.993Z] Configure a credential helper to remove this warning. See [2022-06-27T05:05:37.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:05:37.993Z] [2022-06-27T05:05:37.993Z] Login Succeeded [2022-06-27T05:05:37.993Z] docker.io [2022-06-27T05:05:37.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:05:38.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:05:38.253Z] Configure a credential helper to remove this warning. See [2022-06-27T05:05:38.253Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:05:38.253Z] [2022-06-27T05:05:38.253Z] Login Succeeded [2022-06-27T05:05:38.253Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T05:05:38.280Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T05:05:38.444Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T05:05:38.475Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T05:05:38.505Z] ========================================================= [2022-06-27T05:05:38.505Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-27T05:05:38.505Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:05:38.954Z] + 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-06-27T05:05:38.954Z] Sending build context to Docker daemon 6.052MB [2022-06-27T05:05:38.954Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T05:05:38.954Z] Step 2/10 : FROM ${BASE} AS builder [2022-06-27T05:05:38.954Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-27T05:05:38.954Z] 59bf1c3509f3: Pulling fs layer [2022-06-27T05:05:38.954Z] 666ba61612fd: Pulling fs layer [2022-06-27T05:05:38.954Z] 8ed8ca486205: Pulling fs layer [2022-06-27T05:05:38.954Z] cc1cd167ecdc: Pulling fs layer [2022-06-27T05:05:38.954Z] c516ae0d96e1: Pulling fs layer [2022-06-27T05:05:38.954Z] 684cea983483: Pulling fs layer [2022-06-27T05:05:38.954Z] dd3240ac7de5: Pulling fs layer [2022-06-27T05:05:38.954Z] b1e948a4e11c: Pulling fs layer [2022-06-27T05:05:38.954Z] a8fd76ee1af6: Pulling fs layer [2022-06-27T05:05:38.954Z] 646ad004c059: Pulling fs layer [2022-06-27T05:05:38.954Z] 684cea983483: Waiting [2022-06-27T05:05:38.954Z] dd3240ac7de5: Waiting [2022-06-27T05:05:38.954Z] b1e948a4e11c: Waiting [2022-06-27T05:05:38.954Z] a8fd76ee1af6: Waiting [2022-06-27T05:05:38.954Z] 646ad004c059: Waiting [2022-06-27T05:05:38.954Z] cc1cd167ecdc: Waiting [2022-06-27T05:05:38.954Z] c516ae0d96e1: Waiting [2022-06-27T05:05:38.954Z] 8ed8ca486205: Verifying Checksum [2022-06-27T05:05:38.954Z] 8ed8ca486205: Download complete [2022-06-27T05:05:38.954Z] 666ba61612fd: Verifying Checksum [2022-06-27T05:05:38.954Z] 666ba61612fd: Download complete [2022-06-27T05:05:39.218Z] c516ae0d96e1: Verifying Checksum [2022-06-27T05:05:39.218Z] c516ae0d96e1: Download complete [2022-06-27T05:05:39.218Z] 684cea983483: Download complete [2022-06-27T05:05:39.218Z] dd3240ac7de5: Verifying Checksum [2022-06-27T05:05:39.218Z] dd3240ac7de5: Download complete [2022-06-27T05:05:39.218Z] 59bf1c3509f3: Verifying Checksum [2022-06-27T05:05:39.218Z] 59bf1c3509f3: Download complete [2022-06-27T05:05:39.218Z] b1e948a4e11c: Verifying Checksum [2022-06-27T05:05:39.218Z] b1e948a4e11c: Download complete [2022-06-27T05:05:39.218Z] 59bf1c3509f3: Pull complete [2022-06-27T05:05:39.480Z] 666ba61612fd: Pull complete [2022-06-27T05:05:39.480Z] 8ed8ca486205: Pull complete [2022-06-27T05:05:40.049Z] a8fd76ee1af6: Verifying Checksum [2022-06-27T05:05:40.049Z] 646ad004c059: Verifying Checksum [2022-06-27T05:05:40.049Z] 646ad004c059: Download complete [2022-06-27T05:05:40.049Z] cc1cd167ecdc: Verifying Checksum [2022-06-27T05:05:40.049Z] cc1cd167ecdc: Download complete [2022-06-27T05:05:44.241Z] cc1cd167ecdc: Pull complete [2022-06-27T05:05:44.241Z] c516ae0d96e1: Pull complete [2022-06-27T05:05:44.241Z] 684cea983483: Pull complete [2022-06-27T05:05:44.241Z] dd3240ac7de5: Pull complete [2022-06-27T05:05:44.241Z] b1e948a4e11c: Pull complete [2022-06-27T05:05:46.145Z] a8fd76ee1af6: Pull complete [2022-06-27T05:05:46.719Z] 646ad004c059: Pull complete [2022-06-27T05:05:46.719Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-27T05:05:46.719Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-27T05:05:46.719Z] ---> 8f69c11f6b0c [2022-06-27T05:05:46.719Z] Step 3/10 : ARG MAKE='make build' [2022-06-27T05:05:48.100Z] ---> Running in 7523ff0e28a7 [2022-06-27T05:05:48.359Z] Removing intermediate container 7523ff0e28a7 [2022-06-27T05:05:48.359Z] ---> 68ad2a1f4739 [2022-06-27T05:05:48.359Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T05:05:48.359Z] ---> Running in 542e0ff25641 [2022-06-27T05:05:48.928Z] Removing intermediate container 542e0ff25641 [2022-06-27T05:05:48.928Z] ---> dfe9b7ead6ec [2022-06-27T05:05:48.928Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-06-27T05:05:48.928Z] ---> Running in b850a0c69677 [2022-06-27T05:05:49.189Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T05:05:50.129Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T05:05:50.389Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-06-27T05:05:50.389Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-06-27T05:05:50.651Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-06-27T05:05:50.651Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-06-27T05:05:50.651Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-06-27T05:05:50.910Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-06-27T05:05:50.910Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-06-27T05:05:50.910Z] (8/8) Installing openssh (8.8_p1-r1) [2022-06-27T05:05:51.170Z] Executing busybox-1.34.1-r3.trigger [2022-06-27T05:05:51.170Z] OK: 226 MiB in 60 packages [2022-06-27T05:05:51.741Z] Removing intermediate container b850a0c69677 [2022-06-27T05:05:51.741Z] ---> a9998670e032 [2022-06-27T05:05:51.741Z] Step 6/10 : WORKDIR /device-modbus-go [2022-06-27T05:05:51.741Z] ---> Running in 29a45e147c6c [2022-06-27T05:05:51.741Z] Removing intermediate container 29a45e147c6c [2022-06-27T05:05:51.741Z] ---> a51409718229 [2022-06-27T05:05:51.741Z] Step 7/10 : COPY go.mod vendor* ./ [2022-06-27T05:05:51.741Z] ---> 5551db042482 [2022-06-27T05:05:51.741Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T05:05:51.937Z] Still waiting to schedule task [2022-06-27T05:05:51.937Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16061’ [2022-06-27T05:05:52.001Z] ---> Running in c354c72ebcd2 [2022-06-27T05:06:06.911Z] Removing intermediate container c354c72ebcd2 [2022-06-27T05:06:06.911Z] ---> 30de09e1c378 [2022-06-27T05:06:06.911Z] Step 9/10 : COPY . . [2022-06-27T05:06:06.911Z] ---> 964d1b44a6ff [2022-06-27T05:06:06.911Z] Step 10/10 : RUN ${MAKE} [2022-06-27T05:06:06.911Z] ---> Running in 75dde59054b9 [2022-06-27T05:06:06.911Z] noop [2022-06-27T05:06:06.911Z] Removing intermediate container 75dde59054b9 [2022-06-27T05:06:06.911Z] ---> 9c2ca4282ade [2022-06-27T05:06:06.911Z] Successfully built 9c2ca4282ade [2022-06-27T05:06:06.911Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:06:07.373Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T05:06:07.373Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T05:06:07.525Z] prd-ubuntu20.04-docker-8c-8g-16060 does not seem to be running inside a container [2022-06-27T05:06:07.562Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-358 -v /w/workspace/xfoundry_device-modbus-go_PR-358:/w/workspace/xfoundry_device-modbus-go_PR-358:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-358@tmp:/w/workspace/xfoundry_device-modbus-go_PR-358@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-27T05:06:07.915Z] $ docker top 95332c262ef6ef6727b9e42992def0ee73adc611f2b881f1ae03f0ef949a94da -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T05:06:08.319Z] + go version [2022-06-27T05:06:08.319Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-27T05:06:08.357Z] $ docker stop --time=1 95332c262ef6ef6727b9e42992def0ee73adc611f2b881f1ae03f0ef949a94da [2022-06-27T05:06:09.684Z] $ docker rm -f 95332c262ef6ef6727b9e42992def0ee73adc611f2b881f1ae03f0ef949a94da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:06:10.419Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T05:06:10.419Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T05:06:10.580Z] prd-ubuntu20.04-docker-8c-8g-16060 does not seem to be running inside a container [2022-06-27T05:06:10.616Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-358 -v /w/workspace/xfoundry_device-modbus-go_PR-358:/w/workspace/xfoundry_device-modbus-go_PR-358:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-358@tmp:/w/workspace/xfoundry_device-modbus-go_PR-358@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-27T05:06:11.027Z] $ docker top db3686bd6ab6e29300318aa067270625b83b5641f80d26ea636eadc21a739d04 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T05:06:11.473Z] + make test [2022-06-27T05:06:11.473Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-27T05:06:11.736Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-06-27T05:06:21.720Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-06-27T05:06:21.720Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.008s coverage: 46.4% of statements [2022-06-27T05:06:28.302Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-27T05:06:31.617Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-27T05:06:31.617Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-27T05:06:31.879Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-27T05:06:32.483Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-27T05:06:32.516Z] $ docker stop --time=1 db3686bd6ab6e29300318aa067270625b83b5641f80d26ea636eadc21a739d04 [2022-06-27T05:06:34.453Z] $ docker rm -f db3686bd6ab6e29300318aa067270625b83b5641f80d26ea636eadc21a739d04 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T05:06:34.955Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-27T05:06:35.024Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-27T05:06:35.607Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-27T05:06:35.918Z] + ls -al . [2022-06-27T05:06:35.918Z] total 184 [2022-06-27T05:06:35.918Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 05:06 . [2022-06-27T05:06:35.918Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 05:05 .. [2022-06-27T05:06:35.918Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 27 05:05 .dockerignore [2022-06-27T05:06:35.918Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 05:05 .git [2022-06-27T05:06:35.918Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 05:05 .github [2022-06-27T05:06:35.918Z] -rw-rw-r-- 1 jenkins jenkins 331 Jun 27 05:05 .gitignore [2022-06-27T05:06:35.918Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 27 05:05 .golangci.yml [2022-06-27T05:06:35.918Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 05:05 .semver [2022-06-27T05:06:35.918Z] -rw-rw-r-- 1 jenkins jenkins 9636 Jun 27 05:05 Attribution.txt [2022-06-27T05:06:35.918Z] -rw-rw-r-- 1 jenkins jenkins 10001 Jun 27 05:05 CHANGELOG.md [2022-06-27T05:06:35.918Z] -rw-rw-r-- 1 jenkins jenkins 1546 Jun 27 05:05 Dockerfile [2022-06-27T05:06:35.918Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 05:05 GOVERNANCE.md [2022-06-27T05:06:35.918Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 27 05:05 Jenkinsfile [2022-06-27T05:06:35.918Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 05:05 LICENSE [2022-06-27T05:06:35.918Z] -rw-rw-r-- 1 jenkins jenkins 1905 Jun 27 05:05 Makefile [2022-06-27T05:06:35.918Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 27 05:05 OWNERS.md [2022-06-27T05:06:35.919Z] -rw-rw-r-- 1 jenkins jenkins 3397 Jun 27 05:05 README.md [2022-06-27T05:06:35.919Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 27 05:05 VERSION [2022-06-27T05:06:35.919Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 05:05 bin [2022-06-27T05:06:35.919Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 05:05 cmd [2022-06-27T05:06:35.919Z] -rw-r--r-- 1 jenkins jenkins 24065 Jun 27 05:06 coverage.out [2022-06-27T05:06:35.919Z] -rw-rw-r-- 1 jenkins jenkins 3404 Jun 27 05:05 go.mod [2022-06-27T05:06:35.919Z] -rw-rw-r-- 1 jenkins jenkins 36196 Jun 27 05:05 go.sum [2022-06-27T05:06:35.919Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 05:05 internal [2022-06-27T05:06:35.919Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 05:05 simulator [2022-06-27T05:06:35.919Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 05:05 snap [2022-06-27T05:06:35.919Z] -rw-rw-r-- 1 jenkins jenkins 229 Jun 27 05:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:06:36.309Z] + 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=605c9fe83f2e5bc9b618a0c79dc2899ea1183345 --label arch=amd64 --label version=0.0.0 . [2022-06-27T05:06:36.309Z] Sending build context to Docker daemon 6.077MB [2022-06-27T05:06:36.309Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T05:06:36.309Z] Step 2/23 : FROM ${BASE} AS builder [2022-06-27T05:06:36.309Z] ---> 9c2ca4282ade [2022-06-27T05:06:36.309Z] Step 3/23 : ARG MAKE='make build' [2022-06-27T05:06:36.309Z] ---> Running in da22ba9de315 [2022-06-27T05:06:36.569Z] Removing intermediate container da22ba9de315 [2022-06-27T05:06:36.569Z] ---> 944e43584237 [2022-06-27T05:06:36.569Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T05:06:36.569Z] ---> Running in c4795dbeb37b [2022-06-27T05:06:37.142Z] Removing intermediate container c4795dbeb37b [2022-06-27T05:06:37.142Z] ---> 6be2a7a123b0 [2022-06-27T05:06:37.142Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-06-27T05:06:37.142Z] ---> Running in 1af8e019c9bb [2022-06-27T05:06:37.401Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T05:06:38.348Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T05:06:38.635Z] OK: 226 MiB in 60 packages [2022-06-27T05:06:38.896Z] Removing intermediate container 1af8e019c9bb [2022-06-27T05:06:38.896Z] ---> 6988770e6e98 [2022-06-27T05:06:38.896Z] Step 6/23 : WORKDIR /device-modbus-go [2022-06-27T05:06:38.896Z] ---> Running in e23e7f792bf8 [2022-06-27T05:06:39.155Z] Removing intermediate container e23e7f792bf8 [2022-06-27T05:06:39.155Z] ---> 176b08c6b130 [2022-06-27T05:06:39.155Z] Step 7/23 : COPY go.mod vendor* ./ [2022-06-27T05:06:39.155Z] ---> 49f7511f1e55 [2022-06-27T05:06:39.155Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T05:06:39.155Z] ---> Running in f68d3c1ffef7 [2022-06-27T05:06:40.094Z] Removing intermediate container f68d3c1ffef7 [2022-06-27T05:06:40.094Z] ---> c76a0cd49df4 [2022-06-27T05:06:40.094Z] Step 9/23 : COPY . . [2022-06-27T05:06:40.094Z] ---> 86a2a75e666b [2022-06-27T05:06:40.094Z] Step 10/23 : RUN ${MAKE} [2022-06-27T05:06:40.357Z] ---> Running in b612448806b3 [2022-06-27T05:06:40.617Z] 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-06-27T05:07:02.568Z] Removing intermediate container b612448806b3 [2022-06-27T05:07:02.568Z] ---> 49c2b4a3aa96 [2022-06-27T05:07:02.568Z] Step 11/23 : FROM alpine:3.14 [2022-06-27T05:07:02.568Z] 3.14: Pulling from library/alpine [2022-06-27T05:07:02.568Z] 8663204ce13b: Pulling fs layer [2022-06-27T05:07:02.568Z] 8663204ce13b: Verifying Checksum [2022-06-27T05:07:02.568Z] 8663204ce13b: Download complete [2022-06-27T05:07:02.568Z] 8663204ce13b: Pull complete [2022-06-27T05:07:02.568Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-27T05:07:02.568Z] Status: Downloaded newer image for alpine:3.14 [2022-06-27T05:07:02.568Z] ---> e04c818066af [2022-06-27T05:07:02.568Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-06-27T05:07:02.568Z] ---> Running in a1ca27590d19 [2022-06-27T05:07:02.568Z] Removing intermediate container a1ca27590d19 [2022-06-27T05:07:02.568Z] ---> 442c57b1e10e [2022-06-27T05:07:02.568Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T05:07:02.568Z] ---> Running in 38a782955adb [2022-06-27T05:07:02.568Z] Removing intermediate container 38a782955adb [2022-06-27T05:07:02.568Z] ---> 9448350e3191 [2022-06-27T05:07:02.568Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-27T05:07:02.568Z] ---> Running in ff49211a7bbb [2022-06-27T05:07:02.568Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-27T05:07:03.510Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-27T05:07:03.774Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-27T05:07:03.774Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-27T05:07:03.774Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-27T05:07:04.043Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-27T05:07:04.043Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-27T05:07:04.302Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-27T05:07:04.302Z] Executing busybox-1.33.1-r7.trigger [2022-06-27T05:07:04.302Z] OK: 8 MiB in 20 packages [2022-06-27T05:07:04.564Z] Removing intermediate container ff49211a7bbb [2022-06-27T05:07:04.564Z] ---> 2b2d2f9ead66 [2022-06-27T05:07:04.564Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-06-27T05:07:05.133Z] ---> b8665052bc78 [2022-06-27T05:07:05.133Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-06-27T05:07:05.393Z] ---> 6d982e214358 [2022-06-27T05:07:05.393Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-06-27T05:07:05.656Z] ---> fb3fea304b69 [2022-06-27T05:07:05.656Z] Step 18/23 : EXPOSE 59901 [2022-06-27T05:07:05.656Z] ---> Running in 7fa36dabea2b [2022-06-27T05:07:05.656Z] Removing intermediate container 7fa36dabea2b [2022-06-27T05:07:05.656Z] ---> 5f02ffc3f8f4 [2022-06-27T05:07:05.656Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-06-27T05:07:05.656Z] ---> Running in 9353178eb974 [2022-06-27T05:07:05.914Z] Removing intermediate container 9353178eb974 [2022-06-27T05:07:05.914Z] ---> 67f8e4ab8123 [2022-06-27T05:07:05.914Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-27T05:07:05.914Z] ---> Running in ce97173df595 [2022-06-27T05:07:05.914Z] Removing intermediate container ce97173df595 [2022-06-27T05:07:05.914Z] ---> 9416281a7c47 [2022-06-27T05:07:05.914Z] Step 21/23 : LABEL arch=amd64 [2022-06-27T05:07:05.914Z] ---> Running in 118d5a3f735e [2022-06-27T05:07:06.173Z] Removing intermediate container 118d5a3f735e [2022-06-27T05:07:06.173Z] ---> 1df25117d999 [2022-06-27T05:07:06.173Z] Step 22/23 : LABEL git_sha=605c9fe83f2e5bc9b618a0c79dc2899ea1183345 [2022-06-27T05:07:06.173Z] ---> Running in 04ad1858a033 [2022-06-27T05:07:06.173Z] Removing intermediate container 04ad1858a033 [2022-06-27T05:07:06.173Z] ---> dc9b895abf13 [2022-06-27T05:07:06.173Z] Step 23/23 : LABEL version=0.0.0 [2022-06-27T05:07:06.173Z] ---> Running in 98fc25f47551 [2022-06-27T05:07:06.432Z] Removing intermediate container 98fc25f47551 [2022-06-27T05:07:06.432Z] ---> 6a306474ca82 [2022-06-27T05:07:06.432Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-27T05:07:06.432Z] Successfully built 6a306474ca82 [2022-06-27T05:07:06.432Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:07:07.276Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T05:07:07.276Z] [2022-06-27T05:07:07.276Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:07:07.646Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T05:07:07.646Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-27T05:07:07.646Z] 5eb5b503b376: Pulling fs layer [2022-06-27T05:07:07.646Z] 5c69ac0246d0: Pulling fs layer [2022-06-27T05:07:07.646Z] ec43610c2a17: Pulling fs layer [2022-06-27T05:07:07.646Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-27T05:07:07.646Z] 33b1e0a273af: Pulling fs layer [2022-06-27T05:07:07.646Z] 5d3b04190fa2: Pulling fs layer [2022-06-27T05:07:07.646Z] 2f39f015ded8: Pulling fs layer [2022-06-27T05:07:07.646Z] 3a2ae6a8a46f: Waiting [2022-06-27T05:07:07.646Z] 33b1e0a273af: Waiting [2022-06-27T05:07:07.646Z] 2f39f015ded8: Waiting [2022-06-27T05:07:07.646Z] 5d3b04190fa2: Waiting [2022-06-27T05:07:07.646Z] 5c69ac0246d0: Download complete [2022-06-27T05:07:07.646Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-27T05:07:07.646Z] 3a2ae6a8a46f: Download complete [2022-06-27T05:07:07.646Z] 33b1e0a273af: Verifying Checksum [2022-06-27T05:07:07.646Z] 33b1e0a273af: Download complete [2022-06-27T05:07:07.905Z] ec43610c2a17: Verifying Checksum [2022-06-27T05:07:07.905Z] ec43610c2a17: Download complete [2022-06-27T05:07:07.905Z] 5d3b04190fa2: Verifying Checksum [2022-06-27T05:07:07.905Z] 5d3b04190fa2: Download complete [2022-06-27T05:07:07.905Z] 5eb5b503b376: Verifying Checksum [2022-06-27T05:07:07.905Z] 5eb5b503b376: Download complete [2022-06-27T05:07:08.472Z] 2f39f015ded8: Verifying Checksum [2022-06-27T05:07:08.473Z] 2f39f015ded8: Download complete [2022-06-27T05:07:09.043Z] 5eb5b503b376: Pull complete [2022-06-27T05:07:09.302Z] 5c69ac0246d0: Pull complete [2022-06-27T05:07:09.561Z] ec43610c2a17: Pull complete [2022-06-27T05:07:09.822Z] 3a2ae6a8a46f: Pull complete [2022-06-27T05:07:09.822Z] 33b1e0a273af: Pull complete [2022-06-27T05:07:10.081Z] 5d3b04190fa2: Pull complete [2022-06-27T05:07:15.363Z] 2f39f015ded8: Pull complete [2022-06-27T05:07:15.363Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-27T05:07:15.363Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T05:07:15.363Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T05:07:15.599Z] prd-ubuntu20.04-docker-8c-8g-16060 does not seem to be running inside a container [2022-06-27T05:07:15.638Z] $ 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-358 -v /w/workspace/xfoundry_device-modbus-go_PR-358:/w/workspace/xfoundry_device-modbus-go_PR-358:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-358@tmp:/w/workspace/xfoundry_device-modbus-go_PR-358@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-27T05:07:17.375Z] $ docker top f3eec3923fa3baf034805c3dcf8a97b4f55bb8997ced9e0f6d0a5fda9700b827 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:07:17.806Z] ---> job-cost.sh [2022-06-27T05:07:17.806Z] lf-activate-venv: SKIPPING [2022-06-27T05:07:17.806Z] INFO: No Stack... [2022-06-27T05:07:18.066Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T05:07:18.634Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T05:07:18.950Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-358/archives/cost.csv [2022-06-27T05:07:18.950Z] + cut -d, -f6 [Pipeline] lock [2022-06-27T05:07:18.987Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-358-1-stack-cost] [2022-06-27T05:07:18.992Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-358-1-stack-cost] did not exist. Created. [2022-06-27T05:07:18.992Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-358-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T05:07:19.378Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-27T05:07:19.427Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T05:07:19.450Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-358-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T05:07:19.531Z] $ docker stop --time=1 f3eec3923fa3baf034805c3dcf8a97b4f55bb8997ced9e0f6d0a5fda9700b827 [2022-06-27T05:07:20.719Z] $ docker rm -f f3eec3923fa3baf034805c3dcf8a97b4f55bb8997ced9e0f6d0a5fda9700b827 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-27T05:08:27.843Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16064 in /w/workspace/xfoundry_device-modbus-go_PR-358 [Pipeline] { [Pipeline] ws [2022-06-27T05:08:27.886Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2022-06-27T05:08:27.989Z] Selected Git installation does not exist. Using Default [2022-06-27T05:08:27.989Z] The recommended git tool is: NONE [2022-06-27T05:08:35.561Z] using credential edgex-jenkins-ssh [2022-06-27T05:08:35.579Z] Cloning the remote Git repository [2022-06-27T05:08:35.641Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-06-27T05:08:35.728Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2022-06-27T05:08:35.832Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-06-27T05:08:35.833Z] > git --version # timeout=10 [2022-06-27T05:08:35.852Z] > git --version # 'git version 2.25.1' [2022-06-27T05:08:35.854Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T05:08:35.942Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T05:08:37.589Z] Merging remotes/origin/main commit 4c89d6a6c91720700353e870f5243ca140b0cc6d into PR head commit 605c9fe83f2e5bc9b618a0c79dc2899ea1183345 [2022-06-27T05:08:36.936Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-06-27T05:08:36.958Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T05:08:36.992Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-06-27T05:08:37.091Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-06-27T05:08:37.094Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T05:08:37.121Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/358/head:refs/remotes/origin/PR-358 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-27T05:08:37.610Z] > git config core.sparsecheckout # timeout=10 [2022-06-27T05:08:37.642Z] > git checkout -f 605c9fe83f2e5bc9b618a0c79dc2899ea1183345 # timeout=10 [2022-06-27T05:08:37.868Z] Merge succeeded, producing 605c9fe83f2e5bc9b618a0c79dc2899ea1183345 [2022-06-27T05:08:37.869Z] Checking out Revision 605c9fe83f2e5bc9b618a0c79dc2899ea1183345 (PR-358) [2022-06-27T05:08:37.759Z] > git remote # timeout=10 [2022-06-27T05:08:37.783Z] > git config --get remote.origin.url # timeout=10 [2022-06-27T05:08:37.801Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T05:08:37.814Z] > git merge 4c89d6a6c91720700353e870f5243ca140b0cc6d # timeout=10 [2022-06-27T05:08:37.842Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-27T05:08:37.878Z] > git config core.sparsecheckout # timeout=10 [2022-06-27T05:08:37.903Z] > git checkout -f 605c9fe83f2e5bc9b618a0c79dc2899ea1183345 # timeout=10 [2022-06-27T05:08:42.283Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-06-27T05:08:42.354Z] > git --version # timeout=10 [2022-06-27T05:08:42.370Z] > git --version # 'git version 2.25.1' [2022-06-27T05:08:42.386Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T05:08:43.444Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-27T05:08:43.444Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-27T05:08:43.444Z] Dload Upload Total Spent Left Speed [2022-06-27T05:08:43.444Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 213k 0 --:--:-- --:--:-- --:--:-- 213k [Pipeline] sh [2022-06-27T05:08:44.398Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-27T05:08:44.777Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-27T05:08:44.777Z] + sudo tee /etc/docker/daemon.new [2022-06-27T05:08:44.777Z] { [2022-06-27T05:08:44.777Z] "registry-mirrors": [ [2022-06-27T05:08:44.777Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-27T05:08:44.777Z] ], [2022-06-27T05:08:44.777Z] "bip": "10.250.0.254/24", [2022-06-27T05:08:44.777Z] "hosts": [ [2022-06-27T05:08:44.777Z] "tcp://0.0.0.0:5555", [2022-06-27T05:08:44.777Z] "unix:///var/run/docker.sock" [2022-06-27T05:08:44.777Z] ], [2022-06-27T05:08:44.777Z] "mtu": 1458, [2022-06-27T05:08:44.777Z] "selinux-enabled": true, [2022-06-27T05:08:44.777Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-27T05:08:44.777Z] } [Pipeline] sh [2022-06-27T05:08:45.154Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-27T05:08:45.517Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T05:09:03.934Z] provisioning config files... [2022-06-27T05:09:03.966Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config5533026784999958268tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:09:04.386Z] ---> docker-login.sh [2022-06-27T05:09:04.386Z] nexus3.edgexfoundry.org:10001 [2022-06-27T05:09:04.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:09:05.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:09:05.268Z] Configure a credential helper to remove this warning. See [2022-06-27T05:09:05.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:09:05.268Z] [2022-06-27T05:09:05.268Z] Login Succeeded [2022-06-27T05:09:05.268Z] nexus3.edgexfoundry.org:10002 [2022-06-27T05:09:05.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:09:05.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:09:05.874Z] Configure a credential helper to remove this warning. See [2022-06-27T05:09:05.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:09:05.874Z] [2022-06-27T05:09:05.874Z] Login Succeeded [2022-06-27T05:09:05.874Z] nexus3.edgexfoundry.org:10003 [2022-06-27T05:09:06.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:09:06.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:09:06.435Z] Configure a credential helper to remove this warning. See [2022-06-27T05:09:06.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:09:06.435Z] [2022-06-27T05:09:06.435Z] Login Succeeded [2022-06-27T05:09:06.435Z] nexus3.edgexfoundry.org:10004 [2022-06-27T05:09:06.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:09:06.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:09:06.984Z] Configure a credential helper to remove this warning. See [2022-06-27T05:09:06.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:09:06.984Z] [2022-06-27T05:09:06.984Z] Login Succeeded [2022-06-27T05:09:06.984Z] docker.io [2022-06-27T05:09:07.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:09:07.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:09:07.531Z] Configure a credential helper to remove this warning. See [2022-06-27T05:09:07.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:09:07.531Z] [2022-06-27T05:09:07.531Z] Login Succeeded [2022-06-27T05:09:07.531Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T05:09:07.559Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T05:09:07.956Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T05:09:07.989Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T05:09:08.022Z] ========================================================= [2022-06-27T05:09:08.022Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-27T05:09:08.022Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:09:08.536Z] + 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-06-27T05:09:08.831Z] Sending build context to Docker daemon 3.145MB [2022-06-27T05:09:09.110Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T05:09:09.110Z] Step 2/10 : FROM ${BASE} AS builder [2022-06-27T05:09:09.110Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-27T05:09:09.110Z] 9b3977197b4f: Pulling fs layer [2022-06-27T05:09:09.110Z] 1a89e8eeedd5: Pulling fs layer [2022-06-27T05:09:09.110Z] 94645a83ff95: Pulling fs layer [2022-06-27T05:09:09.110Z] e6fb740bc735: Pulling fs layer [2022-06-27T05:09:09.110Z] 3a77bd46dcc9: Pulling fs layer [2022-06-27T05:09:09.110Z] 355e64cbe906: Pulling fs layer [2022-06-27T05:09:09.110Z] 63ab81a10011: Pulling fs layer [2022-06-27T05:09:09.110Z] 555d1d1c4555: Pulling fs layer [2022-06-27T05:09:09.110Z] 7d9057610161: Pulling fs layer [2022-06-27T05:09:09.110Z] 3a77bd46dcc9: Waiting [2022-06-27T05:09:09.110Z] e6fb740bc735: Waiting [2022-06-27T05:09:09.110Z] 355e64cbe906: Waiting [2022-06-27T05:09:09.110Z] 63ab81a10011: Waiting [2022-06-27T05:09:09.110Z] 555d1d1c4555: Waiting [2022-06-27T05:09:09.110Z] 7d9057610161: Waiting [2022-06-27T05:09:09.110Z] 94645a83ff95: Verifying Checksum [2022-06-27T05:09:09.110Z] 94645a83ff95: Download complete [2022-06-27T05:09:09.110Z] 1a89e8eeedd5: Verifying Checksum [2022-06-27T05:09:09.110Z] 1a89e8eeedd5: Download complete [2022-06-27T05:09:09.110Z] 3a77bd46dcc9: Verifying Checksum [2022-06-27T05:09:09.110Z] 3a77bd46dcc9: Download complete [2022-06-27T05:09:09.395Z] 355e64cbe906: Verifying Checksum [2022-06-27T05:09:09.395Z] 355e64cbe906: Download complete [2022-06-27T05:09:09.395Z] 9b3977197b4f: Verifying Checksum [2022-06-27T05:09:09.395Z] 9b3977197b4f: Download complete [2022-06-27T05:09:09.395Z] 63ab81a10011: Verifying Checksum [2022-06-27T05:09:09.395Z] 63ab81a10011: Download complete [2022-06-27T05:09:10.868Z] 7d9057610161: Verifying Checksum [2022-06-27T05:09:10.868Z] 7d9057610161: Download complete [2022-06-27T05:09:10.868Z] 9b3977197b4f: Pull complete [2022-06-27T05:09:11.475Z] 1a89e8eeedd5: Pull complete [2022-06-27T05:09:11.755Z] 94645a83ff95: Pull complete [2022-06-27T05:09:12.032Z] 555d1d1c4555: Download complete [2022-06-27T05:09:12.630Z] e6fb740bc735: Verifying Checksum [2022-06-27T05:09:12.630Z] e6fb740bc735: Download complete [2022-06-27T05:09:25.062Z] e6fb740bc735: Pull complete [2022-06-27T05:09:25.062Z] 3a77bd46dcc9: Pull complete [2022-06-27T05:09:25.338Z] 355e64cbe906: Pull complete [2022-06-27T05:09:25.620Z] 63ab81a10011: Pull complete [2022-06-27T05:09:32.357Z] 555d1d1c4555: Pull complete [2022-06-27T05:09:34.997Z] 7d9057610161: Pull complete [2022-06-27T05:09:34.997Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-27T05:09:34.997Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-27T05:09:34.997Z] ---> 819e984ddca1 [2022-06-27T05:09:34.997Z] Step 3/10 : ARG MAKE='make build' [2022-06-27T05:09:35.598Z] ---> Running in 63f833596389 [2022-06-27T05:09:36.216Z] Removing intermediate container 63f833596389 [2022-06-27T05:09:36.216Z] ---> 6dd0ed3d21e2 [2022-06-27T05:09:36.216Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T05:09:36.216Z] ---> Running in ebf43705ea57 [2022-06-27T05:09:39.653Z] Removing intermediate container ebf43705ea57 [2022-06-27T05:09:39.653Z] ---> 8b942a480330 [2022-06-27T05:09:39.653Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-06-27T05:09:39.653Z] ---> Running in df811c4f5435 [2022-06-27T05:09:40.259Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T05:09:41.245Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T05:09:42.235Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-06-27T05:09:42.235Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-06-27T05:09:42.509Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-06-27T05:09:42.509Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-06-27T05:09:42.782Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-06-27T05:09:42.782Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-06-27T05:09:42.782Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-06-27T05:09:43.072Z] (8/8) Installing openssh (8.8_p1-r1) [2022-06-27T05:09:43.072Z] Executing busybox-1.34.1-r3.trigger [2022-06-27T05:09:43.072Z] OK: 226 MiB in 60 packages [2022-06-27T05:09:44.061Z] Removing intermediate container df811c4f5435 [2022-06-27T05:09:44.061Z] ---> 3e7c1679244a [2022-06-27T05:09:44.061Z] Step 6/10 : WORKDIR /device-modbus-go [2022-06-27T05:09:44.333Z] ---> Running in 7f3d415065a6 [2022-06-27T05:09:44.608Z] Removing intermediate container 7f3d415065a6 [2022-06-27T05:09:44.608Z] ---> a3fc909d9288 [2022-06-27T05:09:44.608Z] Step 7/10 : COPY go.mod vendor* ./ [2022-06-27T05:09:45.206Z] ---> ff57538e668d [2022-06-27T05:09:45.206Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T05:09:45.206Z] ---> Running in d0d04bca337e [2022-06-27T05:10:41.754Z] Removing intermediate container d0d04bca337e [2022-06-27T05:10:41.754Z] ---> da0dbf43bb11 [2022-06-27T05:10:41.754Z] Step 9/10 : COPY . . [2022-06-27T05:10:41.754Z] ---> b9f23cf6855d [2022-06-27T05:10:41.754Z] Step 10/10 : RUN ${MAKE} [2022-06-27T05:10:41.754Z] ---> Running in 222ce635ce8f [2022-06-27T05:10:41.754Z] noop [2022-06-27T05:10:41.754Z] Removing intermediate container 222ce635ce8f [2022-06-27T05:10:41.754Z] ---> d4401839d08c [2022-06-27T05:10:41.754Z] Successfully built d4401839d08c [2022-06-27T05:10:41.754Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:10:42.253Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T05:10:42.253Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T05:10:42.597Z] prd-ubuntu20.04-docker-arm64-4c-16g-16064 does not seem to be running inside a container [2022-06-27T05:10:42.692Z] $ 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 ******** ci-base-image-arm64 cat [2022-06-27T05:10:44.135Z] $ docker top d1ae35a09113a8d049bc493c3cc0a65ad0a6c2dd7d762d0de88bb91e584ff9a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T05:10:45.164Z] + go version [2022-06-27T05:10:45.164Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-27T05:10:45.199Z] $ docker stop --time=1 d1ae35a09113a8d049bc493c3cc0a65ad0a6c2dd7d762d0de88bb91e584ff9a6 [2022-06-27T05:10:46.903Z] $ docker rm -f d1ae35a09113a8d049bc493c3cc0a65ad0a6c2dd7d762d0de88bb91e584ff9a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:10:47.831Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T05:10:47.831Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T05:10:48.152Z] prd-ubuntu20.04-docker-arm64-4c-16g-16064 does not seem to be running inside a container [2022-06-27T05:10:48.241Z] $ 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 ******** ci-base-image-arm64 cat [2022-06-27T05:10:49.650Z] $ docker top 25f03192a6731ddc33ea3a58391c375777a76b0ba1929134ba52462060e22a67 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T05:10:50.705Z] + make test [2022-06-27T05:10:50.705Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-27T05:10:52.696Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-06-27T05:12:29.622Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-06-27T05:12:29.622Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.067s coverage: 46.4% of statements [2022-06-27T05:12:29.622Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-27T05:12:29.622Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-27T05:12:48.005Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-27T05:12:48.005Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-27T05:12:48.281Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-27T05:12:51.709Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-27T05:12:51.743Z] $ docker stop --time=1 25f03192a6731ddc33ea3a58391c375777a76b0ba1929134ba52462060e22a67 [2022-06-27T05:12:53.645Z] $ docker rm -f 25f03192a6731ddc33ea3a58391c375777a76b0ba1929134ba52462060e22a67 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T05:12:54.701Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-27T05:12:54.738Z] Warning: overwriting stash ‘coverage-report’ [2022-06-27T05:12:55.293Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T05:12:55.890Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-27T05:12:56.253Z] + ls -al . [2022-06-27T05:12:56.253Z] total 180 [2022-06-27T05:12:56.253Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 27 05:12 . [2022-06-27T05:12:56.253Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 05:08 .. [2022-06-27T05:12:56.253Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 27 05:08 .dockerignore [2022-06-27T05:12:56.253Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 05:08 .git [2022-06-27T05:12:56.253Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 05:08 .github [2022-06-27T05:12:56.253Z] -rw-rw-r-- 1 jenkins jenkins 331 Jun 27 05:08 .gitignore [2022-06-27T05:12:56.253Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 27 05:08 .golangci.yml [2022-06-27T05:12:56.253Z] -rw-rw-r-- 1 jenkins jenkins 9636 Jun 27 05:08 Attribution.txt [2022-06-27T05:12:56.253Z] -rw-rw-r-- 1 jenkins jenkins 10001 Jun 27 05:08 CHANGELOG.md [2022-06-27T05:12:56.253Z] -rw-rw-r-- 1 jenkins jenkins 1546 Jun 27 05:08 Dockerfile [2022-06-27T05:12:56.253Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 05:08 GOVERNANCE.md [2022-06-27T05:12:56.253Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 27 05:08 Jenkinsfile [2022-06-27T05:12:56.253Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 05:08 LICENSE [2022-06-27T05:12:56.253Z] -rw-rw-r-- 1 jenkins jenkins 1905 Jun 27 05:08 Makefile [2022-06-27T05:12:56.253Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 27 05:08 OWNERS.md [2022-06-27T05:12:56.253Z] -rw-rw-r-- 1 jenkins jenkins 3397 Jun 27 05:08 README.md [2022-06-27T05:12:56.253Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 27 05:05 VERSION [2022-06-27T05:12:56.253Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 05:08 bin [2022-06-27T05:12:56.253Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 05:08 cmd [2022-06-27T05:12:56.253Z] -rw-r--r-- 1 jenkins jenkins 24065 Jun 27 05:12 coverage.out [2022-06-27T05:12:56.253Z] -rw-rw-r-- 1 jenkins jenkins 3404 Jun 27 05:08 go.mod [2022-06-27T05:12:56.253Z] -rw-rw-r-- 1 jenkins jenkins 36196 Jun 27 05:08 go.sum [2022-06-27T05:12:56.253Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 05:08 internal [2022-06-27T05:12:56.253Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 05:08 simulator [2022-06-27T05:12:56.253Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 05:08 snap [2022-06-27T05:12:56.253Z] -rw-rw-r-- 1 jenkins jenkins 229 Jun 27 05:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:12:56.706Z] + 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=605c9fe83f2e5bc9b618a0c79dc2899ea1183345 --label arch=arm64 --label version=0.0.0 . [2022-06-27T05:12:56.986Z] Sending build context to Docker daemon 3.17MB [2022-06-27T05:12:56.986Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T05:12:56.986Z] Step 2/23 : FROM ${BASE} AS builder [2022-06-27T05:12:56.986Z] ---> d4401839d08c [2022-06-27T05:12:56.986Z] Step 3/23 : ARG MAKE='make build' [2022-06-27T05:12:57.272Z] ---> Running in 14cd072b8c12 [2022-06-27T05:12:57.553Z] Removing intermediate container 14cd072b8c12 [2022-06-27T05:12:57.553Z] ---> 69568bf6526d [2022-06-27T05:12:57.553Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T05:12:57.553Z] ---> Running in 42db94a3e058 [2022-06-27T05:12:59.548Z] Removing intermediate container 42db94a3e058 [2022-06-27T05:12:59.548Z] ---> 1b904d09e9a4 [2022-06-27T05:12:59.548Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-06-27T05:12:59.548Z] ---> Running in 59d61f12d0b5 [2022-06-27T05:13:00.541Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T05:13:01.528Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T05:13:02.517Z] OK: 226 MiB in 60 packages [2022-06-27T05:13:03.508Z] Removing intermediate container 59d61f12d0b5 [2022-06-27T05:13:03.508Z] ---> 8cffe2d88816 [2022-06-27T05:13:03.508Z] Step 6/23 : WORKDIR /device-modbus-go [2022-06-27T05:13:03.508Z] ---> Running in e38a957795c7 [2022-06-27T05:13:03.784Z] Removing intermediate container e38a957795c7 [2022-06-27T05:13:03.784Z] ---> 59d81cf4a929 [2022-06-27T05:13:03.784Z] Step 7/23 : COPY go.mod vendor* ./ [2022-06-27T05:13:04.397Z] ---> 9aab4159d0c2 [2022-06-27T05:13:04.397Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T05:13:04.398Z] ---> Running in c54ae788c432 [2022-06-27T05:13:06.401Z] Removing intermediate container c54ae788c432 [2022-06-27T05:13:06.401Z] ---> 16a2db50d404 [2022-06-27T05:13:06.401Z] Step 9/23 : COPY . . [2022-06-27T05:13:07.385Z] ---> c573e2b8bffa [2022-06-27T05:13:07.385Z] Step 10/23 : RUN ${MAKE} [2022-06-27T05:13:07.663Z] ---> Running in cd1fd8a01dc8 [2022-06-27T05:13:08.649Z] 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-06-27T05:15:30.605Z] Removing intermediate container cd1fd8a01dc8 [2022-06-27T05:15:30.605Z] ---> d1fcbfc2bcb2 [2022-06-27T05:15:30.605Z] Step 11/23 : FROM alpine:3.14 [2022-06-27T05:15:30.605Z] 3.14: Pulling from library/alpine [2022-06-27T05:15:30.605Z] 455c02918c45: Pulling fs layer [2022-06-27T05:15:30.605Z] 455c02918c45: Download complete [2022-06-27T05:15:30.605Z] 455c02918c45: Pull complete [2022-06-27T05:15:30.605Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-27T05:15:30.605Z] Status: Downloaded newer image for alpine:3.14 [2022-06-27T05:15:30.605Z] ---> ac73e934f311 [2022-06-27T05:15:30.605Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-06-27T05:15:30.605Z] ---> Running in 3c1db9920e6c [2022-06-27T05:15:30.605Z] Removing intermediate container 3c1db9920e6c [2022-06-27T05:15:30.605Z] ---> 25746772ba5c [2022-06-27T05:15:30.605Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T05:15:30.605Z] ---> Running in 295c2a0dc07d [2022-06-27T05:15:30.605Z] Removing intermediate container 295c2a0dc07d [2022-06-27T05:15:30.605Z] ---> 6af2541f51dc [2022-06-27T05:15:30.605Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-27T05:15:30.605Z] ---> Running in 7d50d604e46e [2022-06-27T05:15:30.605Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-27T05:15:30.605Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-27T05:15:30.605Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-27T05:15:30.605Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-27T05:15:30.605Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-27T05:15:30.605Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-27T05:15:30.605Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-27T05:15:30.605Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-27T05:15:30.605Z] Executing busybox-1.33.1-r7.trigger [2022-06-27T05:15:30.605Z] OK: 8 MiB in 20 packages [2022-06-27T05:15:30.605Z] Removing intermediate container 7d50d604e46e [2022-06-27T05:15:30.605Z] ---> 3ac6ac18c40e [2022-06-27T05:15:30.605Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-06-27T05:15:30.605Z] ---> 4213190ec637 [2022-06-27T05:15:30.605Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-06-27T05:15:30.605Z] ---> 621bdc5492a0 [2022-06-27T05:15:30.605Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-06-27T05:15:30.605Z] ---> e67da8979689 [2022-06-27T05:15:30.605Z] Step 18/23 : EXPOSE 59901 [2022-06-27T05:15:30.605Z] ---> Running in efeb8fd3a122 [2022-06-27T05:15:30.605Z] Removing intermediate container efeb8fd3a122 [2022-06-27T05:15:30.605Z] ---> de08e6761a96 [2022-06-27T05:15:30.605Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-06-27T05:15:30.605Z] ---> Running in f8991b67e696 [2022-06-27T05:15:30.605Z] Removing intermediate container f8991b67e696 [2022-06-27T05:15:30.605Z] ---> 59ae6451d032 [2022-06-27T05:15:30.605Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-27T05:15:30.605Z] ---> Running in 96d3e8ffe18b [2022-06-27T05:15:30.605Z] Removing intermediate container 96d3e8ffe18b [2022-06-27T05:15:30.605Z] ---> 86b88273cf48 [2022-06-27T05:15:30.605Z] Step 21/23 : LABEL arch=arm64 [2022-06-27T05:15:30.605Z] ---> Running in a309618cbe06 [2022-06-27T05:15:30.605Z] Removing intermediate container a309618cbe06 [2022-06-27T05:15:30.605Z] ---> 5de4df2d5640 [2022-06-27T05:15:30.605Z] Step 22/23 : LABEL git_sha=605c9fe83f2e5bc9b618a0c79dc2899ea1183345 [2022-06-27T05:15:30.605Z] ---> Running in 17e69f5a48c0 [2022-06-27T05:15:30.605Z] Removing intermediate container 17e69f5a48c0 [2022-06-27T05:15:30.605Z] ---> bdb7148bce3e [2022-06-27T05:15:30.605Z] Step 23/23 : LABEL version=0.0.0 [2022-06-27T05:15:30.606Z] ---> Running in 6762900ecc7b [2022-06-27T05:15:31.203Z] Removing intermediate container 6762900ecc7b [2022-06-27T05:15:31.203Z] ---> 17dffb311049 [2022-06-27T05:15:31.203Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-27T05:15:31.203Z] Successfully built 17dffb311049 [2022-06-27T05:15:31.203Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:15:32.031Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T05:15:32.031Z] [2022-06-27T05:15:32.031Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:15:32.444Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T05:15:32.734Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-27T05:15:32.734Z] 8998bd30e6a1: Pulling fs layer [2022-06-27T05:15:32.734Z] 04944245beec: Pulling fs layer [2022-06-27T05:15:32.734Z] 699f458cf7ca: Pulling fs layer [2022-06-27T05:15:32.734Z] 765212b225bb: Pulling fs layer [2022-06-27T05:15:32.734Z] f23df028b6ca: Pulling fs layer [2022-06-27T05:15:32.734Z] 765212b225bb: Waiting [2022-06-27T05:15:32.734Z] f23df028b6ca: Waiting [2022-06-27T05:15:32.734Z] d65c8cfc05b1: Pulling fs layer [2022-06-27T05:15:32.734Z] 2437ff75d9bd: Pulling fs layer [2022-06-27T05:15:32.734Z] d65c8cfc05b1: Waiting [2022-06-27T05:15:32.734Z] 2437ff75d9bd: Waiting [2022-06-27T05:15:32.734Z] 04944245beec: Verifying Checksum [2022-06-27T05:15:32.734Z] 04944245beec: Download complete [2022-06-27T05:15:32.734Z] 765212b225bb: Verifying Checksum [2022-06-27T05:15:32.734Z] 765212b225bb: Download complete [2022-06-27T05:15:32.734Z] f23df028b6ca: Download complete [2022-06-27T05:15:32.734Z] d65c8cfc05b1: Verifying Checksum [2022-06-27T05:15:32.734Z] d65c8cfc05b1: Download complete [2022-06-27T05:15:32.734Z] 699f458cf7ca: Verifying Checksum [2022-06-27T05:15:32.734Z] 699f458cf7ca: Download complete [2022-06-27T05:15:33.337Z] 8998bd30e6a1: Verifying Checksum [2022-06-27T05:15:33.337Z] 8998bd30e6a1: Download complete [2022-06-27T05:15:35.317Z] 2437ff75d9bd: Verifying Checksum [2022-06-27T05:15:35.317Z] 2437ff75d9bd: Download complete [2022-06-27T05:15:37.297Z] 8998bd30e6a1: Pull complete [2022-06-27T05:15:37.898Z] 04944245beec: Pull complete [2022-06-27T05:15:39.336Z] 699f458cf7ca: Pull complete [2022-06-27T05:15:39.610Z] 765212b225bb: Pull complete [2022-06-27T05:15:40.593Z] f23df028b6ca: Pull complete [2022-06-27T05:15:40.593Z] d65c8cfc05b1: Pull complete [2022-06-27T05:15:55.691Z] 2437ff75d9bd: Pull complete [2022-06-27T05:15:55.691Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-27T05:15:55.691Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T05:15:55.691Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T05:15:56.052Z] prd-ubuntu20.04-docker-arm64-4c-16g-16064 does not seem to be running inside a container [2022-06-27T05:15:56.139Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-27T05:15:58.650Z] $ docker top e00f11f281a6d910c87a3f773c8aa773f6881186c71447097566407642e35cce -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:15:59.623Z] ---> job-cost.sh [2022-06-27T05:15:59.623Z] lf-activate-venv: SKIPPING [2022-06-27T05:15:59.623Z] INFO: No Stack... [2022-06-27T05:15:59.897Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-27T05:16:00.875Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T05:16:01.563Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2022-06-27T05:16:01.563Z] + cut -d, -f6 [Pipeline] lock [2022-06-27T05:16:01.650Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-358-1-stack-cost] [2022-06-27T05:16:01.655Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-358-1-stack-cost] did not exist. Created. [2022-06-27T05:16:01.655Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-358-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T05:16:02.400Z] /w/workspace/device-modbus-go/1@tmp/durable-aee77243/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-27T05:16:03.098Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-27T05:16:03.131Z] Warning: overwriting stash ‘stack-cost’ [2022-06-27T05:16:03.183Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T05:16:03.198Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-358-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T05:16:03.272Z] $ docker stop --time=1 e00f11f281a6d910c87a3f773c8aa773f6881186c71447097566407642e35cce [2022-06-27T05:16:04.770Z] $ docker rm -f e00f11f281a6d910c87a3f773c8aa773f6881186c71447097566407642e35cce [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-06-27T05:16:05.705Z] provisioning config files... [2022-06-27T05:16:05.714Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-358@tmp/config5920362145243011023tmp [Pipeline] { [Pipeline] sh [2022-06-27T05:16:06.047Z] + set +x [2022-06-27T05:16:06.047Z] + curl -s https://codecov.io/bash [2022-06-27T05:16:06.047Z] + bash -s -- [2022-06-27T05:16:06.047Z] [2022-06-27T05:16:06.047Z] _____ _ [2022-06-27T05:16:06.047Z] / ____| | | [2022-06-27T05:16:06.047Z] | | ___ __| | ___ ___ _____ __ [2022-06-27T05:16:06.047Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-27T05:16:06.047Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-27T05:16:06.047Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-27T05:16:06.047Z] Bash-1.0.6 [2022-06-27T05:16:06.047Z] [2022-06-27T05:16:06.047Z] [2022-06-27T05:16:06.047Z] ==> git version 2.25.1 found [2022-06-27T05:16:06.047Z] ==> 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-06-27T05:16:06.047Z] Release-Date: 2020-01-08 [2022-06-27T05:16:06.047Z] 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-06-27T05:16:06.047Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-27T05:16:06.047Z] ==> Jenkins CI detected. [2022-06-27T05:16:06.047Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-358 [2022-06-27T05:16:06.047Z] project root: . [2022-06-27T05:16:06.047Z] --> token set from env [2022-06-27T05:16:06.047Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-27T05:16:06.047Z] ==> Running gcov in . (disable via -X gcov) [2022-06-27T05:16:06.047Z] ==> Python coveragepy not found [2022-06-27T05:16:06.047Z] ==> Searching for coverage reports in: [2022-06-27T05:16:06.047Z] + . [2022-06-27T05:16:06.047Z] -> Found 1 reports [2022-06-27T05:16:06.047Z] ==> Detecting git/mercurial file structure [2022-06-27T05:16:06.047Z] ==> Reading reports [2022-06-27T05:16:06.047Z] + ./coverage.out bytes=24065 [2022-06-27T05:16:06.047Z] ==> Appending adjustments [2022-06-27T05:16:06.047Z] https://docs.codecov.io/docs/fixing-reports [2022-06-27T05:16:06.308Z] + Found adjustments [2022-06-27T05:16:06.308Z] ==> Gzipping contents [2022-06-27T05:16:06.308Z] 4.0K /tmp/codecov.CUHBQ9.gz [2022-06-27T05:16:06.308Z] ==> Uploading reports [2022-06-27T05:16:06.308Z] url: https://codecov.io [2022-06-27T05:16:06.308Z] query: branch=PR-358&commit=605c9fe83f2e5bc9b618a0c79dc2899ea1183345&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-358%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=358&job=&cmd_args= [2022-06-27T05:16:06.308Z] -> Pinging Codecov [2022-06-27T05:16:06.308Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-358&commit=605c9fe83f2e5bc9b618a0c79dc2899ea1183345&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-358%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=358&job=&cmd_args= [2022-06-27T05:16:06.569Z] -> Uploading to [2022-06-27T05:16:06.570Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-27/55DBCA73C666E3227836607328DD7E49/605c9fe83f2e5bc9b618a0c79dc2899ea1183345/48eb9f1c-1bd2-4665-b48a-dc7177fbd69a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220627%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220627T051606Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e30c0602410410c4ae1e454fa141990e304d8606cf65c2876dc4c361820fe59e [2022-06-27T05:16:06.570Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-27T05:16:06.570Z] Dload Upload Total Spent Left Speed [2022-06-27T05:16:06.829Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4044 0 0 100 4044 0 17431 --:--:-- --:--:-- --:--:-- 17506 [2022-06-27T05:16:06.829Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/605c9fe83f2e5bc9b618a0c79dc2899ea1183345 [Pipeline] } [2022-06-27T05:16:06.856Z] 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-06-27T05:16:08.555Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-358/archives ] [2022-06-27T05:16:08.555Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-358/archives [2022-06-27T05:16:08.555Z] total 16 [2022-06-27T05:16:08.555Z] drwxr-xr-x 3 root root 4096 Jun 27 05:07 . [2022-06-27T05:16:08.555Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 27 05:07 .. [2022-06-27T05:16:08.555Z] drwxr-xr-x 2 root root 4096 Jun 27 05:07 cost [2022-06-27T05:16:08.555Z] -rw-r--r-- 1 root root 87 Jun 27 05:07 cost.csv [2022-06-27T05:16:08.555Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-358/archives [2022-06-27T05:16:08.555Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-358/archives [2022-06-27T05:16:08.555Z] total 16 [2022-06-27T05:16:08.555Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 05:07 . [2022-06-27T05:16:08.555Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 27 05:07 .. [2022-06-27T05:16:08.555Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 27 05:07 cost [2022-06-27T05:16:08.555Z] -rw-r--r-- 1 jenkins jenkins 87 Jun 27 05:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:16:08.889Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:16:09.784Z] ---> package-listing.sh [2022-06-27T05:16:09.784Z] ++ facter osfamily [2022-06-27T05:16:09.784Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-27T05:16:10.044Z] + OS_FAMILY=debian [2022-06-27T05:16:10.044Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-358 [2022-06-27T05:16:10.044Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-27T05:16:10.044Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-27T05:16:10.044Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-27T05:16:10.044Z] + PACKAGES=/tmp/packages_start.txt [2022-06-27T05:16:10.044Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-358 ']' [2022-06-27T05:16:10.044Z] + PACKAGES=/tmp/packages_end.txt [2022-06-27T05:16:10.044Z] + case "${OS_FAMILY}" in [2022-06-27T05:16:10.044Z] + grep '^ii' [2022-06-27T05:16:10.044Z] + dpkg -l [2022-06-27T05:16:10.044Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-27T05:16:10.044Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-27T05:16:10.044Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-27T05:16:10.044Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-358 ']' [2022-06-27T05:16:10.044Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-358/archives/ [2022-06-27T05:16:10.044Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-358/archives/ [Pipeline] echo [2022-06-27T05:16:10.079Z] 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-358/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-27T05:16:10.373Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:16:10.996Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T05:16:10.996Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T05:16:11.154Z] prd-ubuntu20.04-docker-8c-8g-16060 does not seem to be running inside a container [2022-06-27T05:16:11.190Z] $ 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-358/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-358 -v /w/workspace/xfoundry_device-modbus-go_PR-358:/w/workspace/xfoundry_device-modbus-go_PR-358:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-358@tmp:/w/workspace/xfoundry_device-modbus-go_PR-358@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-27T05:16:11.454Z] $ docker top a267b77435d4fa907211e6c0e0bc9b22979097a28730dabb953d28985181896b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T05:16:11.848Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-27T05:16:12.158Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-27T05:16:12.469Z] + ls /var/log/sa-host [2022-06-27T05:16:12.470Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T05:16:12.608Z] provisioning config files... [2022-06-27T05:16:12.618Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-358@tmp/config9156795937898545339tmp [Pipeline] { [Pipeline] echo [2022-06-27T05:16:12.664Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:16:12.974Z] ---> create-netrc.sh [Pipeline] } [2022-06-27T05:16:13.005Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:16:13.406Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-27T05:16:13.437Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:16:13.749Z] ---> sudo-logs.sh [2022-06-27T05:16:13.749Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-27T05:16:13.840Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:16:14.157Z] ---> job-cost.sh [2022-06-27T05:16:14.157Z] lf-activate-venv: SKIPPING [2022-06-27T05:16:14.157Z] DEBUG: total: 0.2199999988079071 [2022-06-27T05:16:14.157Z] INFO: Retrieving Stack Cost... [2022-06-27T05:16:14.418Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T05:16:14.994Z] INFO: Archiving Costs [Pipeline] echo [2022-06-27T05:16:15.029Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:16:15.356Z] ---> logs-deploy.sh [2022-06-27T05:16:15.356Z] lf-activate-venv: SKIPPING [2022-06-27T05:16:15.356Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-358/1 [2022-06-27T05:16:15.356Z] INFO: archiving workspace using pattern(s): [2022-06-27T05:16:16.294Z] Archives upload complete. [2022-06-27T05:16:16.294Z] INFO: archiving logs to Nexus