Pull request #359 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ab8957c6cd7bd4d91af099f839d53bfb66f5bee8+df6ebf4862d29b15333f4a73058cc7861157986f (12a9e5d59c56a46af06eaa251ff628ce328537e9) 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-ssh4813641585237296910.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-ssh5359341662901404993.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-359/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-359/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2373044413237010677.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-359/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16999005625683762173.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-ssh5153198944090830796.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-359/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-359/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5637012510447324482.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-16788 in /w/workspace/xfoundry_device-modbus-go_PR-359 [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-359 # 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 df6ebf4862d29b15333f4a73058cc7861157986f into PR head commit ab8957c6cd7bd4d91af099f839d53bfb66f5bee8 Merge succeeded, producing ab8957c6cd7bd4d91af099f839d53bfb66f5bee8 Checking out Revision ab8957c6cd7bd4d91af099f839d53bfb66f5bee8 (PR-359) > 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/359/head:refs/remotes/origin/PR-359 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ab8957c6cd7bd4d91af099f839d53bfb66f5bee8 # 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 df6ebf4862d29b15333f4a73058cc7861157986f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ab8957c6cd7bd4d91af099f839d53bfb66f5bee8 # timeout=10 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.7.5 to 1.8.0" 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-07-04T05:06:42.980Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-04T05:06:43.177Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-04T05:06:43.282Z] ========================================================= [2022-07-04T05:06:43.282Z] EdgeX Global Pipelines Version Info [2022-07-04T05:06:43.282Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-04T05:06:44.120Z] ------------------- [2022-07-04T05:06:44.120Z] stable info: [2022-07-04T05:06:44.120Z] ------------------- [2022-07-04T05:06:44.120Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-04T05:06:44.120Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-07-04T05:06:44.120Z] Message: update stable to v1.0.234 [2022-07-04T05:06:44.696Z] ------------------- [2022-07-04T05:06:44.696Z] experimental info: [2022-07-04T05:06:44.696Z] ------------------- [2022-07-04T05:06:44.696Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-04T05:06:44.696Z] Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 [2022-07-04T05:06:44.696Z] Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-04T05:06:45.073Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-07-04T05:06:45.119Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-07-04T05:06:45.163Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-04T05:06:45.206Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-04T05:06:45.246Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-04T05:06:45.293Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-07-04T05:06:45.336Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-04T05:06:45.381Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-04T05:06:45.422Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-04T05:06:45.463Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-04T05:06:45.506Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-04T05:06:45.549Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-07-04T05:06:45.591Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-04T05:06:45.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-04T05:06:45.679Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-04T05:06:45.723Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-04T05:06:45.762Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-04T05:06:45.806Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-04T05:06:45.845Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-04T05:06:45.892Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-04T05:06:45.934Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-04T05:06:45.975Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-04T05:06:46.018Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-04T05:06:46.064Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-04T05:06:46.108Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-04T05:06:46.152Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-04T05:06:46.195Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-04T05:06:46.236Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-359 [Pipeline] echo [2022-07-04T05:06:46.277Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-359 [Pipeline] echo [2022-07-04T05:06:46.319Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-359 [Pipeline] echo [2022-07-04T05:06:46.368Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ab8957c6cd7bd4d91af099f839d53bfb66f5bee8 [Pipeline] echo [2022-07-04T05:06:46.414Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ab8957c [Pipeline] echo [2022-07-04T05:06:46.459Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-04T05:06:46.596Z] provisioning config files... [2022-07-04T05:06:46.613Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-359@tmp/config1640585852537837425tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-04T05:06:46.964Z] ---> docker-login.sh [2022-07-04T05:06:46.964Z] nexus3.edgexfoundry.org:10001 [2022-07-04T05:06:47.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T05:06:47.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T05:06:47.228Z] Configure a credential helper to remove this warning. See [2022-07-04T05:06:47.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T05:06:47.228Z] [2022-07-04T05:06:47.228Z] Login Succeeded [2022-07-04T05:06:47.228Z] nexus3.edgexfoundry.org:10002 [2022-07-04T05:06:47.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T05:06:47.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T05:06:47.491Z] Configure a credential helper to remove this warning. See [2022-07-04T05:06:47.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T05:06:47.491Z] [2022-07-04T05:06:47.491Z] Login Succeeded [2022-07-04T05:06:47.491Z] nexus3.edgexfoundry.org:10003 [2022-07-04T05:06:47.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T05:06:47.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T05:06:47.491Z] Configure a credential helper to remove this warning. See [2022-07-04T05:06:47.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T05:06:47.491Z] [2022-07-04T05:06:47.491Z] Login Succeeded [2022-07-04T05:06:47.491Z] nexus3.edgexfoundry.org:10004 [2022-07-04T05:06:47.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T05:06:47.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T05:06:47.754Z] Configure a credential helper to remove this warning. See [2022-07-04T05:06:47.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T05:06:47.754Z] [2022-07-04T05:06:47.754Z] Login Succeeded [2022-07-04T05:06:47.754Z] docker.io [2022-07-04T05:06:47.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T05:06:48.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T05:06:48.331Z] Configure a credential helper to remove this warning. See [2022-07-04T05:06:48.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T05:06:48.331Z] [2022-07-04T05:06:48.331Z] Login Succeeded [2022-07-04T05:06:48.331Z] ---> docker-login.sh ends [Pipeline] } [2022-07-04T05:06:48.357Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-04T05:06:48.985Z] + git rev-list -1 --merges ab8957c6cd7bd4d91af099f839d53bfb66f5bee8~1..ab8957c6cd7bd4d91af099f839d53bfb66f5bee8 [Pipeline] echo [2022-07-04T05:06:49.041Z] -----------> git rev-list -1 --merges ab8957c6cd7bd4d91af099f839d53bfb66f5bee8~1..ab8957c6cd7bd4d91af099f839d53bfb66f5bee8 ab8957c6cd7bd4d91af099f839d53bfb66f5bee8 [false] [Pipeline] sh [2022-07-04T05:06:49.364Z] + git log --format=format:%s -1 ab8957c6cd7bd4d91af099f839d53bfb66f5bee8 [Pipeline] echo [2022-07-04T05:06:49.401Z] ========================================================= [2022-07-04T05:06:49.401Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-04T05:06:49.401Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-04T05:06:49.835Z] + git log --format=format:%s -1 ab8957c6cd7bd4d91af099f839d53bfb66f5bee8 [Pipeline] echo [2022-07-04T05:06:49.870Z] [semverPrep] GIT_COMMIT: ab8957c6cd7bd4d91af099f839d53bfb66f5bee8, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.7.5 to 1.8.0 [Pipeline] echo [2022-07-04T05:06:49.901Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-04T05:06:50.296Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-04T05:06:50.296Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-04T05:06:50.296Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-04T05:06:50.296Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-04T05:06:50.296Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-04T05:06:50.296Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-04T05:06:50.296Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-04T05:06:50.771Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-04T05:06:50.771Z] [2022-07-04T05:06:50.771Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-04T05:06:51.156Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-04T05:06:51.156Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-04T05:06:51.156Z] 42c077c10790: Pulling fs layer [2022-07-04T05:06:51.156Z] f63e77b7563a: Pulling fs layer [2022-07-04T05:06:51.157Z] bd5fdadae976: Pulling fs layer [2022-07-04T05:06:51.157Z] 205491f53016: Pulling fs layer [2022-07-04T05:06:51.157Z] df18705c85c3: Pulling fs layer [2022-07-04T05:06:51.157Z] bdb3f477010e: Pulling fs layer [2022-07-04T05:06:51.157Z] c8a8fc8e1c8f: Pulling fs layer [2022-07-04T05:06:51.157Z] 2c6e9b1d212d: Pulling fs layer [2022-07-04T05:06:51.157Z] bdb8f0575790: Pulling fs layer [2022-07-04T05:06:51.157Z] 386e3cb2ff24: Pulling fs layer [2022-07-04T05:06:51.157Z] 2343380bae48: Pulling fs layer [2022-07-04T05:06:51.157Z] bdb3f477010e: Waiting [2022-07-04T05:06:51.157Z] 205491f53016: Waiting [2022-07-04T05:06:51.157Z] c8a8fc8e1c8f: Waiting [2022-07-04T05:06:51.157Z] bdb8f0575790: Waiting [2022-07-04T05:06:51.157Z] 386e3cb2ff24: Waiting [2022-07-04T05:06:51.157Z] 2c6e9b1d212d: Waiting [2022-07-04T05:06:51.157Z] 2343380bae48: Waiting [2022-07-04T05:06:51.157Z] f63e77b7563a: Verifying Checksum [2022-07-04T05:06:51.157Z] f63e77b7563a: Download complete [2022-07-04T05:06:51.157Z] 205491f53016: Verifying Checksum [2022-07-04T05:06:51.157Z] 205491f53016: Download complete [2022-07-04T05:06:51.416Z] df18705c85c3: Verifying Checksum [2022-07-04T05:06:51.416Z] df18705c85c3: Download complete [2022-07-04T05:06:51.416Z] bdb3f477010e: Verifying Checksum [2022-07-04T05:06:51.416Z] bdb3f477010e: Download complete [2022-07-04T05:06:51.416Z] bd5fdadae976: Verifying Checksum [2022-07-04T05:06:51.416Z] bd5fdadae976: Download complete [2022-07-04T05:06:51.416Z] 2c6e9b1d212d: Verifying Checksum [2022-07-04T05:06:51.416Z] 2c6e9b1d212d: Download complete [2022-07-04T05:06:51.416Z] bdb8f0575790: Download complete [2022-07-04T05:06:51.416Z] 386e3cb2ff24: Verifying Checksum [2022-07-04T05:06:51.416Z] 386e3cb2ff24: Download complete [2022-07-04T05:06:51.416Z] 2343380bae48: Verifying Checksum [2022-07-04T05:06:51.416Z] 2343380bae48: Download complete [2022-07-04T05:06:51.416Z] 42c077c10790: Verifying Checksum [2022-07-04T05:06:51.416Z] 42c077c10790: Download complete [2022-07-04T05:06:51.678Z] c8a8fc8e1c8f: Verifying Checksum [2022-07-04T05:06:51.678Z] c8a8fc8e1c8f: Download complete [2022-07-04T05:06:53.079Z] 42c077c10790: Pull complete [2022-07-04T05:06:53.079Z] f63e77b7563a: Pull complete [2022-07-04T05:06:53.653Z] bd5fdadae976: Pull complete [2022-07-04T05:06:53.653Z] 205491f53016: Pull complete [2022-07-04T05:06:53.915Z] df18705c85c3: Pull complete [2022-07-04T05:06:54.176Z] bdb3f477010e: Pull complete [2022-07-04T05:06:56.092Z] c8a8fc8e1c8f: Pull complete [2022-07-04T05:06:56.092Z] 2c6e9b1d212d: Pull complete [2022-07-04T05:06:56.353Z] bdb8f0575790: Pull complete [2022-07-04T05:06:56.353Z] 386e3cb2ff24: Pull complete [2022-07-04T05:06:56.615Z] 2343380bae48: Pull complete [2022-07-04T05:06:56.615Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-07-04T05:06:56.615Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-04T05:06:56.615Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-04T05:06:56.853Z] prd-ubuntu20.04-docker-8c-8g-16788 does not seem to be running inside a container [2022-07-04T05:06:56.896Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-359 -v /w/workspace/xfoundry_device-modbus-go_PR-359:/w/workspace/xfoundry_device-modbus-go_PR-359:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-359@tmp:/w/workspace/xfoundry_device-modbus-go_PR-359@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-04T05:06:58.213Z] $ docker top 750667d1fa9fa7e00afcf661e927e033efc4e121eb865ed67ca7cfb26030b4c2 -eo pid,comm [2022-07-04T05:06:58.282Z] 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-07-04T05:06:58.282Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-04T05:06:58.408Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-04T05:06:58.408Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-04T05:06:58.560Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-04T05:06:58.565Z] $ docker exec 750667d1fa9fa7e00afcf661e927e033efc4e121eb865ed67ca7cfb26030b4c2 ssh-agent [2022-07-04T05:06:58.701Z] SSH_AUTH_SOCK=/tmp/ssh-e7ZzPYMpWUio/agent.32 [2022-07-04T05:06:58.701Z] SSH_AGENT_PID=38 [2022-07-04T05:06:58.709Z] Running ssh-add (command line suppressed) [2022-07-04T05:06:58.834Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-359@tmp/private_key_4027529202056548410.key (/w/workspace/xfoundry_device-modbus-go_PR-359@tmp/private_key_4027529202056548410.key) [2022-07-04T05:06:58.853Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-04T05:06:59.188Z] + git tag --points-at HEAD [Pipeline] } [2022-07-04T05:06:59.217Z] $ docker exec --env ******** --env ******** 750667d1fa9fa7e00afcf661e927e033efc4e121eb865ed67ca7cfb26030b4c2 ssh-agent -k [2022-07-04T05:06:59.343Z] unset SSH_AUTH_SOCK; [2022-07-04T05:06:59.343Z] unset SSH_AGENT_PID; [2022-07-04T05:06:59.343Z] echo Agent pid 38 killed; [2022-07-04T05:06:59.355Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-04T05:06:59.444Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-04T05:06:59.444Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-04T05:06:59.592Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-04T05:06:59.596Z] $ docker exec 750667d1fa9fa7e00afcf661e927e033efc4e121eb865ed67ca7cfb26030b4c2 ssh-agent [2022-07-04T05:06:59.723Z] SSH_AUTH_SOCK=/tmp/ssh-gpnYMc9waJ2X/agent.74 [2022-07-04T05:06:59.723Z] SSH_AGENT_PID=81 [2022-07-04T05:06:59.730Z] Running ssh-add (command line suppressed) [2022-07-04T05:06:59.858Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-359@tmp/private_key_3152712312844893308.key (/w/workspace/xfoundry_device-modbus-go_PR-359@tmp/private_key_3152712312844893308.key) [2022-07-04T05:06:59.875Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-04T05:07:00.225Z] + git semver init [2022-07-04T05:07:00.486Z] 2022-07-04 05:07:00,434 [run_init] DEBUG init version:0.0.0 force:False [2022-07-04T05:07:00.486Z] 2022-07-04 05:07:00,435 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-359/.semver [2022-07-04T05:07:00.486Z] 2022-07-04 05:07:00,436 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-359/.semver [2022-07-04T05:07:00.486Z] 2022-07-04 05:07:00,436 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-359/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-359, universal_newlines=False, shell=None, istream=None) [2022-07-04T05:07:01.435Z] 2022-07-04 05:07:01,168 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-359/.git/info/exclude [2022-07-04T05:07:01.435Z] 2022-07-04 05:07:01,169 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-359/.semver/PR-359 with force:False [2022-07-04T05:07:01.436Z] 2022-07-04 05:07:01,169 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-359/.semver/PR-359 [2022-07-04T05:07:01.436Z] 2022-07-04 05:07:01,173 [execute] INFO git cat-file --batch-check [2022-07-04T05:07:01.436Z] 2022-07-04 05:07:01,174 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-359/.semver, universal_newlines=False, shell=None, istream=) [2022-07-04T05:07:01.436Z] 2022-07-04 05:07:01,180 [execute] INFO git cat-file --batch [2022-07-04T05:07:01.436Z] 2022-07-04 05:07:01,181 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-359/.semver, universal_newlines=False, shell=None, istream=) [2022-07-04T05:07:01.436Z] 2022-07-04 05:07:01,186 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-359/.semver/PR-359 [2022-07-04T05:07:01.436Z] 0.0.0 [Pipeline] } [2022-07-04T05:07:01.464Z] $ docker exec --env ******** --env ******** 750667d1fa9fa7e00afcf661e927e033efc4e121eb865ed67ca7cfb26030b4c2 ssh-agent -k [2022-07-04T05:07:01.576Z] unset SSH_AUTH_SOCK; [2022-07-04T05:07:01.576Z] unset SSH_AGENT_PID; [2022-07-04T05:07:01.576Z] echo Agent pid 81 killed; [2022-07-04T05:07:01.588Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-04T05:07:02.027Z] + git semver [Pipeline] } [2022-07-04T05:07:02.317Z] $ docker stop --time=1 750667d1fa9fa7e00afcf661e927e033efc4e121eb865ed67ca7cfb26030b4c2 [2022-07-04T05:07:03.642Z] $ docker rm -f 750667d1fa9fa7e00afcf661e927e033efc4e121eb865ed67ca7cfb26030b4c2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-04T05:07:04.091Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-04T05:07:04.447Z] Stashed 1 file(s) [Pipeline] echo [2022-07-04T05:07:04.464Z] [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-07-04T05:07:05.053Z] provisioning config files... [2022-07-04T05:07:05.064Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-359@tmp/config4926173795090035451tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-04T05:07:05.417Z] ---> docker-login.sh [2022-07-04T05:07:05.417Z] nexus3.edgexfoundry.org:10001 [2022-07-04T05:07:05.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T05:07:05.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T05:07:05.417Z] Configure a credential helper to remove this warning. See [2022-07-04T05:07:05.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T05:07:05.417Z] [2022-07-04T05:07:05.417Z] Login Succeeded [2022-07-04T05:07:05.417Z] nexus3.edgexfoundry.org:10002 [2022-07-04T05:07:05.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T05:07:05.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T05:07:05.677Z] Configure a credential helper to remove this warning. See [2022-07-04T05:07:05.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T05:07:05.677Z] [2022-07-04T05:07:05.677Z] Login Succeeded [2022-07-04T05:07:05.677Z] nexus3.edgexfoundry.org:10003 [2022-07-04T05:07:05.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T05:07:05.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T05:07:05.677Z] Configure a credential helper to remove this warning. See [2022-07-04T05:07:05.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T05:07:05.677Z] [2022-07-04T05:07:05.677Z] Login Succeeded [2022-07-04T05:07:05.677Z] nexus3.edgexfoundry.org:10004 [2022-07-04T05:07:05.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T05:07:05.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T05:07:05.941Z] Configure a credential helper to remove this warning. See [2022-07-04T05:07:05.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T05:07:05.941Z] [2022-07-04T05:07:05.941Z] Login Succeeded [2022-07-04T05:07:05.941Z] docker.io [2022-07-04T05:07:05.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T05:07:06.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T05:07:06.206Z] Configure a credential helper to remove this warning. See [2022-07-04T05:07:06.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T05:07:06.206Z] [2022-07-04T05:07:06.206Z] Login Succeeded [2022-07-04T05:07:06.206Z] ---> docker-login.sh ends [Pipeline] } [2022-07-04T05:07:06.234Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-04T05:07:06.433Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-04T05:07:06.472Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-04T05:07:06.504Z] ========================================================= [2022-07-04T05:07:06.504Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-07-04T05:07:06.504Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-04T05:07:06.969Z] + 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-07-04T05:07:06.969Z] Sending build context to Docker daemon 6.053MB [2022-07-04T05:07:06.969Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-07-04T05:07:06.969Z] Step 2/10 : FROM ${BASE} AS builder [2022-07-04T05:07:06.969Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-04T05:07:06.969Z] 59bf1c3509f3: Pulling fs layer [2022-07-04T05:07:06.969Z] 666ba61612fd: Pulling fs layer [2022-07-04T05:07:06.969Z] 8ed8ca486205: Pulling fs layer [2022-07-04T05:07:06.969Z] cc1cd167ecdc: Pulling fs layer [2022-07-04T05:07:06.969Z] c516ae0d96e1: Pulling fs layer [2022-07-04T05:07:06.969Z] 684cea983483: Pulling fs layer [2022-07-04T05:07:06.969Z] dd3240ac7de5: Pulling fs layer [2022-07-04T05:07:06.969Z] b1e948a4e11c: Pulling fs layer [2022-07-04T05:07:06.969Z] a8fd76ee1af6: Pulling fs layer [2022-07-04T05:07:06.969Z] 646ad004c059: Pulling fs layer [2022-07-04T05:07:06.969Z] cc1cd167ecdc: Waiting [2022-07-04T05:07:06.969Z] c516ae0d96e1: Waiting [2022-07-04T05:07:06.969Z] 684cea983483: Waiting [2022-07-04T05:07:06.969Z] dd3240ac7de5: Waiting [2022-07-04T05:07:06.969Z] b1e948a4e11c: Waiting [2022-07-04T05:07:06.969Z] a8fd76ee1af6: Waiting [2022-07-04T05:07:06.969Z] 646ad004c059: Waiting [2022-07-04T05:07:06.969Z] 8ed8ca486205: Verifying Checksum [2022-07-04T05:07:06.969Z] 8ed8ca486205: Download complete [2022-07-04T05:07:06.969Z] 666ba61612fd: Verifying Checksum [2022-07-04T05:07:06.969Z] 666ba61612fd: Download complete [2022-07-04T05:07:07.230Z] c516ae0d96e1: Verifying Checksum [2022-07-04T05:07:07.230Z] c516ae0d96e1: Download complete [2022-07-04T05:07:07.230Z] 684cea983483: Download complete [2022-07-04T05:07:07.230Z] 59bf1c3509f3: Verifying Checksum [2022-07-04T05:07:07.230Z] 59bf1c3509f3: Download complete [2022-07-04T05:07:07.230Z] dd3240ac7de5: Download complete [2022-07-04T05:07:07.230Z] b1e948a4e11c: Verifying Checksum [2022-07-04T05:07:07.230Z] b1e948a4e11c: Download complete [2022-07-04T05:07:07.230Z] 59bf1c3509f3: Pull complete [2022-07-04T05:07:07.488Z] 666ba61612fd: Pull complete [2022-07-04T05:07:07.488Z] 8ed8ca486205: Pull complete [2022-07-04T05:07:07.751Z] 646ad004c059: Verifying Checksum [2022-07-04T05:07:07.751Z] 646ad004c059: Download complete [2022-07-04T05:07:07.751Z] a8fd76ee1af6: Verifying Checksum [2022-07-04T05:07:07.751Z] a8fd76ee1af6: Download complete [2022-07-04T05:07:07.751Z] cc1cd167ecdc: Download complete [2022-07-04T05:07:11.952Z] cc1cd167ecdc: Pull complete [2022-07-04T05:07:11.952Z] c516ae0d96e1: Pull complete [2022-07-04T05:07:12.214Z] 684cea983483: Pull complete [2022-07-04T05:07:12.214Z] dd3240ac7de5: Pull complete [2022-07-04T05:07:12.214Z] b1e948a4e11c: Pull complete [2022-07-04T05:07:14.757Z] a8fd76ee1af6: Pull complete [2022-07-04T05:07:15.333Z] 646ad004c059: Pull complete [2022-07-04T05:07:15.333Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-07-04T05:07:15.333Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-07-04T05:07:15.333Z] ---> 8f69c11f6b0c [2022-07-04T05:07:15.333Z] Step 3/10 : ARG MAKE='make build' [2022-07-04T05:07:16.729Z] ---> Running in 4e67fe4797d9 [2022-07-04T05:07:16.993Z] Removing intermediate container 4e67fe4797d9 [2022-07-04T05:07:16.993Z] ---> 73c1469f9378 [2022-07-04T05:07:16.993Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-04T05:07:16.993Z] ---> Running in 5df2677a4301 [2022-07-04T05:07:17.568Z] Removing intermediate container 5df2677a4301 [2022-07-04T05:07:17.568Z] ---> 87efd013cccd [2022-07-04T05:07:17.568Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-07-04T05:07:17.568Z] ---> Running in 0c01e9da52e6 [2022-07-04T05:07:17.829Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-04T05:07:19.216Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-04T05:07:19.216Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-07-04T05:07:19.477Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-07-04T05:07:19.477Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-07-04T05:07:19.477Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-07-04T05:07:19.738Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-07-04T05:07:19.738Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-07-04T05:07:19.738Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-07-04T05:07:19.874Z] Still waiting to schedule task [2022-07-04T05:07:19.875Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16789’ [2022-07-04T05:07:19.999Z] (8/8) Installing openssh (8.8_p1-r1) [2022-07-04T05:07:19.999Z] Executing busybox-1.34.1-r3.trigger [2022-07-04T05:07:19.999Z] OK: 226 MiB in 60 packages [2022-07-04T05:07:20.573Z] Removing intermediate container 0c01e9da52e6 [2022-07-04T05:07:20.573Z] ---> 320f80083f27 [2022-07-04T05:07:20.573Z] Step 6/10 : WORKDIR /device-modbus-go [2022-07-04T05:07:20.573Z] ---> Running in cd0d0ebc7530 [2022-07-04T05:07:20.573Z] Removing intermediate container cd0d0ebc7530 [2022-07-04T05:07:20.573Z] ---> 8f55df3bdd2f [2022-07-04T05:07:20.573Z] Step 7/10 : COPY go.mod vendor* ./ [2022-07-04T05:07:20.833Z] ---> 0a0c862adf72 [2022-07-04T05:07:20.833Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-04T05:07:20.833Z] ---> Running in 969f7ec586d6 [2022-07-04T05:07:38.956Z] Removing intermediate container 969f7ec586d6 [2022-07-04T05:07:38.956Z] ---> 34874c3684cf [2022-07-04T05:07:38.956Z] Step 9/10 : COPY . . [2022-07-04T05:07:38.956Z] ---> 0dc9f385650a [2022-07-04T05:07:38.956Z] Step 10/10 : RUN ${MAKE} [2022-07-04T05:07:38.956Z] ---> Running in 2663d9411dd7 [2022-07-04T05:07:39.217Z] noop [2022-07-04T05:07:39.477Z] Removing intermediate container 2663d9411dd7 [2022-07-04T05:07:39.477Z] ---> 40f32bf3c89f [2022-07-04T05:07:39.477Z] Successfully built 40f32bf3c89f [2022-07-04T05:07:39.737Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-04T05:07:40.185Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-04T05:07:40.185Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-04T05:07:40.348Z] prd-ubuntu20.04-docker-8c-8g-16788 does not seem to be running inside a container [2022-07-04T05:07:40.397Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-359 -v /w/workspace/xfoundry_device-modbus-go_PR-359:/w/workspace/xfoundry_device-modbus-go_PR-359:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-359@tmp:/w/workspace/xfoundry_device-modbus-go_PR-359@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-x86_64 cat [2022-07-04T05:07:40.789Z] $ docker top 85c60a3aad6eee82e9aff6c21f3ab949536d5512bbde632cc5c1fd9914cce145 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-04T05:07:41.197Z] + go version [2022-07-04T05:07:41.197Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-07-04T05:07:41.235Z] $ docker stop --time=1 85c60a3aad6eee82e9aff6c21f3ab949536d5512bbde632cc5c1fd9914cce145 [2022-07-04T05:07:42.561Z] $ docker rm -f 85c60a3aad6eee82e9aff6c21f3ab949536d5512bbde632cc5c1fd9914cce145 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-04T05:07:43.291Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-04T05:07:43.291Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-04T05:07:43.462Z] prd-ubuntu20.04-docker-8c-8g-16788 does not seem to be running inside a container [2022-07-04T05:07:43.508Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-359 -v /w/workspace/xfoundry_device-modbus-go_PR-359:/w/workspace/xfoundry_device-modbus-go_PR-359:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-359@tmp:/w/workspace/xfoundry_device-modbus-go_PR-359@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-x86_64 cat [2022-07-04T05:07:43.921Z] $ docker top c867819341b32e3b5f9c445b5cc070f3d4934a3dc81c2f951b3bec049c6f20c8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-04T05:07:44.380Z] + make test [2022-07-04T05:07:44.380Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-07-04T05:07:44.640Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-07-04T05:07:54.633Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-07-04T05:07:54.633Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.016s coverage: 46.4% of statements [2022-07-04T05:08:02.776Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-04T05:08:06.979Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-04T05:08:06.979Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-04T05:08:06.979Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-04T05:08:07.015Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-04T05:08:07.051Z] $ docker stop --time=1 c867819341b32e3b5f9c445b5cc070f3d4934a3dc81c2f951b3bec049c6f20c8 [2022-07-04T05:08:08.729Z] $ docker rm -f c867819341b32e3b5f9c445b5cc070f3d4934a3dc81c2f951b3bec049c6f20c8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-04T05:08:09.265Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-04T05:08:09.333Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-04T05:08:10.007Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-04T05:08:10.323Z] + ls -al . [2022-07-04T05:08:10.323Z] total 184 [2022-07-04T05:08:10.323Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 4 05:08 . [2022-07-04T05:08:10.323Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 05:06 .. [2022-07-04T05:08:10.323Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 4 05:06 .dockerignore [2022-07-04T05:08:10.323Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 4 05:07 .git [2022-07-04T05:08:10.323Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 05:06 .github [2022-07-04T05:08:10.323Z] -rw-rw-r-- 1 jenkins jenkins 331 Jul 4 05:06 .gitignore [2022-07-04T05:08:10.323Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 4 05:06 .golangci.yml [2022-07-04T05:08:10.323Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 4 05:07 .semver [2022-07-04T05:08:10.323Z] -rw-rw-r-- 1 jenkins jenkins 9636 Jul 4 05:06 Attribution.txt [2022-07-04T05:08:10.323Z] -rw-rw-r-- 1 jenkins jenkins 10001 Jul 4 05:06 CHANGELOG.md [2022-07-04T05:08:10.323Z] -rw-rw-r-- 1 jenkins jenkins 1546 Jul 4 05:06 Dockerfile [2022-07-04T05:08:10.323Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 4 05:06 GOVERNANCE.md [2022-07-04T05:08:10.323Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 4 05:06 Jenkinsfile [2022-07-04T05:08:10.323Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 4 05:06 LICENSE [2022-07-04T05:08:10.323Z] -rw-rw-r-- 1 jenkins jenkins 1905 Jul 4 05:06 Makefile [2022-07-04T05:08:10.323Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 4 05:06 OWNERS.md [2022-07-04T05:08:10.323Z] -rw-rw-r-- 1 jenkins jenkins 3397 Jul 4 05:06 README.md [2022-07-04T05:08:10.323Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 4 05:07 VERSION [2022-07-04T05:08:10.323Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 05:06 bin [2022-07-04T05:08:10.323Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 05:06 cmd [2022-07-04T05:08:10.323Z] -rw-r--r-- 1 jenkins jenkins 24065 Jul 4 05:07 coverage.out [2022-07-04T05:08:10.323Z] -rw-rw-r-- 1 jenkins jenkins 3404 Jul 4 05:06 go.mod [2022-07-04T05:08:10.323Z] -rw-rw-r-- 1 jenkins jenkins 36286 Jul 4 05:06 go.sum [2022-07-04T05:08:10.323Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 05:06 internal [2022-07-04T05:08:10.323Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 05:06 simulator [2022-07-04T05:08:10.323Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 05:06 snap [2022-07-04T05:08:10.323Z] -rw-rw-r-- 1 jenkins jenkins 229 Jul 4 05:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-04T05:08:10.717Z] + 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=ab8957c6cd7bd4d91af099f839d53bfb66f5bee8 --label arch=amd64 --label version=0.0.0 . [2022-07-04T05:08:10.717Z] Sending build context to Docker daemon 6.078MB [2022-07-04T05:08:10.717Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-07-04T05:08:10.717Z] Step 2/23 : FROM ${BASE} AS builder [2022-07-04T05:08:10.717Z] ---> 40f32bf3c89f [2022-07-04T05:08:10.717Z] Step 3/23 : ARG MAKE='make build' [2022-07-04T05:08:10.717Z] ---> Running in 57c17567cad1 [2022-07-04T05:08:10.977Z] Removing intermediate container 57c17567cad1 [2022-07-04T05:08:10.977Z] ---> e92e9d5555f1 [2022-07-04T05:08:10.977Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-04T05:08:10.977Z] ---> Running in e146f38a9a5c [2022-07-04T05:08:11.551Z] Removing intermediate container e146f38a9a5c [2022-07-04T05:08:11.551Z] ---> a59b890f5a35 [2022-07-04T05:08:11.551Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-07-04T05:08:11.551Z] ---> Running in 2250a3ff5988 [2022-07-04T05:08:11.813Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-04T05:08:12.760Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-04T05:08:13.023Z] OK: 226 MiB in 60 packages [2022-07-04T05:08:13.285Z] Removing intermediate container 2250a3ff5988 [2022-07-04T05:08:13.285Z] ---> 53861eec4834 [2022-07-04T05:08:13.285Z] Step 6/23 : WORKDIR /device-modbus-go [2022-07-04T05:08:13.547Z] ---> Running in 107e22953913 [2022-07-04T05:08:13.547Z] Removing intermediate container 107e22953913 [2022-07-04T05:08:13.547Z] ---> 3ee69c302b1a [2022-07-04T05:08:13.547Z] Step 7/23 : COPY go.mod vendor* ./ [2022-07-04T05:08:13.808Z] ---> 4ae310d376e8 [2022-07-04T05:08:13.808Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-04T05:08:13.808Z] ---> Running in 725382341fb3 [2022-07-04T05:08:14.382Z] Removing intermediate container 725382341fb3 [2022-07-04T05:08:14.382Z] ---> 7b77763b4584 [2022-07-04T05:08:14.382Z] Step 9/23 : COPY . . [2022-07-04T05:08:14.643Z] ---> 5e1e006a8ccc [2022-07-04T05:08:14.643Z] Step 10/23 : RUN ${MAKE} [2022-07-04T05:08:14.643Z] ---> Running in 3fc30215ae38 [2022-07-04T05:08:14.904Z] 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-07-04T05:08:36.872Z] Removing intermediate container 3fc30215ae38 [2022-07-04T05:08:36.872Z] ---> 9e8c249b66c5 [2022-07-04T05:08:36.872Z] Step 11/23 : FROM alpine:3.14 [2022-07-04T05:08:37.132Z] 3.14: Pulling from library/alpine [2022-07-04T05:08:37.392Z] 8663204ce13b: Pulling fs layer [2022-07-04T05:08:37.392Z] 8663204ce13b: Verifying Checksum [2022-07-04T05:08:37.392Z] 8663204ce13b: Download complete [2022-07-04T05:08:37.653Z] 8663204ce13b: Pull complete [2022-07-04T05:08:37.653Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-07-04T05:08:37.653Z] Status: Downloaded newer image for alpine:3.14 [2022-07-04T05:08:37.653Z] ---> e04c818066af [2022-07-04T05:08:37.653Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-07-04T05:08:37.653Z] ---> Running in 3e1a16c12c7a [2022-07-04T05:08:37.914Z] Removing intermediate container 3e1a16c12c7a [2022-07-04T05:08:37.914Z] ---> 4a733fdb8930 [2022-07-04T05:08:37.914Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-04T05:08:37.914Z] ---> Running in e3dd9cf55674 [2022-07-04T05:08:38.488Z] Removing intermediate container e3dd9cf55674 [2022-07-04T05:08:38.488Z] ---> f25363487706 [2022-07-04T05:08:38.488Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-04T05:08:38.488Z] ---> Running in adfbec5c82a1 [2022-07-04T05:08:38.748Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-07-04T05:08:39.691Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-07-04T05:08:39.952Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-04T05:08:39.952Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-07-04T05:08:39.952Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-04T05:08:40.213Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-07-04T05:08:40.213Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-04T05:08:40.213Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-04T05:08:40.475Z] Executing busybox-1.33.1-r7.trigger [2022-07-04T05:08:40.475Z] OK: 8 MiB in 20 packages [2022-07-04T05:08:40.737Z] Removing intermediate container adfbec5c82a1 [2022-07-04T05:08:40.737Z] ---> 34bbbe407af5 [2022-07-04T05:08:40.737Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-07-04T05:08:41.680Z] ---> 9140f43bb69a [2022-07-04T05:08:41.680Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-07-04T05:08:41.680Z] ---> e8a69a8e5666 [2022-07-04T05:08:41.680Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-07-04T05:08:41.680Z] ---> 23754dcf7304 [2022-07-04T05:08:41.680Z] Step 18/23 : EXPOSE 59901 [2022-07-04T05:08:41.947Z] ---> Running in ab92d7fa0dbe [2022-07-04T05:08:41.948Z] Removing intermediate container ab92d7fa0dbe [2022-07-04T05:08:41.948Z] ---> d18c145f009e [2022-07-04T05:08:41.948Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-07-04T05:08:41.948Z] ---> Running in a6897996c5f1 [2022-07-04T05:08:41.948Z] Removing intermediate container a6897996c5f1 [2022-07-04T05:08:41.948Z] ---> ca5a3d34304a [2022-07-04T05:08:41.948Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-04T05:08:42.212Z] ---> Running in 6f4b5496c0dd [2022-07-04T05:08:42.212Z] Removing intermediate container 6f4b5496c0dd [2022-07-04T05:08:42.212Z] ---> 7c0e8b070ee6 [2022-07-04T05:08:42.212Z] Step 21/23 : LABEL arch=amd64 [2022-07-04T05:08:42.212Z] ---> Running in 237919a2e3ef [2022-07-04T05:08:42.212Z] Removing intermediate container 237919a2e3ef [2022-07-04T05:08:42.212Z] ---> a26038a5c5db [2022-07-04T05:08:42.212Z] Step 22/23 : LABEL git_sha=ab8957c6cd7bd4d91af099f839d53bfb66f5bee8 [2022-07-04T05:08:42.475Z] ---> Running in c372cf39bcd0 [2022-07-04T05:08:42.475Z] Removing intermediate container c372cf39bcd0 [2022-07-04T05:08:42.475Z] ---> 76c81f2ecf6d [2022-07-04T05:08:42.475Z] Step 23/23 : LABEL version=0.0.0 [2022-07-04T05:08:42.475Z] ---> Running in bda128e0deea [2022-07-04T05:08:42.475Z] Removing intermediate container bda128e0deea [2022-07-04T05:08:42.475Z] ---> 2a8c0d2398d1 [2022-07-04T05:08:42.475Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-04T05:08:42.475Z] Successfully built 2a8c0d2398d1 [2022-07-04T05:08:42.475Z] 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-07-04T05:08:43.272Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-04T05:08:43.272Z] [2022-07-04T05:08:43.272Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-04T05:08:43.646Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-04T05:08:43.647Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-04T05:08:43.647Z] 5eb5b503b376: Pulling fs layer [2022-07-04T05:08:43.647Z] 5c69ac0246d0: Pulling fs layer [2022-07-04T05:08:43.647Z] ec43610c2a17: Pulling fs layer [2022-07-04T05:08:43.647Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-04T05:08:43.647Z] 33b1e0a273af: Pulling fs layer [2022-07-04T05:08:43.647Z] 5d3b04190fa2: Pulling fs layer [2022-07-04T05:08:43.647Z] 2f39f015ded8: Pulling fs layer [2022-07-04T05:08:43.647Z] 3a2ae6a8a46f: Waiting [2022-07-04T05:08:43.647Z] 33b1e0a273af: Waiting [2022-07-04T05:08:43.647Z] 5d3b04190fa2: Waiting [2022-07-04T05:08:43.647Z] 2f39f015ded8: Waiting [2022-07-04T05:08:43.647Z] 5c69ac0246d0: Verifying Checksum [2022-07-04T05:08:43.647Z] 5c69ac0246d0: Download complete [2022-07-04T05:08:43.647Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-04T05:08:43.647Z] 3a2ae6a8a46f: Download complete [2022-07-04T05:08:43.647Z] 33b1e0a273af: Verifying Checksum [2022-07-04T05:08:43.647Z] 33b1e0a273af: Download complete [2022-07-04T05:08:43.647Z] ec43610c2a17: Verifying Checksum [2022-07-04T05:08:43.647Z] ec43610c2a17: Download complete [2022-07-04T05:08:43.908Z] 5d3b04190fa2: Download complete [2022-07-04T05:08:43.908Z] 5eb5b503b376: Verifying Checksum [2022-07-04T05:08:43.908Z] 5eb5b503b376: Download complete [2022-07-04T05:08:44.478Z] 2f39f015ded8: Download complete [2022-07-04T05:08:45.415Z] 5eb5b503b376: Pull complete [2022-07-04T05:08:45.415Z] 5c69ac0246d0: Pull complete [2022-07-04T05:08:45.985Z] ec43610c2a17: Pull complete [2022-07-04T05:08:45.985Z] 3a2ae6a8a46f: Pull complete [2022-07-04T05:08:46.244Z] 33b1e0a273af: Pull complete [2022-07-04T05:08:46.244Z] 5d3b04190fa2: Pull complete [2022-07-04T05:08:51.518Z] 2f39f015ded8: Pull complete [2022-07-04T05:08:51.518Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-04T05:08:51.518Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-04T05:08:51.518Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-04T05:08:51.749Z] prd-ubuntu20.04-docker-8c-8g-16788 does not seem to be running inside a container [2022-07-04T05:08:51.790Z] $ 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-359 -v /w/workspace/xfoundry_device-modbus-go_PR-359:/w/workspace/xfoundry_device-modbus-go_PR-359:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-359@tmp:/w/workspace/xfoundry_device-modbus-go_PR-359@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-04T05:08:53.640Z] $ docker top 03d70e96f9162338b6ef898f435646e83efcb40f12a34245b2fb3b2ccdbe2009 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-04T05:08:54.123Z] ---> job-cost.sh [2022-07-04T05:08:54.123Z] lf-activate-venv: SKIPPING [2022-07-04T05:08:54.123Z] INFO: No Stack... [2022-07-04T05:08:54.383Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-04T05:08:54.953Z] INFO: Archiving Costs [Pipeline] sh [2022-07-04T05:08:55.327Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-359/archives/cost.csv [2022-07-04T05:08:55.327Z] + cut -d, -f6 [Pipeline] lock [2022-07-04T05:08:55.377Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-359-1-stack-cost] [2022-07-04T05:08:55.381Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-359-1-stack-cost] did not exist. Created. [2022-07-04T05:08:55.381Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-359-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-04T05:08:55.796Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-04T05:08:55.853Z] Stashed 1 file(s) [Pipeline] } [2022-07-04T05:08:55.879Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-359-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-04T05:08:55.956Z] $ docker stop --time=1 03d70e96f9162338b6ef898f435646e83efcb40f12a34245b2fb3b2ccdbe2009 [2022-07-04T05:08:57.125Z] $ docker rm -f 03d70e96f9162338b6ef898f435646e83efcb40f12a34245b2fb3b2ccdbe2009 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-04T05:10:02.047Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16791 in /w/workspace/xfoundry_device-modbus-go_PR-359 [Pipeline] { [Pipeline] ws [2022-07-04T05:10:02.079Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2022-07-04T05:10:02.148Z] Selected Git installation does not exist. Using Default [2022-07-04T05:10:02.149Z] The recommended git tool is: NONE [2022-07-04T05:10:08.248Z] using credential edgex-jenkins-ssh [2022-07-04T05:10:08.264Z] Cloning the remote Git repository [2022-07-04T05:10:08.328Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-07-04T05:10:08.419Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2022-07-04T05:10:08.499Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-07-04T05:10:08.500Z] > git --version # timeout=10 [2022-07-04T05:10:08.523Z] > git --version # 'git version 2.25.1' [2022-07-04T05:10:08.526Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-04T05:10:08.634Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-04T05:10:09.686Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-07-04T05:10:09.724Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-04T05:10:09.768Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-07-04T05:10:09.833Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-07-04T05:10:09.835Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-04T05:10:09.852Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/359/head:refs/remotes/origin/PR-359 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-04T05:10:10.332Z] Merging remotes/origin/main commit df6ebf4862d29b15333f4a73058cc7861157986f into PR head commit ab8957c6cd7bd4d91af099f839d53bfb66f5bee8 [2022-07-04T05:10:10.610Z] Merge succeeded, producing ab8957c6cd7bd4d91af099f839d53bfb66f5bee8 [2022-07-04T05:10:10.611Z] Checking out Revision ab8957c6cd7bd4d91af099f839d53bfb66f5bee8 (PR-359) [2022-07-04T05:10:10.356Z] > git config core.sparsecheckout # timeout=10 [2022-07-04T05:10:10.378Z] > git checkout -f ab8957c6cd7bd4d91af099f839d53bfb66f5bee8 # timeout=10 [2022-07-04T05:10:10.489Z] > git remote # timeout=10 [2022-07-04T05:10:10.514Z] > git config --get remote.origin.url # timeout=10 [2022-07-04T05:10:10.540Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-04T05:10:10.556Z] > git merge df6ebf4862d29b15333f4a73058cc7861157986f # timeout=10 [2022-07-04T05:10:10.588Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-04T05:10:10.623Z] > git config core.sparsecheckout # timeout=10 [2022-07-04T05:10:10.645Z] > git checkout -f ab8957c6cd7bd4d91af099f839d53bfb66f5bee8 # timeout=10 [2022-07-04T05:10:15.127Z] Commit message: "build(deps): Bump github.com/stretchr/testify from 1.7.5 to 1.8.0" [2022-07-04T05:10:15.194Z] > git --version # timeout=10 [2022-07-04T05:10:15.206Z] > git --version # 'git version 2.25.1' [2022-07-04T05:10:15.223Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-04T05:10:16.283Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-04T05:10:16.283Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-04T05:10:16.283Z] Dload Upload Total Spent Left Speed [2022-07-04T05:10:16.283Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 202k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh [2022-07-04T05:10:17.109Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-04T05:10:17.485Z] + sudo tee /etc/docker/daemon.new [2022-07-04T05:10:17.485Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-04T05:10:17.485Z] { [2022-07-04T05:10:17.485Z] "registry-mirrors": [ [2022-07-04T05:10:17.485Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-04T05:10:17.485Z] ], [2022-07-04T05:10:17.485Z] "bip": "10.250.0.254/24", [2022-07-04T05:10:17.485Z] "hosts": [ [2022-07-04T05:10:17.485Z] "tcp://0.0.0.0:5555", [2022-07-04T05:10:17.485Z] "unix:///var/run/docker.sock" [2022-07-04T05:10:17.485Z] ], [2022-07-04T05:10:17.485Z] "mtu": 1458, [2022-07-04T05:10:17.485Z] "selinux-enabled": true, [2022-07-04T05:10:17.485Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-04T05:10:17.485Z] } [Pipeline] sh [2022-07-04T05:10:17.856Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-04T05:10:18.429Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-04T05:10:36.869Z] provisioning config files... [2022-07-04T05:10:36.898Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config5719345961859321180tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-04T05:10:37.304Z] ---> docker-login.sh [2022-07-04T05:10:37.305Z] nexus3.edgexfoundry.org:10001 [2022-07-04T05:10:37.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T05:10:38.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T05:10:38.179Z] Configure a credential helper to remove this warning. See [2022-07-04T05:10:38.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T05:10:38.179Z] [2022-07-04T05:10:38.179Z] Login Succeeded [2022-07-04T05:10:38.179Z] nexus3.edgexfoundry.org:10002 [2022-07-04T05:10:38.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T05:10:38.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T05:10:38.777Z] Configure a credential helper to remove this warning. See [2022-07-04T05:10:38.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T05:10:38.777Z] [2022-07-04T05:10:38.777Z] Login Succeeded [2022-07-04T05:10:38.777Z] nexus3.edgexfoundry.org:10003 [2022-07-04T05:10:39.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T05:10:39.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T05:10:39.328Z] Configure a credential helper to remove this warning. See [2022-07-04T05:10:39.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T05:10:39.328Z] [2022-07-04T05:10:39.328Z] Login Succeeded [2022-07-04T05:10:39.328Z] nexus3.edgexfoundry.org:10004 [2022-07-04T05:10:39.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T05:10:39.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T05:10:39.877Z] Configure a credential helper to remove this warning. See [2022-07-04T05:10:39.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T05:10:39.877Z] [2022-07-04T05:10:39.877Z] Login Succeeded [2022-07-04T05:10:39.877Z] docker.io [2022-07-04T05:10:40.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T05:10:40.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T05:10:40.754Z] Configure a credential helper to remove this warning. See [2022-07-04T05:10:40.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T05:10:40.754Z] [2022-07-04T05:10:40.754Z] Login Succeeded [2022-07-04T05:10:40.754Z] ---> docker-login.sh ends [Pipeline] } [2022-07-04T05:10:40.800Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-04T05:10:41.237Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-04T05:10:41.266Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-04T05:10:41.297Z] ========================================================= [2022-07-04T05:10:41.297Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-07-04T05:10:41.297Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-04T05:10:41.806Z] + 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-07-04T05:10:42.082Z] Sending build context to Docker daemon 3.142MB [2022-07-04T05:10:42.358Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-07-04T05:10:42.358Z] Step 2/10 : FROM ${BASE} AS builder [2022-07-04T05:10:42.358Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-04T05:10:42.358Z] 9b3977197b4f: Pulling fs layer [2022-07-04T05:10:42.358Z] 1a89e8eeedd5: Pulling fs layer [2022-07-04T05:10:42.358Z] 94645a83ff95: Pulling fs layer [2022-07-04T05:10:42.358Z] e6fb740bc735: Pulling fs layer [2022-07-04T05:10:42.358Z] 3a77bd46dcc9: Pulling fs layer [2022-07-04T05:10:42.358Z] 355e64cbe906: Pulling fs layer [2022-07-04T05:10:42.358Z] 63ab81a10011: Pulling fs layer [2022-07-04T05:10:42.358Z] 555d1d1c4555: Pulling fs layer [2022-07-04T05:10:42.358Z] 7d9057610161: Pulling fs layer [2022-07-04T05:10:42.358Z] 3a77bd46dcc9: Waiting [2022-07-04T05:10:42.358Z] e6fb740bc735: Waiting [2022-07-04T05:10:42.358Z] 355e64cbe906: Waiting [2022-07-04T05:10:42.358Z] 63ab81a10011: Waiting [2022-07-04T05:10:42.358Z] 555d1d1c4555: Waiting [2022-07-04T05:10:42.358Z] 7d9057610161: Waiting [2022-07-04T05:10:42.358Z] 94645a83ff95: Verifying Checksum [2022-07-04T05:10:42.358Z] 94645a83ff95: Download complete [2022-07-04T05:10:42.358Z] 1a89e8eeedd5: Verifying Checksum [2022-07-04T05:10:42.358Z] 1a89e8eeedd5: Download complete [2022-07-04T05:10:42.358Z] 3a77bd46dcc9: Verifying Checksum [2022-07-04T05:10:42.358Z] 3a77bd46dcc9: Download complete [2022-07-04T05:10:42.636Z] 9b3977197b4f: Verifying Checksum [2022-07-04T05:10:42.636Z] 9b3977197b4f: Download complete [2022-07-04T05:10:42.636Z] 355e64cbe906: Verifying Checksum [2022-07-04T05:10:42.636Z] 355e64cbe906: Download complete [2022-07-04T05:10:42.636Z] 63ab81a10011: Verifying Checksum [2022-07-04T05:10:42.636Z] 63ab81a10011: Download complete [2022-07-04T05:10:43.639Z] 9b3977197b4f: Pull complete [2022-07-04T05:10:43.639Z] 7d9057610161: Verifying Checksum [2022-07-04T05:10:43.639Z] 7d9057610161: Download complete [2022-07-04T05:10:44.252Z] 1a89e8eeedd5: Pull complete [2022-07-04T05:10:44.528Z] 94645a83ff95: Pull complete [2022-07-04T05:10:44.806Z] 555d1d1c4555: Verifying Checksum [2022-07-04T05:10:44.806Z] 555d1d1c4555: Download complete [2022-07-04T05:10:45.408Z] e6fb740bc735: Verifying Checksum [2022-07-04T05:10:45.408Z] e6fb740bc735: Download complete [2022-07-04T05:10:57.840Z] e6fb740bc735: Pull complete [2022-07-04T05:10:57.840Z] 3a77bd46dcc9: Pull complete [2022-07-04T05:10:58.118Z] 355e64cbe906: Pull complete [2022-07-04T05:10:58.396Z] 63ab81a10011: Pull complete [2022-07-04T05:11:05.142Z] 555d1d1c4555: Pull complete [2022-07-04T05:11:07.812Z] 7d9057610161: Pull complete [2022-07-04T05:11:07.812Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-07-04T05:11:07.812Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-07-04T05:11:07.812Z] ---> 819e984ddca1 [2022-07-04T05:11:07.812Z] Step 3/10 : ARG MAKE='make build' [2022-07-04T05:11:09.799Z] ---> Running in abbc135fc32c [2022-07-04T05:11:10.076Z] Removing intermediate container abbc135fc32c [2022-07-04T05:11:10.076Z] ---> dccb0516049d [2022-07-04T05:11:10.076Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-04T05:11:10.076Z] ---> Running in 148b2c60fb60 [2022-07-04T05:11:12.074Z] Removing intermediate container 148b2c60fb60 [2022-07-04T05:11:12.074Z] ---> 941e7d0cd4fe [2022-07-04T05:11:12.074Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-07-04T05:11:12.074Z] ---> Running in 40631594ff6b [2022-07-04T05:11:13.057Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-04T05:11:14.039Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-04T05:11:15.024Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-07-04T05:11:15.024Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-07-04T05:11:15.298Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-07-04T05:11:15.298Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-07-04T05:11:15.574Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-07-04T05:11:15.574Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-07-04T05:11:15.574Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-07-04T05:11:15.854Z] (8/8) Installing openssh (8.8_p1-r1) [2022-07-04T05:11:15.854Z] Executing busybox-1.34.1-r3.trigger [2022-07-04T05:11:15.854Z] OK: 226 MiB in 60 packages [2022-07-04T05:11:17.298Z] Removing intermediate container 40631594ff6b [2022-07-04T05:11:17.298Z] ---> 67f813d0a72b [2022-07-04T05:11:17.298Z] Step 6/10 : WORKDIR /device-modbus-go [2022-07-04T05:11:17.298Z] ---> Running in 8a42f3e44b01 [2022-07-04T05:11:17.298Z] Removing intermediate container 8a42f3e44b01 [2022-07-04T05:11:17.298Z] ---> e4235594eb5a [2022-07-04T05:11:17.298Z] Step 7/10 : COPY go.mod vendor* ./ [2022-07-04T05:11:17.902Z] ---> 54b2532b0177 [2022-07-04T05:11:17.902Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-04T05:11:18.180Z] ---> Running in 332b2f2eb3cc [2022-07-04T05:12:05.188Z] Removing intermediate container 332b2f2eb3cc [2022-07-04T05:12:05.188Z] ---> 5875a0c25afd [2022-07-04T05:12:05.188Z] Step 9/10 : COPY . . [2022-07-04T05:12:05.188Z] ---> 9cb50a94341a [2022-07-04T05:12:05.188Z] Step 10/10 : RUN ${MAKE} [2022-07-04T05:12:05.188Z] ---> Running in b68d99ec73d3 [2022-07-04T05:12:05.188Z] noop [2022-07-04T05:12:05.462Z] Removing intermediate container b68d99ec73d3 [2022-07-04T05:12:05.462Z] ---> bacc45bde1e9 [2022-07-04T05:12:05.734Z] Successfully built bacc45bde1e9 [2022-07-04T05:12:05.734Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-04T05:12:06.231Z] + docker inspect -f . ci-base-image-arm64 [2022-07-04T05:12:06.231Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-04T05:12:06.564Z] prd-ubuntu20.04-docker-arm64-4c-16g-16791 does not seem to be running inside a container [2022-07-04T05:12:06.656Z] $ 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-07-04T05:12:08.026Z] $ docker top 222cf3949f6a99180153f1d11cdb3bf260753f5aed817f92a073d914797dae89 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-04T05:12:09.023Z] + go version [2022-07-04T05:12:09.023Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-07-04T05:12:09.065Z] $ docker stop --time=1 222cf3949f6a99180153f1d11cdb3bf260753f5aed817f92a073d914797dae89 [2022-07-04T05:12:10.758Z] $ docker rm -f 222cf3949f6a99180153f1d11cdb3bf260753f5aed817f92a073d914797dae89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-04T05:12:11.710Z] + docker inspect -f . ci-base-image-arm64 [2022-07-04T05:12:11.710Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-04T05:12:12.049Z] prd-ubuntu20.04-docker-arm64-4c-16g-16791 does not seem to be running inside a container [2022-07-04T05:12:12.139Z] $ 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-07-04T05:12:13.526Z] $ docker top f7fa63397d286c7b2599baae7e57b952ae719d414b23a4c63452be4d1ad61325 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-04T05:12:14.562Z] + make test [2022-07-04T05:12:14.562Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-07-04T05:12:16.563Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-07-04T05:13:53.471Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-07-04T05:13:53.471Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.065s coverage: 46.4% of statements [2022-07-04T05:13:53.471Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-04T05:13:53.471Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-04T05:14:11.824Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-04T05:14:11.824Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-04T05:14:11.824Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-04T05:14:12.458Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-04T05:14:12.496Z] $ docker stop --time=1 f7fa63397d286c7b2599baae7e57b952ae719d414b23a4c63452be4d1ad61325 [2022-07-04T05:14:14.308Z] $ docker rm -f f7fa63397d286c7b2599baae7e57b952ae719d414b23a4c63452be4d1ad61325 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-04T05:14:15.332Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-04T05:14:15.365Z] Warning: overwriting stash ‘coverage-report’ [2022-07-04T05:14:16.005Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-04T05:14:16.613Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-04T05:14:16.978Z] + ls -al . [2022-07-04T05:14:16.978Z] total 180 [2022-07-04T05:14:16.978Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 4 05:14 . [2022-07-04T05:14:16.978Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 05:10 .. [2022-07-04T05:14:16.978Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 4 05:10 .dockerignore [2022-07-04T05:14:16.978Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 4 05:10 .git [2022-07-04T05:14:16.978Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 05:10 .github [2022-07-04T05:14:16.978Z] -rw-rw-r-- 1 jenkins jenkins 331 Jul 4 05:10 .gitignore [2022-07-04T05:14:16.978Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 4 05:10 .golangci.yml [2022-07-04T05:14:16.978Z] -rw-rw-r-- 1 jenkins jenkins 9636 Jul 4 05:10 Attribution.txt [2022-07-04T05:14:16.978Z] -rw-rw-r-- 1 jenkins jenkins 10001 Jul 4 05:10 CHANGELOG.md [2022-07-04T05:14:16.978Z] -rw-rw-r-- 1 jenkins jenkins 1546 Jul 4 05:10 Dockerfile [2022-07-04T05:14:16.978Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 4 05:10 GOVERNANCE.md [2022-07-04T05:14:16.978Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 4 05:10 Jenkinsfile [2022-07-04T05:14:16.978Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 4 05:10 LICENSE [2022-07-04T05:14:16.978Z] -rw-rw-r-- 1 jenkins jenkins 1905 Jul 4 05:10 Makefile [2022-07-04T05:14:16.978Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 4 05:10 OWNERS.md [2022-07-04T05:14:16.978Z] -rw-rw-r-- 1 jenkins jenkins 3397 Jul 4 05:10 README.md [2022-07-04T05:14:16.978Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 4 05:07 VERSION [2022-07-04T05:14:16.978Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 05:10 bin [2022-07-04T05:14:16.978Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 05:10 cmd [2022-07-04T05:14:16.978Z] -rw-r--r-- 1 jenkins jenkins 24065 Jul 4 05:13 coverage.out [2022-07-04T05:14:16.978Z] -rw-rw-r-- 1 jenkins jenkins 3404 Jul 4 05:10 go.mod [2022-07-04T05:14:16.978Z] -rw-rw-r-- 1 jenkins jenkins 36286 Jul 4 05:10 go.sum [2022-07-04T05:14:16.978Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 05:10 internal [2022-07-04T05:14:16.978Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 05:10 simulator [2022-07-04T05:14:16.978Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 05:10 snap [2022-07-04T05:14:16.978Z] -rw-rw-r-- 1 jenkins jenkins 229 Jul 4 05:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-04T05:14:17.543Z] + 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=ab8957c6cd7bd4d91af099f839d53bfb66f5bee8 --label arch=arm64 --label version=0.0.0 . [2022-07-04T05:14:18.166Z] Sending build context to Docker daemon 3.167MB [2022-07-04T05:14:18.166Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-07-04T05:14:18.166Z] Step 2/23 : FROM ${BASE} AS builder [2022-07-04T05:14:18.166Z] ---> bacc45bde1e9 [2022-07-04T05:14:18.166Z] Step 3/23 : ARG MAKE='make build' [2022-07-04T05:14:18.166Z] ---> Running in c17413a34f24 [2022-07-04T05:14:18.797Z] Removing intermediate container c17413a34f24 [2022-07-04T05:14:18.797Z] ---> 6a070d68a50a [2022-07-04T05:14:18.797Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-04T05:14:18.797Z] ---> Running in 5ec554d65664 [2022-07-04T05:14:20.776Z] Removing intermediate container 5ec554d65664 [2022-07-04T05:14:20.776Z] ---> d3f963b49e03 [2022-07-04T05:14:20.776Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-07-04T05:14:20.776Z] ---> Running in fa6bd2626659 [2022-07-04T05:14:21.750Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-04T05:14:22.720Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-04T05:14:23.701Z] OK: 226 MiB in 60 packages [2022-07-04T05:14:24.296Z] Removing intermediate container fa6bd2626659 [2022-07-04T05:14:24.296Z] ---> 3df1c764c3a7 [2022-07-04T05:14:24.296Z] Step 6/23 : WORKDIR /device-modbus-go [2022-07-04T05:14:24.568Z] ---> Running in a38f1c959b5e [2022-07-04T05:14:24.840Z] Removing intermediate container a38f1c959b5e [2022-07-04T05:14:24.840Z] ---> eb5efe673838 [2022-07-04T05:14:24.840Z] Step 7/23 : COPY go.mod vendor* ./ [2022-07-04T05:14:25.431Z] ---> 97896c56796d [2022-07-04T05:14:25.431Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-04T05:14:25.431Z] ---> Running in 677065f32968 [2022-07-04T05:14:27.310Z] Removing intermediate container 677065f32968 [2022-07-04T05:14:27.310Z] ---> 223b607969a6 [2022-07-04T05:14:27.310Z] Step 9/23 : COPY . . [2022-07-04T05:14:28.290Z] ---> 1d3514e53f2d [2022-07-04T05:14:28.290Z] Step 10/23 : RUN ${MAKE} [2022-07-04T05:14:28.290Z] ---> Running in 51addc21f5bf [2022-07-04T05:14:29.271Z] 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-07-04T05:16:36.167Z] Removing intermediate container 51addc21f5bf [2022-07-04T05:16:36.167Z] ---> 14a6ce5573b3 [2022-07-04T05:16:36.167Z] Step 11/23 : FROM alpine:3.14 [2022-07-04T05:16:36.167Z] 3.14: Pulling from library/alpine [2022-07-04T05:16:36.167Z] 455c02918c45: Pulling fs layer [2022-07-04T05:16:36.167Z] 455c02918c45: Verifying Checksum [2022-07-04T05:16:36.167Z] 455c02918c45: Download complete [2022-07-04T05:16:36.167Z] 455c02918c45: Pull complete [2022-07-04T05:16:36.167Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-07-04T05:16:36.167Z] Status: Downloaded newer image for alpine:3.14 [2022-07-04T05:16:36.167Z] ---> ac73e934f311 [2022-07-04T05:16:36.167Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-07-04T05:16:36.167Z] ---> Running in 1373eb52d069 [2022-07-04T05:16:36.167Z] Removing intermediate container 1373eb52d069 [2022-07-04T05:16:36.167Z] ---> a9b04299da34 [2022-07-04T05:16:36.167Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-04T05:16:36.167Z] ---> Running in 23bc04c665ec [2022-07-04T05:16:36.167Z] Removing intermediate container 23bc04c665ec [2022-07-04T05:16:36.167Z] ---> 0ba46c1d3dfb [2022-07-04T05:16:36.167Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-04T05:16:36.167Z] ---> Running in 1da95b2e9b80 [2022-07-04T05:16:36.167Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-07-04T05:16:36.167Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-07-04T05:16:36.167Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-04T05:16:36.167Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-07-04T05:16:36.167Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-04T05:16:36.167Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-07-04T05:16:36.167Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-04T05:16:36.167Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-04T05:16:36.167Z] Executing busybox-1.33.1-r7.trigger [2022-07-04T05:16:36.167Z] OK: 8 MiB in 20 packages [2022-07-04T05:16:36.167Z] Removing intermediate container 1da95b2e9b80 [2022-07-04T05:16:36.167Z] ---> 3cc3eb4bef87 [2022-07-04T05:16:36.167Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-07-04T05:16:36.167Z] ---> 076d69ae92f2 [2022-07-04T05:16:36.167Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-07-04T05:16:36.167Z] ---> b1c1da65c5c0 [2022-07-04T05:16:36.167Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-07-04T05:16:36.167Z] ---> e83177527f13 [2022-07-04T05:16:36.168Z] Step 18/23 : EXPOSE 59901 [2022-07-04T05:16:36.168Z] ---> Running in 3a0061bd0ce4 [2022-07-04T05:16:36.168Z] Removing intermediate container 3a0061bd0ce4 [2022-07-04T05:16:36.168Z] ---> 2fcf3e5051e7 [2022-07-04T05:16:36.168Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-07-04T05:16:36.441Z] ---> Running in d3c1fb3b2e48 [2022-07-04T05:16:36.715Z] Removing intermediate container d3c1fb3b2e48 [2022-07-04T05:16:36.715Z] ---> bc4a68c2f32b [2022-07-04T05:16:36.715Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-04T05:16:36.715Z] ---> Running in 8a7f89fb12f5 [2022-07-04T05:16:36.993Z] Removing intermediate container 8a7f89fb12f5 [2022-07-04T05:16:36.993Z] ---> 2246f486f4c3 [2022-07-04T05:16:36.993Z] Step 21/23 : LABEL arch=arm64 [2022-07-04T05:16:36.993Z] ---> Running in cbf8c8ae743d [2022-07-04T05:16:37.271Z] Removing intermediate container cbf8c8ae743d [2022-07-04T05:16:37.271Z] ---> a559f92526fc [2022-07-04T05:16:37.271Z] Step 22/23 : LABEL git_sha=ab8957c6cd7bd4d91af099f839d53bfb66f5bee8 [2022-07-04T05:16:37.547Z] ---> Running in fe08cd069ee5 [2022-07-04T05:16:37.820Z] Removing intermediate container fe08cd069ee5 [2022-07-04T05:16:37.820Z] ---> 17ce44b2acb9 [2022-07-04T05:16:37.820Z] Step 23/23 : LABEL version=0.0.0 [2022-07-04T05:16:37.820Z] ---> Running in a5ae32c7ab62 [2022-07-04T05:16:38.093Z] Removing intermediate container a5ae32c7ab62 [2022-07-04T05:16:38.093Z] ---> 07b6fabbdf5c [2022-07-04T05:16:38.093Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-04T05:16:38.093Z] Successfully built 07b6fabbdf5c [2022-07-04T05:16:38.093Z] 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-07-04T05:16:38.928Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-04T05:16:38.929Z] [2022-07-04T05:16:38.929Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-04T05:16:39.372Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-04T05:16:39.668Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-04T05:16:39.668Z] 8998bd30e6a1: Pulling fs layer [2022-07-04T05:16:39.668Z] 04944245beec: Pulling fs layer [2022-07-04T05:16:39.668Z] 699f458cf7ca: Pulling fs layer [2022-07-04T05:16:39.668Z] 765212b225bb: Pulling fs layer [2022-07-04T05:16:39.668Z] f23df028b6ca: Pulling fs layer [2022-07-04T05:16:39.668Z] d65c8cfc05b1: Pulling fs layer [2022-07-04T05:16:39.668Z] 2437ff75d9bd: Pulling fs layer [2022-07-04T05:16:39.668Z] 765212b225bb: Waiting [2022-07-04T05:16:39.668Z] f23df028b6ca: Waiting [2022-07-04T05:16:39.668Z] d65c8cfc05b1: Waiting [2022-07-04T05:16:39.668Z] 2437ff75d9bd: Waiting [2022-07-04T05:16:39.668Z] 04944245beec: Verifying Checksum [2022-07-04T05:16:39.668Z] 04944245beec: Download complete [2022-07-04T05:16:39.668Z] 765212b225bb: Verifying Checksum [2022-07-04T05:16:39.668Z] 765212b225bb: Download complete [2022-07-04T05:16:39.957Z] f23df028b6ca: Verifying Checksum [2022-07-04T05:16:39.957Z] f23df028b6ca: Download complete [2022-07-04T05:16:39.957Z] d65c8cfc05b1: Verifying Checksum [2022-07-04T05:16:39.957Z] d65c8cfc05b1: Download complete [2022-07-04T05:16:39.957Z] 699f458cf7ca: Verifying Checksum [2022-07-04T05:16:39.957Z] 699f458cf7ca: Download complete [2022-07-04T05:16:40.563Z] 8998bd30e6a1: Verifying Checksum [2022-07-04T05:16:40.563Z] 8998bd30e6a1: Download complete [2022-07-04T05:16:42.551Z] 2437ff75d9bd: Verifying Checksum [2022-07-04T05:16:42.551Z] 2437ff75d9bd: Download complete [2022-07-04T05:16:44.525Z] 8998bd30e6a1: Pull complete [2022-07-04T05:16:45.123Z] 04944245beec: Pull complete [2022-07-04T05:16:46.559Z] 699f458cf7ca: Pull complete [2022-07-04T05:16:46.559Z] 765212b225bb: Pull complete [2022-07-04T05:16:47.537Z] f23df028b6ca: Pull complete [2022-07-04T05:16:47.808Z] d65c8cfc05b1: Pull complete [2022-07-04T05:17:02.896Z] 2437ff75d9bd: Pull complete [2022-07-04T05:17:02.896Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-04T05:17:02.896Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-04T05:17:02.896Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-04T05:17:03.278Z] prd-ubuntu20.04-docker-arm64-4c-16g-16791 does not seem to be running inside a container [2022-07-04T05:17:03.362Z] $ 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-07-04T05:17:05.873Z] $ docker top 1be2758d63944fd991fb31e4abc37044fd3f13fea842b10a512b417b35fde0ed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-04T05:17:06.867Z] ---> job-cost.sh [2022-07-04T05:17:06.868Z] lf-activate-venv: SKIPPING [2022-07-04T05:17:06.868Z] INFO: No Stack... [2022-07-04T05:17:07.461Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-04T05:17:08.056Z] INFO: Archiving Costs [Pipeline] sh [2022-07-04T05:17:08.732Z] + cut -d, -f6 [2022-07-04T05:17:08.732Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock [2022-07-04T05:17:08.785Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-359-1-stack-cost] [2022-07-04T05:17:08.791Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-359-1-stack-cost] did not exist. Created. [2022-07-04T05:17:08.791Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-359-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-04T05:17:09.535Z] /w/workspace/device-modbus-go/1@tmp/durable-9e559b73/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-04T05:17:10.257Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-04T05:17:10.297Z] Warning: overwriting stash ‘stack-cost’ [2022-07-04T05:17:10.345Z] Stashed 1 file(s) [Pipeline] } [2022-07-04T05:17:10.360Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-359-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-04T05:17:10.443Z] $ docker stop --time=1 1be2758d63944fd991fb31e4abc37044fd3f13fea842b10a512b417b35fde0ed [2022-07-04T05:17:11.903Z] $ docker rm -f 1be2758d63944fd991fb31e4abc37044fd3f13fea842b10a512b417b35fde0ed [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-07-04T05:17:12.936Z] provisioning config files... [2022-07-04T05:17:12.946Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-359@tmp/config8560386342576640302tmp [Pipeline] { [Pipeline] sh [2022-07-04T05:17:13.283Z] + set +x [2022-07-04T05:17:13.283Z] + curl -s https://codecov.io/bash [2022-07-04T05:17:13.283Z] + bash -s -- [2022-07-04T05:17:13.283Z] [2022-07-04T05:17:13.283Z] _____ _ [2022-07-04T05:17:13.283Z] / ____| | | [2022-07-04T05:17:13.283Z] | | ___ __| | ___ ___ _____ __ [2022-07-04T05:17:13.283Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-04T05:17:13.283Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-04T05:17:13.283Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-04T05:17:13.283Z] Bash-1.0.6 [2022-07-04T05:17:13.283Z] [2022-07-04T05:17:13.283Z] [2022-07-04T05:17:13.283Z] ==> git version 2.25.1 found [2022-07-04T05:17:13.283Z] ==> 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-07-04T05:17:13.283Z] Release-Date: 2020-01-08 [2022-07-04T05:17:13.283Z] 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-07-04T05:17:13.283Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-04T05:17:13.283Z] ==> Jenkins CI detected. [2022-07-04T05:17:13.283Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-359 [2022-07-04T05:17:13.283Z] project root: . [2022-07-04T05:17:13.283Z] --> token set from env [2022-07-04T05:17:13.283Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-04T05:17:13.283Z] ==> Running gcov in . (disable via -X gcov) [2022-07-04T05:17:13.283Z] ==> Python coveragepy not found [2022-07-04T05:17:13.283Z] ==> Searching for coverage reports in: [2022-07-04T05:17:13.283Z] + . [2022-07-04T05:17:13.283Z] -> Found 1 reports [2022-07-04T05:17:13.283Z] ==> Detecting git/mercurial file structure [2022-07-04T05:17:13.283Z] ==> Reading reports [2022-07-04T05:17:13.283Z] + ./coverage.out bytes=24065 [2022-07-04T05:17:13.283Z] ==> Appending adjustments [2022-07-04T05:17:13.283Z] https://docs.codecov.io/docs/fixing-reports [2022-07-04T05:17:13.544Z] + Found adjustments [2022-07-04T05:17:13.544Z] ==> Gzipping contents [2022-07-04T05:17:13.544Z] 4.0K /tmp/codecov.R7ZSu7.gz [2022-07-04T05:17:13.544Z] ==> Uploading reports [2022-07-04T05:17:13.544Z] url: https://codecov.io [2022-07-04T05:17:13.544Z] query: branch=PR-359&commit=ab8957c6cd7bd4d91af099f839d53bfb66f5bee8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-359%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=359&job=&cmd_args= [2022-07-04T05:17:13.544Z] -> Pinging Codecov [2022-07-04T05:17:13.544Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-359&commit=ab8957c6cd7bd4d91af099f839d53bfb66f5bee8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-359%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=359&job=&cmd_args= [2022-07-04T05:17:13.805Z] -> Uploading to [2022-07-04T05:17:13.806Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-04/55DBCA73C666E3227836607328DD7E49/ab8957c6cd7bd4d91af099f839d53bfb66f5bee8/15572268-e8da-405d-96ac-013a7d917801.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220704%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220704T051713Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4c5253cc510f008a1e84c8e172ed514a2fb74b4a845b91b31f3973ccf268f68f [2022-07-04T05:17:13.806Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-04T05:17:13.806Z] Dload Upload Total Spent Left Speed [2022-07-04T05:17:14.067Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4018 0 0 100 4018 0 13620 --:--:-- --:--:-- --:--:-- 13620 [2022-07-04T05:17:14.067Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/ab8957c6cd7bd4d91af099f839d53bfb66f5bee8 [Pipeline] } [2022-07-04T05:17:14.093Z] 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-07-04T05:17:15.776Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-359/archives ] [2022-07-04T05:17:15.776Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-359/archives [2022-07-04T05:17:15.776Z] total 16 [2022-07-04T05:17:15.776Z] drwxr-xr-x 3 root root 4096 Jul 4 05:08 . [2022-07-04T05:17:15.776Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 4 05:08 .. [2022-07-04T05:17:15.776Z] drwxr-xr-x 2 root root 4096 Jul 4 05:08 cost [2022-07-04T05:17:15.776Z] -rw-r--r-- 1 root root 87 Jul 4 05:08 cost.csv [2022-07-04T05:17:15.776Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-359/archives [2022-07-04T05:17:15.776Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-359/archives [2022-07-04T05:17:15.776Z] total 16 [2022-07-04T05:17:15.776Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 4 05:08 . [2022-07-04T05:17:15.776Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 4 05:08 .. [2022-07-04T05:17:15.776Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 4 05:08 cost [2022-07-04T05:17:15.776Z] -rw-r--r-- 1 jenkins jenkins 87 Jul 4 05:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-04T05:17:16.109Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-04T05:17:17.017Z] ---> package-listing.sh [2022-07-04T05:17:17.017Z] ++ facter osfamily [2022-07-04T05:17:17.017Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-04T05:17:17.278Z] + OS_FAMILY=debian [2022-07-04T05:17:17.278Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-359 [2022-07-04T05:17:17.278Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-04T05:17:17.278Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-04T05:17:17.278Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-04T05:17:17.278Z] + PACKAGES=/tmp/packages_start.txt [2022-07-04T05:17:17.278Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-359 ']' [2022-07-04T05:17:17.278Z] + PACKAGES=/tmp/packages_end.txt [2022-07-04T05:17:17.278Z] + case "${OS_FAMILY}" in [2022-07-04T05:17:17.278Z] + dpkg -l [2022-07-04T05:17:17.278Z] + grep '^ii' [2022-07-04T05:17:17.278Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-04T05:17:17.278Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-04T05:17:17.278Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-04T05:17:17.278Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-359 ']' [2022-07-04T05:17:17.278Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-359/archives/ [2022-07-04T05:17:17.278Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-359/archives/ [Pipeline] echo [2022-07-04T05:17:17.316Z] 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-359/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-04T05:17:17.612Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-04T05:17:18.317Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-04T05:17:18.317Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-04T05:17:18.472Z] prd-ubuntu20.04-docker-8c-8g-16788 does not seem to be running inside a container [2022-07-04T05:17:18.516Z] $ 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-359/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-359 -v /w/workspace/xfoundry_device-modbus-go_PR-359:/w/workspace/xfoundry_device-modbus-go_PR-359:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-359@tmp:/w/workspace/xfoundry_device-modbus-go_PR-359@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-07-04T05:17:18.741Z] $ docker top d7664a55732f3db558b2081c5ff030b26f7603eab696b5414cfe3d795b3fdc54 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-04T05:17:19.154Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-04T05:17:19.468Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-04T05:17:19.787Z] + ls /var/log/sa-host [2022-07-04T05:17:19.787Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-04T05:17:19.914Z] provisioning config files... [2022-07-04T05:17:19.926Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-359@tmp/config7811435699683006790tmp [Pipeline] { [Pipeline] echo [2022-07-04T05:17:19.979Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-04T05:17:20.294Z] ---> create-netrc.sh [Pipeline] } [2022-07-04T05:17:20.328Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-04T05:17:20.755Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-04T05:17:20.790Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-04T05:17:21.104Z] ---> sudo-logs.sh [2022-07-04T05:17:21.104Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-04T05:17:21.186Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-04T05:17:21.498Z] ---> job-cost.sh [2022-07-04T05:17:21.498Z] lf-activate-venv: SKIPPING [2022-07-04T05:17:21.498Z] DEBUG: total: 0.2199999988079071 [2022-07-04T05:17:21.498Z] INFO: Retrieving Stack Cost... [2022-07-04T05:17:21.758Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-04T05:17:22.328Z] INFO: Archiving Costs [Pipeline] echo [2022-07-04T05:17:22.364Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-04T05:17:22.677Z] ---> logs-deploy.sh [2022-07-04T05:17:22.677Z] lf-activate-venv: SKIPPING [2022-07-04T05:17:22.677Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-359/1 [2022-07-04T05:17:22.677Z] INFO: archiving workspace using pattern(s): [2022-07-04T05:17:23.619Z] Archives upload complete. [2022-07-04T05:17:23.619Z] INFO: archiving logs to Nexus